/* Shared Header & Footer Styles for DynoceaX */
@font-face {
    font-family: "Manrope";
    src: url("../fonts/Manrope-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/Manrope-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/Manrope-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/Manrope-Medium.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/Manrope-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/Manrope-Bold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/Manrope-Bold.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    --font-display: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --brand-primary: #001e87;
    --brand-accent: #00bed2;
    --brand-secondary: #0f1e78;
    --brand-white: #ffffff;
    --brand-light-gray: #d9dcdc;
    --brand-silver-gray: #b1b4b4;
    --brand-dark-gray: #606264;
    --brand-black: #000000;
    --brand-text: #111111;
    --brand-muted: #666666;
}
/* ==========================================================================
   GLOBAL HEADER LAYOUTS
   ========================================================================== */


/* 1. Desktop Header — flat at top (like homepage), floating capsule only after scroll */

@media (min-width: 921px) {
    .site-header.nav-clean {
        position: absolute;
        top: 0;
        left: 0;
        transform: none;
        z-index: 9990;
        width: 100%;
        max-width: none;
        min-height: 102px;
        height: 102px;
        display: grid;
        grid-template-columns: clamp(170px, 15vw, 250px) minmax(0, 1fr) auto;
        align-items: center;
        gap: clamp(14px, 1.8vw, 28px);
        padding: 0 clamp(34px, 4.3vw, 72px);
        border: 1px solid transparent;
        border-radius: 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        color: #fff;
        transition: top .28s ease, left .28s ease, width .28s ease, height .28s ease, padding .28s ease, border-radius .28s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease, backdrop-filter .28s ease, transform .28s ease;
    }
    
    /* Scrolled Floating State globally */
    .site-header.nav-clean.is-scrolled {
        position: fixed !important;
        top: 8px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: min(1560px, calc(100% - 24px)) !important;
        max-width: none !important;
        min-height: 76px !important;
        height: 76px !important;
        padding: 0 clamp(16px, 2.5vw, 32px) !important;
        border: 1px solid rgba(255, 255, 255, .17) !important;
        border-radius: 20px !important;
        background: rgba(6, 24, 42, .88) !important;
        box-shadow: 0 18px 42px rgba(0, 0, 0, .24) !important;
        backdrop-filter: blur(18px) saturate(1.08) !important;
        -webkit-backdrop-filter: blur(18px) saturate(1.08) !important;
    }

    /* Light Theme — flat top bar (matches homepage ocean-clarity at-rest) */
    body.dx-inner-page[data-theme="ocean-clarity"] .site-header.nav-clean {
        background: rgba(255, 255, 255, .96) !important;
        backdrop-filter: blur(14px) saturate(1.08) !important;
        -webkit-backdrop-filter: blur(14px) saturate(1.08) !important;
        border-color: transparent !important;
        border-bottom: 1px solid rgba(25, 67, 118, .12) !important;
        box-shadow: 0 10px 28px rgba(39, 73, 112, .10) !important;
        color: #111111 !important;
    }
    
    /* Light Theme overrides when Scrolled — floating capsule */
    body.dx-inner-page[data-theme="ocean-clarity"] .site-header.nav-clean.is-scrolled {
        background: rgba(255, 255, 255, .8) !important;
        backdrop-filter: blur(18px) saturate(1.08) !important;
        -webkit-backdrop-filter: blur(18px) saturate(1.08) !important;
        border: 1px solid rgba(9, 75, 155, .08) !important;
        box-shadow: 0 14px 38px rgba(39, 73, 112, .06) !important;
    }
    /* Brand logo styling */
    .site-header.nav-clean .brand img {
        width: clamp(132px, 12vw, 174px);
        height: auto;
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .18));
        transition: filter 0.3s ease;
    }
    body[data-theme="ocean-clarity"] .site-header.nav-clean .brand img {
        filter: none !important;
    }
    body[data-theme="ocean-clarity"] .site-header.nav-clean .theme-btn img {
        filter: brightness(0) invert(0.07) !important;
    }
    /* Nav Links styling */
    .site-header.nav-clean .nav-links {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: clamp(14px, 1.8vw, 34px);
        min-width: 0;
        overflow: visible;
        font-size: clamp(12px, .86vw, 14px);
        font-weight: 900;
        letter-spacing: 0;
        text-transform: uppercase;
    }
    .site-header.nav-clean .nav-links a,
    .site-header.nav-clean .nav-product-trigger,
    .site-header.nav-clean .nav-dropdown-trigger {
        position: relative;
        color: rgba(244, 251, 255, .88);
        transition: color .2s ease;
        cursor: pointer;
        background: transparent;
        border: none;
        font-family: inherit;
        font-size: inherit;
        font-weight: inherit;
        letter-spacing: inherit;
        text-transform: inherit;
        padding: 0;
    }
    body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-links a,
    body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-product-trigger,
    body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-dropdown-trigger {
        color: #111111 !important;
    }
    .site-header.nav-clean .nav-links a::after,
    .site-header.nav-clean .nav-product-trigger::after,
    .site-header.nav-clean .nav-dropdown-trigger::after {
        content: "";
        position: absolute;
        left: 0;
        right: 100%;
        bottom: -10px;
        height: 2px;
        border-radius: 999px;
        background: #00bed2;
        transition: right .22s ease;
    }
    body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-links a::after,
    body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-product-trigger::after,
    body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-dropdown-trigger::after {
        background: #001e87 !important;
    }
    .site-header.nav-clean .nav-links a:hover,
    .site-header.nav-clean .nav-links a.active,
    .site-header.nav-clean .nav-product-menu:hover .nav-product-trigger,
    .site-header.nav-clean .nav-dropdown:hover .nav-dropdown-trigger,
    .site-header.nav-clean .nav-product-menu.open .nav-product-trigger,
    .site-header.nav-clean .nav-dropdown.open .nav-dropdown-trigger {
        color: #ffffff;
    }
    body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-links a:hover,
    body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-links a.active,
    body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-product-menu:hover .nav-product-trigger,
    body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-dropdown:hover .nav-dropdown-trigger,
    body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-product-menu.open .nav-product-trigger,
    body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-dropdown.open .nav-dropdown-trigger {
        color: #001e87 !important;
    }
    .site-header.nav-clean .nav-links a:hover::after,
    .site-header.nav-clean .nav-links a.active::after,
    .site-header.nav-clean .nav-product-menu:hover .nav-product-trigger::after,
    .site-header.nav-clean .nav-dropdown:hover .nav-dropdown-trigger::after,
    .site-header.nav-clean .nav-product-menu.open .nav-product-trigger::after,
    .site-header.nav-clean .nav-dropdown.open .nav-dropdown-trigger::after {
        right: 0;
    }
    /* Header Actions styling */
    .site-header.nav-clean .header-actions {
        display: flex;
        align-items: center;
        gap: clamp(7px, .75vw, 10px);
        min-width: 0;
        position: relative;
        z-index: 50;
        isolation: isolate;
    }

    .site-header.nav-clean .cart-icon-btn {
        position: relative;
        overflow: visible;
    }

    .site-header.nav-clean .cart-badge-count {
        position: absolute;
        top: -6px;
        right: -6px;
        z-index: 2;
        display: none;
        align-items: center;
        justify-content: center;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        border-radius: 999px;
        background: #ff3366;
        color: #ffffff;
        font-size: 10px;
        font-weight: 900;
        line-height: 1;
        box-shadow: 0 0 8px rgba(255, 51, 102, .5);
        pointer-events: none;
    }

    .site-header.nav-clean .icon-btn,
    .site-header.nav-clean .nav-toggle,
    .site-header.nav-clean .language-btn,
    .site-header.nav-clean .theme-btn {
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, .26);
        background: rgba(255, 255, 255, .06);
        color: #ffffff;
        cursor: pointer;
        transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
    }
    body[data-theme="ocean-clarity"] .site-header.nav-clean .icon-btn,
    body[data-theme="oceanclarity"] .site-header.nav-clean .icon-btn,
    body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-toggle,
    body[data-theme="oceanclarity"] .site-header.nav-clean .nav-toggle,
    body[data-theme="ocean-clarity"] .site-header.nav-clean .language-btn,
    body[data-theme="oceanclarity"] .site-header.nav-clean .language-btn,
    body[data-theme="ocean-clarity"] .site-header.nav-clean .theme-btn,
    body[data-theme="oceanclarity"] .site-header.nav-clean .theme-btn {
        border-color: rgba(25, 67, 118, .18) !important;
        background: #ffffff !important;
        color: #111111 !important;
        box-shadow: 0 4px 12px rgba(21, 76, 165, .08) !important;
    }
    .site-header.nav-clean .icon-btn:hover,
    .site-header.nav-clean .nav-toggle:hover,
    .site-header.nav-clean .language-btn:hover,
    .site-header.nav-clean .theme-btn:hover {
        transform: translateY(-2px);
        border-color: rgba(255, 255, 255, 0.4);
        background: rgba(255, 255, 255, 0.2);
    }
    body[data-theme="ocean-clarity"] .site-header.nav-clean .icon-btn:hover,
    body[data-theme="oceanclarity"] .site-header.nav-clean .icon-btn:hover,
    body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-toggle:hover,
    body[data-theme="oceanclarity"] .site-header.nav-clean .nav-toggle:hover,
    body[data-theme="ocean-clarity"] .site-header.nav-clean .language-btn:hover,
    body[data-theme="oceanclarity"] .site-header.nav-clean .language-btn:hover,
    body[data-theme="ocean-clarity"] .site-header.nav-clean .theme-btn:hover,
    body[data-theme="oceanclarity"] .site-header.nav-clean .theme-btn:hover {
        border-color: rgba(0, 30, 135, .32) !important;
        background: #eaf3ff !important;
        color: #001e87 !important;
    }
    body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-toggle span,
    body[data-theme="oceanclarity"] .site-header.nav-clean .nav-toggle span {
        color: inherit !important;
    }
    .site-header.nav-clean .icon-btn svg,
    .site-header.nav-clean .nav-toggle svg,
    .site-header.nav-clean .language-btn svg,
    .site-header.nav-clean .cart-icon-btn svg {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    .site-header.nav-clean .theme-btn svg {
        width: 21px;
        height: 21px;
        fill: currentColor;
        stroke: none;
    }
}


/* 2. Hero/Banner Page transparent Flat Header (Pattern A) */


/* Override floating styles if header is inside a hero or banner section */



.hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    background: #0a67bb;
    isolation: isolate;
}

.hero-scene {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3
}

.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: radial-gradient(circle at 88% 28%, rgba(255, 224, 165, .32), transparent 24%), linear-gradient(90deg, rgba(0, 37, 100, .25), rgba(0, 43, 105, .05) 42%, rgba(0, 20, 60, .1)), linear-gradient(180deg, rgba(0, 31, 88, .18), rgba(0, 29, 82, .08) 55%, rgba(0, 49, 99, .35));
}

.hero-content {
    position: relative;
    z-index: 5;
    width: min(1240px, 90vw);
    margin: 0 auto;
    padding-top: 130px;
    color: #fff;
}

.hero h1 {
    margin: 0 auto;
    max-width: 970px;
    font-family: "Manrope", "Arial Narrow", Impact, Inter, sans-serif;
    font-size: clamp(52px, 5.2vw, 96px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-shadow: 0 12px 28px rgba(0, 42, 96, .28);
}

.hero-capabilities {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 34px;
    max-width: 920px;
    margin: 56px auto 34px;
    text-align: center;
}

.capability {
    display: grid;
    justify-items: center;
    gap: 10px;
    min-width: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.28;
    text-shadow: 0 4px 10px rgba(0, 36, 85, .35)
}

.capability svg {
    width: 58px;
    height: 58px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 4px 8px rgba(0, 36, 95, .34))
}

.hero-actions,
.card-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 34px;
    flex-wrap: wrap
}

