:root {
    --pt-header-ink: #221a4c;
    --pt-header-blue: #2f4770;
    --pt-header-blue-soft: #edf3f6;
    --pt-header-lime: #bde883;
    --pt-header-line: rgba(34, 26, 76, 0.1);
    --pt-header-shadow: 0 12px 32px rgba(34, 26, 76, 0.08);
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

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

#mobile-menu,
#mobile-menu * {
    box-sizing: border-box;
}

.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    width: 100%;
    padding: 12px 0 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--pt-header-ink) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    font-family: "Geist", "Inter", sans-serif !important;
}

.site-header .shell,
.site-header .nav-shell,
.site-header .header-inner,
.site-header .header-shell {
    width: min(1180px, calc(100% - 32px)) !important;
    margin-inline: auto !important;
}

.site-header .nav-shell,
.site-header .header-inner,
.site-header .header-shell {
    min-height: 64px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    padding: 8px 12px 8px 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.78) !important;
    box-shadow: var(--pt-header-shadow) !important;
    backdrop-filter: blur(18px) saturate(1.08) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.08) !important;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease !important;
}

.site-header.is-scrolled {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.site-header.is-scrolled .nav-shell,
.site-header.is-scrolled .header-inner,
.site-header.is-scrolled .header-shell {
    border-color: var(--pt-header-line) !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 14px 34px rgba(34, 26, 76, 0.12) !important;
}

.site-header .brand,
.site-header .logo {
    min-width: 0;
    flex: 0 0 auto;
    display: inline-flex !important;
    align-items: center !important;
    color: inherit !important;
    text-decoration: none !important;
}

.site-header .brand img,
.site-header .logo img {
    display: block !important;
    width: 154px !important;
    height: auto !important;
    max-height: 42px !important;
    object-fit: contain !important;
    filter: none !important;
}

.site-header .nav-links,
.site-header .nav,
.site-header .main-nav {
    flex: 1 1 auto;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(18px, 2.2vw, 32px) !important;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(34, 26, 76, 0.64) !important;
    font-size: 13px !important;
    font-weight: 720 !important;
}

.site-header .nav-links a,
.site-header .nav a,
.site-header .main-nav a {
    position: relative !important;
    color: rgba(34, 26, 76, 0.64) !important;
    font-family: "Geist", "Inter", sans-serif !important;
    font-size: 13px !important;
    font-weight: 720 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: color 160ms ease !important;
}

.site-header .nav-links a:hover,
.site-header .nav a:hover,
.site-header .main-nav a:hover,
.site-header .nav-links a[aria-current="page"],
.site-header .nav a[aria-current="page"],
.site-header .main-nav a[aria-current="page"] {
    color: var(--pt-header-ink) !important;
}

.site-header .nav-links a[aria-current="page"]::after,
.site-header .nav a[aria-current="page"]::after,
.site-header .main-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--pt-header-lime);
}

.site-header .nav-actions,
.site-header .header-actions {
    flex: 0 0 auto;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: 0 !important;
    padding-left: 14px !important;
    border-left: 1px solid var(--pt-header-line) !important;
}

.site-header .icon-btn {
    position: relative;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 1px solid var(--pt-header-line) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.82) !important;
    color: var(--pt-header-ink) !important;
    box-shadow: none !important;
    text-decoration: none !important;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease !important;
}

.site-header .icon-btn:hover,
.site-header .icon-btn:focus-visible {
    border-color: rgba(47, 71, 112, 0.26) !important;
    background: var(--pt-header-blue-soft) !important;
    color: var(--pt-header-blue) !important;
    outline: none;
    transform: translateY(-1px);
}

.site-header .icon-btn svg {
    width: 17px !important;
    height: 17px !important;
}

.site-header .cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    z-index: 10;
    min-width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border: 1.5px solid #ffffff !important;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--pt-header-blue), var(--pt-header-ink)) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(47, 71, 112, 0.28) !important;
    font-size: 10px;
    font-weight: 800;
    line-height: 20px;
    white-space: nowrap;
}

