/**
 * Solutions mega-menu — Filament-inspired vertical tabs (TOMRA-style layout)
 */
:root {
    --fi-primary-600: #00856f;
    --fi-primary-50: #ecfdf5;
    --fi-gray-200: #e5e7eb;
    --fi-gray-500: #6b7280;
    --fi-gray-700: #374151;
    --fi-gray-900: #111827;
}

.main-menu .navigation > li.dropdown > .megamenu.solutions-megamenu,
.main-menu .navigation > li.dropdown > .megamenu.about-megamenu,
.main-menu .navigation > li.dropdown > .megamenu.support-megamenu,
.main-menu .navigation > li.dropdown > .megamenu.technology-megamenu,
.main-menu .navigation > li.dropdown > .megamenu.cases-megamenu {
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    padding: 0 !important;
    overflow: hidden;
}

.solutions-megamenu__layout,
.about-megamenu__layout,
.mega-tabs__layout {
    display: flex;
    align-items: stretch;
    min-height: 280px;
    max-width: 100%;
}

/* Filament-style vertical tabs — shared by solutions & about */
.solutions-megamenu__tabs.fi-tabs,
.about-megamenu__tabs.fi-tabs,
.mega-tabs__tabs.fi-tabs {
    flex: 0 0 220px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 20px 0;
    border-right: 1px solid var(--fi-gray-200);
    background: #fff;
}

.solutions-megamenu__tab.fi-tabs-item,
.about-megamenu__tab.fi-tabs-item,
.mega-tabs__tab.fi-tabs-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 14px 20px;
    border: none;
    border-left: 3px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--fi-gray-700);
    font-size: clamp(14px, 0.9vw, 15px);
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.solutions-megamenu__tab.fi-tabs-item:hover,
.about-megamenu__tab.fi-tabs-item:hover,
.mega-tabs__tab.fi-tabs-item:hover {
    background: var(--fi-primary-50);
    color: var(--fi-gray-900);
}

.solutions-megamenu__tab.fi-tabs-item.is-active,
.about-megamenu__tab.fi-tabs-item.is-active,
.mega-tabs__tab.fi-tabs-item.is-active {
    background: var(--fi-primary-50);
    color: var(--fi-primary-600);
    border-left-color: var(--fi-primary-600);
    font-weight: 600;
}

.solutions-megamenu__tab.fi-tabs-item.is-active:hover,
.about-megamenu__tab.fi-tabs-item.is-active:hover,
.mega-tabs__tab.fi-tabs-item.is-active:hover {
    background: var(--fi-primary-50);
    color: var(--fi-primary-600);
}

.solutions-megamenu__tab-icon,
.mega-tabs__tab-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    color: var(--fi-gray-500);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.solutions-megamenu__tab.fi-tabs-item:hover .solutions-megamenu__tab-icon,
.about-megamenu__tab.fi-tabs-item:hover .mega-tabs__tab-icon,
.mega-tabs__tab.fi-tabs-item:hover .mega-tabs__tab-icon {
    opacity: 0.55;
    transform: translateX(0);
}

.solutions-megamenu__tab.fi-tabs-item.is-active .solutions-megamenu__tab-icon,
.about-megamenu__tab.fi-tabs-item.is-active .mega-tabs__tab-icon,
.mega-tabs__tab.fi-tabs-item.is-active .mega-tabs__tab-icon {
    opacity: 1;
    transform: translateX(0);
    background: var(--fi-primary-600);
    color: #fff;
}

.solutions-megamenu__panels,
.about-megamenu__panels,
.mega-tabs__panels {
    flex: 1;
    min-width: 0;
    padding: 24px 32px 28px;
    background: #fff;
}

.solutions-megamenu__panel,
.about-megamenu__panel,
.mega-tabs__panel {
    display: none;
}

.solutions-megamenu__panel.is-active,
.about-megamenu__panel.is-active,
.mega-tabs__panel.is-active {
    display: block;
}

.solutions-megamenu__fruits-grid {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
}

.solutions-megamenu__fruits-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 12px;
    align-items: center;
}

.solutions-megamenu__fruit-link {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 8px 12px 8px 0;
    color: var(--fi-gray-900);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.15s ease;
}

.solutions-megamenu__fruit-link:hover {
    color: var(--fi-primary-600);
}

