:root {
    --gsc-header-navy: #14183e;
    --gsc-header-pink: #e63b98;
    --gsc-header-soft: #f5f6fb;
    --gsc-header-border: #ececf3;
    --gsc-header-muted: #777b92;
}

body.gsc-header-enabled #masthead.site-header {
    display: none !important;
}

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

.gsc-site-header {
    position: relative;
    z-index: 9998;
    width: 100%;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--gsc-header-border);
    box-shadow: 0 2px 14px rgba(22, 25, 61, .035);
    color: var(--gsc-header-navy);
    font-family: inherit;
}

.gsc-header-inner {
    width: min(1480px, calc(100% - 64px));
    min-height: 72px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 270px minmax(460px, 1fr) minmax(300px, 390px);
    align-items: center;
    gap: 28px;
}

.gsc-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--gsc-header-navy) !important;
    text-decoration: none !important;
}

.gsc-brand-crown {
    width: 35px;
    height: 29px;
    flex: 0 0 auto;
    fill: var(--gsc-header-pink);
}

.gsc-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.gsc-brand-name {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: .15px;
    white-space: nowrap;
}

.gsc-brand-sub {
    display: block;
    margin-top: 5px;
    padding-left: 1px;
    color: #7e8298;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 5px;
}

.gsc-primary-nav {
    height: 72px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 28px;
}

.gsc-nav-link {
    position: relative;
    display: flex;
    align-items: center;
    color: #242742 !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    transition: color .2s ease;
}

.gsc-nav-link:hover,
.gsc-nav-link:focus,
.gsc-nav-link.is-active {
    color: var(--gsc-header-pink) !important;
}

.gsc-nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--gsc-header-pink);
    transition: left .2s ease, right .2s ease;
}

.gsc-nav-link:hover::after,
.gsc-nav-link:focus::after,
.gsc-nav-link.is-active::after {
    left: 0;
    right: 0;
}

.gsc-header-actions {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.gsc-header-search {
    width: 100%;
    height: 38px;
    display: flex;
    align-items: center;
    border: 1px solid #e2e4ee;
    border-radius: 21px;
    background: #f6f7fb;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.gsc-header-search:focus-within {
    background: #fff;
    border-color: rgba(230,59,152,.45);
    box-shadow: 0 0 0 3px rgba(230,59,152,.08);
}

.gsc-header-search button {
    width: 42px;
    height: 38px;
    flex: 0 0 42px;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid;
    place-items: center;
    background: transparent !important;
    color: #39405f !important;
    box-shadow: none !important;
    cursor: pointer;
}

.gsc-header-search button svg,
.gsc-account-link svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.gsc-header-search input[type='search'] {
    width: 100%;
    min-width: 0;
    height: 36px;
    border: 0 !important;
    outline: 0 !important;
    padding: 0 15px 0 0 !important;
    margin: 0 !important;
    background: transparent !important;
    color: #252a48 !important;
    font-family: inherit;
    font-size: 12px;
    box-shadow: none !important;
}

.gsc-header-search input::placeholder {
    color: #8d91a6;
    opacity: 1;
}

.gsc-account-link {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    color: var(--gsc-header-navy) !important;
    text-decoration: none !important;
    border-radius: 50%;
    transition: background .2s ease, color .2s ease;
}

.gsc-account-link:hover,
.gsc-account-link:focus {
    color: var(--gsc-header-pink) !important;
    background: #f8edf4;
}

.gsc-menu-toggle {
    display: none;
}

.gsc-header-fallback {
    position: relative;
}

@media (max-width: 1180px) {
    .gsc-header-inner {
        width: min(100% - 36px, 1180px);
        grid-template-columns: 230px 1fr 290px;
        gap: 18px;
    }
    .gsc-primary-nav { gap: 18px; }
    .gsc-nav-link { font-size: 13px; }
    .gsc-brand-name { font-size: 19px; }
}

@media (max-width: 980px) {
    .gsc-header-inner {
        min-height: 64px;
        grid-template-columns: 1fr auto;
        gap: 16px;
        position: relative;
    }

    .gsc-brand-name { font-size: 18px; }
    .gsc-brand-sub { letter-spacing: 4px; }
    .gsc-brand-crown { width: 31px; }

    .gsc-menu-toggle {
        width: 42px;
        height: 42px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: 0 !important;
        border-radius: 12px;
        padding: 0 !important;
        margin: 0 !important;
        background: #f5f6fb !important;
        box-shadow: none !important;
        cursor: pointer;
    }

    .gsc-menu-toggle span:not(.screen-reader-text) {
        width: 19px;
        height: 2px;
        display: block;
        border-radius: 2px;
        background: var(--gsc-header-navy);
        transition: transform .2s ease, opacity .2s ease;
    }

    .gsc-menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .gsc-menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
    .gsc-menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .gsc-primary-nav,
    .gsc-header-actions {
        display: none;
    }

    .gsc-site-header.is-open .gsc-primary-nav,
    .gsc-site-header.is-open .gsc-header-actions {
        display: flex;
    }

    .gsc-site-header.is-open .gsc-header-inner {
        padding-bottom: 16px;
    }

    .gsc-site-header.is-open .gsc-primary-nav {
        grid-column: 1 / -1;
        height: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-top: 1px solid var(--gsc-header-border);
        padding-top: 8px;
    }

    .gsc-site-header.is-open .gsc-nav-link {
        min-height: 44px;
        padding: 0 8px;
    }

    .gsc-site-header.is-open .gsc-nav-link::after { display: none; }

    .gsc-site-header.is-open .gsc-header-actions {
        grid-column: 1 / -1;
        width: 100%;
        justify-content: stretch;
    }

    .gsc-site-header.is-open .gsc-account-link { display: none; }
    .gsc-site-header.is-open .gsc-header-search { max-width: none; }
}

@media (max-width: 520px) {
    .gsc-header-inner {
        width: calc(100% - 24px);
    }
    .gsc-brand-crown { width: 28px; height: 24px; }
    .gsc-brand-name { font-size: 16px; }
    .gsc-brand-sub { margin-top: 4px; font-size: 7px; letter-spacing: 3.6px; }
}
