/* Header widget: Two Tier with Logo — theme via --tx-primary / --tx-dark / --tx-secondary */
.header-two-tier {
    --htt-ink: var(--tx-dark, #193047);
    --htt-muted: #668096;
    --htt-line: #dfe7ee;
    --htt-accent: var(--tx-primary, #00bbe8);
    --htt-nav-bg: var(--tx-dark, #0b2a45);
    --htt-cta: var(--tx-secondary, #f5c518);
    background: #fff;
    position: relative;
    z-index: 1030;
}

.header-two-tier__masthead {
    background: #fff;
    border-bottom: 1px solid var(--htt-line);
}

.header-two-tier__masthead-row {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 26px);
    min-height: 116px;
}

.header-two-tier__brand {
    flex: none;
}

    .header-two-tier__brand .logo,
    .header-two-tier__brand img {
        width: 150px;
        max-height: 64px;
        height: auto;
        object-fit: contain;
    }

.header-two-tier__contact-stack {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    margin-left: auto;
    flex: none;
    min-width: 0;
}

.header-two-tier__contact-kicker {
    font-size: 11px;
    color: var(--htt-muted);
    margin-bottom: 2px;
}

.header-two-tier__contact-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--htt-ink);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

    .header-two-tier__contact-line:hover {
        color: var(--htt-accent);
        text-decoration: none;
    }

.header-two-tier__contact-icon {
    display: inline-flex;
    color: var(--htt-accent);
    font-size: 16px;
    line-height: 1;
}

.header-two-tier__contact-value--email {
    font-size: 13px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.header-two-tier__badges {
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex: none;
    padding-left: 22px;
    border-left: 1px solid var(--htt-line);
    min-height: 72px;
    background: #fff;
}

.header-two-tier__badge {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-two-tier__badge-img {
    object-fit: contain;
    height: auto;
}

.header-two-tier__badge-img--2 {
    width: 71px;
    max-height: 71px;
}

.header-two-tier__badge-img--3 {
    width: 121px;
    max-height: 91px;
}

.header-two-tier__masthead-actions {
    margin-left: auto;
}

    .header-two-tier__masthead-actions .sidebar-menu {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        border: 1px solid var(--htt-line);
        border-radius: 9px;
        background: #fff;
        color: var(--htt-ink);
        cursor: pointer;
    }

.header-two-tier__nav-band {
    background: var(--htt-nav-bg);
}

.header-two-tier__nav-row {
    min-height: 58px;
}

.header-two-tier__nav-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 58px;
    width: 100%;
}

.header-two-tier__nav {
    flex: 1 1 auto;
    min-width: 0;
}

.header-two-tier .main-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(8px, 1.5vw, 15px);
    margin: 0;
    padding: 0;
    list-style: none;
}

    .header-two-tier .main-nav > li {
        margin: 0;
        padding: 0;
    }

        /* White nav on dark band */
        .header-two-tier header .header-nav .main-menu-wrapper .main-nav > li > a,
        .header-two-tier .main-nav > li > a {
            position: relative;
            display: flex;
            align-items: center;
            min-height: 44px;
            padding: 8px 4px;
            font-size: 16px;
            font-weight: 600;
            color: #fff !important;
            white-space: nowrap;
            text-decoration: none;
        }

            .header-two-tier header .header-nav .main-menu-wrapper .main-nav > li > a:hover,
            .header-two-tier .main-nav > li > a:hover {
                color: var(--htt-cta) !important;
            }

            .header-two-tier header .header-nav .main-menu-wrapper .main-nav > li > a.active,
            .header-two-tier header .header-nav .main-menu-wrapper .main-nav > li > a[aria-current="page"],
            .header-two-tier .main-nav > li > a.active,
            .header-two-tier .main-nav > li > a[aria-current="page"] {
                color: #fff !important;
            }

                .header-two-tier .main-nav > li > a.active::after,
                .header-two-tier .main-nav > li > a[aria-current="page"]::after {
                    content: "";
                    position: absolute;
                    bottom: 4px;
                    left: 0;
                    right: 0;
                    height: 3px;
                    border-radius: 2px;
                    background: var(--htt-cta);
                    width: auto;
                    transform: none;
                    color: transparent;
                    font-size: 0;
                    display: block;
                }

.header-two-tier header .header-nav .main-menu-wrapper .main-nav > li.active > a::after {
    content: "";
    bottom: 4px;
    left: 0;
    right: 0;
    width: auto;
    height: 3px;
    transform: none;
    border-radius: 2px;
    background: var(--htt-cta);
    color: transparent;
    font-size: 0;
}

.header-two-tier__nav-actions {
    flex: none;
    margin-left: auto;
}

.header-two-tier__currency .b2c-currency-widget,
.header-two-tier__offcanvas-currency .b2c-currency-widget {
    margin: 0;
}

.header-two-tier__currency .b2c-currency-widget__select,
.header-two-tier__offcanvas-currency .b2c-currency-widget__select {
    min-width: 7.5rem;
    min-height: 44px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--htt-ink);
    background: var(--htt-cta);
    border: 1px solid color-mix(in srgb, var(--htt-cta) 70%, #000);
    border-radius: 8px;
    cursor: pointer;
}

    .header-two-tier__currency .b2c-currency-widget__select:focus,
    .header-two-tier__offcanvas-currency .b2c-currency-widget__select:focus {
        outline: 2px solid color-mix(in srgb, var(--htt-accent) 45%, transparent);
        outline-offset: 2px;
    }

.header-two-tier__offcanvas-badges {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.header-two-tier__offcanvas-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 1250px) {
    .header-two-tier__badge-img--2 {
        width: 60px;
        max-height: 60px;
    }

    .header-two-tier__badge-img--3 {
        width: 100px;
        max-height: 75px;
    }

    .header-two-tier__badges {
        gap: 14px;
        padding-left: 14px;
    }
}

@media (max-width: 991.98px) {
    .header-two-tier__masthead-row {
        min-height: 88px;
        flex-wrap: wrap;
        gap: 0 14px;
    }

    .header-two-tier__brand .logo,
    .header-two-tier__brand img {
        width: 91px;
        max-height: 55px;
    }

    .header-two-tier__badges {
        display: flex !important;
        order: 5;
        width: 100%;
        border-left: 0;
        border-top: 1px solid var(--htt-line);
        padding: 8px 0;
        min-height: 70px;
        margin-left: 0;
    }

    .header-two-tier__badge-img--2 {
        width: 53px;
        max-height: 53px;
    }

    .header-two-tier__badge-img--3 {
        width: 104px;
        max-height: 75px;
    }

    .header-two-tier__nav-band {
        display: none;
    }

    .header-two-tier header .header-nav .main-menu-wrapper .main-nav > li > a, .header-two-tier .main-nav > li > a {
        color: #4E5561 !important;
    }
}