.solutions-megamenu__fruit-link img {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.solutions-megamenu__fruit-label {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Bypass legacy .megamenu li/a rules — fruit links are not list items */
.main-menu .navigation li.dropdown .megamenu .solutions-megamenu__fruit-link {
    display: flex !important;
    position: static;
    padding: 8px 12px 8px 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    opacity: 1;
    color: var(--fi-gray-900);
}

.main-menu .navigation li.dropdown .megamenu .solutions-megamenu__fruit-link:hover {
    color: var(--fi-primary-600);
}

.main-menu .navigation li.dropdown .megamenu .solutions-megamenu__fruit-link img {
    width: 32px !important;
    height: 32px !important;
    display: block;
    margin-right: 0;
}

.solutions-megamenu__fruits .column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.solutions-megamenu__fruits .column ul li a img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 8px;
}

.solutions-megamenu__feature img {
    width: 200px;
    margin: 30px 0 20px 20px;
}

.solutions-megamenu__feature .pbtn {
    margin-left: 20px;
}

.solutions-megamenu__feature .pbtn a {
    position: relative;
    background: transparent;
    font-weight: 700;
    text-decoration: underline;
    color: #222;
    display: inline-block;
}

.solutions-megamenu__links {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.solutions-megamenu__links li {
    border-bottom: none;
}

.solutions-megamenu__links a {
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
    width: fit-content;
    max-width: 100%;
    padding: 10px 0;
    color: var(--fi-gray-900);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease, padding-left 0.15s ease;
}

.solutions-megamenu__links--stacked {
    gap: 4px;
    max-width: 560px;
}

.solutions-megamenu__links--stacked .solutions-megamenu__link-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 0 14px;
}

.solutions-megamenu__links--stacked .solutions-megamenu__link-item a {
    align-items: center;
    padding: 0;
}

.solutions-megamenu__link-desc {
    margin: 0;
    padding-left: 36px;
    max-width: 520px;
    font-size: 12px;
    font-weight: 400;
    color: var(--fi-gray-500);
    line-height: 1.6;
}

.solutions-megamenu__links a:hover {
    color: var(--fi-primary-600);
    padding-left: 4px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.solutions-megamenu__link-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: var(--fi-primary-50);
    color: var(--fi-primary-600);
    font-size: 18px;
    line-height: 1;
}

/* About mega-menu — TOMRA-style content panels */
.about-megamenu__layout {
    min-height: 340px;
}

.about-megamenu__tabs.fi-tabs {
    flex: 0 0 220px;
}

.about-megamenu__tab.fi-tabs-item {
    font-size: 15px;
}

.about-megamenu__content {
    display: flex;
    gap: clamp(24px, 3vw, 40px);
    align-items: flex-start;
}

.about-megamenu__main {
    flex: 1;
    min-width: 0;
    max-width: 640px;
}

.about-megamenu__heading {
    margin: 0 0 12px;
    font-size: clamp(20px, 1.35vw, 24px);
    font-weight: 700;
    color: var(--fi-gray-900);
    line-height: 1.35;
}

.about-megamenu__desc {
    margin: 0 0 16px;
    font-size: clamp(15px, 0.95vw, 16px);
    line-height: 1.75;
    color: var(--fi-gray-600);
    max-width: 560px;
}

.about-megamenu__more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--fi-primary-600);
    text-decoration: none;
}

.about-megamenu__more:hover {
    text-decoration: underline;
}

.about-megamenu__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 28px;
    padding-top: 16px;
    margin-top: 4px;
    max-width: 560px;
}

.about-megamenu__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-megamenu__stat-value {
    font-size: clamp(26px, 2vw, 32px);
    font-weight: 700;
    color: var(--fi-primary-600);
    line-height: 1.1;
}

.about-megamenu__stat-label {
    font-size: clamp(13px, 0.85vw, 15px);
    color: var(--fi-gray-600);
    line-height: 1.4;
}

.about-megamenu__links {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 20px;
}

.about-megamenu__links li {
    border-bottom: none;
}

.about-megamenu__links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    max-width: 100%;
    padding: 4px 0;
    color: var(--fi-gray-900);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.about-megamenu__links a:hover {
    color: var(--fi-primary-600);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.about-megamenu__link-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: var(--fi-primary-50);
    color: var(--fi-primary-600);
    font-size: 16px;
    line-height: 1;
}

.about-megamenu__aside {
    flex: 0 0 220px;
}