.btn,
.outline-btn {
    --btn-bg: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-width: 170px;
    height: 50px;
    border-radius: 8px;
    font-weight: 850;
    font-size: 15px;
    letter-spacing: .01em;
    transition: transform .24s ease, box-shadow .24s ease, background .24s ease, color .24s ease, border-color .24s ease;
}

.btn span,
.outline-btn span {
    display: inline-block;
    font-size: 28px;
    line-height: 0;
    margin-top: -2px;
    transition: transform .24s ease;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #001e87, #001e87);
    border: 1px solid rgba(255, 255, 255, .7);
    box-shadow: 0 10px 24px rgba(0, 30, 135, .32), inset 0 1px 0 rgba(255, 255, 255, .35)
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(0, 30, 135, .38)
}

.btn-ghost {
    color: #fff;
    background: rgba(4, 55, 111, .22);
    border: 1.5px solid rgba(255, 255, 255, .9);
    backdrop-filter: blur(8px)
}

.btn-ghost:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #0f1e78, var(--cyan));
    color: var(--blue-700);
    border: none;
}

.section-title {
    margin: 0;
    color: #075ae8;
    font-family: "Manrope", "Arial Narrow", Inter, sans-serif;
    font-weight: 900;
    font-size: clamp(34px, 3.4vw, 48px);
    line-height: 1;
    text-align: center;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-shadow: 0 3px 0 rgba(0, 81, 211, .08);
}


/* Single hero banner */

.hero-banner-single {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    aspect-ratio: 8 / 3;
    min-height: 620px;
    overflow: hidden;
    background: #073462;
    isolation: isolate;
    box-shadow: 0 18px 44px rgba(0, 46, 120, .14);
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100vw;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    filter: saturate(1.03) contrast(1.02);
}

.banner-shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(0, 20, 56, .84) 0%, rgba(0, 37, 91, .68) 28%, rgba(0, 42, 100, .22) 58%, rgba(0, 24, 66, .10) 100%), linear-gradient(180deg, rgba(1, 17, 47, .58) 0%, rgba(1, 17, 47, .12) 30%, rgba(0, 22, 60, .10) 62%, rgba(0, 18, 48, .50) 100%);
}


/* Refined footer layout */

.refined-footer {
    margin-top: 42px;
    background: linear-gradient(135deg, #052c63 0%, #063d82 46%, #042354 100%) !important;
    color: #ffffff !important;
    padding: 52px 0 0 !important;
}

.footer-main {
    width: min(1600px, 94vw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 330px;
    gap: 42px;
    align-items: start;
}

.footer-brand-block > img {
    width: 210px;
    height: auto;
    margin-bottom: 18px;
}

.footer-brand-block p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, .86) !important;
    font-size: 15px;
    line-height: 1.45;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-grid;
    place-items: center;
    line-height: 0;
    color: #ffffff !important;
    text-decoration: none;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    font-size: 14px;
    font-weight: 700;
}

.footer-socials a img {
    display: block;
    width: 60%;
    height: 60%;
    object-fit: contain;
    margin: 0 !important;
    filter: none !important;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
}

.refined-footer .footer-column h3,
.footer-contact-card h3 {
    margin: 0 0 16px;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .01em;
}

.refined-footer .footer-column a {
    display: block;
    margin: 0 0 10px;
    color: rgba(255, 255, 255, .72) !important;
    font-size: 13px;
    line-height: 1.3;
    text-decoration: none;
}

.refined-footer .footer-column a:hover {
    color: #ffffff !important;
}

.footer-contact-card {
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(10px);
}

.footer-contact-card p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .78) !important;
    font-size: 13px;
    line-height: 1.55;
}

.footer-contact-card form {
    height: 44px;
    display: grid;
    grid-template-columns: 1fr 46px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, .08);
}

.footer-contact-card input {
    border: 0;
    outline: 0;
    background: transparent;
    color: #ffffff !important;
    padding: 0 16px;
    font-size: 13px;
}

.footer-contact-card button {
    border: 0;
    background: #ffffff;
    color: #0f1e78;
    font-size: 22px;
    cursor: pointer;
    border-top-right-radius: 999px;
    border-bottom-right-radius: 999px;
}

.footer-contact-line {
    margin-top: 16px;
    color: rgba(255, 255, 255, .86) !important;
    font-size: 13px;
}

.footer-bottom {
    width: min(1600px, 94vw);
    margin: 42px auto 0;
    padding: 18px 0 22px;
    border-top: 1px solid rgba(255, 255, 255, .15);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255, 255, 255, .62) !important;
    font-size: 12px;
}

@media(max-width:1180px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media(max-width:720px) {
    .refined-footer {
        padding-top: 38px !important;
    }
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}


/* Minimal premium footer refresh */

.site-footer.refined-footer {
    position: relative;
    isolation: isolate;
    margin-top: clamp(50px, 5vw, 88px) !important;
    padding: clamp(46px, 5vw, 72px) 0 0 !important;
    background: radial-gradient(circle at 12% 0%, rgba(0, 190, 210, .10), transparent 28%), linear-gradient(180deg, #061726 0%, #04111d 100%) !important;
    border-top: 1px solid rgba(146, 198, 255, .22);
    color: #ffffff !important;
    overflow: hidden;
}

/* .site-footer.refined-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 190, 210, .58), transparent);
    opacity: .65;
    pointer-events: none;
} */

.footer-main {
    width: min(1560px, calc(100% - 80px));
    grid-template-columns: minmax(230px, 230px) minmax(0, 1fr) minmax(300px, 330px);
    gap: clamp(30px, 2vw, 70px);
}


/* .footer-brand-block {
            padding-right: clamp(18px, 2.6vw, 44px);
            border-right: 1px solid rgba(146, 198, 255, .24);
        } */

.footer-brand-block > img {
    width: 208px;
    margin-bottom: 22px;
    filter: drop-shadow(0 8px 20px rgba(0, 190, 210, .08));
}

.footer-brand-block p {
    max-width: 230px;
    color: rgba(244, 251, 255, .90) !important;
    font-size: 15px;
    line-height: 1.5;
}

.footer-socials {
    gap: 11px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-grid;
    place-items: center;
    line-height: 0;
    background: rgba(255, 255, 255, .075);
    border: 1px solid rgba(146, 198, 255, .20);
    color: rgba(244, 251, 255, .86) !important;
    transition: transform .22s ease, border-color .22s ease, background .22s ease, color .22s ease;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
    transform: translateY(-3px);
    background: rgba(0, 190, 210, .12);
    border-color: rgba(0, 190, 210, .42);
    color: #ffffff !important;
    outline: none;
}

.footer-links {
    gap: clamp(18px, 2.4vw, 34px);
}

.refined-footer .footer-column {
    position: relative;
    min-height: 208px;
    padding-left: clamp(18px, 2.2vw, 28px);
    border-left: 1px solid rgba(146, 198, 255, .22);
}

.refined-footer .footer-column h3,
.footer-contact-card h3 {
    margin-bottom: 18px;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
}

.refined-footer .footer-column a {
    position: relative;
    width: max-content;
    max-width: 100%;
    margin-bottom: 11px;
    color: rgba(184, 204, 226, .86) !important;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.32;
    transition: color .18s ease, transform .18s ease;
}

.refined-footer .footer-column a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -3px;
    height: 1px;
    border-radius: 999px;
    background: #00bed2;
    transition: right .18s ease;
}

.refined-footer .footer-column a:hover,
.refined-footer .footer-column a:focus-visible {
    color: #ffffff !important;
    transform: translateX(3px);
    outline: none;
}

.refined-footer .footer-column a:hover::after,
.refined-footer .footer-column a:focus-visible::after {
    right: 0;
}

.footer-products-column .footer-product-group {
    margin-top: 20px;
    padding-top: 16px;
    /* border-top: 1px solid rgba(146, 198, 255, .20); */
}

.footer-products-column .footer-product-group strong {
    display: block;
    margin-bottom: 12px;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 800;
}

.footer-contact-card {
    position: relative;
    padding: 26px 28px 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .075);
    border: 1px solid rgba(146, 198, 255, .24);
    box-shadow: 0 24px 54px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.footer-contact-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .09);
    border-color: rgba(0, 190, 210, .34);
}

.footer-contact-card p {
    color: rgba(244, 251, 255, .78) !important;
    font-size: 13px;
    line-height: 1.62;
}

.footer-contact-card form {
    height: 46px;
    grid-template-columns: 1fr 48px;
    border-color: rgba(146, 198, 255, .30);
    background: rgba(3, 14, 25, .34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.footer-contact-card form:focus-within {
    border-color: rgba(0, 190, 210, .70);
    background: rgba(3, 14, 25, .46);
    box-shadow: 0 0 0 2px rgba(0, 190, 210, .10);
}

.footer-contact-card input {
    color: #ffffff !important;
    font-size: 13px;
}

.footer-contact-card input::placeholder {
    color: rgba(184, 204, 226, .60);
}

.footer-contact-card button {
    color: #001e87;
    background: #ffffff;
    font-size: 20px;
    transition: transform .2s ease, background .2s ease, color .2s ease;
    border-top-right-radius: 999px;
    border-bottom-right-radius: 999px;
}

.footer-contact-card button:hover,
.footer-contact-card button:focus-visible {
    transform: translateX(1px);
    background: #00bed2;
    color: #001e87;
    outline: none;
}

.footer-contact-line {
    color: rgba(244, 251, 255, .86) !important;
    transition: color .18s ease;
}

.footer-contact-line:hover {
    color: #00bed2 !important;
}

.footer-bottom {
    width: min(1560px, calc(100% - 80px));
    margin-top: clamp(36px, 4vw, 58px);
    padding: 20px 0 24px;
    border-top: 1px solid rgba(146, 198, 255, .18);
    color: rgba(184, 204, 226, .78) !important;
}

@media(max-width:1180px) {
    .footer-main {
        width: min(1120px, calc(100% - 48px));
        grid-template-columns: 1fr;
    }
    .footer-brand-block {
        border-right: 0;
        padding-right: 0;
    }
    .footer-brand-block p {
        max-width: 420px;
    }
    .footer-bottom {
        width: min(1120px, calc(100% - 48px));
    }
}

@media(max-width:720px) {
    .site-footer.refined-footer {
        padding-top: 38px !important;
    }
    .footer-main {
        width: 100% !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
    }
    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .refined-footer .footer-column {
        min-height: 0;
        padding: 12px 0;
        border-left: 0;
        border-top: 1px solid rgba(146, 198, 255, .18);
    }
    .footer-contact-card {
        padding: 22px;
        border-radius: 18px;
    }
    .footer-bottom {
        width: 100% !important;
        flex-direction: column;
        gap: 8px;
        padding: 16px 20px 24px !important;
        box-sizing: border-box !important;
    }
}

@media(max-width:480px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 0;
    }
}


/* --- Shared language/theme dropdown styles --- */

.theme-selector,
.language-selector {
    position: relative;
    display: inline-flex;
    z-index: 1300;
    pointer-events: auto;
}

.theme-selector .theme-btn,
.language-selector .language-btn {
    pointer-events: auto;
    position: relative;
    z-index: 2;
}

.theme-selector.open .theme-btn,
.language-selector.open .language-btn {
    background: rgba(0, 190, 210, .18) !important;
    border-color: rgba(255, 255, 255, .68) !important;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .22), 0 0 0 1px rgba(0, 190, 210, .24) inset;
}

.theme-menu,
.language-menu {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    transform: translateY(10px);
    background: rgba(8, 28, 48, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 8px;
    display: grid;
    gap: 6px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
    z-index: 1301;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.language-menu {
    width: 168px;
    min-width: 168px;
    padding: 10px;
    right: -65px;
}

.theme-menu {
    width: 238px;
    right: -60px;
}

.theme-selector.open .theme-menu,
.language-selector.open .language-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    z-index: 10060;
}

.theme-menu button,
.language-menu button {
    width: 100%;
    text-align: left;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    font-family: inherit;
}

.language-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.2;
}