.site-header .cart-badge.is-visible {
    display: inline-flex;
}

.promo-notice {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
}

.promo-notice summary {
    list-style: none;
}

.promo-notice summary::-webkit-details-marker {
    display: none;
}

.promo-notice-trigger {
    position: relative;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(47, 71, 112, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--pt-header-ink);
    box-shadow: none;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.promo-notice-trigger:hover,
.promo-notice[open] .promo-notice-trigger,
.promo-notice-trigger:focus-visible {
    border-color: rgba(47, 71, 112, 0.4);
    background: var(--pt-header-blue-soft);
    color: var(--pt-header-blue);
    outline: none;
    transform: translateY(-1px);
}

.promo-notice-trigger svg {
    width: 18px;
    height: 18px;
    color: var(--pt-header-blue);
}

.promo-notice-count {
    position: absolute;
    top: -7px;
    right: -7px;
    width: 21px;
    height: 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: var(--pt-header-blue);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(47, 71, 112, 0.28);
    font-size: 11px;
    font-weight: 850;
    line-height: 1;
}

.promo-notice-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(286px, calc(100vw - 28px));
    display: grid;
    gap: 5px;
    padding: 16px;
    border: 1px solid rgba(47, 71, 112, 0.16);
    border-radius: 12px;
    background: #ffffff;
    color: var(--pt-header-ink);
    box-shadow: 0 18px 42px rgba(34, 26, 76, 0.16);
}

.promo-notice-panel::before {
    content: "";
    position: absolute;
    top: -6px;
    right: 22px;
    width: 12px;
    height: 12px;
    border-top: 1px solid rgba(47, 71, 112, 0.16);
    border-left: 1px solid rgba(47, 71, 112, 0.16);
    background: #ffffff;
    transform: rotate(45deg);
}

.promo-notice-panel-label {
    color: rgba(34, 26, 76, 0.56);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.promo-notice-code {
    width: 100%;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 12px;
    border: 1px dashed rgba(47, 71, 112, 0.4);
    border-radius: 8px;
    background: rgba(47, 71, 112, 0.06);
    color: var(--pt-header-blue);
    cursor: pointer;
    font: inherit;
    font-size: 16px;
    font-weight: 850;
    letter-spacing: 0.06em;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.promo-notice-code:hover,
.promo-notice-code:focus-visible {
    border-color: var(--pt-header-blue);
    background: rgba(47, 71, 112, 0.11);
    outline: none;
}

.promo-notice-code svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}

.promo-notice-code.is-copied {
    border-style: solid;
    border-color: rgba(47, 143, 91, 0.42);
    background: rgba(47, 143, 91, 0.1);
    color: #227349;
}

.promo-notice-copy-hint,
.promo-notice-description {
    color: rgba(34, 26, 76, 0.68);
    font-size: 13px;
    line-height: 1.4;
}

.promo-notice-copy-hint {
    margin-top: -1px;
    color: rgba(34, 26, 76, 0.48);
    font-size: 11px;
}

.site-header .menu-toggle {
    display: none !important;
}

.site-header .mobile-menu,
#mobile-menu {
    display: none;
}

@media (max-width: 1080px) {
    .site-header .nav-links,
    .site-header .nav,
    .site-header .main-nav {
        gap: 16px !important;
        font-size: 12px !important;
    }

    .site-header .nav-links a,
    .site-header .nav a,
    .site-header .main-nav a {
        font-size: 12px !important;
    }

    .site-header .brand img,
    .site-header .logo img {
        width: 142px !important;
    }
}