.about-megamenu__feature-card {
    border: 1px solid var(--fi-gray-200);
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
}

.about-megamenu__feature-card img {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.about-megamenu__feature-title {
    margin: 0;
    padding: 12px 14px 8px;
    font-size: clamp(14px, 0.9vw, 15px);
    font-weight: 600;
    color: var(--fi-gray-900);
    line-height: 1.45;
}

.about-megamenu__feature-link {
    display: block;
    padding: 0 14px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--fi-primary-600);
    text-decoration: none;
}

.about-megamenu__feature-link:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .solutions-megamenu__layout,
    .about-megamenu__layout,
    .mega-tabs__layout {
        flex-direction: column;
    }

    .solutions-megamenu__tabs.fi-tabs,
    .about-megamenu__tabs.fi-tabs,
    .mega-tabs__tabs.fi-tabs {
        flex: none;
        flex-direction: row;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--fi-gray-200);
        padding: 8px 12px;
    }

    .solutions-megamenu__tab.fi-tabs-item,
    .about-megamenu__tab.fi-tabs-item,
    .mega-tabs__tab.fi-tabs-item {
        flex: 0 0 auto;
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 10px 16px;
    }

    .solutions-megamenu__tab.fi-tabs-item.is-active,
    .about-megamenu__tab.fi-tabs-item.is-active,
    .mega-tabs__tab.fi-tabs-item.is-active {
        border-left-color: transparent;
        border-bottom-color: var(--fi-primary-600);
    }

    .solutions-megamenu__tab-icon,
    .mega-tabs__tab-icon {
        display: none;
    }

    .solutions-megamenu__panels,
    .about-megamenu__panels,
    .mega-tabs__panels {
        padding: 16px;
    }

    .solutions-megamenu__fruits-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 8px;
    }

    .solutions-megamenu__fruit-link,
    .main-menu .navigation li.dropdown .megamenu .solutions-megamenu__fruit-link {
        font-size: 14px;
        padding: 6px 8px 6px 0;
    }

    .about-megamenu__content {
        flex-direction: column;
    }

    .about-megamenu__aside {
        flex: none;
        width: 100%;
    }

    .technology-megamenu__layout {
        flex-direction: column;
    }

    .cases-megamenu__root.technology-megamenu__root .technology-megamenu__layout {
        flex-direction: column;
    }

    .technology-megamenu__intro {
        flex: none;
        border-right: none;
        border-bottom: 1px solid var(--fi-gray-200);
        padding: 16px 20px;
    }

    .technology-megamenu__tabs {
        flex: none;
        flex-direction: row;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--fi-gray-200);
        padding: 8px 12px;
    }

    .technology-megamenu__tab {
        flex: 0 0 auto;
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 10px 14px;
    }

    .technology-megamenu__tab.is-active {
        border-left-color: transparent;
        border-bottom-color: var(--fi-primary-600);
    }

    .technology-megamenu__tab-arrow {
        display: none;
    }

    .technology-megamenu__panels {
        padding: 16px;
    }

    .technology-megamenu__cards {
        flex-direction: column;
    }

    .technology-megamenu__card {
        flex: none;
    }
}

/* Technology mega-menu — HIKARI-style: intro | tabs | cards */
.technology-megamenu__layout {
    display: flex;
    align-items: stretch;
    min-height: 320px;
}

.technology-megamenu__intro {
    flex: 0 0 200px;
    padding: 28px 24px;
    border-right: 1px solid var(--fi-gray-200);
    background: #fafafa;
}

.technology-megamenu__intro-title {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 700;
    color: var(--fi-gray-900);
    line-height: 1.3;
}

.technology-megamenu__intro-tagline {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
    color: var(--fi-gray-500);
}

.technology-megamenu__intro-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--fi-primary-600);
    text-decoration: none;
}

.technology-megamenu__intro-more:hover {
    text-decoration: underline;
}

.technology-megamenu__tabs {
    flex: 0 0 260px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 20px 0;
    border-right: 1px solid var(--fi-gray-200);
    background: #fff;
}

.technology-megamenu__tab {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 14px 20px;
    border: none;
    border-left: 3px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--fi-gray-700);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.technology-megamenu__tab:hover {
    background: var(--fi-primary-50);
    color: var(--fi-gray-900);
}