.language-menu .dx-lang-flag {
    width: 20px;
    height: 20px;
    object-fit: contain;
    object-position: center;
    border-radius: 3px;
    flex-shrink: 0;
    display: block;
    background: transparent;
    box-shadow: none;
}

.language-menu .dx-lang-label {
    flex: 1;
    min-width: 0;
    background: transparent;
}

.theme-menu button {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 12px 13px;
}

.theme-menu .dx-theme-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.theme-menu .dx-theme-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.theme-menu button span {
    color: inherit;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
}

.theme-menu button small {
    color: #9eb6cc;
    font-size: 12px;
    line-height: 1.25;
}

.theme-menu button:hover,
.theme-menu button.active,
.language-menu button:hover,
.language-menu button.active {
    background: rgba(0, 190, 210, 0.12);
    color: #00bed2;
}

.theme-menu button.active span {
    color: #00bed2;
}


/* Light Theme overrides */

body[data-theme="ocean-clarity"] .theme-menu,
body[data-theme="ocean-clarity"] .language-menu,
body[data-theme="oceanclarity"] .theme-menu,
body[data-theme="oceanclarity"] .language-menu,
html body[data-theme="ocean-clarity"] #home .language-menu,
html body[data-theme="ocean-clarity"] #home .theme-menu {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid #d9dcdc !important;
    box-shadow: 0 20px 48px rgba(21, 76, 165, 0.14) !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
}

body[data-theme="ocean-clarity"] .theme-menu button,
body[data-theme="ocean-clarity"] .language-menu button,
body[data-theme="oceanclarity"] .theme-menu button,
body[data-theme="oceanclarity"] .language-menu button,
body[data-theme="ocean-clarity"] .language-menu .dx-lang-label,
body[data-theme="oceanclarity"] .language-menu .dx-lang-label,
body[data-theme="ocean-clarity"] .theme-menu button span,
body[data-theme="oceanclarity"] .theme-menu button span,
html body[data-theme="ocean-clarity"] #home .language-menu button,
html body[data-theme="ocean-clarity"] #home .language-menu .dx-lang-label,
html body[data-theme="ocean-clarity"] #home .theme-menu button,
html body[data-theme="ocean-clarity"] #home .theme-menu button span {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
}

body[data-theme="ocean-clarity"] .theme-menu button small,
body[data-theme="oceanclarity"] .theme-menu button small {
    color: #666666 !important;
    -webkit-text-fill-color: #666666 !important;
}

body[data-theme="ocean-clarity"] .theme-menu button:hover,
body[data-theme="ocean-clarity"] .theme-menu button.active,
body[data-theme="ocean-clarity"] .language-menu button:hover,
body[data-theme="ocean-clarity"] .language-menu button.active,
body[data-theme="oceanclarity"] .theme-menu button:hover,
body[data-theme="oceanclarity"] .theme-menu button.active,
body[data-theme="oceanclarity"] .language-menu button:hover,
body[data-theme="oceanclarity"] .language-menu button.active,
html body[data-theme="ocean-clarity"] #home .language-menu button:hover,
html body[data-theme="ocean-clarity"] #home .language-menu button.active {
    background: rgba(0, 30, 135, 0.08) !important;
    color: #001e87 !important;
    -webkit-text-fill-color: #001e87 !important;
}

body[data-theme="ocean-clarity"] .language-menu button:hover .dx-lang-label,
body[data-theme="ocean-clarity"] .language-menu button.active .dx-lang-label,
body[data-theme="oceanclarity"] .language-menu button:hover .dx-lang-label,
body[data-theme="oceanclarity"] .language-menu button.active .dx-lang-label,
html body[data-theme="ocean-clarity"] #home .language-menu button:hover .dx-lang-label,
html body[data-theme="ocean-clarity"] #home .language-menu button.active .dx-lang-label,
body[data-theme="ocean-clarity"] .theme-menu button.active span,
body[data-theme="oceanclarity"] .theme-menu button.active span {
    background: transparent !important;
    color: #001e87 !important;
    -webkit-text-fill-color: #001e87 !important;
}


/* Products Dropdown Styling */

.nav-product-menu {
    position: relative;
}

.product-mega-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 580px;
    background: rgba(8, 28, 48, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 999;
}

.nav-product-menu:hover .product-mega-menu,
.nav-product-menu:focus-within .product-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

body[data-theme="ocean-clarity"] .product-mega-menu {
    background: rgba(255, 255, 255, 0.98);
    border-color: #d9dcdc;
    box-shadow: 0 24px 64px rgba(21, 76, 165, 0.12);
}


/* Homepage navigation dropdown update */

.site-header.nav-clean .nav-links {
    align-items: center;
    overflow: visible;
}

.site-header.nav-clean .nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.site-header.nav-clean .nav-dropdown-trigger,
.site-header.nav-clean .nav-product-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.site-header.nav-clean .nav-dropdown-trigger::before,
.site-header.nav-clean .nav-product-trigger::before {
    content: "";
    width: 5px;
    height: 5px;
    border-right: 1.7px solid currentColor;
    border-bottom: 1.7px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    order: 2;
    opacity: .82;
    transition: transform .2s ease;
}

.site-header.nav-clean .nav-dropdown:hover .nav-dropdown-trigger::before,
.site-header.nav-clean .nav-dropdown.open .nav-dropdown-trigger::before,
.site-header.nav-clean .nav-product-menu:hover .nav-product-trigger::before,
.site-header.nav-clean .nav-product-menu.open .nav-product-trigger::before {
    transform: rotate(225deg) translate(-1px, -1px);
}

.site-header.nav-clean .product-mega-menu,
.site-header.nav-clean .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    border-radius: 18px;
    padding: 10px;
    background: rgba(8, 28, 48, .96);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 24px 64px rgba(0, 0, 0, .42);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    z-index: 1000;
}

