:root {
    --global-header-green: #00a97f;
    --global-header-green-dark: #008e6b;
    --global-header-ink: #123c48;
    --global-header-border: #dbe8e7;
    --global-header-mint: #ecfaf6;
}

.beta-announcement {
    position: relative;
    z-index: 1080;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 48px;
    border-bottom: 1px solid rgba(0, 169, 127, 0.08);
    background: linear-gradient(90deg, #edf9f7 0%, #e4f6f2 52%, #effaf8 100%);
    color: var(--global-header-green-dark);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
    text-align: center;
}

.beta-announcement__message {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.beta-announcement__celebration {
    font-size: 14px;
    line-height: 1;
}

.beta-announcement__dismiss {
    position: absolute;
    inset-inline-end: 12px;
    top: 50%;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--global-header-green-dark);
    font-size: 21px;
    font-weight: 300;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
    transition: background-color 0.18s ease;
}

.beta-announcement__dismiss:hover,
.beta-announcement__dismiss:focus-visible {
    background: rgba(0, 169, 127, 0.1);
    outline: none;
}

/*
 * Dashboard sidebars are fixed to the viewport, so a banner in the normal
 * document flow would otherwise cover their header/logo. Keep the banner in
 * its own fixed row and reserve its measured height for the complete panel.
 */
.dashboard-panel-page {
    padding-top: var(--dashboard-announcement-height, 33px) !important;
}

.dashboard-panel-page > .beta-announcement {
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
}

.dashboard-panel-page .account-shell .sidebar-nav {
    top: var(--dashboard-announcement-height, 33px);
    height: calc(100% - var(--dashboard-announcement-height, 33px));
}

.global-site-header {
    position: relative;
    z-index: 1030;
    width: 100%;
    background: #fff;
}

.global-site-nav {
    border-bottom: 1px solid var(--global-header-border);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 18px rgba(18, 60, 72, 0.04);
}

.global-site-nav__inner {
    width: min(1440px, calc(100% - 64px));
    min-height: 64px;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto minmax(430px, 1fr);
    align-items: center;
    gap: 18px;
    margin: 0 auto;
}

.global-site-logo {
    width: fit-content;
    display: inline-flex;
    align-items: center;
}

.global-site-logo img {
    width: auto;
    height: 31px;
    display: block;
}

.global-site-links,
.global-site-actions {
    display: flex;
    align-items: center;
}

.global-site-links {
    align-self: stretch;
    gap: 10px;
}

.global-site-link {
    position: relative;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 14px;
    border-radius: 8px;
    color: var(--global-header-ink) !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    white-space: nowrap;
    transition: color 0.18s ease, background-color 0.18s ease;
}

.global-site-link i {
    color: var(--global-header-green);
    font-size: 20px;
}

.global-site-link:hover,
.global-site-link:focus-visible,
.global-site-link.is-active {
    color: var(--global-header-green-dark) !important;
}

.global-site-link.is-active::after {
    content: "";
    position: absolute;
    inset-inline: 12px;
    bottom: -12px;
    height: 2px;
    border-radius: 999px 999px 0 0;
    background: var(--global-header-green);
}

.global-site-link--voucher {
    border: 1px solid #d7f0e9;
    background: var(--global-header-mint);
}

.global-site-link--voucher.is-active::after {
    display: none;
}

.global-site-actions {
    justify-content: flex-end;
    gap: 11px;
    min-width: 0;
}

.global-site-action {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: nowrap;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.global-site-action i {
    font-size: 18px;
}

.global-site-action:hover,
.global-site-action:focus-visible {
    transform: translateY(-1px);
}

.global-site-action--outline {
    border-color: #cbdad9;
    background: #fff;
    color: var(--global-header-ink) !important;
    box-shadow: 0 4px 12px rgba(18, 60, 72, 0.04);
}

.global-site-action--outline:hover,
.global-site-action--outline:focus-visible {
    border-color: var(--global-header-green);
    color: var(--global-header-green-dark) !important;
    box-shadow: 0 8px 18px rgba(0, 169, 127, 0.1);
}

.global-site-action--primary {
    border-color: var(--global-header-green);
    background: var(--global-header-green);
    color: #fff !important;
    box-shadow: 0 7px 18px rgba(0, 169, 127, 0.18);
}

.global-site-action--primary:hover,
.global-site-action--primary:focus-visible {
    border-color: var(--global-header-green-dark);
    background: var(--global-header-green-dark);
    color: #fff !important;
}

.global-site-language {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    color: var(--global-header-ink);
}

.global-site-language > i {
    color: #65787f;
    font-size: 19px;
}

.global-site-language__select {
    max-width: 100px;
    padding: 6px 20px 6px 3px;
    border: 0;
    outline: 0;
    background-color: transparent;
    color: var(--global-header-ink);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

[dir="rtl"] .global-site-language__select {
    padding: 6px 3px 6px 20px;
}

.global-site-header .guest-holds-toggle {
    width: 38px;
    height: 38px;
    margin: 0;
    border-color: var(--global-header-border);
    color: var(--global-header-green-dark);
}

.global-site-user__avatar {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    flex: 0 0 auto;
}

.global-site-user__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.global-site-user__initials {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 9px;
}

.global-site-user .dropdown-menu {
    inset-inline-end: 0 !important;
    inset-inline-start: auto !important;
    margin-top: 12px !important;
}

.global-site-menu-toggle {
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--global-header-border);
    border-radius: 8px;
    background: #fff;
    color: var(--global-header-ink);
    font-size: 23px;
    cursor: pointer;
}

.global-site-mobile[hidden] {
    display: none !important;
}

.global-site-mobile {
    display: none;
}

.fixed-nav .global-site-header {
    z-index: 1060;
}

.fixed-nav .global-site-nav {
    box-shadow: 0 10px 30px rgba(18, 60, 72, 0.1);
}

@media (max-width: 1399.98px) {
    .global-site-nav__inner {
        width: min(1240px, calc(100% - 40px));
        grid-template-columns: minmax(150px, 1fr) auto minmax(390px, 1fr);
        gap: 12px;
    }

    .global-site-logo img {
        height: 29px;
    }

    .global-site-links {
        gap: 6px;
    }

    .global-site-link {
        padding-inline: 11px;
    }

    .global-site-actions {
        gap: 7px;
    }

    .global-site-action {
        padding-inline: 10px;
    }
}

@media (max-width: 1199.98px) {
    .global-site-nav__inner {
        grid-template-columns: auto 1fr auto;
        min-height: 62px;
    }

    .global-site-links,
    .global-site-actions > :not(.global-site-cart) {
        display: none;
    }

    .global-site-actions {
        justify-self: end;
    }

    .global-site-menu-toggle {
        display: inline-flex;
    }

    .global-site-mobile {
        display: block;
        padding: 6px 20px 16px;
        border-top: 1px solid var(--global-header-border);
        background: #fff;
        box-shadow: 0 16px 28px rgba(18, 60, 72, 0.08);
    }

    .global-site-mobile__links {
        display: grid;
    }

    .global-site-mobile__links a {
        min-height: 44px;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 4px;
        border-bottom: 1px solid #edf2f2;
        color: var(--global-header-ink) !important;
        font-weight: 800;
        text-decoration: none !important;
    }

    .global-site-mobile__links a i {
        width: 24px;
        color: var(--global-header-green);
        font-size: 20px;
        text-align: center;
    }

    .global-site-mobile__links a.is-active {
        color: var(--global-header-green-dark) !important;
    }

    .global-site-mobile__footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding-top: 12px;
    }
}

@media (max-width: 575.98px) {
    .beta-announcement {
        min-height: 34px;
        padding: 5px 38px 5px 12px;
        font-size: 11px;
        text-align: start;
    }

    [dir="rtl"] .beta-announcement {
        padding: 5px 12px 5px 38px;
    }

    .beta-announcement__dismiss {
        inset-inline-end: 5px;
    }

    .global-site-nav__inner {
        width: calc(100% - 28px);
        min-height: 58px;
        gap: 7px;
    }

    .global-site-logo img {
        height: 27px;
    }

    .global-site-header .guest-holds-toggle,
    .global-site-menu-toggle {
        width: 38px;
        height: 38px;
    }

    .global-site-mobile {
        padding-inline: 14px;
    }

    .global-site-mobile__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .global-site-mobile__footer .global-site-language,
    .global-site-mobile__footer .global-site-action {
        width: 100%;
    }

    .global-site-language__select {
        max-width: none;
        flex: 1;
    }
}

@media print {
    .dashboard-panel-page {
        padding-top: 0 !important;
    }

    .beta-announcement,
    .global-site-header {
        display: none !important;
    }
}