.technology-megamenu__tab.is-active {
    background: var(--fi-primary-50);
    color: var(--fi-primary-600);
    border-left-color: var(--fi-primary-600);
    font-weight: 600;
}

.technology-megamenu__tab-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(0, 133, 111, 0.08);
    transition: background 0.15s ease;
}

.technology-megamenu__tab:hover .technology-megamenu__tab-icon,
.technology-megamenu__tab.is-active .technology-megamenu__tab-icon {
    background: rgba(0, 133, 111, 0.14);
}

.technology-megamenu__tab-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.technology-megamenu__tab-label {
    flex: 1;
    min-width: 0;
}

.technology-megamenu__tab-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    color: var(--fi-gray-500);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.technology-megamenu__tab:hover .technology-megamenu__tab-arrow {
    opacity: 0.55;
    transform: translateX(0);
}

.technology-megamenu__tab.is-active .technology-megamenu__tab-arrow {
    opacity: 1;
    transform: translateX(0);
    background: var(--fi-primary-600);
    color: #fff;
}

.technology-megamenu__panels {
    flex: 1;
    min-width: 0;
    padding: 28px 32px;
    background: #fff;
}

.technology-megamenu__panel {
    display: none;
}

.technology-megamenu__panel.is-active {
    display: block;
}

.technology-megamenu__desc {
    margin: 0 0 12px;
    font-size: clamp(14px, 0.95vw, 16px);
    line-height: 1.75;
    color: var(--fi-gray-600);
    max-width: 520px;
}

.technology-megamenu__more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--fi-primary-600);
    text-decoration: none;
}

.technology-megamenu__more:hover {
    text-decoration: underline;
}

.technology-megamenu__cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.technology-megamenu__card {
    flex: 1;
    min-width: 180px;
    max-width: 280px;
    display: block;
    border: 1px solid var(--fi-gray-200);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    background: #fafafa;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.technology-megamenu__card:hover {
    border-color: var(--fi-primary-600);
    box-shadow: 0 4px 12px rgba(0, 133, 111, 0.12);
}

.technology-megamenu__card img {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.technology-megamenu__card-title {
    display: block;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--fi-gray-900);
    line-height: 1.45;
}

/* Support mega-menu — shared intro-megamenu layout (same as technology) */
.support-megamenu__layout,
.intro-megamenu__layout {
    display: flex;
    align-items: stretch;
    min-height: 320px;
}

.support-megamenu__intro,
.intro-megamenu__intro {
    flex: 0 0 200px;
    padding: 28px 24px;
    border-right: 1px solid var(--fi-gray-200);
    background: #fafafa;
    display: flex;
    flex-direction: column;
}

.intro-megamenu__intro-title {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 700;
    color: var(--fi-gray-900);
    line-height: 1.3;
}

.intro-megamenu__intro-tagline {
    margin: 0 0 16px;
    font-size: clamp(13px, 0.9vw, 15px);
    line-height: 1.7;
    color: var(--fi-gray-600);
    flex: 1;
}

.intro-megamenu__intro-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    font-size: 14px;
    font-weight: 600;
    color: var(--fi-primary-600);
    text-decoration: none;
}

.intro-megamenu__intro-more:hover {
    text-decoration: underline;
}

.support-megamenu__tabs,
.intro-megamenu__tabs {
    flex: 0 0 220px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 20px 0;
    border-right: 1px solid var(--fi-gray-200);
    background: #fff;
}

.support-megamenu__tab,
.intro-megamenu__tab {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 14px 20px;
    border: none;
    border-left: 3px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--fi-gray-700);
    font-size: clamp(14px, 0.9vw, 15px);
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.support-megamenu__tab:hover,
.intro-megamenu__tab:hover {
    background: var(--fi-primary-50);
    color: var(--fi-gray-900);
}

.support-megamenu__tab.is-active,
.intro-megamenu__tab.is-active {
    background: var(--fi-primary-50);
    color: var(--fi-primary-600);
    border-left-color: var(--fi-primary-600);
    font-weight: 600;
}

.intro-megamenu__tab-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.intro-megamenu__tab-icon img {
    max-width: 28px;
    max-height: 28px;
    object-fit: contain;
}

.intro-megamenu__tab-label {
    flex: 1;
    min-width: 0;
}