.site-header.nav-clean .product-mega-menu {
    width: min(760px, 86vw);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.site-header.nav-clean .nav-dropdown-menu {
    width: max-content;
    min-width: 188px;
    display: grid;
    gap: 6px;
}

.site-header.nav-clean .nav-dropdown-menu.solutions-nav-menu {
    min-width: 310px;
}

@media (min-width: 921px) {
    .site-header.nav-clean .nav-dropdown-menu.support-menu-eight {
        width: 410px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Card-style mega submenu (210×210 tiles) */
    .site-header.nav-clean {
        overflow: visible;
    }
    .site-header.nav-clean .nav-links {
        position: relative;
        z-index: 1;
        overflow: visible;
    }
    .site-header.nav-clean .header-actions {
        position: relative;
        z-index: 50;
        isolation: isolate;
    }
    /* Position mega panel against .nav-links so wide menus stay centered & fully visible */
    .site-header.nav-clean .nav-dropdown:has(.nav-mega-cards) {
        position: static;
    }
    /* Hover bridge only under the trigger — never full nav width (would steal header-actions clicks) */
    .site-header.nav-clean .nav-dropdown:has(.nav-mega-cards)::after {
        content: none;
        pointer-events: none;
    }
    .site-header.nav-clean .nav-dropdown:has(.nav-mega-cards):hover::after,
    .site-header.nav-clean .nav-dropdown:has(.nav-mega-cards):focus-within::after,
    .site-header.nav-clean .nav-dropdown:has(.nav-mega-cards).open::after {
        content: "";
        pointer-events: auto;
        position: absolute;
        left: 0;
        right: auto;
        width: 100%;
        top: 100%;
        height: 28px;
        z-index: 2;
    }
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards,
    .site-header.nav-clean .nav-dropdown-menu.solutions-nav-menu.nav-mega-cards,
    .site-header.nav-clean .nav-dropdown-menu.support-menu-eight.nav-mega-cards {
        display: none;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: center;
        gap: clamp(8px, 1vw, 14px);
        width: min(1560px, calc(100vw - 48px));
        min-width: 0;
        max-width: min(1560px, calc(100vw - 48px));
        padding: 18px 20px;
        border-radius: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        left: 50%;
        right: auto;
        top: calc(100% + 12px);
        overflow: visible;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(-50%) translateY(-14px);
        transition: opacity .22s ease, transform .22s cubic-bezier(.22, .61, .36, 1), visibility .22s ease;
        z-index: 5;
        box-sizing: border-box;
    }
    .site-header.nav-clean .nav-dropdown:hover .nav-dropdown-menu.nav-mega-cards,
    .site-header.nav-clean .nav-dropdown:focus-within .nav-dropdown-menu.nav-mega-cards,
    .site-header.nav-clean .nav-dropdown.open .nav-dropdown-menu.nav-mega-cards {
        display: flex;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards a,
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards .nav-mega-card {
        position: relative;
        display: block;
        flex: 0 1 210px;
        min-width: 0;
        max-width: 210px;
        width: 210px;
        height: 210px;
        aspect-ratio: 1 / 1;
        min-height: 0;
        padding: 0;
        margin: 0;
        border-radius: 12px;
        overflow: hidden;
        background: #a8a8a8;
        color: #0a2540 !important;
        white-space: normal;
        transform: translateY(0);
        transition: transform .22s ease, box-shadow .22s ease;
    }
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards a:hover,
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards a:focus-visible,
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards .nav-mega-card:hover,
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards .nav-mega-card:focus-visible {
        background: #a8a8a8;
        color: #0a2540 !important;
        transform: translateY(-3px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
        outline: none;
    }
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards .nav-mega-card-img {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
        object-position: center center;
        pointer-events: none;
    }
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards .nav-mega-card-label {
        position: absolute;
        left: 50%;
        top: auto;
        bottom: 18px;
        transform: translateX(-50%);
        z-index: 1;
        width: 88%;
        max-width: 88%;
        box-sizing: border-box;
        padding: 0 8px;
        border: none;
        border-radius: 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        color: #0a2540;
        font-size: clamp(12px, 0.9vw, 14px);
        font-weight: 700;
        line-height: 1.3;
        text-align: center;
        white-space: normal;
        overflow: visible;
        overflow-wrap: anywhere;
        word-break: break-word;
        pointer-events: none;
        box-shadow: none;
    }
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards .nav-mega-card-label.is-pos-top {
        top: 18px;
        bottom: auto;
        transform: translateX(-50%);
    }
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards .nav-mega-card-label.is-pos-middle {
        top: 50%;
        bottom: auto;
        transform: translate(-50%, -50%);
    }
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards .nav-mega-card-label.is-pos-bottom {
        top: auto;
        bottom: 18px;
        transform: translateX(-50%);
    }
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards a.nav-item-divider {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
        border-radius: 12px;
    }
}

body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body[data-theme="deep-ocean"] .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.site-header.nav-clean .nav-product-menu:hover .product-mega-menu,
.site-header.nav-clean .nav-product-menu:focus-within .product-mega-menu,
.site-header.nav-clean .nav-product-menu.open .product-mega-menu,
.site-header.nav-clean .nav-dropdown:hover .nav-dropdown-menu,
.site-header.nav-clean .nav-dropdown:focus-within .nav-dropdown-menu,
.site-header.nav-clean .nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}


/* .site-header.nav-clean .nav-dropdown-menu::before {
            content: "";
            position: absolute;
            left: 50%;
            top: -6px;
            width: 12px;
            height: 12px;
            transform: translateX(-50%) rotate(45deg);
            background: inherit;
            border-left: 1px solid rgba(255, 255, 255, .12);
            border-top: 1px solid rgba(255, 255, 255, .12);
        } */

.site-header.nav-clean .nav-dropdown-menu a {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 11px;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    background: transparent;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.site-header.nav-clean .nav-dropdown-menu a::after {
    display: none !important;
}

.site-header.nav-clean .nav-dropdown-menu a:hover,
.site-header.nav-clean .nav-dropdown-menu a:focus-visible {
    background: rgba(0, 190, 210, .12);
    color: #00bed2 !important;
    transform: translateX(2px);
    outline: none;
}

.site-header.nav-clean .product-mega-item {
    min-height: 154px;
    grid-template-columns: 1fr;
    align-content: start;
    justify-items: start;
    padding: 12px;
    border-radius: 14px;
}

.site-header.nav-clean .product-mega-thumb {
    width: 100%;
    height: 78px;
    margin-bottom: 8px;
}

.site-header.nav-clean .product-mega-copy strong {
    font-size: 14px;
}

.site-header.nav-clean .product-mega-copy small {
    font-size: 12px;
}

body[data-theme="ocean-clarity"] .site-header.nav-clean .product-mega-menu,
body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-dropdown-menu {
    background: rgba(255, 255, 255, .98);
    border-color: #d9dcdc;
    box-shadow: 0 24px 64px rgba(21, 76, 165, .12);
}

body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-dropdown-menu a {
    color: #111111 !important;
}

body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-dropdown-menu a:hover,
body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-dropdown-menu a:focus-visible {
    background: #eef6ff;
    color: #001e87 !important;
}

@media (max-width: 920px) {
    .site-header.nav-clean .nav-dropdown {
        width: 100%;
        display: grid;
        gap: 8px;
    }
    .site-header.nav-clean .nav-dropdown-trigger,
    .site-header.nav-clean .nav-product-trigger {
        width: max-content;
    }
    .site-header.nav-clean .product-mega-menu,
    .site-header.nav-clean .nav-dropdown-menu {
        position: static;
        width: 100%;
        min-width: 0;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
        box-shadow: none;
        border-radius: 14px;
    }
    .site-header.nav-clean .product-mega-menu {
        grid-template-columns: 1fr;
    }
    .site-header.nav-clean .product-mega-item {
        min-height: 72px;
        grid-template-columns: 62px 1fr;
        align-content: center;
        justify-items: stretch;
    }
    .site-header.nav-clean .product-mega-thumb {
        width: 62px;
        height: 54px;
        margin-bottom: 0;
    }
    .site-header.nav-clean .nav-product-menu.open .product-mega-menu,
    .site-header.nav-clean .nav-product-menu:focus-within .product-mega-menu,
    .site-header.nav-clean .nav-dropdown.open .nav-dropdown-menu,
    .site-header.nav-clean .nav-dropdown:focus-within .nav-dropdown-menu {
        display: grid;
    }
    .site-header.nav-clean .nav-dropdown.open .nav-dropdown-menu.nav-mega-cards,
    .site-header.nav-clean .nav-dropdown:focus-within .nav-dropdown-menu.nav-mega-cards {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: visible;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards a,
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards .nav-mega-card {
        position: relative;
        display: block;
        flex: 1 1 calc(50% - 6px);
        width: auto;
        min-width: 140px;
        max-width: 210px;
        height: auto;
        aspect-ratio: 1 / 1;
        min-height: 0;
        padding: 0;
        border-radius: 10px;
        overflow: hidden;
        background: #a8a8a8;
        color: #0a2540 !important;
        transform: none;
    }
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards .nav-mega-card-img {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
        object-position: center center;
    }
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards .nav-mega-card-label {
        position: absolute;
        left: 50%;
        top: auto;
        bottom: 14px;
        transform: translateX(-50%);
        width: 88%;
        max-width: 88%;
        box-sizing: border-box;
        padding: 0 6px;
        border: none;
        border-radius: 0;
        background: transparent;
        color: #0a2540;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.3;
        text-align: center;
        white-space: normal;
        overflow: visible;
        overflow-wrap: anywhere;
        word-break: break-word;
        pointer-events: none;
    }
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards .nav-mega-card-label.is-pos-top {
        top: 12px;
        bottom: auto;
        transform: translateX(-50%);
    }
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards .nav-mega-card-label.is-pos-middle {
        top: 50%;
        bottom: auto;
        transform: translate(-50%, -50%);
    }
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards .nav-mega-card-label.is-pos-bottom {
        top: auto;
        bottom: 14px;
        transform: translateX(-50%);
    }
    .site-header.nav-clean .nav-dropdown-menu::before {
        display: none;
    }
}


/* Custom Floating Cart Drawer */

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    height: 100vh;
    background: #ffffff;
    color: #111111;
    border-left: 1px solid #d9dcdc;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    font-family: inherit;
}

.cart-drawer.open {
    right: 0;
}

.cart-drawer-header {
    padding: 24px;
    border-bottom: 2px solid #111111;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-drawer-header h3 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 900;
    color: #001e87;
    text-transform: uppercase;
}

.cart-drawer-close {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 24px;
    font-weight: 300;
    color: #666666;
}

.cart-drawer-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cart-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #d9dcdc;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 13px;
}

.cart-item-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.cart-item-name {
    font-weight: 800;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    line-height: 1.35;
}

.cart-item-qty {
    font-size: 11px;
    font-weight: 700;
    color: #5d7496 !important;
    -webkit-text-fill-color: #5d7496 !important;
}

.cart-item-remove {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #ff3366 !important;
    -webkit-text-fill-color: #ff3366 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.2 !important;
    flex-shrink: 0;
    white-space: nowrap;
}

.cart-empty-state {
    text-align: center;
    padding: 40px 10px;
    color: #666666 !important;
    -webkit-text-fill-color: #666666 !important;
    font-weight: 600;
}

.cart-guest-hint {
    margin: 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f3f8ff;
    color: #5d7496 !important;
    -webkit-text-fill-color: #5d7496 !important;
    font-size: 12px;
    line-height: 1.5;
}

.cart-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-wishlist-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    border-radius: 8px;
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid rgba(25, 67, 118, 0.18) !important;
    color: #001e87 !important;
    -webkit-text-fill-color: #001e87 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    letter-spacing: 0.02em;
    box-shadow: none !important;
    text-shadow: none !important;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cart-wishlist-btn:hover,
.cart-wishlist-btn:focus-visible {
    background: #001e87 !important;
    background-image: none !important;
    border-color: #001e87 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    transform: translateY(-1px);
}

/* Header cart drawer: keep remove + wishlist CTA readable in both themes */
html body .cart-drawer .cart-item-remove,
html body[data-theme="deep-ocean"] .cart-drawer .cart-item-remove,
html body[data-theme="ocean-clarity"] .cart-drawer .cart-item-remove,
html body.dx-inner-page .cart-drawer .cart-item-remove {
    color: #ff3366 !important;
    -webkit-text-fill-color: #ff3366 !important;
}

html body .cart-drawer .cart-wishlist-btn,
html body[data-theme="deep-ocean"] .cart-drawer .cart-wishlist-btn,
html body[data-theme="ocean-clarity"] .cart-drawer .cart-wishlist-btn,
html body.dx-inner-page .cart-drawer .cart-wishlist-btn {
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid rgba(25, 67, 118, 0.18) !important;
    color: #001e87 !important;
    -webkit-text-fill-color: #001e87 !important;
}

html body .cart-drawer .cart-wishlist-btn:hover,
html body .cart-drawer .cart-wishlist-btn:focus-visible,
html body[data-theme="deep-ocean"] .cart-drawer .cart-wishlist-btn:hover,
html body[data-theme="deep-ocean"] .cart-drawer .cart-wishlist-btn:focus-visible,
html body[data-theme="ocean-clarity"] .cart-drawer .cart-wishlist-btn:hover,
html body[data-theme="ocean-clarity"] .cart-drawer .cart-wishlist-btn:focus-visible,
html body.dx-inner-page .cart-drawer .cart-wishlist-btn:hover,
html body.dx-inner-page .cart-drawer .cart-wishlist-btn:focus-visible {
    background: #001e87 !important;
    border-color: #001e87 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.cart-drawer-form {
    border-top: 1px dashed #d9dcdc;
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-drawer-form h4 {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: #111111;
}

.cart-input {
    width: 100%;
    border: 1px solid #d9dcdc;
    background: #fdfdfd;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 13px;
    color: #111111;
}

.cart-textarea {
    width: 100%;
    border: 1px solid #d9dcdc;
    background: #fdfdfd;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 13px;
    color: #111111;
    resize: vertical;
    min-height: 70px;
}

.cart-submit-btn {
    background: linear-gradient(135deg, #001e87, #001e87);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 0;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    text-align: center;
}

.cart-submit-btn:hover {
    opacity: 0.9;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: none;
    backdrop-filter: blur(4px);
}

.cart-overlay.open {
    display: block;
}


/* Micro-pulse effect for cart icon */

.cart-badge-count.pulse {
    animation: badge-pulse 0.4s ease-out;
}

@keyframes badge-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.4);
    }
    100% {
        transform: scale(1);
    }
}


/* Mobile navigation polish: keep the first row compact, then open into a readable panel. */

@media (max-width: 920px) {
    .site-header.nav-clean {
        top: 12px !important;
        width: calc(100% - 24px) !important;
        min-height: 64px;
        padding: 9px 10px 9px 14px !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center;
        gap: 10px !important;
        border: 1px solid rgba(255, 255, 255, .18) !important;
        border-radius: 18px !important;
        background: rgba(5, 26, 47, .20) !important;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 18px 36px rgba(0, 0, 0, .16);
        overflow: visible;
    }
    .site-header.nav-clean.open {
        background: rgba(5, 24, 43, .94) !important;
        border-color: rgba(255, 255, 255, .24) !important;
        box-shadow: 0 22px 54px rgba(0, 0, 0, .36);
    }
    body.dx-inner-page[data-theme="ocean-clarity"] .site-header.nav-clean {
        background: rgba(255, 255, 255, .72) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border-color: rgba(9, 36, 81, .14) !important;
        box-shadow: 0 18px 36px rgba(21, 76, 165, .12) !important;
    }
    body.dx-inner-page[data-theme="ocean-clarity"] .site-header.nav-clean.open {
        background: rgba(255, 255, 255, .96) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-color: rgba(9, 36, 81, .20) !important;
    }
    .site-header.nav-clean .brand {
        min-width: 0;
        display: inline-flex;
        align-items: center;
    }
    .site-header.nav-clean .brand img {
        width: clamp(136px, 42vw, 166px) !important;
        max-width: 100%;
    }
    .site-header.nav-clean .header-actions {
        grid-column: 2;
        display: flex !important;
        justify-content: flex-end;
        align-items: center;
        gap: 8px !important;
    }
    .site-header.nav-clean.open .header-actions {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: auto !important;
        padding-top: 0 !important;
        border-top: 0 !important;
        justify-content: flex-end !important;
        flex-wrap: nowrap !important;
    }
    .site-header.nav-clean .icon-btn,
    .site-header.nav-clean .nav-toggle {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        border-radius: 14px;
        background: rgba(255, 255, 255, .08);
        border-color: rgba(255, 255, 255, .34);
    }
    .site-header.nav-clean .search-btn,
    .site-header.nav-clean .login-btn,
    .site-header.nav-clean .language-selector,
    .site-header.nav-clean .theme-selector {
        display: none !important;
    }
    .site-header.nav-clean .cart-icon-btn,
    .site-header.nav-clean .nav-toggle {
        display: grid !important;
        place-items: center;
    }
    .site-header.nav-clean .nav-toggle {
        position: relative;
        padding: 0;
    }
    .site-header.nav-clean .nav-toggle span {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        transform: translate(-50%, -50%);
        transition: transform .22s ease, opacity .22s ease;
    }
    .site-header.nav-clean .nav-toggle span:nth-child(1) {
        transform: translate(-50%, calc(-50% - 7px));
    }
    .site-header.nav-clean .nav-toggle span:nth-child(3) {
        transform: translate(-50%, calc(-50% + 7px));
    }
    .site-header.nav-clean.open .nav-toggle span:nth-child(1) {
        transform: translate(-50%, -50%) rotate(45deg);
    }
    .site-header.nav-clean.open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }
    .site-header.nav-clean.open .nav-toggle span:nth-child(3) {
        transform: translate(-50%, -50%) rotate(-45deg);
    }
    .site-header.nav-clean .nav-links {
        grid-column: 1 / -1;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 4px;
        margin-top: 8px;
        padding: 12px 0 2px !important;
        border-top: 1px solid rgba(255, 255, 255, .16);
        font-size: 13px;
        text-transform: uppercase;
    }
    .site-header.nav-clean.open .nav-links {
        display: flex !important;
    }
    .site-header.nav-clean .nav-links a,
    .site-header.nav-clean .nav-product-trigger {
        width: 100%;
        padding: 11px 10px;
        border-radius: 12px;
        line-height: 1.1;
    }
    .site-header.nav-clean .nav-links a::after {
        display: none;
    }
    .site-header.nav-clean .nav-links a:hover,
    .site-header.nav-clean .nav-links a:focus-visible {
        background: rgba(255, 255, 255, .09);
        transform: none;
    }
    .site-header.nav-clean .nav-product-menu {
        width: 100%;
    }
    .site-header.nav-clean .product-mega-menu {
        width: 100%;
        margin-top: 4px;
        padding: 8px;
        border-radius: 14px;
        background: rgba(255, 255, 255, .08);
        border-color: rgba(255, 255, 255, .12);
    }
    .site-header.nav-clean .product-mega-item {
        padding: 8px;
        border-radius: 10px;
    }
}

@media (max-width: 430px) {
    .site-header.nav-clean {
        width: calc(100% - 20px) !important;
        padding-left: 12px !important;
        padding-right: 8px !important;
    }
    .site-header.nav-clean .brand img {
        width: clamp(128px, 39vw, 150px) !important;
    }
    .site-header.nav-clean .header-actions {
        gap: 7px !important;
    }
    .site-header.nav-clean .icon-btn,
    .site-header.nav-clean .nav-toggle {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }
}

/* ==========================================================================
   Unified Deep Ocean Theme
   Mirrors the homepage dark theme across secondary pages.
   ========================================================================== */

html body[data-theme="deep-ocean"] {
    --bg: #061726 !important;
    --bg2: #04111d !important;
    --theme-bg: #061726 !important;
    --theme-bg-2: #071a2d !important;
    --theme-cyan: #00bed2 !important;
    --theme-blue: #001e87 !important;
    --theme-muted: #b1b4b4 !important;
    --theme-line: rgba(0, 190, 210, .26) !important;
    background: #061726 !important;
    background-image: none !important;
    color: #ffffff !important;
}



html body[data-theme="deep-ocean"] :is(
    h1,
    .page-title,
    .section-title,
    .section-head h2,
    .lance-section-head h2,
    .solutions-heading h2,
    .support-section h2,
    .about-section h2,
    .contact-section h2,
    .user-section h2,
    .software-section h2
) {
    font-size: clamp(34px, 3.4vw, 58px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.045em !important;
}

html body[data-theme="deep-ocean"] :is(
    .page-kicker,
    .section-kicker,
    .eyebrow,
    .kicker,
    [class*="kicker"],
    [class*="eyebrow"],
    .news-category
) {
    color: #00bed2 !important;
    -webkit-text-fill-color: #00bed2 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
}

html body[data-theme="deep-ocean"] :is(
    .section-head p,
    .page-intro,
    .section-intro,
    .model-subtitle,
    .support-card p,
    .lance-section-head p,
    .solutions-subtitle,
    .contact-section p,
    .about-section p,
    .software-section p
) {
    font-size: clamp(15px, 1.2vw, 18px) !important;
    line-height: 1.75 !important;
}

html body[data-theme="deep-ocean"] :is(
    .page-btn,
    .btn,
    .btn-submit,
    .cart-submit-btn,
    .model-variant-btn,
    .model-actions a,
    .model-action-btn,
    .product-link,
    .product-link-primary,
    .product-link-secondary,
    .software-story-link,
    .partner-flat-btn,
    .partner-flat-btn-primary,
    .partner-flat-btn-secondary,
    .news-view-all,
    .support-card > a,
    .contact-card a,
    button[type="submit"],
    a[class*="btn"]:not(.icon-btn):not(.theme-btn):not(.language-btn):not(.cart-icon-btn):not(.nav-toggle):not(.cart-wishlist-btn),
    button[class*="btn"]:not(.icon-btn):not(.theme-btn):not(.language-btn):not(.cart-icon-btn):not(.nav-toggle)
) {
    background: #ffffff !important;
    background-image: none !important;
    border-color: #ffffff !important;
    color: #001e87 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transition: transform .22s ease, background .22s ease, border-color .22s ease, color .22s ease !important;
}

html body[data-theme="deep-ocean"] :is(
    .page-btn,
    .btn,
    .btn-submit,
    .cart-submit-btn,
    .model-variant-btn,
    .model-actions a,
    .model-action-btn,
    .product-link,
    .product-link-primary,
    .product-link-secondary,
    .software-story-link,
    .partner-flat-btn,
    .partner-flat-btn-primary,
    .partner-flat-btn-secondary,
    .news-view-all,
    .support-card > a,
    .contact-card a,
    
    a[class*="btn"]:not(.icon-btn):not(.theme-btn):not(.language-btn):not(.cart-icon-btn):not(.nav-toggle):not(.cart-wishlist-btn),
    button[class*="btn"]:not(.icon-btn):not(.theme-btn):not(.language-btn):not(.cart-icon-btn):not(.nav-toggle)
):is(:hover, :focus-visible, .active) {
    background: #00bed2 !important;
    background-image: none !important;
    border-color: #00bed2 !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transform: translateY(-2px) !important;
}

html body[data-theme="deep-ocean"] a.page-btn:hover,
html body[data-theme="deep-ocean"] a.page-btn:focus-visible,
html body[data-theme="deep-ocean"] a.btn:hover,
html body[data-theme="deep-ocean"] a.btn:focus-visible,
html body[data-theme="deep-ocean"] a.btn-submit:hover,
html body[data-theme="deep-ocean"] a.btn-submit:focus-visible,
html body[data-theme="deep-ocean"] button.btn-submit:hover,
html body[data-theme="deep-ocean"] button.btn-submit:focus-visible,
html body[data-theme="deep-ocean"] button.model-action-btn:hover,
html body[data-theme="deep-ocean"] button.model-action-btn:focus-visible,
html body[data-theme="deep-ocean"] button.model-variant-btn:hover,
html body[data-theme="deep-ocean"] button.model-variant-btn:focus-visible,
html body[data-theme="deep-ocean"] button.model-variant-btn.active,
html body[data-theme="deep-ocean"] a.product-link:hover,
html body[data-theme="deep-ocean"] a.product-link:focus-visible,
html body[data-theme="deep-ocean"] a.product-link-primary:hover,
html body[data-theme="deep-ocean"] a.product-link-primary:focus-visible,
html body[data-theme="deep-ocean"] a.product-link-secondary:hover,
html body[data-theme="deep-ocean"] a.product-link-secondary:focus-visible,
html body[data-theme="deep-ocean"] a.software-story-link:hover,
html body[data-theme="deep-ocean"] a.software-story-link:focus-visible,
html body[data-theme="deep-ocean"] a.partner-flat-btn:hover,
html body[data-theme="deep-ocean"] a.partner-flat-btn:focus-visible,
html body[data-theme="deep-ocean"] a.news-view-all:hover,
html body[data-theme="deep-ocean"] a.news-view-all:focus-visible,
html body[data-theme="deep-ocean"] .support-card > a:hover,
html body[data-theme="deep-ocean"] .support-card > a:focus-visible,
html body[data-theme="deep-ocean"] .model-actions a:hover,
html body[data-theme="deep-ocean"] .model-actions a:focus-visible {
    background: #00bed2 !important;
    background-image: none !important;
    border-color: #00bed2 !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transform: translateY(-2px) !important;
}

html body[data-theme="deep-ocean"] :is(
    .page-btn,
    .btn,
    .btn-submit,
    .cart-submit-btn,
    .model-variant-btn,
    .model-actions a,
    .model-action-btn,
    .product-link,
    .software-story-link,
    .partner-flat-btn,
    .news-view-all,
    button[type="submit"],
    a[class*="btn"]:not(.icon-btn):not(.theme-btn):not(.language-btn):not(.cart-icon-btn):not(.nav-toggle):not(.cart-wishlist-btn),
    button[class*="btn"]:not(.icon-btn):not(.theme-btn):not(.language-btn):not(.cart-icon-btn):not(.nav-toggle)
) :is(span, svg) {
    color: inherit !important;
    stroke: currentColor !important;
}

html body[data-theme="deep-ocean"] :is(
    .lance-model-num,
    .support-card-icon,
    .capability-icon,
    .benefit-icon,
    .partner-benefit-icon
) {
    border-color: rgba(0, 190, 210, .28) !important;
    background: rgba(0, 190, 210, .12) !important;
    color: #00bed2 !important;
    box-shadow: none !important;
}

html body[data-theme="deep-ocean"] :is(
    .lance-model-card,
    .support-card,
    .product-card,
    .solution-card,
    .contact-card,
    .user-card,
    .news-card,
    .ni-card,
    .tool-card,
    .plan-card
) {
    background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .045)) !important;
    border-color: rgba(0, 190, 210, .22) !important;
    box-shadow: none !important;
}


