.site-header {
    position: sticky;
    z-index: 40;
    top: 0;
    color: var(--color-text);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 1px 0 rgba(11, 31, 51, .08);
    backdrop-filter: blur(18px);
    transition: box-shadow .2s ease, background .2s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, .985);
    box-shadow: 0 12px 34px rgba(11, 31, 51, .1);
}

.site-header__utility {
    color: rgba(255, 255, 255, .78);
    background: var(--color-primary);
}

.site-header__utility-inner {
    display: flex;
    min-height: 31px;
    align-items: center;
    justify-content: space-between;
    width: min(1420px, calc(100% - 48px));
    margin: 0 auto;
    gap: 24px;
    font-size: .66rem;
    font-weight: 650;
    letter-spacing: .025em;
}

.site-header__utility-inner p {
    display: inline-flex;
    align-items: center;
    margin: 0;
    gap: 8px;
    color: #fff;
    font-weight: 800;
}

.site-header__status-dot {
    width: 7px;
    height: 7px;
    border: 2px solid rgba(255, 255, 255, .38);
    border-radius: 50%;
    background: #4dd5bd;
    box-shadow: 0 0 0 3px rgba(77, 213, 189, .13);
}

.site-header__utility-links {
    display: flex;
    align-items: center;
    gap: 0;
}

.site-header__utility-links > * {
    position: relative;
    padding: 0 12px;
}

.site-header__utility-links > :last-child { padding-right: 0; }
.site-header__utility-links > :not(:first-child)::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, .2);
    content: "";
    transform: translateY(-50%);
}