.intro-megamenu__tab-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    color: var(--fi-gray-500);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.support-megamenu__tab:hover .intro-megamenu__tab-arrow,
.intro-megamenu__tab:hover .intro-megamenu__tab-arrow {
    opacity: 0.55;
    transform: translateX(0);
}

.support-megamenu__tab.is-active .intro-megamenu__tab-arrow,
.intro-megamenu__tab.is-active .intro-megamenu__tab-arrow {
    opacity: 1;
    transform: translateX(0);
    background: var(--fi-primary-600);
    color: #fff;
}

.support-megamenu__panels,
.intro-megamenu__panels {
    flex: 1;
    min-width: 0;
    padding: 28px 32px;
    background: #fff;
}

.support-megamenu__panel,
.intro-megamenu__panel {
    display: none;
}

.support-megamenu__panel.is-active,
.intro-megamenu__panel.is-active {
    display: block;
}

.intro-megamenu__desc {
    margin: 0 0 16px;
    font-size: clamp(14px, 0.95vw, 16px);
    line-height: 1.75;
    color: var(--fi-gray-600);
    max-width: 520px;
}

.support-megamenu__links,
.intro-megamenu__links {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: 480px;
}

.support-megamenu__links li,
.intro-megamenu__links li {
    border-bottom: none;
}

.support-megamenu__links a,
.intro-megamenu__links a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    max-width: 100%;
    padding: 10px 0;
    color: var(--fi-gray-900);
    font-size: clamp(14px, 0.95vw, 16px);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease, padding-left 0.15s ease;
}

.support-megamenu__links a:hover,
.intro-megamenu__links a:hover {
    color: var(--fi-primary-600);
    padding-left: 4px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.intro-megamenu__link-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: var(--fi-primary-50);
    color: var(--fi-primary-600);
    font-size: 16px;
    line-height: 1;
}

.support-megamenu__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.support-megamenu__highlight {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--fi-gray-200);
    border-radius: 10px;
    background: #fafafa;
    color: var(--fi-gray-900);
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.support-megamenu__highlight:hover,
.support-megamenu__highlight:focus,
.support-megamenu__highlight:visited {
    color: var(--fi-gray-900);
    text-decoration: none;
}

.support-megamenu__highlight:hover {
    border-color: var(--fi-primary-600);
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 133, 111, 0.1);
}

.support-megamenu__highlight-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    color: #00856f;
    background: rgba(0, 133, 111, 0.08);
}

.support-megamenu__highlight-icon img {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.support-megamenu__highlight-icon .support-highlight-icon {
    display: block;
    width: 22px;
    height: 22px;
}

.support-megamenu__highlight-body {
    min-width: 0;
    flex: 1;
}

.support-megamenu__highlight-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--fi-gray-900);
    line-height: 1.4;
}

.support-megamenu__highlight-desc {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #5a756e;
    line-height: 1.45;
}

.support-megamenu__highlight:hover .support-megamenu__highlight-desc {
    color: #00856f;
}

.intro-megamenu__cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.intro-megamenu__card {
    flex: 1;
    min-width: 180px;
    max-width: 280px;
    display: block;
    border: 1px solid var(--fi-gray-200);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    background: #fafafa;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.intro-megamenu__card:hover {
    border-color: var(--fi-primary-600);
    box-shadow: 0 4px 12px rgba(0, 133, 111, 0.12);
}

.intro-megamenu__card img {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.intro-megamenu__card-title {
    display: block;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--fi-gray-900);
    line-height: 1.45;
}

@media (max-width: 991px) {
    .support-megamenu__layout,
    .intro-megamenu__layout {
        flex-direction: column;
    }

    .support-megamenu__intro,
    .intro-megamenu__intro {
        flex: none;
        border-right: none;
        border-bottom: 1px solid var(--fi-gray-200);
        padding: 16px 20px;
    }

    .support-megamenu__tabs,
    .intro-megamenu__tabs {
        flex: none;
        flex-direction: row;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--fi-gray-200);
        padding: 8px 12px;
    }

    .support-megamenu__tab,
    .intro-megamenu__tab {
        flex: 0 0 auto;
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 10px 14px;
    }

    .support-megamenu__tab.is-active,
    .intro-megamenu__tab.is-active {
        border-left-color: transparent;
        border-bottom-color: var(--fi-primary-600);
    }

    .intro-megamenu__tab-arrow {
        display: none;
    }

    .support-megamenu__panels,
    .intro-megamenu__panels {
        padding: 16px;
    }

    .intro-megamenu__cards {
        flex-direction: column;
    }

    .support-megamenu__highlight {
        flex: 1 1 100%;
    }

    .intro-megamenu__card {
        flex: none;
        max-width: none;
    }
}