/* Final nav dropdown usability fix: keep old product menu, stabilize hover gap */

.site-header.nav-clean .nav-product-menu::after,
.site-header.nav-clean .nav-dropdown::after {
    content: "";
    position: absolute;
    left: -18px;
    right: -18px;
    top: 100%;
    height: 16px;
    z-index: 999;
}

.site-header.nav-clean .product-mega-menu {
    top: calc(100% + 10px) !important;
    width: 580px !important;
    max-width: min(580px, calc(100vw - 32px)) !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    padding: 16px !important;
    border-radius: 14px !important;
}

.site-header.nav-clean .product-mega-item {
    display: grid !important;
    min-height: 82px !important;
    grid-template-columns: 72px 1fr !important;
    align-items: center !important;
    align-content: center !important;
    justify-items: stretch !important;
    padding: 10px !important;
    border-radius: 16px !important;
    transition: transform .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease !important;
}

.site-header.nav-clean .product-mega-item:hover,
.site-header.nav-clean .product-mega-item:focus-visible {
    transform: translateY(-3px) !important;
    background: rgba(0, 190, 210, .10) !important;
    border-color: rgba(0, 190, 210, .36) !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .10) !important;
}

.site-header.nav-clean .product-mega-thumb {
    width: 72px !important;
    height: 62px !important;
    min-width: 72px !important;
    margin-bottom: 0 !important;
    display: grid !important;
    place-items: center !important;
    transition: transform .24s ease !important;
}

.site-header.nav-clean .product-mega-item:hover .product-mega-thumb,
.site-header.nav-clean .product-mega-item:focus-visible .product-mega-thumb {
    transform: scale(1.04) !important;
}