@media (max-width: 920px) {
    body.is-menu-open {
        overflow: hidden;
    }

    body.is-menu-open .propteach-chat-launcher,
    body.is-menu-open .propteach-chat-widget {
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    body.is-menu-open::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 108;
        background: rgba(20, 29, 50, 0.34);
        backdrop-filter: blur(12px) saturate(0.82);
        -webkit-backdrop-filter: blur(12px) saturate(0.82);
    }

    .site-header {
        z-index: 110 !important;
        padding-top: 8px !important;
    }

    .site-header .shell,
    .site-header .nav-shell,
    .site-header .header-inner,
    .site-header .header-shell {
        width: calc(100% - 20px) !important;
    }

    .site-header .nav-shell,
    .site-header .header-inner,
    .site-header .header-shell {
        min-height: 58px !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
        padding: 6px 7px 6px 12px !important;
        border-radius: 10px !important;
    }

    .site-header .brand img,
    .site-header .logo img {
        width: 138px !important;
        max-height: 38px !important;
    }

    .site-header .nav-links,
    .site-header .nav,
    .site-header .main-nav {
        display: none !important;
    }

    .site-header .nav-actions,
    .site-header .header-actions {
        gap: 6px !important;
        margin-left: auto !important;
        padding-left: 0 !important;
        border-left: 0 !important;
    }

    .site-header .icon-btn,
    .promo-notice-trigger {
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
    }

    .site-header .menu-toggle {
        z-index: 112;
        display: inline-flex !important;
    }

    .promo-notice-panel {
        position: fixed;
        top: calc(70px + env(safe-area-inset-top));
        right: 10px;
    }

    #mobile-menu {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        z-index: 120 !important;
        width: min(90vw, 372px) !important;
        max-width: calc(100vw - 20px) !important;
        height: 100dvh !important;
        min-height: 100vh !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: max(18px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom)) !important;
        border: 0 !important;
        border-left: 1px solid rgba(47, 71, 112, 0.12) !important;
        border-radius: 0 !important;
        background:
            radial-gradient(circle at 96% 0%, rgba(47, 71, 112, 0.13), transparent 220px),
            linear-gradient(180deg, #fbfcfd 0%, #f5f4ef 100%) !important;
        box-shadow: -28px 0 84px rgba(24, 34, 58, 0.24) !important;
        opacity: 1 !important;
        transform: translateX(104%) !important;
        transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1) !important;
        pointer-events: none !important;
        overflow-y: auto !important;
        scrollbar-width: thin;
        scrollbar-color: rgba(47, 71, 112, 0.22) transparent;
    }

    #mobile-menu::before {
        display: none !important;
    }

    #mobile-menu.is-open,
    #mobile-menu.active {
        transform: translateX(0) !important;
        pointer-events: auto !important;
    }

    #mobile-menu .mobile-menu-panel-head {
        min-height: 58px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin: 0 0 12px;
        padding: 0 0 16px;
        border-bottom: 1px solid rgba(47, 71, 112, 0.11);
    }

    #mobile-menu .mobile-menu-eyebrow {
        display: flex;
        align-items: center;
        gap: 7px;
        color: var(--pt-header-blue);
        font-size: 10px;
        font-weight: 850;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    #mobile-menu .mobile-menu-eyebrow::before {
        content: "";
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #65b87b;
        box-shadow: 0 0 0 4px rgba(101, 184, 123, 0.12);
    }

    #mobile-menu .mobile-menu-title {
        display: block;
        margin-top: 5px;
        color: var(--pt-header-ink);
        font-size: 21px;
        font-weight: 820;
        line-height: 1.15;
        letter-spacing: -0.02em;
    }

    #mobile-menu .mobile-menu-close {
        width: 44px;
        height: 44px;
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(47, 71, 112, 0.13);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.84);
        color: var(--pt-header-ink);
        box-shadow: 0 8px 24px rgba(34, 26, 76, 0.08);
        cursor: pointer;
        transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
    }

    #mobile-menu .mobile-menu-close:hover,
    #mobile-menu .mobile-menu-close:focus-visible {
        border-color: rgba(47, 71, 112, 0.28);
        background: var(--pt-header-blue-soft);
        color: var(--pt-header-blue);
        outline: none;
    }

    #mobile-menu .mobile-menu-close svg {
        width: 18px;
        height: 18px;
    }

    #mobile-menu > a {
        position: relative;
        min-height: 58px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 12px !important;
        margin: 0 !important;
        padding: 0 14px !important;
        border: 1px solid rgba(47, 71, 112, 0.09) !important;
        border-radius: 8px !important;
        background: rgba(255, 255, 255, 0.72) !important;
        color: var(--pt-header-ink) !important;
        box-shadow: 0 7px 20px rgba(34, 26, 76, 0.035);
        font-family: "Geist", "Inter", sans-serif !important;
        text-decoration: none !important;
        transform: none;
        transition: border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
    }

    #mobile-menu > a + a {
        margin-top: 7px !important;
    }

    #mobile-menu > a.mobile-menu-primary + a {
        margin-top: 14px !important;
    }

    #mobile-menu > a:hover,
    #mobile-menu > a:focus-visible {
        border-color: rgba(47, 71, 112, 0.22) !important;
        background: #ffffff !important;
        color: var(--pt-header-blue) !important;
        box-shadow: 0 10px 26px rgba(34, 26, 76, 0.07);
        outline: none;
        transform: translateX(-2px);
    }

    #mobile-menu > a[aria-current="page"] {
        border-color: rgba(47, 71, 112, 0.17) !important;
        background: var(--pt-header-blue-soft) !important;
        color: var(--pt-header-blue) !important;
        box-shadow: inset 3px 0 0 var(--pt-header-blue), 0 7px 20px rgba(34, 26, 76, 0.04);
    }

    #mobile-menu .mobile-menu-link-icon {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        display: grid;
        place-items: center;
        border-radius: 8px;
        background: rgba(47, 71, 112, 0.08);
        color: var(--pt-header-blue);
    }

    #mobile-menu .mobile-menu-link-icon svg {
        width: 18px;
        height: 18px;
    }

    #mobile-menu .mobile-menu-link-label {
        min-width: 0;
        font-size: 14px;
        font-weight: 780;
        line-height: 1.2;
    }

    #mobile-menu > a::after {
        content: "";
        width: 7px;
        height: 7px;
        flex: 0 0 auto;
        margin-left: auto;
        border-top: 1.8px solid currentColor;
        border-right: 1.8px solid currentColor;
        opacity: 0.38;
        transform: rotate(45deg);
    }

    #mobile-menu > a[aria-current="page"] .mobile-menu-link-icon {
        background: var(--pt-header-blue);
        color: #ffffff;
    }

    #mobile-menu > a.mobile-menu-primary {
        min-height: 62px !important;
        margin-top: 9px !important;
        border-color: var(--pt-header-ink) !important;
        background: var(--pt-header-ink) !important;
        color: #ffffff !important;
        box-shadow: 0 16px 34px rgba(34, 26, 76, 0.2);
    }

    #mobile-menu > a.mobile-menu-primary .mobile-menu-link-icon {
        background: rgba(255, 255, 255, 0.11);
        color: var(--pt-header-lime);
    }

    #mobile-menu > a.mobile-menu-primary:hover,
    #mobile-menu > a.mobile-menu-primary:focus-visible {
        border-color: var(--pt-header-blue) !important;
        background: var(--pt-header-blue) !important;
        color: #ffffff !important;
    }

    #mobile-menu .mobile-menu-footnote {
        position: relative;
        margin: auto 0 0;
        padding: 12px 12px 12px 42px;
        border: 1px solid rgba(101, 184, 123, 0.2);
        border-radius: 8px;
        background: rgba(217, 250, 177, 0.3);
        color: rgba(34, 26, 76, 0.68);
        font-size: 11px;
        font-weight: 650;
        line-height: 1.45;
    }

    #mobile-menu .mobile-menu-footnote::before {
        content: "✓";
        position: absolute;
        top: 13px;
        left: 14px;
        width: 19px;
        height: 19px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: var(--pt-header-lime);
        color: var(--pt-header-ink);
        font-size: 11px;
        font-weight: 900;
    }
}