/* ── Mega menu: full-bleed shell, left-aligned with site container ─── */

.main-menu .navigation > li.dropdown > .megamenu {
    border-top: 1px solid var(--fi-gray-200, #e5e7eb);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    padding: 0 !important;
}

.main-menu .navigation > li.dropdown > .megamenu [class$="__root"] {
    width: 100%;
    max-width: var(--site-container-max, 1170px);
    margin-left: max(var(--site-gutter, 15px), calc((100vw - var(--site-container-max, 1170px)) / 2 + var(--site-gutter, 15px)));
    margin-right: auto;
    padding-left: 0;
    padding-right: var(--site-gutter, 15px);
    box-sizing: border-box;
}

.main-menu .navigation > li.dropdown > .megamenu [class$="__layout"] {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Tab / intro columns: no left inset */
.solutions-megamenu__intro,
.solutions-megamenu__tabs.fi-tabs,
.about-megamenu__tabs.fi-tabs,
.mega-tabs__tabs.fi-tabs,
.technology-megamenu__tabs,
.technology-megamenu__intro,
.support-megamenu__intro,
.intro-megamenu__intro,
.support-megamenu__tabs,
.intro-megamenu__tabs {
    margin-left: 0;
}

/* Content panels: breathing room on the right only */
.solutions-megamenu__panels,
.about-megamenu__panels,
.mega-tabs__panels,
.technology-megamenu__panels,
.support-megamenu__panels,
.intro-megamenu__panels {
    padding-right: clamp(20px, 3vw, 48px);
}

@media (min-width: 1200px) {
    .solutions-megamenu__panels {
        min-width: 520px;
    }

    .solutions-megamenu__fruits-row {
        gap: 0 16px;
    }

    .solutions-megamenu__fruit-link,
    .main-menu .navigation li.dropdown .megamenu .solutions-megamenu__fruit-link {
        font-size: 15px;
        padding: 6px 12px 6px 0;
    }
    .solutions-megamenu__panels,
    .about-megamenu__panels,
    .mega-tabs__panels,
    .technology-megamenu__panels,
    .support-megamenu__panels,
    .intro-megamenu__panels {
        padding: 24px 28px 28px;
    }

    .solutions-megamenu__tabs.fi-tabs,
    .about-megamenu__tabs.fi-tabs,
    .mega-tabs__tabs.fi-tabs {
        flex: 0 0 220px;
    }

    .about-megamenu__tab.fi-tabs-item {
        font-size: 15px;
        padding: 14px 18px;
    }

    .technology-megamenu__intro {
        flex: 0 0 200px;
        padding: 24px 20px;
    }

    .technology-megamenu__tabs {
        flex: 0 0 240px;
    }

    .technology-megamenu__intro-title {
        font-size: 22px;
    }

    .technology-megamenu__cards {
        gap: 16px;
    }

    .technology-megamenu__card {
        flex: 1 1 240px;
        max-width: 280px;
    }

    .technology-megamenu__card img {
        height: 150px;
    }

    .support-megamenu__intro,
    .intro-megamenu__intro {
        flex: 0 0 180px;
        padding: 24px 20px;
    }

    .support-megamenu__tabs,
    .intro-megamenu__tabs {
        flex: 0 0 200px;
    }

    .solutions-megamenu__fruits .column ul li a {
        font-size: 15px;
        padding: 6px 0;
    }

    .solutions-megamenu__feature img {
        width: 100%;
        max-width: 220px;
        margin: 16px 0 12px;
    }
}

@media (min-width: 1400px) {
    .about-megamenu__tabs.fi-tabs {
        flex: 0 0 240px;
    }

    .about-megamenu__content {
        gap: 40px;
    }

    .about-megamenu__stats {
        gap: 24px 36px;
    }

    .support-megamenu__intro,
    .intro-megamenu__intro {
        flex: 0 0 200px;
    }

    .support-megamenu__tabs,
    .intro-megamenu__tabs {
        flex: 0 0 220px;
    }

    .intro-megamenu__cards {
        gap: 16px;
    }

    .intro-megamenu__card img {
        height: 150px;
    }
}
