/* Friends Guide shared header styles — Phase 8B */
/* Hide Google Translate's injected toolbar and remove its page offset. */
    iframe.goog-te-banner-frame,
    iframe.VIpgJd-ZVi9od-ORHb-OEVmcd,
    .goog-te-banner-frame.skiptranslate,
    .VIpgJd-ZVi9od-ORHb-OEVmcd.skiptranslate {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
    }

    html,
    body {
        top: 0 !important;
        margin-top: 0 !important;
    }

    #goog-gt-tt,
    .goog-te-balloon-frame {
        display: none !important;
    }

    .goog-text-highlight {
        background: transparent !important;
        box-shadow: none !important;
    }

    .fg-header,
    .fg-header * {
        box-sizing: border-box;
    }

    .fg-header {
        --fgh-navy: #071a35;
        --fgh-navy-soft: #0d2a50;
        --fgh-blue: #1677ff;
        --fgh-blue-dark: #075fd5;
        --fgh-gold: #d8ab42;
        --fgh-ink: #0b1f38;
        --fgh-muted: #65758a;
        --fgh-line: #e7edf5;
        --fgh-white: #ffffff;
        position: relative;
        z-index: 1000;
        width: 100%;
        color: var(--fgh-ink);
        font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    .fg-header a {
        color: inherit;
        text-decoration: none;
    }

    .fg-header button {
        font: inherit;
    }

    .fg-header-controlled-label {
        white-space: nowrap;
        unicode-bidi: isolate;
    }

    /* Keep header positions stable while Arabic text remains RTL. */
    html[dir="rtl"] .fg-header,
    html[dir="rtl"] .fg-header-topbar-inner,
    html[dir="rtl"] .fg-header-main-inner,
    html[dir="rtl"] .fg-header-nav,
    html[dir="rtl"] .fg-header-nav-list,
    html[dir="rtl"] .fg-header-actions {
        direction: ltr;
    }

    html[dir="rtl"] .fg-header-controlled-label,
    html[dir="rtl"] .fg-header-mega,
    html[dir="rtl"] .fg-header-topbar-address span {
        direction: rtl;
        text-align: right;
    }

    html[dir="rtl"] .fg-header-nav-item {
        direction: rtl;
    }

    html[dir="rtl"] .fg-header-mega-card-copy,
    html[dir="rtl"] .fg-header-mega-title {
        text-align: right;
    }

    .fg-header-shell {
        width: min(1580px, calc(100% - 40px));
        margin: 0 auto;
    }

    .fg-header-topbar {
        position: relative;
        background:
            radial-gradient(circle at 15% 0%, rgba(216, 171, 66, .18), transparent 34%),
            linear-gradient(100deg, #06172f, #0a2b52 72%, #071a35);
        color: #eaf2ff;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .fg-header-topbar-inner {
        min-height: 38px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        font-size: 12px;
        line-height: 1.4;
    }

    .fg-header-topbar-group {
        display: flex;
        align-items: center;
        gap: 22px;
        min-width: 0;
    }

    .fg-header-topbar-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #edf5ff !important;
        white-space: nowrap;
        opacity: .92;
        transition: opacity .2s ease, color .2s ease;
    }

    .fg-header-topbar-link:hover {
        color: #ffffff !important;
        opacity: 1;
    }

    .fg-header-topbar-link svg {
        width: 15px;
        height: 15px;
        flex: 0 0 15px;
        color: #f2c65d;
    }

    .fg-header-main {
        position: relative;
        background: rgba(255, 255, 255, .94);
        border-bottom: 1px solid rgba(9, 34, 65, .08);
        box-shadow: 0 9px 32px rgba(13, 42, 80, .07);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        transition: box-shadow .25s ease, background .25s ease;
    }

    .fg-header.is-sticky .fg-header-main {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, .97);
        box-shadow: 0 16px 45px rgba(7, 26, 53, .14);
        animation: fgHeaderSlideDown .28s ease both;
    }

    .fg-header-sticky-space {
        display: none;
    }

    .fg-header.is-sticky .fg-header-sticky-space {
        display: block;
        height: 88px;
    }

    @keyframes fgHeaderSlideDown {
        from { transform: translateY(-100%); }
        to { transform: translateY(0); }
    }

    .fg-header-main-inner {
        min-height: 88px;
        display: grid;
        grid-template-columns: 184px minmax(0, 1fr) auto;
        align-items: center;
        gap: 22px;
    }

    .fg-header-brand {
        display: inline-flex;
        align-items: center;
        width: fit-content;
        min-width: 0;
    }

    .fg-header-brand img {
        display: block;
        width: 142px;
        height: 76px;
        object-fit: contain;
    }

    .fg-header-nav {
        min-width: 0;
        justify-self: end;
    }

    .fg-header-nav-list {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 2px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .fg-header-nav-item {
        position: relative;
    }

    .fg-header-nav-control {
        display: flex;
        align-items: center;
        min-height: 48px;
        border-radius: 13px;
        transition: background .2s ease;
    }

    .fg-header-nav-item:hover .fg-header-nav-control,
    .fg-header-nav-item:focus-within .fg-header-nav-control,
    .fg-header-nav-item.is-active .fg-header-nav-control,
    .fg-header-nav-item.is-open .fg-header-nav-control {
        background: #f3f7fc;
    }

    .fg-header-nav-link {
        position: relative;
        display: inline-flex;
        align-items: center;
        min-height: 48px;
        padding: 0 7px 0 12px;
        color: #102640 !important;
        font-size: 14px;
        font-weight: 700;
        white-space: nowrap;
        transition: color .2s ease;
    }

    .fg-header-nav-link::after {
        content: "";
        position: absolute;
        left: 12px;
        right: 7px;
        bottom: 7px;
        height: 2px;
        border-radius: 999px;
        background: linear-gradient(90deg, var(--fgh-gold), var(--fgh-blue));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .22s ease;
    }

    .fg-header-nav-item:hover .fg-header-nav-link::after,
    .fg-header-nav-item:focus-within .fg-header-nav-link::after,
    .fg-header-nav-item.is-active .fg-header-nav-link::after,
    .fg-header-nav-item.is-open .fg-header-nav-link::after {
        transform: scaleX(1);
    }

    .fg-header-nav-item.is-active .fg-header-nav-link {
        color: var(--fgh-blue-dark) !important;
    }

    .fg-header-menu-toggle {
        width: 30px;
        height: 40px;
        display: inline-grid;
        place-items: center;
        padding: 0;
        margin-right: 4px;
        border: 0;
        background: transparent;
        color: #60738c;
        cursor: pointer;
        border-radius: 9px;
        transition: color .2s ease, background .2s ease;
    }

    .fg-header-menu-toggle:hover,
    .fg-header-menu-toggle:focus-visible {
        color: var(--fgh-blue);
        background: #eaf2ff;
        outline: none;
    }

    .fg-header-menu-toggle svg {
        width: 15px;
        height: 15px;
        transition: transform .24s ease;
    }

    .fg-header-nav-item.is-open .fg-header-menu-toggle svg {
        transform: rotate(180deg);
    }

    .fg-header-new-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 19px;
        padding: 2px 7px;
        margin-left: 6px;
        border-radius: 999px;
        color: #fff;
        background: linear-gradient(135deg, #ff7b50, #ff3f63);
        box-shadow: 0 5px 14px rgba(255, 63, 99, .25);
        font-size: 9px;
        font-weight: 900;
        letter-spacing: .05em;
        text-transform: uppercase;
    }

    .fg-header-mega {
        position: absolute;
        top: calc(100% + 13px);
        left: 50%;
        width: min(650px, calc(100vw - 44px));
        padding: 0;
        border: 1px solid rgba(14, 44, 80, .12);
        border-radius: 23px;
        background:
            radial-gradient(circle at 100% 0%, rgba(22, 119, 255, .10), transparent 30%),
            rgba(255, 255, 255, .98);
        box-shadow: 0 28px 70px rgba(7, 26, 53, .19);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate(-50%, 12px);
        transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
        overflow: hidden;
    }

    .fg-header-nav-item--align-right .fg-header-mega {
        left: auto;
        right: 0;
        transform: translateY(12px);
    }

    .fg-header-nav-item:hover .fg-header-mega,
    .fg-header-nav-item:focus-within .fg-header-mega,
    .fg-header-nav-item.is-open .fg-header-mega {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }

    .fg-header-nav-item--align-right:hover .fg-header-mega,
    .fg-header-nav-item--align-right:focus-within .fg-header-mega,
    .fg-header-nav-item--align-right.is-open .fg-header-mega {
        transform: translateY(0);
    }

    .fg-header-mega::before {
        content: "";
        position: absolute;
        top: -7px;
        left: 50%;
        width: 14px;
        height: 14px;
        border-left: 1px solid rgba(14, 44, 80, .12);
        border-top: 1px solid rgba(14, 44, 80, .12);
        background: #fff;
        transform: translateX(-50%) rotate(45deg);
    }

    .fg-header-nav-item--align-right .fg-header-mega::before {
        left: auto;
        right: 28px;
        transform: rotate(45deg);
    }

    .fg-header-mega-head {
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding: 20px 22px 17px;
        border-bottom: 1px solid var(--fgh-line);
        background: linear-gradient(100deg, #f9fbfe, #ffffff);
    }

    .fg-header-mega-title {
        min-width: 0;
    }

    .fg-header-mega-title strong {
        display: block;
        margin-bottom: 3px;
        color: var(--fgh-ink);
        font-size: 17px;
        font-weight: 850;
        letter-spacing: -.01em;
    }

    .fg-header-mega-title span {
        display: block;
        color: var(--fgh-muted);
        font-size: 12px;
        line-height: 1.45;
    }

    .fg-header-mega-all {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        min-height: 39px;
        padding: 9px 13px;
        border-radius: 11px;
        background: #edf5ff;
        color: var(--fgh-blue-dark) !important;
        font-size: 11px;
        font-weight: 850;
        white-space: nowrap;
        transition: background .2s ease, color .2s ease, transform .2s ease;
    }

    .fg-header-mega-all:hover {
        background: var(--fgh-blue);
        color: #fff !important;
        transform: translateY(-1px);
    }

    .fg-header-mega-all svg {
        width: 14px;
        height: 14px;
    }

    /* Exactly two image items in each desktop row. Borders divide every row and column. */
    .fg-header-mega-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0;
    }

    .fg-header-mega-card {
        position: relative;
        min-width: 0;
        display: grid;
        grid-template-columns: 104px minmax(0, 1fr);
        align-items: center;
        gap: 13px;
        min-height: 102px;
        padding: 14px;
        background: rgba(255, 255, 255, .78);
        transition: background .2s ease;
    }

    .fg-header-mega-card:nth-child(odd) {
        border-right: 1px solid var(--fgh-line);
    }

    .fg-header-mega-card:nth-child(n + 3) {
        border-top: 1px solid var(--fgh-line);
    }

    .fg-header-mega-card:hover,
    .fg-header-mega-card:focus-visible {
        background: linear-gradient(120deg, #f1f7ff, #fffaf0);
        outline: none;
    }

    .fg-header-mega-thumb {
        position: relative;
        width: 104px;
        height: 72px;
        overflow: hidden;
        border-radius: 13px;
        background-color: #dfe8f3;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
    }

    .fg-header-mega-thumb img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transform: scale(1.01);
        transition: transform .28s ease;
    }

    .fg-header-mega-card:hover .fg-header-mega-thumb img,
    .fg-header-mega-card:focus-visible .fg-header-mega-thumb img {
        transform: scale(1.07);
    }

    .fg-header-mega-thumb::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(160deg, transparent 40%, rgba(4, 22, 43, .20));
    }

    .fg-header-mega-card-copy {
        min-width: 0;
    }

    .fg-header-mega-card-copy strong {
        display: block;
        margin-bottom: 5px;
        color: #0a2544;
        font-size: 13px;
        line-height: 1.25;
        font-weight: 850;
    }

    .fg-header-mega-card-copy span {
        display: block;
        color: #6b7c91;
        font-size: 11px;
        line-height: 1.45;
    }

    .fg-header-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 9px;
    }

    .fg-google-language {
        min-width: 148px;
        height: 46px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding: 0 9px;
        border: 1px solid #dfe8f3;
        border-radius: 13px;
        background: #fff;
        color: #0b1f38;
    }

    .fg-google-language-icon {
        flex: 0 0 auto;
        font-size: 16px;
        line-height: 1;
    }

    #google_translate_element {
        min-width: 112px;
        line-height: 1;
    }

    .fg-google-language-status {
        display: inline-flex;
        align-items: center;
        min-height: 34px;
        color: #0b1f38;
        font-size: 12px;
        font-weight: 750;
        white-space: nowrap;
    }

    #google_translate_element .goog-te-gadget {
        color: transparent;
        font-size: 0;
        line-height: 1;
    }

    /* Keep the dropdown but hide Google's small branding line below it. */
    #google_translate_element .goog-te-gadget > span,
    #google_translate_element .goog-logo-link,
    #google_translate_element .VIpgJd-ZVi9od-l4eHX-hSRGPd {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #google_translate_element .goog-te-combo {
        width: 112px;
        min-width: 112px;
        height: 34px;
        margin: 0 !important;
        padding: 4px 24px 4px 6px;
        border: 0;
        outline: 0;
        border-radius: 8px;
        background-color: #fff;
        color: #0b1f38;
        font-family: inherit;
        font-size: 14px;
        font-weight: 750;
        cursor: pointer;
    }

    #google_translate_element .goog-te-combo:focus-visible {
        outline: 3px solid rgba(22, 119, 255, .22);
        outline-offset: 2px;
    }

    .fg-header-icon-action {
        position: relative;
        width: 44px;
        height: 44px;
        display: inline-grid;
        place-items: center;
        border: 1px solid #dfe8f2;
        border-radius: 13px;
        background: #fff;
        color: var(--fgh-navy) !important;
        box-shadow: 0 8px 22px rgba(10, 39, 72, .07);
        transition: transform .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
    }

    .fg-header-icon-action:hover {
        transform: translateY(-2px);
        border-color: #b9d5ff;
        color: var(--fgh-blue) !important;
        box-shadow: 0 12px 28px rgba(10, 74, 158, .13);
    }

    .fg-header-icon-action svg {
        width: 21px;
        height: 21px;
    }

    .fg-header-cart-badge {
        position: absolute;
        top: -6px;
        right: -6px;
        min-width: 20px;
        height: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 5px;
        border: 2px solid #fff;
        border-radius: 999px;
        background: #ff4664;
        color: #fff;
        font-size: 9px;
        font-weight: 900;
        line-height: 1;
    }

    .fg-header-contact-button {
        min-height: 46px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 18px;
        border-radius: 13px;
        background: linear-gradient(135deg, var(--fgh-blue), var(--fgh-blue-dark));
        color: #fff !important;
        box-shadow: 0 12px 26px rgba(22, 119, 255, .24);
        font-size: 13px;
        font-weight: 850;
        white-space: nowrap;
        transition: transform .2s ease, box-shadow .2s ease;
    }

    .fg-header-contact-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 34px rgba(22, 119, 255, .31);
        color: #fff !important;
    }

    .fg-header-contact-button svg {
        width: 17px;
        height: 17px;
    }

    .fg-header-mobile-toggle {
        display: none;
        width: 44px;
        height: 44px;
        place-items: center;
        padding: 0;
        border: 1px solid #dfe8f2;
        border-radius: 13px;
        background: #fff;
        color: var(--fgh-navy);
        cursor: pointer;
    }

    .fg-header-mobile-toggle svg {
        width: 23px;
        height: 23px;
    }

    .fg-header-overlay {
        position: fixed;
        inset: 0;
        z-index: 998;
        background: rgba(3, 18, 36, .58);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease, visibility .25s ease;
    }

    .fg-header.mobile-open .fg-header-overlay {
        opacity: 1;
        visibility: visible;
    }

    .fg-header-mobile-head,
    .fg-header-mobile-contact {
        display: none;
    }

    /* Compact desktop/laptop header before switching to the mobile menu. */
    @media (min-width: 1081px) and (max-width: 1600px) {
        .fg-header-main-inner {
            grid-template-columns: 150px minmax(0, 1fr) auto;
            gap: 12px;
        }

        .fg-header-brand img {
            width: 126px;
            height: 68px;
        }

        .fg-header-nav-list {
            gap: 0;
        }

        .fg-header-nav-link {
            padding-left: 5px;
            padding-right: 3px;
            font-size: 12px;
        }

        .fg-header-nav-link::after {
            left: 5px;
            right: 3px;
        }

        .fg-header-menu-toggle {
            width: 22px;
            margin-right: 0;
        }

        .fg-header-actions {
            gap: 7px;
        }

        .fg-google-language {
            min-width: 124px;
            padding-left: 5px;
            padding-right: 5px;
        }

        .fg-google-language-icon {
            display: none;
        }

        .fg-header-contact-button {
            display: none;
        }
    }

    @media (max-width: 1230px) {
        .fg-header-main-inner {
            grid-template-columns: 150px minmax(0, 1fr) auto;
            gap: 12px;
        }

        .fg-header-brand img {
            width: 126px;
            height: 68px;
        }

        .fg-header-nav-link {
            padding-left: 8px;
            padding-right: 4px;
            font-size: 12.5px;
        }

        .fg-header-nav-link::after {
            left: 8px;
            right: 4px;
        }

        .fg-header-menu-toggle {
            width: 25px;
            margin-right: 1px;
        }

        .fg-header-contact-button {
            padding-left: 13px;
            padding-right: 13px;
        }
    }

    @media (max-width: 1080px) {
        body.fg-header-lock {
            overflow: hidden;
        }

        .fg-header-topbar-inner {
            min-height: 36px;
        }

        .fg-header-topbar-address {
            display: none;
        }

        .fg-header-main-inner {
            min-height: 76px;
            grid-template-columns: 1fr auto;
        }

        .fg-header-brand img {
            width: 126px;
            height: 66px;
        }

        .fg-header-mobile-toggle {
            display: grid;
        }

        .fg-header-actions {
            gap: 8px;
        }

        .fg-header-contact-button {
            display: none;
        }

        .fg-header-nav {
            position: fixed;
            z-index: 999;
            top: 0;
            right: 0;
            bottom: 0;
            width: min(430px, 91vw);
            padding: 0 18px 24px;
            overflow-y: auto;
            background:
                radial-gradient(circle at 100% 0%, rgba(22, 119, 255, .14), transparent 28%),
                #f8fbff;
            box-shadow: -24px 0 60px rgba(2, 18, 37, .24);
            transform: translateX(105%);
            transition: transform .3s ease;
        }

        .fg-header.mobile-open .fg-header-nav {
            transform: translateX(0);
        }

        .fg-header-mobile-head {
            position: sticky;
            top: 0;
            z-index: 5;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
            margin: 0 -18px 12px;
            padding: 14px 18px;
            border-bottom: 1px solid #e1eaf4;
            background: rgba(248, 251, 255, .96);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
        }

        .fg-header-mobile-head img {
            width: 108px;
            height: 58px;
            object-fit: contain;
        }

        .fg-header-mobile-close {
            width: 42px;
            height: 42px;
            display: grid;
            place-items: center;
            padding: 0;
            border: 1px solid #dce6f1;
            border-radius: 12px;
            background: #fff;
            color: var(--fgh-navy);
            cursor: pointer;
        }

        .fg-header-mobile-close svg {
            width: 21px;
            height: 21px;
        }

        .fg-header-nav-list {
            display: block;
        }

        .fg-header-nav-item {
            border-bottom: 1px solid #e0e8f2;
        }

        .fg-header-nav-control {
            justify-content: space-between;
            min-height: 58px;
            border-radius: 0;
            background: transparent !important;
        }

        .fg-header-nav-link {
            flex: 1 1 auto;
            min-height: 58px;
            padding: 0 8px;
            font-size: 14px;
        }

        .fg-header-nav-link::after {
            display: none;
        }

        .fg-header-menu-toggle {
            width: 42px;
            height: 42px;
            margin-right: 0;
            background: #edf4fc;
        }

        .fg-header-mega,
        .fg-header-nav-item--align-right .fg-header-mega {
            position: static;
            width: 100%;
            max-height: 0;
            margin: 0;
            border: 0;
            border-radius: 0;
            box-shadow: none;
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            transform: none !important;
            overflow: hidden;
            transition: max-height .35s ease;
            background: transparent;
        }

        .fg-header-mega::before {
            display: none;
        }

        .fg-header-nav-item.is-open .fg-header-mega {
            max-height: 1000px;
        }

        .fg-header-mega-head {
            padding: 13px 6px 13px;
            background: transparent;
        }

        .fg-header-mega-title strong {
            font-size: 14px;
        }

        .fg-header-mega-title span {
            font-size: 11px;
        }

        .fg-header-mega-all {
            min-height: 35px;
            padding: 8px 10px;
        }

        .fg-header-mega-grid {
            margin-bottom: 14px;
            border: 1px solid #dfe8f2;
            border-radius: 17px;
            overflow: hidden;
            background: #fff;
        }

        .fg-header-mega-card {
            grid-template-columns: 82px minmax(0, 1fr);
            min-height: 90px;
            padding: 11px;
        }

        .fg-header-mega-thumb {
            width: 82px;
            height: 62px;
        }

        .fg-header-mobile-contact {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            padding-top: 20px;
        }

        .fg-header-mobile-contact a {
            min-height: 46px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 11px;
            border-radius: 13px;
            font-size: 12px;
            font-weight: 850;
        }

        .fg-header-mobile-contact a:first-child {
            background: #16b85a;
            color: #fff !important;
        }

        .fg-header-mobile-contact a:last-child {
            background: var(--fgh-blue);
            color: #fff !important;
        }
    }

    @media (max-width: 640px) {
        .fg-header-shell {
            width: min(100% - 24px, 1320px);
        }

        .fg-header-topbar-group {
            gap: 13px;
        }

        .fg-header-topbar-link {
            font-size: 11px;
        }

        .fg-header-topbar-email {
            display: none;
        }

        .fg-header-main-inner {
            min-height: 70px;
        }

        .fg-header-brand img {
            width: 110px;
            height: 59px;
        }

        .fg-header-icon-action,
        .fg-header-mobile-toggle {
            width: 41px;
            height: 41px;
        }

        .fg-google-language {
            min-width: 94px;
            width: 94px;
            height: 41px;
            gap: 0;
            padding: 0 4px;
        }

        .fg-google-language-icon {
            display: none;
        }

        #google_translate_element {
            min-width: 84px;
        }

        .fg-google-language-status {
            min-height: 32px;
            font-size: 11px;
        }

        #google_translate_element .goog-te-combo {
            width: 84px;
            min-width: 84px;
            height: 32px;
            padding-left: 3px;
            padding-right: 18px;
            font-size: 11px;
        }

        .fg-header-mega-head {
            align-items: flex-start;
        }

        .fg-header-mega-title span {
            display: none;
        }

        .fg-header-mega-all span {
            display: none;
        }

        .fg-header-mega-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .fg-header-mega-card {
            display: block;
            min-height: 0;
            padding: 10px;
        }

        .fg-header-mega-card:nth-child(odd) {
            border-right: 1px solid var(--fgh-line);
        }

        .fg-header-mega-card:nth-child(n + 3) {
            border-top: 1px solid var(--fgh-line);
        }

        .fg-header-mega-thumb {
            width: 100%;
            height: 72px;
            margin-bottom: 8px;
        }

        .fg-header-mega-card-copy strong {
            margin-bottom: 2px;
            font-size: 11px;
        }

        .fg-header-mega-card-copy span {
            display: none;
        }
    }

    /*
     * Mobile header refinements
     * These rules intentionally come after the original responsive styles so
     * the desktop header remains unchanged.
     */
    @media (max-width: 1080px) {
        body.fg-header-lock {
            overflow: hidden;
            overscroll-behavior: none;
        }

        .fg-header {
            --fgh-mobile-main-height: 72px;
        }

        .fg-header-shell {
            width: min(100% - 32px, 1580px);
        }

        .fg-header-topbar-inner {
            min-height: 34px;
            gap: 10px;
            overflow: hidden;
        }

        .fg-header-topbar-group {
            min-width: 0;
            gap: 18px;
        }

        .fg-header-topbar-link {
            min-height: 34px;
        }

        .fg-header-main-inner {
            min-height: var(--fgh-mobile-main-height);
            grid-template-columns: minmax(96px, 1fr) auto;
            gap: 10px;
        }

        /*
         * Keep the mobile drawer above the dimming layer. The main header uses
         * backdrop-filter, which creates a separate stacking context.
         */
        .fg-header-main {
            z-index: 999;
        }

        .fg-header-brand img {
            width: 118px;
            height: 62px;
        }

        .fg-header.is-sticky .fg-header-sticky-space {
            height: var(--fgh-mobile-main-height);
        }

        .fg-header-actions {
            min-width: 0;
            gap: 7px;
        }

        .fg-header-icon-action,
        .fg-header-mobile-toggle {
            width: 44px;
            min-width: 44px;
            height: 44px;
            flex: 0 0 44px;
        }

        .fg-header-mobile-toggle,
        .fg-header-mobile-close {
            transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
        }

        .fg-header-mobile-toggle:active,
        .fg-header-mobile-close:active {
            transform: scale(.96);
        }

        .fg-header-mobile-toggle:focus-visible,
        .fg-header-mobile-close:focus-visible,
        .fg-header-mobile-contact a:focus-visible {
            outline: 3px solid rgba(22, 119, 255, .24);
            outline-offset: 2px;
        }

        .fg-header-nav {
            z-index: 1000;
            top: 0;
            right: 0;
            bottom: auto;
            width: min(400px, 92vw);
            height: 100vh;
            height: 100dvh;
            display: flex;
            flex-direction: column;
            padding: 0;
            overflow: hidden;
            overscroll-behavior: contain;
            visibility: hidden;
            pointer-events: none;
            transform: translate3d(105%, 0, 0);
            transition:
                transform .32s cubic-bezier(.22, .8, .25, 1),
                visibility 0s linear .32s;
            will-change: transform;
        }

        .fg-header.mobile-open .fg-header-nav {
            visibility: visible;
            pointer-events: auto;
            transform: translate3d(0, 0, 0);
            transition-delay: 0s;
        }

        .fg-header-mobile-head {
            position: relative;
            top: auto;
            flex: 0 0 auto;
            min-height: 76px;
            margin: 0;
            padding:
                max(10px, env(safe-area-inset-top))
                max(16px, env(safe-area-inset-right))
                10px
                max(16px, env(safe-area-inset-left));
            box-shadow: 0 8px 24px rgba(7, 26, 53, .06);
        }

        .fg-header-mobile-head img {
            width: 104px;
            height: 56px;
        }

        .fg-header-mobile-close {
            width: 44px;
            min-width: 44px;
            height: 44px;
        }

        .fg-header-nav-list {
            flex: 1 1 auto;
            min-height: 0;
            margin: 0;
            padding: 4px 16px 16px;
            overflow-x: hidden;
            overflow-y: auto;
            overscroll-behavior: contain;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;
            scrollbar-color: #b9c9dc transparent;
        }

        .fg-header-nav-item {
            border-bottom-color: #dce6f1;
        }

        .fg-header-nav-control {
            min-height: 56px;
        }

        .fg-header-nav-link {
            min-width: 0;
            min-height: 56px;
            padding: 0 4px;
            font-size: 15px;
            line-height: 1.25;
        }

        .fg-header-nav-item.is-active > .fg-header-nav-control .fg-header-nav-link {
            color: var(--fgh-blue-dark) !important;
        }

        .fg-header-menu-toggle {
            width: 44px;
            min-width: 44px;
            height: 44px;
            flex: 0 0 44px;
            border: 1px solid #dce7f3;
            background: #edf5ff;
        }

        .fg-header-menu-toggle:focus-visible {
            outline: 3px solid rgba(22, 119, 255, .22);
            outline-offset: 1px;
        }

        .fg-header-mega,
        .fg-header-nav-item--align-right .fg-header-mega {
            max-height: 0;
            transition: max-height .36s cubic-bezier(.22, .8, .25, 1);
        }

        .fg-header-nav-item.is-open .fg-header-mega {
            max-height: 1500px;
        }

        .fg-header-mega-head {
            gap: 12px;
            padding: 12px 4px;
        }

        .fg-header-mega-title strong {
            font-size: 14px;
            line-height: 1.3;
        }

        .fg-header-mega-title span {
            margin-top: 2px;
            font-size: 11px;
            line-height: 1.4;
        }

        .fg-header-mega-all {
            min-height: 40px;
            padding: 9px 11px;
        }

        .fg-header-mega-grid {
            grid-template-columns: minmax(0, 1fr);
            margin: 0 0 14px;
            border-radius: 15px;
        }

        .fg-header-mega-card {
            grid-template-columns: 78px minmax(0, 1fr);
            gap: 11px;
            min-height: 82px;
            padding: 10px;
            border-right: 0 !important;
        }

        .fg-header-mega-card:nth-child(n + 2) {
            border-top: 1px solid var(--fgh-line);
        }

        .fg-header-mega-thumb {
            width: 78px;
            height: 58px;
            margin: 0;
            border-radius: 11px;
        }

        .fg-header-mega-card-copy strong {
            margin-bottom: 3px;
            font-size: 12.5px;
            line-height: 1.3;
        }

        .fg-header-mega-card-copy span {
            font-size: 10.5px;
            line-height: 1.35;
        }

        .fg-header-mobile-contact {
            position: relative;
            z-index: 3;
            flex: 0 0 auto;
            gap: 9px;
            padding:
                12px
                max(16px, env(safe-area-inset-right))
                max(12px, env(safe-area-inset-bottom))
                max(16px, env(safe-area-inset-left));
            border-top: 1px solid #dce6f1;
            background: rgba(248, 251, 255, .98);
            box-shadow: 0 -10px 28px rgba(7, 26, 53, .08);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
        }

        .fg-header-mobile-contact a {
            min-height: 48px;
            gap: 7px;
            padding: 10px;
            box-shadow: 0 9px 20px rgba(7, 26, 53, .10);
        }

        .fg-header-mobile-contact svg {
            width: 18px;
            height: 18px;
            flex: 0 0 18px;
        }

        .fg-header-overlay {
            padding: 0;
            border: 0;
            pointer-events: none;
        }

        .fg-header.mobile-open .fg-header-overlay {
            pointer-events: auto;
        }
    }

    @media (max-width: 640px) {
        .fg-header {
            --fgh-mobile-main-height: 68px;
        }

        .fg-header-shell {
            width: calc(100% - 20px);
        }

        .fg-header-topbar-inner,
        .fg-header-topbar-group {
            justify-content: center;
        }

        .fg-header-topbar-group {
            width: 100%;
        }

        .fg-header-topbar-link {
            font-size: 11px;
        }

        .fg-header-main-inner {
            gap: 8px;
        }

        .fg-header-brand img {
            width: 104px;
            height: 56px;
        }

        .fg-header-actions {
            gap: 6px;
        }

        .fg-google-language {
            width: 72px;
            min-width: 72px;
            height: 44px;
            padding: 0 3px;
        }

        .fg-google-language-icon {
            display: none;
        }

        #google_translate_element {
            min-width: 64px;
        }

        .fg-google-language-status {
            min-height: 32px;
            font-size: 10.5px;
        }

        #google_translate_element .goog-te-combo {
            width: 64px;
            min-width: 64px;
            height: 32px;
            padding: 3px 16px 3px 2px;
            font-size: 10.5px;
        }

        .fg-header-nav {
            width: min(390px, 94vw);
        }

        .fg-header-nav-list {
            padding-right: 12px;
            padding-left: 12px;
        }

        .fg-header-mobile-head {
            padding-right: max(12px, env(safe-area-inset-right));
            padding-left: max(12px, env(safe-area-inset-left));
        }

        .fg-header-mega-title span {
            display: block;
        }

        .fg-header-mega-all span {
            display: inline;
        }

        .fg-header-mobile-contact {
            padding-right: max(12px, env(safe-area-inset-right));
            padding-left: max(12px, env(safe-area-inset-left));
        }
    }

    @media (max-width: 420px) {
        .fg-header-brand img {
            width: 98px;
            height: 54px;
        }

        .fg-google-language {
            width: 64px;
            min-width: 64px;
        }

        #google_translate_element,
        #google_translate_element .goog-te-combo {
            width: 56px;
            min-width: 56px;
        }

        .fg-header-new-badge {
            margin-left: 5px;
            padding-right: 6px;
            padding-left: 6px;
        }

        .fg-header-mega-title span,
        .fg-header-mega-card-copy span {
            display: none;
        }

        .fg-header-mega-card {
            grid-template-columns: 72px minmax(0, 1fr);
            min-height: 76px;
            padding: 9px;
        }

        .fg-header-mega-thumb {
            width: 72px;
            height: 54px;
        }

        .fg-header-mobile-contact a {
            font-size: 11.5px;
        }
    }

    @media (max-width: 340px) {
        .fg-header-shell {
            width: calc(100% - 16px);
        }

        .fg-header-brand img {
            width: 90px;
        }

        .fg-header-actions {
            gap: 5px;
        }

        .fg-google-language {
            width: 60px;
            min-width: 60px;
        }

        #google_translate_element,
        #google_translate_element .goog-te-combo {
            width: 52px;
            min-width: 52px;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .fg-header *,
        .fg-header *::before,
        .fg-header *::after {
            scroll-behavior: auto !important;
            transition-duration: .01ms !important;
            animation-duration: .01ms !important;
            animation-iteration-count: 1 !important;
        }
    }