.site-header.nav-clean .product-mega-thumb img,
.site-header.nav-clean .product-mega-thumb svg {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.site-header.nav-clean .product-mega-thumb.icon-thumb svg,
.site-header.nav-clean .product-mega-thumb.icon-thumb svg * {
    fill: none !important;
    stroke: #00bed2 !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.site-header.nav-clean .product-mega-copy {
    min-width: 0 !important;
    display: grid !important;
    gap: 4px !important;
}

.site-header.nav-clean .product-mega-copy strong,
.site-header.nav-clean .product-mega-copy small {
    display: block !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

.site-header.nav-clean .product-mega-copy strong {
    color: #ffffff !important;
    font-weight: 850 !important;
    line-height: 1.12 !important;
}

.site-header.nav-clean .product-mega-copy small {
    color: rgba(214, 232, 246, .76) !important;
    line-height: 1.25 !important;
}

.site-header.nav-clean .product-mega-item:hover .product-mega-copy strong,
.site-header.nav-clean .product-mega-item:focus-visible .product-mega-copy strong {
    color: #ffffff !important;
}

.site-header.nav-clean .product-mega-item:hover .product-mega-copy small,
.site-header.nav-clean .product-mega-item:focus-visible .product-mega-copy small {
    color: #00bed2 !important;
}

.site-header.nav-clean .nav-dropdown-menu {
    top: calc(100% + 10px) !important;
}

/* Sub-nav card bg image: always fill frame (beats page-level img { width/height } resets) */
.site-header.nav-clean .nav-dropdown-menu.nav-mega-cards .nav-mega-card,
.site-header.nav-clean .nav-dropdown-menu.nav-mega-cards a.nav-mega-card {
    position: relative !important;
    overflow: hidden !important;
}
.site-header.nav-clean .nav-dropdown-menu.nav-mega-cards .nav-mega-card-img {
    position: absolute !important;
    inset: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Card mega menu — override compact text-dropdown rules */
@media (min-width: 921px) {
    .site-header.nav-clean .nav-links {
        position: relative !important;
        overflow: visible !important;
        z-index: 1 !important;
    }
    .site-header.nav-clean .header-actions {
        position: relative !important;
        z-index: 50 !important;
        isolation: isolate;
    }
    .site-header.nav-clean .nav-dropdown:has(.nav-mega-cards) {
        position: static !important;
    }
    .site-header.nav-clean .nav-dropdown:has(.nav-mega-cards)::after {
        content: none !important;
        pointer-events: none !important;
    }
    .site-header.nav-clean .nav-dropdown:has(.nav-mega-cards):hover::after,
    .site-header.nav-clean .nav-dropdown:has(.nav-mega-cards):focus-within::after,
    .site-header.nav-clean .nav-dropdown:has(.nav-mega-cards).open::after {
        content: "" !important;
        pointer-events: auto !important;
        left: 0 !important;
        right: auto !important;
        width: 100% !important;
        transform: none !important;
        height: 28px !important;
        z-index: 2 !important;
    }
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards,
    .site-header.nav-clean .nav-dropdown-menu.solutions-nav-menu.nav-mega-cards,
    .site-header.nav-clean .nav-dropdown-menu.support-menu-eight.nav-mega-cards {
        display: none !important;
        flex-wrap: nowrap !important;
        grid-template-columns: none !important;
        justify-content: center !important;
        gap: clamp(8px, 1vw, 14px) !important;
        width: min(1560px, calc(100vw - 48px)) !important;
        min-width: 0 !important;
        max-width: min(1560px, calc(100vw - 48px)) !important;
        padding: 18px 20px !important;
        border-radius: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        left: 50% !important;
        right: auto !important;
        top: calc(100% + 12px) !important;
        overflow: visible !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateX(-50%) translateY(-14px) !important;
        transition: opacity .22s ease, transform .22s cubic-bezier(.22, .61, .36, 1), visibility .22s ease !important;
        transition-delay: 0s !important;
        z-index: 5 !important;
        box-sizing: border-box !important;
    }
    .site-header.nav-clean .nav-dropdown:hover .nav-dropdown-menu.nav-mega-cards,
    .site-header.nav-clean .nav-dropdown:focus-within .nav-dropdown-menu.nav-mega-cards,
    .site-header.nav-clean .nav-dropdown.open .nav-dropdown-menu.nav-mega-cards {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateX(-50%) translateY(0) !important;
        transition-delay: 0s !important;
    }
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards a,
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards .nav-mega-card {
        display: block !important;
        flex: 0 1 210px !important;
        min-width: 0 !important;
        max-width: 210px !important;
        width: 210px !important;
        height: 210px !important;
        aspect-ratio: 1 / 1 !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        background: #a8a8a8 !important;
        color: #0a2540 !important;
        white-space: normal !important;
        transform: translateY(0) !important;
        gap: 0 !important;
    }
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards a:hover,
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards a:focus-visible {
        background: #a8a8a8 !important;
        color: #0a2540 !important;
        transform: translateY(-3px) !important;
    }
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards .nav-mega-card-img {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        min-width: 100% !important;
        min-height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        margin: 0 !important;
    }
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards .nav-mega-card-label {
        top: auto !important;
        bottom: 18px !important;
        transform: translateX(-50%) !important;
        color: #0a2540;
        -webkit-text-fill-color: currentColor;
        font-size: clamp(12px, 0.9vw, 14px);
        width: 88% !important;
        max-width: 88% !important;
        box-sizing: border-box !important;
        padding: 0 8px !important;
        border: none !important;
        border-radius: 0 !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards .nav-mega-card-label.is-pos-top {
        top: 18px !important;
        bottom: auto !important;
        transform: translateX(-50%) !important;
    }
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards .nav-mega-card-label.is-pos-middle {
        top: 50% !important;
        bottom: auto !important;
        transform: translate(-50%, -50%) !important;
    }
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards .nav-mega-card-label.is-pos-bottom {
        top: auto !important;
        bottom: 18px !important;
        transform: translateX(-50%) !important;
    }
    .site-header.nav-clean .nav-dropdown-menu.nav-mega-cards a.nav-item-divider,
    .site-header.nav-clean [data-products-dropdown] .nav-dropdown-menu.nav-mega-cards a[href*="products-finder"],
    .site-header.nav-clean [data-products-dropdown] .nav-dropdown-menu.nav-mega-cards a[href*="/products/finder"] {
        margin-top: 0 !important;
        padding-top: 0 !important;
        border-top: none !important;
        border-radius: 12px !important;
    }
}

.site-header.nav-clean .nav-product-menu:hover .product-mega-menu,
.site-header.nav-clean .nav-product-menu:focus-within .product-mega-menu,
.site-header.nav-clean .nav-product-menu.open .product-mega-menu,
.site-header.nav-clean .nav-dropdown:hover .nav-dropdown-menu,
.site-header.nav-clean .nav-dropdown:focus-within .nav-dropdown-menu,
.site-header.nav-clean .nav-dropdown.open .nav-dropdown-menu {
    transition-delay: 0s;
}

.site-header.nav-clean .product-mega-menu,
.site-header.nav-clean .nav-dropdown-menu {
    transition-delay: .08s;
}


/* Hide mobile actions on desktop */

.mobile-only-actions {
    display: none !important;
}

@media (min-width: 921px) {
    .site-header.nav-clean .nav-toggle {
        display: none !important;
    }
    .site-header.nav-clean .header-actions {
        gap: clamp(7px, .75vw, 10px) !important;
        position: relative !important;
        z-index: 50 !important;
        isolation: isolate;
    }
    .site-header.nav-clean .language-selector,
    .site-header.nav-clean .theme-selector,
    .site-header.nav-clean .language-btn,
    .site-header.nav-clean .theme-btn {
        pointer-events: auto !important;
        position: relative;
        z-index: 51;
    }
    .site-header.nav-clean .icon-btn,
    .site-header.nav-clean .language-btn,
    .site-header.nav-clean .theme-btn,
    .site-header.nav-clean .cart-icon-btn {
        width: clamp(38px, 3.1vw, 44px) !important;
        height: clamp(38px, 3.1vw, 44px) !important;
        min-width: clamp(38px, 3.1vw, 44px) !important;
        flex-basis: clamp(38px, 3.1vw, 44px) !important;
        border-radius: clamp(11px, .9vw, 14px) !important;
    }
    .site-header.nav-clean .icon-btn svg,
    .site-header.nav-clean .language-btn svg,
    .site-header.nav-clean .cart-icon-btn svg {
        width: clamp(18px, 1.45vw, 21px) !important;
        height: clamp(18px, 1.45vw, 21px) !important;
    }
    .site-header.nav-clean .theme-btn svg {
        width: clamp(18px, 1.45vw, 21px) !important;
        height: clamp(18px, 1.45vw, 21px) !important;
        fill: currentColor !important;
        stroke: none !important;
    }
    .site-header.nav-clean .theme-btn img {
        width: clamp(18px, 1.45vw, 21px) !important;
        height: clamp(18px, 1.45vw, 21px) !important;
        max-width: 21px !important;
        max-height: 21px !important;
        object-fit: contain !important;
        filter: brightness(0) invert(1) !important;
    }
    .site-header.nav-clean .language-selector.open .language-menu {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }
}

@media (min-width: 921px) and (max-width: 1280px) {
    .site-header.nav-clean {
        width: calc(100vw - 32px) !important;
        grid-template-columns: clamp(150px, 16vw, 190px) minmax(0, 1fr) auto !important;
        gap: 14px !important;
    }
    .site-header.nav-clean .nav-links {
        gap: clamp(12px, 1.4vw, 18px) !important;
    }
    .site-header.nav-clean .nav-links a,
    .site-header.nav-clean .nav-product-trigger,
    .site-header.nav-clean .nav-dropdown-trigger {
        font-size: 12px !important;
    }
}

@media (min-width: 921px) and (max-width: 1080px) {
    .site-header.nav-clean {
        grid-template-columns: 140px minmax(0, 1fr) auto !important;
        gap: 10px !important;
    }
    .site-header.nav-clean .brand img {
        width: 132px !important;
    }
    .site-header.nav-clean .nav-links {
        gap: 10px !important;
    }
    .site-header.nav-clean .header-actions {
        gap: 6px !important;
    }
    .site-header.nav-clean .icon-btn,
    .site-header.nav-clean .language-btn,
    .site-header.nav-clean .theme-btn,
    .site-header.nav-clean .cart-icon-btn {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        flex-basis: 36px !important;
        border-radius: 11px !important;
    }
    .site-header.nav-clean .icon-btn svg,
    .site-header.nav-clean .language-btn svg,
    .site-header.nav-clean .cart-icon-btn svg {
        width: 17px !important;
        height: 17px !important;
    }
    .site-header.nav-clean .theme-btn svg {
        width: 17px !important;
        height: 17px !important;
        fill: currentColor !important;
        stroke: none !important;
    }
    .site-header.nav-clean .theme-btn img {
        width: 17px !important;
        height: 17px !important;
    }
}

body[data-theme="ocean-clarity"] .site-header.nav-clean .product-mega-copy strong {
    color: #111111 !important;
}

body[data-theme="ocean-clarity"] .site-header.nav-clean .product-mega-copy small {
    color: #666666 !important;
}

body[data-theme="ocean-clarity"] .site-header.nav-clean .product-mega-item:hover .product-mega-copy strong,
body[data-theme="ocean-clarity"] .site-header.nav-clean .product-mega-item:focus-visible .product-mega-copy strong {
    color: #001e87 !important;
}

@media (max-width: 920px) {
    .site-header.nav-clean.open {
        max-height: 85vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    .site-header.nav-clean .nav-product-menu::after,
    .site-header.nav-clean .nav-dropdown::after {
        display: none;
    }
    .site-header.nav-clean .product-mega-menu,
    .site-header.nav-clean .nav-dropdown-menu {
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        box-shadow: none !important;
        border-radius: 14px !important;
    }
    .site-header.nav-clean .product-mega-menu {
        width: 100% !important;
        grid-template-columns: 1fr !important;
        padding: 8px !important;
    }
    .site-header.nav-clean .product-mega-item {
        min-height: 72px !important;
        grid-template-columns: 62px 1fr !important;
        padding: 8px !important;
    }
    .site-header.nav-clean .product-mega-thumb {
        width: 62px !important;
        height: 54px !important;
    }
    /* Mobile action items styling */
    .mobile-only-actions {
        display: flex !important;
        flex-direction: column;
        gap: 16px;
        margin-top: 24px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }
    .mobile-action-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 48px;
        border-radius: 12px;
        background: linear-gradient(135deg, #0052d4, #001e87) !important;
        color: #ffffff !important;
        font-weight: 700;
        text-decoration: none;
        font-size: 14px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); */
        transition: transform 0.2s ease, background 0.2s ease;
    }
    .mobile-action-link:hover,
    .mobile-action-link:active {
        background: linear-gradient(135deg, #00bed2, #001e87) !important;
        color: #ffffff !important;
        transform: translateY(-1px);
    }
    .mobile-theme-row,
    .mobile-lang-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #ffffff;
        font-size: 13px;
        font-weight: 600;
        text-transform: none !important;
    }
    .mobile-theme-buttons {
        display: flex;
        gap: 8px;
    }
    .mobile-theme-buttons button {
        padding: 6px 14px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: rgba(255, 255, 255, 0.7);
        font-size: 12px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    .mobile-theme-buttons button.active {
        background: rgba(0, 190, 210, 0.15);
        border-color: #00bed2;
        color: #00bed2;
    }
    .mobile-select-wrapper {
        position: relative;
        width: 130px;
    }
    .mobile-select-wrapper select {
        width: 100%;
        height: 36px;
        padding: 0 10px;
        border-radius: 8px;
        background: rgba(8, 28, 48, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #ffffff;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
        outline: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
    .mobile-select-wrapper::after {
        content: "";
        width: 7px;
        height: 7px;
        border-right: 1.5px solid rgba(255, 255, 255, 0.6);
        border-bottom: 1.5px solid rgba(255, 255, 255, 0.6);
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-65%) rotate(45deg);
        pointer-events: none;
    }
    /* Light theme overrides */
    body[data-theme="ocean-clarity"] .mobile-theme-row,
    body[data-theme="ocean-clarity"] .mobile-lang-row {
        color: #111111;
    }
    body[data-theme="ocean-clarity"] .mobile-theme-buttons button {
        background: rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(0, 0, 0, 0.1);
        color: #555555;
    }
    body[data-theme="ocean-clarity"] .mobile-theme-buttons button.active {
        background: rgba(15, 30, 120, 0.1);
        border-color: #0f1e78;
        color: #0f1e78;
    }
    body[data-theme="ocean-clarity"] .mobile-select-wrapper select {
        background: #ffffff;
        border-color: rgba(0, 0, 0, 0.15);
        color: #111111;
    }
    body[data-theme="ocean-clarity"] .mobile-select-wrapper::after {
        color: #555555;
    }
}


/* Shared mobile header parity with the homepage header */

@media (max-width: 920px) {
    body > .site-header.nav-clean,
    .support-detail-shell > .site-header.nav-clean,
    .solution-detail-body > .site-header.nav-clean,
    .page-shell > .site-header.nav-clean,
    .hero-banner-single .site-header.nav-clean,
    .about-hero .site-header.nav-clean,
    .product-hero .site-header.nav-clean,
    .lance-hero .site-header.nav-clean,
    .ni-hero .site-header.nav-clean,
    .ni-detail-hero .site-header.nav-clean,
    .finder-hero .site-header.nav-clean,
    .partner-hero .site-header.nav-clean,
    .user-hero .site-header.nav-clean {
        position: absolute !important;
        top: 12px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: calc(100% - 24px) !important;
        z-index: 9990 !important;
        margin: 0 !important;
    }
    .site-header.nav-clean {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 10px !important;
        min-height: 64px !important;
        height: 64px !important;
        max-height: 64px !important;
        padding: 8px 10px 8px 14px !important;
        border-radius: 18px !important;
        overflow: hidden !important;
        background: rgba(5, 26, 47, .42) !important;
        border: 1px solid rgba(255, 255, 255, .20) !important;
        box-shadow: 0 14px 32px rgba(0, 0, 0, .18) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        position: relative !important;
    }
    .site-header.nav-clean.open {
        height: auto !important;
        max-height: min(82vh, 680px) !important;
        overflow-y: auto !important;
        background: rgba(5, 24, 43, .94) !important;
        box-shadow: 0 22px 54px rgba(0, 0, 0, .36) !important;
        -webkit-overflow-scrolling: touch;
    }
    .site-header.nav-clean.is-scrolled,
    #home .site-header.nav-clean.is-scrolled {
        position: fixed !important;
        top: 10px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: calc(100% - 24px) !important;
        z-index: 99990 !important;
        transition: all 0.3s ease !important;
    }
    .site-header.nav-clean .brand {
        display: inline-flex !important;
        align-items: center !important;
        min-width: 0 !important;
        height: 44px !important;
    }
    .site-header.nav-clean .brand img {
        width: clamp(138px, 39vw, 158px) !important;
        height: auto !important;
        opacity: 1 !important;
        /* filter: brightness(0) invert(1) drop-shadow(0 4px 10px rgba(0, 0, 0, .22)) !important; */
    }
    .site-header.nav-clean .header-actions {
        position: absolute !important;
        top: 50% !important;
        right: 10px !important;
        transform: translateY(-50%) !important;
        z-index: 3 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 8px !important;
        width: auto !important;
        min-width: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }
    .site-header.nav-clean.open .header-actions {
        top: 8px !important;
        transform: none !important;
    }
    .site-header.nav-clean .search-btn,
    .site-header.nav-clean .login-btn,
    .site-header.nav-clean .language-selector,
    .site-header.nav-clean .theme-selector {
        display: none !important;
    }
    .site-header.nav-clean .cart-icon-btn,
    .site-header.nav-clean .nav-toggle {
        display: grid !important;
        place-items: center !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        flex: 0 0 44px !important;
        padding: 0 !important;
        border-radius: 14px !important;
        background: rgba(255, 255, 255, .08) !important;
        border: 1px solid rgba(255, 255, 255, .34) !important;
        color: #ffffff !important;
    }
    .site-header.nav-clean .nav-toggle {
        position: relative !important;
        padding: 0 !important;
        color: #ffffff !important;
    }
    .site-header.nav-clean .nav-toggle span {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        transform: translate(-50%, -50%);
        transition: transform .22s ease, opacity .22s ease;
    }
    .site-header.nav-clean .nav-toggle span:nth-child(1) {
        transform: translate(-50%, calc(-50% - 7px));
    }
    .site-header.nav-clean .nav-toggle span:nth-child(3) {
        transform: translate(-50%, calc(-50% + 7px));
    }
    .site-header.nav-clean.open .nav-toggle span:nth-child(1) {
        transform: translate(-50%, -50%) rotate(45deg);
    }
    .site-header.nav-clean.open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }
    .site-header.nav-clean.open .nav-toggle span:nth-child(3) {
        transform: translate(-50%, -50%) rotate(-45deg);
    }
    .site-header.nav-clean .nav-links {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        display: none !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        margin-top: 56px !important;
        padding: 14px 0 2px !important;
        border-top: 1px solid rgba(255, 255, 255, .14) !important;
        max-height: calc(100vh - 104px);
        overflow-y: auto;
    }
    .site-header.nav-clean.open .nav-links {
        display: flex !important;
    }
    .site-header.nav-clean .nav-dropdown,
    .site-header.nav-clean .nav-product-menu {
        width: 100% !important;
        display: grid !important;
        gap: 8px !important;
    }
    .site-header.nav-clean .nav-links a,
    .site-header.nav-clean .nav-product-trigger,
    .site-header.nav-clean .nav-dropdown-trigger {
        width: 100% !important;
        min-height: 42px !important;
        padding: 12px 12px !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, .055) !important;
        color: #ffffff !important;
    }
    .site-header.nav-clean .nav-links a:hover,
    .site-header.nav-clean .nav-links a:focus-visible,
    .site-header.nav-clean .nav-product-menu.open .nav-product-trigger,
    .site-header.nav-clean .nav-dropdown.open .nav-dropdown-trigger {
        background: rgba(0, 190, 210, .12) !important;
    }
    .site-header.nav-clean .nav-dropdown-menu,
    .site-header.nav-clean .product-mega-menu {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        display: none !important;
        box-shadow: none !important;
        margin: 0 !important;
        background: rgba(255, 255, 255, .07) !important;
        border-color: rgba(255, 255, 255, .12) !important;
    }
    .site-header.nav-clean .nav-product-menu.open .product-mega-menu,
    .site-header.nav-clean .nav-product-menu:focus-within .product-mega-menu,
    .site-header.nav-clean .nav-dropdown.open .nav-dropdown-menu,
    .site-header.nav-clean .nav-dropdown:focus-within .nav-dropdown-menu {
        display: grid !important;
    }
    .site-header.nav-clean .nav-dropdown.open .nav-dropdown-menu.nav-mega-cards,
    .site-header.nav-clean .nav-dropdown:focus-within .nav-dropdown-menu.nav-mega-cards {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        padding: 10px !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    .site-header.nav-clean .product-mega-menu {
        grid-template-columns: 1fr !important;
        padding: 8px !important;
    }
    .site-header.nav-clean .product-mega-item {
        grid-template-columns: 62px minmax(0, 1fr) !important;
        min-height: 72px !important;
        padding: 8px !important;
    }
    .site-header.nav-clean .product-mega-thumb {
        width: 62px !important;
        height: 54px !important;
        min-width: 62px !important;
    }
    .site-header.nav-clean .product-mega-copy strong {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
        font-weight: 850 !important;
    }
    .site-header.nav-clean .product-mega-copy small {
        color: rgba(214, 232, 246, .76) !important;
        -webkit-text-fill-color: rgba(214, 232, 246, .76) !important;
    }
    .site-header.nav-clean .product-mega-item:hover .product-mega-copy strong,
    .site-header.nav-clean .product-mega-item:focus-visible .product-mega-copy strong {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }
    .site-header.nav-clean .product-mega-item:hover .product-mega-copy small,
    .site-header.nav-clean .product-mega-item:focus-visible .product-mega-copy small {
        color: #00bed2 !important;
        -webkit-text-fill-color: #00bed2 !important;
    }
    .site-header.nav-clean .mobile-only-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        margin-top: 10px !important;
        padding: 14px 2px 4px !important;
        border-top: 1px solid rgba(255, 255, 255, .14) !important;
    }
    .site-header.nav-clean .mobile-action-link {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 44px !important;
        border-radius: 12px !important;
        background: linear-gradient(135deg, #001e87, #00bed2) !important;
        color: #ffffff !important;
        font-weight: 800 !important;
    }
    .site-header.nav-clean .mobile-theme-row,
    .site-header.nav-clean .mobile-lang-row {
        display: grid !important;
        grid-template-columns: 92px 1fr !important;
        align-items: center !important;
        gap: 12px !important;
        color: #ffffff !important;
    }
    .site-header.nav-clean .mobile-theme-buttons {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
    .site-header.nav-clean .mobile-theme-buttons button,
    .site-header.nav-clean .mobile-select-wrapper select {
        width: 100% !important;
        min-height: 38px !important;
        border-radius: 10px !important;
        border: 1px solid rgba(255, 255, 255, .16) !important;
        background: rgba(255, 255, 255, .08) !important;
        color: #ffffff !important;
    }
    .site-header.nav-clean .mobile-select-wrapper {
        position: relative;
        width: auto !important;
    }
    .site-header.nav-clean .mobile-select-wrapper select {
        padding: 0 32px 0 12px !important;
        font-weight: 750 !important;
        color-scheme: dark;
    }
    .site-header.nav-clean .mobile-select-wrapper select option {
        background: #081c30 !important;
        color: #ffffff !important;
    }
    .site-header.nav-clean .mobile-select-wrapper::after {
        content: "";
        position: absolute;
        right: 12px;
        top: 50%;
        width: 7px;
        height: 7px;
        border-right: 1.5px solid rgba(255, 255, 255, .8);
        border-bottom: 1.5px solid rgba(255, 255, 255, .8);
        transform: translateY(-65%) rotate(45deg);
        pointer-events: none;
    }

    /* Light Theme overrides for mobile nav-clean styling */
    body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-links,
    body[data-theme="oceanclarity"] .site-header.nav-clean .nav-links {
        border-top-color: rgba(0, 0, 0, .08) !important;
    }
    body[data-theme="ocean-clarity"] .site-header.nav-clean .mobile-only-actions,
    body[data-theme="oceanclarity"] .site-header.nav-clean .mobile-only-actions {
        border-top-color: rgba(0, 0, 0, .08) !important;
    }
    body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-links a,
    body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-product-trigger,
    body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-dropdown-trigger,
    body[data-theme="oceanclarity"] .site-header.nav-clean .nav-links a,
    body[data-theme="oceanclarity"] .site-header.nav-clean .nav-product-trigger,
    body[data-theme="oceanclarity"] .site-header.nav-clean .nav-dropdown-trigger {
        background: rgba(0, 0, 0, 0.03) !important;
    }
    body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-links a:hover,
    body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-links a:focus-visible,
    body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-product-menu.open .nav-product-trigger,
    body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-dropdown.open .nav-dropdown-trigger,
    body[data-theme="oceanclarity"] .site-header.nav-clean .nav-links a:hover,
    body[data-theme="oceanclarity"] .site-header.nav-clean .nav-links a:focus-visible,
    body[data-theme="oceanclarity"] .site-header.nav-clean .nav-product-menu.open .nav-product-trigger,
    body[data-theme="oceanclarity"] .site-header.nav-clean .nav-dropdown.open .nav-dropdown-trigger {
        background: rgba(15, 30, 120, 0.08) !important;
    }
    body[data-theme="ocean-clarity"] .site-header.nav-clean .nav-dropdown-menu,
    body[data-theme="ocean-clarity"] .site-header.nav-clean .product-mega-menu,
    body[data-theme="oceanclarity"] .site-header.nav-clean .nav-dropdown-menu,
    body[data-theme="oceanclarity"] .site-header.nav-clean .product-mega-menu {
        background: rgba(255, 255, 255, .96) !important;
        border-color: rgba(0, 0, 0, 0.08) !important;
    }
    body[data-theme="ocean-clarity"] .site-header.nav-clean .product-mega-copy strong,
    body[data-theme="oceanclarity"] .site-header.nav-clean .product-mega-copy strong {
        color: #111111 !important;
        -webkit-text-fill-color: #111111 !important;
    }
    body[data-theme="ocean-clarity"] .site-header.nav-clean .product-mega-copy small,
    body[data-theme="oceanclarity"] .site-header.nav-clean .product-mega-copy small {
        color: #555555 !important;
        -webkit-text-fill-color: #555555 !important;
    }
    body[data-theme="ocean-clarity"] .site-header.nav-clean .product-mega-item:hover .product-mega-copy strong,
    body[data-theme="ocean-clarity"] .site-header.nav-clean .product-mega-item:focus-visible .product-mega-copy strong,
    body[data-theme="oceanclarity"] .site-header.nav-clean .product-mega-item:hover .product-mega-copy strong,
    body[data-theme="oceanclarity"] .site-header.nav-clean .product-mega-item:focus-visible .product-mega-copy strong {
        color: #0f1e78 !important;
        -webkit-text-fill-color: #0f1e78 !important;
    }
    body[data-theme="ocean-clarity"] .site-header.nav-clean .mobile-theme-row,
    body[data-theme="ocean-clarity"] .site-header.nav-clean .mobile-lang-row,
    body[data-theme="ocean-clarity"] .site-header.nav-clean .mobile-theme-row span,
    body[data-theme="ocean-clarity"] .site-header.nav-clean .mobile-lang-row span,
    body[data-theme="oceanclarity"] .site-header.nav-clean .mobile-theme-row,
    body[data-theme="oceanclarity"] .site-header.nav-clean .mobile-lang-row,
    body[data-theme="oceanclarity"] .site-header.nav-clean .mobile-theme-row span,
    body[data-theme="oceanclarity"] .site-header.nav-clean .mobile-lang-row span {
        color: #000000 !important;
    }
    body[data-theme="ocean-clarity"] .site-header.nav-clean .mobile-theme-buttons button,
    body[data-theme="oceanclarity"] .site-header.nav-clean .mobile-theme-buttons button {
        background: rgba(0, 0, 0, 0.05) !important;
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
        color: #555555 !important;
    }
    body[data-theme="ocean-clarity"] .site-header.nav-clean .mobile-theme-buttons button.active,
    body[data-theme="oceanclarity"] .site-header.nav-clean .mobile-theme-buttons button.active {
        background: rgba(15, 30, 120, 0.1) !important;
        border-color: #0f1e78 !important;
        color: #0f1e78 !important;
    }
    body[data-theme="ocean-clarity"] .site-header.nav-clean .mobile-select-wrapper select,
    body[data-theme="oceanclarity"] .site-header.nav-clean .mobile-select-wrapper select {
        background: #ffffff !important;
        border-color: rgba(0, 0, 0, 0.15) !important;
        color: #111111 !important;
        color-scheme: light !important;
    }
    body[data-theme="ocean-clarity"] .site-header.nav-clean .mobile-select-wrapper select option,
    body[data-theme="oceanclarity"] .site-header.nav-clean .mobile-select-wrapper select option {
        background: #ffffff !important;
        color: #111111 !important;
    }
    body[data-theme="ocean-clarity"] .site-header.nav-clean .mobile-select-wrapper::after,
    body[data-theme="oceanclarity"] .site-header.nav-clean .mobile-select-wrapper::after {
        border-right-color: rgba(0, 0, 0, 0.6) !important;
        border-bottom-color: rgba(0, 0, 0, 0.6) !important;
    }

    /* Light Theme mobile navigation is-scrolled status styling */
    body[data-theme="ocean-clarity"] .site-header.nav-clean.is-scrolled,
    body[data-theme="oceanclarity"] .site-header.nav-clean.is-scrolled {
        background: rgba(255, 255, 255, .94) !important;
        border-color: rgba(25, 67, 118, .14) !important;
        box-shadow: 0 10px 28px rgba(39, 73, 112, .10) !important;
        backdrop-filter: blur(14px) saturate(1.08) !important;
        -webkit-backdrop-filter: blur(14px) saturate(1.08) !important;
    }
}

@media (max-width: 430px) {
    .hero-banner-single .site-header.nav-clean,
    .about-hero .site-header.nav-clean,
    .product-hero .site-header.nav-clean,
    .lance-hero .site-header.nav-clean,
    .ni-hero .site-header.nav-clean,
    .ni-detail-hero .site-header.nav-clean,
    .finder-hero .site-header.nav-clean,
    .partner-hero .site-header.nav-clean,
    .user-hero .site-header.nav-clean {
        top: 10px !important;
        width: calc(100% - 20px) !important;
    }
    .site-header.nav-clean {
        min-height: 62px !important;
        height: 62px !important;
        max-height: 62px !important;
        padding: 7px 8px 7px 12px !important;
        border-radius: 17px !important;
    }
    .site-header.nav-clean.open {
        height: auto !important;
        max-height: min(82vh, 660px) !important;
    }
    .site-header.nav-clean .brand img {
        width: clamp(130px, 38vw, 148px) !important;
    }
    .site-header.nav-clean .header-actions {
        gap: 7px !important;
        right: 8px !important;
    }
    .site-header.nav-clean .cart-icon-btn,
    .site-header.nav-clean .nav-toggle {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        flex-basis: 42px !important;
    }
}

/* ==========================================================================
   NAVIGATION LAYER FIXES
   ========================================================================== */

/* 解决内页及首页中由于 Hero 容器设置 isolation: isolate 导致的层叠上下文问题，确保导航置顶不被遮挡 */
:is(.hero-banner-single, .lance-hero, .about-hero, .product-hero, .ni-hero, .ni-detail-hero, .finder-hero, .partner-hero, .user-hero, .hero) {
    isolation: auto !important;
}

/* ==========================================================================
   SECTION SCROLL REVEAL（全站，效果对齐 about-company）
   ========================================================================== */

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(8px);
    transition: opacity .62s ease, transform .62s ease, filter .62s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* 解决方案页行业卡：默认图 + 悬浮图 */
.solution-media.has-hover .solution-media-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .35s ease, transform .45s ease;
}

.solution-media.has-hover .solution-media-img-default {
    opacity: 1;
}

.solution-media.has-hover .solution-media-img-hover {
    opacity: 0;
}

.solution-media.has-hover:hover .solution-media-img-default,
.solution-media.has-hover:focus-within .solution-media-img-default {
    opacity: 0;
}

.solution-media.has-hover:hover .solution-media-img-hover,
.solution-media.has-hover:focus-within .solution-media-img-hover {
    opacity: 1;
    transform: scale(1.05);
}

/* 解决方案页产品栈：统一图片位 */
.stack-grid .stack-media {
    width: 120px;
    height: 120px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stack-grid .stack-media img {
    width: 100%;
    height: 110px;
    object-fit: contain;
    margin: 0;
}

.stack-grid .stack-media-icon {
    width: 82px;
    height: 82px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    position: relative;
    background: linear-gradient(180deg, rgba(120, 184, 255, .28), rgba(40, 90, 140, .35));
    border: 1px solid rgba(146, 198, 255, .28);
}

.stack-grid .stack-media-icon::after {
    content: "";
    width: 44px;
    height: 44px;
    display: block;
    background-color: rgba(223, 241, 255, .92);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

body[data-theme="ocean-clarity"] .stack-grid .stack-media-icon {
    background: linear-gradient(180deg, rgba(14, 116, 180, .12), rgba(14, 116, 180, .06));
    border-color: rgba(14, 116, 180, .2);
}

body[data-theme="ocean-clarity"] .stack-grid .stack-media-icon::after {
    background-color: rgba(11, 58, 92, .85);
}

.stack-grid .stack-media-fallback {
    width: 82px;
    height: 82px;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #dff1ff;
    background: linear-gradient(180deg, rgba(120, 184, 255, .28), rgba(40, 90, 140, .35));
    border: 1px solid rgba(146, 198, 255, .28);
}

body[data-theme="ocean-clarity"] .stack-grid .stack-media-fallback {
    color: #0b3a5c;
    background: linear-gradient(180deg, rgba(14, 116, 180, .12), rgba(14, 116, 180, .06));
    border-color: rgba(14, 116, 180, .2);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
}

/* Contact pages: durable mobile form/layout (survives inline-style wipe in HTML) */
@media (max-width: 1100px) {
    body.contact-page .layout-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 980px) {
    body.contact-page .form-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 920px) {
    body.contact-page .page-shell {
        overflow-x: hidden;
    }

    body.contact-page .layout-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        width: min(94vw, 720px) !important;
        margin: 32px auto 64px !important;
    }

    body.contact-page .form-grid {
        grid-template-columns: 1fr !important;
    }

    body.contact-page .form-panel,
    body.contact-page .wishlist-panel,
    body.contact-page .info-panel,
    body.contact-page .sidebar-panel {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    body.contact-page .form-panel {
        padding: 30px 24px !important;
    }

    body.contact-page .form-group,
    body.contact-page .form-input,
    body.contact-page .form-select,
    body.contact-page .form-textarea {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
}

@media (max-width: 520px) {
    body.contact-page .form-panel {
        padding: 24px 16px !important;
    }

    body.contact-page .form-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    body.contact-page .form-group label {
        margin-bottom: 6px !important;
        font-size: 11px !important;
    }

    body.contact-page .form-input,
    body.contact-page .form-select,
    body.contact-page .form-textarea {
        font-size: 16px !important;
    }
}