@media (max-width: 380px) {
    .site-header .brand img,
    .site-header .logo img {
        width: 112px !important;
    }

    .site-header .nav-actions,
    .site-header .header-actions {
        gap: 5px !important;
    }

    .site-header .icon-btn,
    .promo-notice-trigger {
        width: 38px !important;
        min-width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header *,
    #mobile-menu {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (max-width: 920px) {
    body.is-menu-open::before {
        opacity: 0;
        backdrop-filter: blur(7px) saturate(0.9);
        -webkit-backdrop-filter: blur(7px) saturate(0.9);
        animation: pt-menu-overlay-in 260ms ease forwards;
        will-change: opacity;
    }

    #mobile-menu {
        display: flex !important;
        transform: translate3d(104%, 0, 0) !important;
        transition: transform 460ms cubic-bezier(0.2, 0.86, 0.2, 1) !important;
        will-change: transform;
        contain: layout paint;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        transform-style: preserve-3d;
    }

    #mobile-menu.is-open,
    #mobile-menu.active {
        transform: translate3d(0, 0, 0) !important;
    }

    #mobile-menu > a,
    #mobile-menu .mobile-menu-panel-head,
    #mobile-menu .mobile-menu-footnote {
        transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
}

@keyframes pt-menu-overlay-in {
    to {
        opacity: 1;
    }
}