.site-header__utility-links a { color: #fff; }
.site-header__utility-links a:hover { color: #bceee5; }

.site-header__main {
    border-bottom: 1px solid rgba(11, 31, 51, .07);
    background: rgba(255, 255, 255, .93);
}

.site-header__inner {
    position: relative;
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    width: min(1420px, calc(100% - 48px));
    margin: 0 auto;
    gap: 22px;
}

.site-logo {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
}

.site-logo__mark {
    position: relative;
    display: block;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border: 1px solid #dfe9ed;
    border-radius: 14px;
    background: #f7fafb;
    box-shadow: 0 7px 18px rgba(11, 31, 51, .08);
}

.site-logo__mark::after {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    height: 8px;
    background: #f7fafb;
    content: "";
}

.site-logo__image {
    display: block;
    object-fit: contain;
}

.site-logo__image--header {
    position: absolute;
    top: 51%;
    left: 50%;
    width: 54px;
    height: 54px;
    max-width: none;
    transform: translate(-50%, -44%) scale(1.26);
    transform-origin: 50% 40%;
}

.site-logo__wordmark {
    display: grid;
    gap: 4px;
    line-height: 1;
}

.site-logo__wordmark strong {
    color: var(--color-primary);
    font-size: 1.08rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.site-logo__wordmark small {
    color: #52616b;
    font-size: .58rem;
    font-weight: 850;
    letter-spacing: .08em;
    white-space: nowrap;
}

.site-navigation {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    justify-content: center;
}

.site-navigation__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-navigation__list > li { order: 2; }
.site-navigation__list > li:first-child { order: 0; }
.site-navigation__list > .nav-products { order: 1; }
.site-navigation__list > .nav-accessories,
.site-navigation__list > .nav-repair,
.site-navigation__list > .nav-telecom { order: 2; }

.site-navigation__list > li > a,
.nav-products__trigger {
    position: relative;
    display: inline-flex;
    min-height: 78px;
    align-items: center;
    padding: 0 8px;
    border: 0;
    color: #33414c;
    background: transparent;
    font-size: .72rem;
    font-weight: 780;
    letter-spacing: .005em;
    line-height: 1.2;
    white-space: nowrap;
}

.site-navigation__list > li > a::after,
.nav-products__trigger::before {
    position: absolute;
    right: 8px;
    bottom: -1px;
    left: 8px;
    height: 2px;
    border-radius: 99px 99px 0 0;
    background: var(--color-primary);
    content: "";
    opacity: 0;
    transform: scaleX(.4);
    transition: opacity .18s ease, transform .18s ease;
}

.site-navigation__list > li > a:hover,
.site-navigation__list > li > a:focus-visible,
.site-navigation__list > li > a[aria-current="page"],
.nav-products__trigger:hover,
.nav-products__trigger:focus-visible,
.nav-products__trigger[aria-current="page"],
.nav-products.is-open .nav-products__trigger {
    color: var(--color-primary);
}

.site-navigation__list > li > a:hover::after,
.site-navigation__list > li > a:focus-visible::after,
.site-navigation__list > li > a[aria-current="page"]::after,
.nav-products__trigger:hover::before,
.nav-products__trigger:focus-visible::before,
.nav-products__trigger[aria-current="page"]::before,
.nav-products.is-open .nav-products__trigger::before {
    opacity: 1;
    transform: scaleX(1);
}

.nav-products { position: static; }

.nav-products__trigger {
    gap: 8px;
}

.nav-products__trigger > span { display: none; }

.nav-products__trigger::after {
    width: 6px;
    height: 6px;
    margin-top: -4px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    content: "";
    transform: rotate(45deg);
    transition: margin .18s ease, transform .18s ease;
}

.nav-products.is-open .nav-products__trigger::after,
.nav-products:focus-within .nav-products__trigger::after {
    margin-top: 3px;
    transform: rotate(225deg);
}

.product-mega-menu {
    position: absolute;
    z-index: 5;
    top: calc(100% + 11px);
    left: 50%;
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    width: min(1200px, calc(100vw - 48px));
    padding: 8px;
    border: 1px solid rgba(11, 31, 51, .12);
    border-top: 3px solid var(--color-primary);
    border-radius: 21px;
    visibility: hidden;
    opacity: 0;
    background: #fff;
    box-shadow: 0 24px 64px rgba(11, 31, 51, .16), 0 8px 20px rgba(11, 31, 51, .07);
    transform: translate(-50%, 7px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.product-mega-menu::before {
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 14px;
    content: "";
}

.nav-products.is-open .product-mega-menu,
.nav-products:focus-within .product-mega-menu {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (min-width: 1281px) and (hover: hover) and (pointer: fine) {
    .nav-products:hover .product-mega-menu {
        visibility: visible;
        opacity: 1;
        transform: translate(-50%, 0);
    }

    .nav-products:hover .nav-products__trigger { color: var(--color-primary); }
    .nav-products:hover .nav-products__trigger::before { opacity: 1; transform: scaleX(1); }
    .nav-products:hover .nav-products__trigger::after { margin-top: 3px; transform: rotate(225deg); }
}

.product-mega-menu__intro {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 24px;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(145deg, #0b1f33 0%, #143a55 100%);
}

.product-mega-menu__kicker {
    margin-bottom: 14px;
    color: #a9ded4;
    font-size: .66rem;
    font-weight: 850;
    letter-spacing: .14em;
}

.product-mega-menu__intro h2 {
    margin-bottom: 12px;
    color: #fff;
    font-size: 1.45rem;
    letter-spacing: -.035em;
}

.product-mega-menu__intro > p:not(.product-mega-menu__kicker) {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, .75);
    font-size: .78rem;
    line-height: 1.65;
}

.product-mega-menu__proof {
    display: grid;
    gap: 0;
    margin: 0 0 22px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.product-mega-menu__proof span {
    display: flex;
    min-height: 39px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    color: rgba(255, 255, 255, .72);
    font-size: .68rem;
}

.product-mega-menu__proof span:last-child { border-bottom: 0; }
.product-mega-menu__proof strong { color: #fff; font-size: .86rem; }

.product-mega-menu__overview {
    display: inline-flex;
    min-height: 43px;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding: 10px 13px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 10px;
    color: #fff;
    font-size: .72rem;
    font-weight: 850;
    transition: border-color .18s ease, background .18s ease;
}

.product-mega-menu__overview:hover,
.product-mega-menu__overview:focus-visible {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, .1);
}

.brand-mega-menu__content {
    min-width: 0;
    padding: 13px 16px 14px 24px;
}

.brand-mega-menu__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 1px 0 15px;
    border-bottom: 1px solid var(--color-line);
}

.brand-mega-menu__heading div { display: grid; gap: 4px; }
.brand-mega-menu__heading strong { color: var(--color-primary); font-size: .92rem; }
.brand-mega-menu__heading span { color: var(--color-muted); font-size: .69rem; line-height: 1.45; }
.brand-mega-menu__heading > a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    color: var(--color-primary);
    font-size: .71rem;
    font-weight: 850;
}

.brand-mega-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
    padding: 15px 0 18px;
}

.brand-mega-grid a {
    position: relative;
    display: flex;
    min-height: 37px;
    align-items: center;
    padding: 8px 25px 8px 10px;
    border: 1px solid #e7ecef;
    border-radius: 9px;
    color: #33414c;
    background: #f7f9fa;
    font-size: .7rem;
    font-weight: 760;
    line-height: 1.2;
    transition: border-color .17s ease, color .17s ease, background .17s ease, transform .17s ease;
}

.brand-mega-grid a::after {
    position: absolute;
    right: 10px;
    color: var(--color-primary);
    content: "→";
    opacity: 0;
    transform: translateX(-3px);
    transition: opacity .17s ease, transform .17s ease;
}

.brand-mega-grid a:hover,
.brand-mega-grid a:focus-visible {
    border-color: #bccdd6;
    color: var(--color-primary);
    background: #fff;
    box-shadow: 0 5px 13px rgba(11, 31, 51, .06);
    transform: translateY(-1px);
}

.brand-mega-grid a:hover::after,
.brand-mega-grid a:focus-visible::after {
    opacity: 1;
    transform: translateX(0);
}

.telecom-mega-grid a { min-height: 54px; }
.telecom-mega-grid a > span { display:grid; min-width:0; gap:3px; }
.telecom-mega-grid strong { color:inherit; font-size:.68rem; line-height:1.2; }
.telecom-mega-grid small { overflow:hidden; color:var(--color-muted); font-size:.59rem; font-weight:650; line-height:1.25; text-overflow:ellipsis; white-space:nowrap; }
.telecom-mega-grid a:hover small,.telecom-mega-grid a:focus-visible small { color:#526b78; }

.accessories-mega-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.accessories-mega-grid a { min-height:58px; }
.accessories-mega-grid a > span { display:grid; min-width:0; gap:3px; }
.accessories-mega-grid strong { color:inherit; font-size:.7rem; line-height:1.2; }
.accessories-mega-grid small { overflow:hidden; color:var(--color-muted); font-size:.59rem; font-weight:650; line-height:1.25; text-overflow:ellipsis; white-space:nowrap; }

.repair-mini-menu { left:50%; width:min(480px,calc(100vw - 48px)); grid-template-columns:1fr; padding:12px; }
.repair-mini-menu__content { display:grid; gap:12px; padding:10px; }
.repair-mini-menu__content > p { margin:0; color:var(--color-muted); font-size:.72rem; }
.repair-mini-menu__entry { display:grid; min-height:78px; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:18px; padding:16px 18px; border:1px solid #dfe7ea; border-radius:13px; color:var(--color-text); background:#f7f9fa; transition:border-color .18s ease,background .18s ease,transform .18s ease; }
.repair-mini-menu__entry:hover,.repair-mini-menu__entry:focus-visible { border-color:#9fc6c4; color:var(--color-primary); background:#fff; transform:translateY(-1px); }
.repair-mini-menu__entry > span { display:grid; gap:5px; }
.repair-mini-menu__entry strong { font-size:.86rem; }
.repair-mini-menu__entry small { color:var(--color-muted); font-size:.68rem; line-height:1.45; }
.repair-mini-menu__entry i { color:#087f78; font-size:1rem; font-style:normal; }

.brand-mega-menu__shortcuts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.brand-mega-menu__shortcuts > a {
    display: grid;
    min-height: 60px;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #dfe6e9;
    border-radius: 11px;
    color: var(--color-text);
    background: #fff;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.brand-mega-menu__shortcuts > a:hover,
.brand-mega-menu__shortcuts > a:focus-visible {
    border-color: #b9ccd5;
    color: var(--color-primary);
    background: #f8fafb;
    transform: translateY(-1px);
}

.brand-mega-menu__shortcut-number {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: var(--color-primary);
    font-size: .61rem;
    font-weight: 850;
}

.brand-mega-menu__shortcuts > a > span:nth-child(2) { display: grid; gap: 2px; }
.brand-mega-menu__shortcuts strong { font-size: .74rem; line-height: 1.2; }
.brand-mega-menu__shortcuts small { color: var(--color-muted); font-size: .66rem; line-height: 1.35; }
.brand-mega-menu__shortcuts i { color: var(--color-primary); font-size: .9rem; font-style: normal; }

.button--header {
    min-height: 46px;
    flex: 0 0 auto;
    gap: 10px;
    padding: 10px 17px;
    border-radius: 12px;
    font-size: .7rem;
    white-space: nowrap;
}

.button--header i {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 7px;
    background: rgba(255, 255, 255, .13);
    font-size: .73rem;
    font-style: normal;
}

.nav-toggle,
.site-navigation__mobile-cta { display: none; }

@media (max-width: 1280px) {
    .site-header__utility-inner,
    .site-header__inner { width: min(100% - 36px, 1180px); }

    .site-header__inner { min-height: 72px; }

    .nav-toggle {
        position: relative;
        display: grid;
        width: 46px;
        height: 46px;
        flex: 0 0 auto;
        place-content: center;
        gap: 5px;
        padding: 0;
        border: 1px solid #dfe6e9;
        border-radius: 12px;
        color: var(--color-primary);
        background: #f7f9fa;
        transition: border-color .18s ease, background .18s ease;
    }

    .nav-toggle:hover { border-color: #bdcdd5; background: #fff; }

    .nav-toggle span:not(.sr-only) {
        width: 19px;
        height: 2px;
        border-radius: 99px;
        background: currentColor;
        transition: opacity .18s ease, transform .18s ease;
    }

    .site-header.is-menu-open .nav-toggle span:not(.sr-only):nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
    .site-header.is-menu-open .nav-toggle span:not(.sr-only):nth-of-type(3) { opacity: 0; }
    .site-header.is-menu-open .nav-toggle span:not(.sr-only):nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }

    .site-navigation {
        position: absolute;
        z-index: 6;
        top: calc(100% + 10px);
        right: 0;
        display: none;
        width: min(440px, calc(100vw - 36px));
        max-height: calc(100dvh - 128px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 12px;
        border: 1px solid rgba(11, 31, 51, .12);
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 24px 60px rgba(11, 31, 51, .18);
    }

    .site-header.is-menu-open .site-navigation { display: block; }

    .site-navigation__list {
        display: grid;
        width: 100%;
        gap: 0;
    }

    .site-navigation__list > li { border-bottom: 1px solid #e8edef; }
    .site-navigation__list > li:last-child { border-bottom: 0; }

    .site-navigation__list > li > a,
    .nav-products__trigger {
        display: flex;
        width: 100%;
        min-height: 54px;
        justify-content: space-between;
        padding: 0 10px;
        font-size: .82rem;
    }

    .site-navigation__list > li > a::after,
    .nav-products__trigger::before {
        top: 12px;
        right: auto;
        bottom: 12px;
        left: -12px;
        width: 3px;
        height: auto;
        transform: scaleY(.4);
    }

    .site-navigation__list > li > a:hover::after,
    .site-navigation__list > li > a:focus-visible::after,
    .site-navigation__list > li > a[aria-current="page"]::after,
    .nav-products__trigger:hover::before,
    .nav-products__trigger:focus-visible::before,
    .nav-products.is-open .nav-products__trigger::before { transform: scaleY(1); }

    .product-mega-menu {
        position: static;
        display: none;
        width: 100%;
        grid-template-columns: 1fr;
        padding: 0 8px 12px;
        border: 0;
        border-radius: 0;
        visibility: visible;
        opacity: 1;
        box-shadow: none;
        transform: none;
    }

    .product-mega-menu::before,
    .product-mega-menu__intro { display: none; }

    .nav-products.is-open .product-mega-menu,
    .nav-products:focus-within .product-mega-menu {
        display: grid;
        transform: none;
    }

    .brand-mega-menu__content { padding: 7px 0 3px; }
    .brand-mega-menu__heading { display: grid; gap: 7px; padding: 0 0 12px; }
    .brand-mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 12px 0; }
    .accessories-mega-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .repair-mini-menu { width:100%; }
    .brand-mega-grid a { min-height: 39px; font-size: .69rem; }
    .brand-mega-menu__shortcuts { grid-template-columns: 1fr; }
    .button--header { display: none; }

    .site-navigation__mobile-cta {
        display: block;
        padding: 12px 0 0;
    }

    .site-navigation__mobile-cta .button {
        width: 100%;
        min-height: 50px;
        justify-content: space-between;
        border-radius: 12px;
        font-size: .76rem;
    }

    body.nav-is-open { overflow: hidden; }
}

@media (max-width: 760px) {
    .site-header__utility { display: none; }
    .site-header__inner { width: min(100% - 28px, 1180px); min-height: 68px; }
    .site-navigation { width: min(440px, calc(100vw - 28px)); max-height: calc(100dvh - 88px); }
    .site-logo__mark { width: 44px; height: 44px; }
    .site-logo__image--header { width: 50px; height: 50px; }
    .site-logo__wordmark strong { font-size: 1rem; }
    .site-logo__wordmark small { font-size: .53rem; }
}

@media (max-width: 520px) {
    .brand-mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .brand-mega-menu__heading span { display: none; }
    .site-navigation { padding: 10px; }
}

@media (max-width: 380px) {
    .site-logo__wordmark small { display: none; }
    .brand-mega-grid { grid-template-columns: 1fr; }
}