/* Homepage header system — shared by every page using header-nav.js. */
.promo-bar {
    position: relative;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 8px 20px;
    color: #ffffff;
    background: linear-gradient(100deg, #3a4ad7 0%, #4c54ea 58%, #3b67d9 100%);
    box-shadow: 0 10px 26px rgba(68, 84, 232, 0.18);
    font-family: Inter, "Avenir Next", "Segoe UI", Arial, sans-serif;
    font-size: 14px;
}

.promo-icon {
    display: grid;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    place-items: center;
}

.promo-icon svg {
    width: 21px;
    height: 21px;
}

.promo-copy {
    border: 0;
    padding: 2px 0;
    color: #ffffff;
    background: transparent;
    font: inherit;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.promo-short,
.promo-copy-short {
    display: none;
}

.promo-feedback {
    position: absolute;
    right: max(18px, calc((100vw - 1240px) / 2));
    font-size: 12px;
    font-weight: 700;
}

.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    width: 100%;
    padding: 0 !important;
    border: 0 !important;
    background: #ffffff !important;
    color: #172b50 !important;
    box-shadow: 0 7px 22px rgba(32, 57, 103, 0.04) !important;
    backdrop-filter: none !important;
}

.site-header .header-inner {
    width: min(1240px, calc(100% - 48px)) !important;
    min-height: 84px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 28px !important;
    margin-inline: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.site-header .brand img,
.site-header .logo img {
    width: 190px !important;
    max-height: none !important;
    height: auto !important;
    filter: none !important;
}

.site-header .nav,
.site-header .nav-links,
.site-header .main-nav,
.site-header .desktop-nav {
    display: flex !important;
    flex: 1 1 auto !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(18px, 2vw, 30px) !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #172b50 !important;
    font-family: Inter, "Avenir Next", "Segoe UI", Arial, sans-serif !important;
}

.site-header .nav a,
.site-header .nav-links a,
.site-header .main-nav a,
.site-header .desktop-nav a {
    position: relative !important;
    padding: 30px 0 !important;
    color: #172b50 !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    white-space: nowrap !important;
}

.site-header .nav a::after,
.site-header .nav-links a::after,
.site-header .main-nav a::after,
.site-header .desktop-nav a::after {
    position: absolute !important;
    right: 0 !important;
    bottom: 21px !important;
    left: 0 !important;
    width: auto !important;
    height: 2px !important;
    border-radius: 2px !important;
    background: #4454e8 !important;
    content: "" !important;
    transform: scaleX(0) !important;
}

.site-header .nav a:hover::after,
.site-header .nav a[aria-current="page"]::after,
.site-header .desktop-nav a:hover::after,
.site-header .desktop-nav a[aria-current="page"]::after {
    transform: scaleX(1) !important;
}

.site-header .nav-actions,
.site-header .header-actions {
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    gap: 10px !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    border-left: 0 !important;
}

.site-header .cart-link,
.site-header .icon-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    border: 1px solid rgba(32, 57, 103, 0.12) !important;
    border-radius: 50% !important;
    color: #203967 !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

.site-header .cart-link:hover,
.site-header .icon-btn:hover {
    border-color: rgba(68, 84, 232, 0.35) !important;
    color: #4454e8 !important;
    background: #ffffff !important;
    transform: translateY(-2px);
}

.site-header .cart-link svg,
.site-header .icon-btn svg {
    width: 20px !important;
    height: 20px !important;
}

.site-header .header-login,
.site-header .header-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 46px !important;
    padding: 0 19px !important;
    border-radius: 15px !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease !important;
}

.site-header .header-login {
    background: #41997f !important;
}

.site-header .header-cta {
    background: #4454e8 !important;
    box-shadow: 0 10px 24px rgba(68, 84, 232, 0.2) !important;
}

.site-header .header-login:hover,
.site-header .header-cta:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
}

.site-header .header-login:hover {
    background: #327b67 !important;
}

.site-header .header-cta:hover {
    background: #3344c8 !important;
}

.site-header .menu-toggle {
    display: none !important;
    border: 0 !important;
    border-radius: 12px !important;
    color: #172b50 !important;
    background: #fbf4ee !important;
}

.site-header .menu-toggle span {
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    border-radius: 2px !important;
    background: currentColor !important;
}

.site-header .mobile-menu-actions {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 10px;
    padding-top: 18px;
}

.site-header .mobile-menu-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border-radius: 12px;
    color: #ffffff !important;
    background: #41997f !important;
    font-weight: 750;
    text-align: center;
}

.site-header .mobile-menu-actions .mobile-primary {
    background: #4454e8 !important;
}

@media (max-width: 1020px) {
    .site-header .header-inner {
        width: calc(100% - 40px) !important;
    }

    .site-header .nav,
    .site-header .nav-links,
    .site-header .main-nav,
    .site-header .desktop-nav,
    .site-header .header-cta {
        display: none !important;
    }

    .site-header .header-login {
        display: none !important;
    }

    .site-header .menu-toggle {
        display: grid !important;
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
        place-items: center !important;
    }
}

@media (max-width: 720px) {
    .promo-bar {
        gap: 7px;
        min-height: 42px;
        padding-inline: 12px;
        font-size: 11px;
    }

    .promo-icon,
    .promo-feedback {
        display: none;
    }

    .site-header .header-inner {
        width: calc(100% - 32px) !important;
        min-height: 70px !important;
    }

    .site-header .brand img,
    .site-header .logo img {
        width: 154px !important;
    }

    .site-header .cart-link,
    .site-header .menu-toggle {
        width: 40px !important;
        min-width: 40px !important;
        height: 40px !important;
        min-height: 40px !important;
    }

    .site-header .mobile-menu-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 430px) {
    .promo-full,
    .promo-copy-full {
        display: none;
    }

    .promo-short,
    .promo-copy-short {
        display: inline;
    }
}

/* The shared menu is moved to body by header-nav.js on mobile. */
#mobile-menu .mobile-menu-actions {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 10px;
    padding-top: 18px;
}

#mobile-menu .mobile-menu-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 12px;
    border: 0 !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    background: #41997f !important;
    font-size: 14px;
    font-weight: 750;
    text-align: center;
    box-shadow: none !important;
}

#mobile-menu .mobile-menu-actions .mobile-primary {
    background: #4454e8 !important;
}

@media (max-width: 430px) {
    #mobile-menu .mobile-menu-actions {
        grid-template-columns: 1fr;
    }
}
