.site-header {
    box-sizing: border-box;
    position: relative;
    z-index: 100;
    padding: 16px 28px;
    background: #faf8f7;
    color: #292742;
    font-family: "Nunito", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

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

.header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    max-width: 1440px;
    min-height: 44px;
    margin: 0 auto;
}

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

.site-header a:focus-visible,
.site-header button:focus-visible {
    outline: 2px solid #a77b57;
    outline-offset: 3px;
}

.header-logo {
    display: inline-flex;
    justify-self: start;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
}

.header-logo-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 38px;
    border: 1px solid #ffffff33;
    border-radius: 10px;
    background: linear-gradient(120deg, #282740 20%, #484052 57%, #9a5b40 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .06em;
    box-shadow: 0 2px 8px #22223f14;
}

.header-nav {
    justify-self: center;
    min-width: 0;
    color: #574c69;
    font-family: "Times New Roman", Times, serif;
    font-size: 15px;
    font-weight: 400;
}

.header-nav-list,
.header-submenu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-nav-list > li > a,
.header-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: Quicksand!important;
    font-weight: bold!important;
    gap: 7px;
    min-height: 44px;
    padding: 10px 14px;
    border: 0;
    border-radius: 99px;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: 24px;
    white-space: nowrap;
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease;
}

.header-nav-list > li > a.is-active {
    color: #211a35;
    background: #f8eedf;
    color: #211a35;
}

.header-nav-list > li > a:hover,
.header-dropdown-toggle:hover,
.header-dropdown.is-dropdown-open > .header-dropdown-toggle,
.site-header:not(.header-enhanced) .header-dropdown:hover > .header-dropdown-toggle,
.site-header:not(.header-enhanced) .header-dropdown:focus-within > .header-dropdown-toggle {
    background: #f8eedf;
    color: #211a35;
}

.header-dropdown {
    position: relative;
}

.header-dropdown:has(> #header-collections-menu) {
    display: none;
}

.header-dropdown-toggle > svg {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .18s ease;
}

.header-dropdown.is-dropdown-open > .header-dropdown-toggle > svg {
    transform: rotate(180deg);
}

.header-submenu {
    position: absolute;
    z-index: 20;
    top: calc(100% + 8px);
    left: 0;
    width: 224px;
    padding: 0;
    border: 1px solid #f3dfc4;
    border-radius: 18px;
    background: #fafafa;
    box-shadow: 0 9px 20px #382b401a;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}

/* The invisible bridge keeps the pointer inside the dropdown across its gap. */
.header-submenu::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 10px;
}

.header-submenu a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 15px;
    color: #574c69;
    line-height: 24px;
    transition: color .18s ease, background-color .18s ease;
    font-family: Quicksand!important;
    font-weight: bold!important;
}

.header-submenu li:first-child a {
    border-radius: 17px 17px 0 0;
}

.header-submenu li:last-child a {
    border-radius: 0 0 17px 17px;
}

.header-submenu a:hover,
.header-submenu a:focus-visible {
    background: #f8eedf;
    color: #211a35;
}

.header-submenu a:focus-visible {
    outline-offset: -4px;
}

.header-dropdown.is-dropdown-open > .header-submenu,
.site-header:not(.header-enhanced) .header-dropdown:hover > .header-submenu,
.site-header:not(.header-enhanced) .header-dropdown:focus-within > .header-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.header-actions-authenticated {
    gap: 9px;
}

.header-cart {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #ddd6e3;
    border-radius: 50%;
    background: #fff;
    color: #403751;
    box-shadow: 0 3px 12px #2a22380a;
    transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}

.header-cart:hover {
    border-color: #b7a9c2;
    background: #f7f1fb;
    transform: translateY(-1px);
}

.header-cart > svg {
    width: 21px;
    height: 21px;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-action-image {
    display: block;
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.header-profile-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #ddd6e3;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 12px #2a22380a;
    transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}

.header-profile-link:hover {
    border-color: #b7a9c2;
    background: #f7f1fb;
    transform: translateY(-1px);
}

.header-profile-image {
    width: 29px;
    height: 29px;
    border-radius: 50%;
    object-fit: cover;
}

.header-cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    display: grid;
    place-items: center;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border: 2px solid #faf8f7;
    border-radius: 99px;
    background: linear-gradient(120deg, #ff9d35, #ff6650);
    color: #fff;
    font: 800 10px/1 "Nunito", sans-serif;
}

.header-cart-badge[hidden] {
    display: none;
}

.header-profile-toggle {
    min-height: 42px;
    padding: 4px 11px 4px 5px;
    border: 1px solid #ddd6e3;
    background: #fff;
    color: #342c47;
    font-family: "Nunito", sans-serif !important;
    font-size: 13px;
    font-weight: 800 !important;
    box-shadow: 0 3px 12px #2a22380a;
}

.header-profile-avatar {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e9e5ff, #f8e9ee);
    color: #625189;
}

.header-profile-avatar svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-profile-menu {
    right: 0;
    left: auto;
    width: 260px;
    overflow: hidden;
    background: #fff;
}

.header-profile-identity {
    padding: 17px 18px 14px;
    border-bottom: 1px solid #eee7ef;
}

.header-profile-name,
.header-profile-email {
    margin: 0;
    overflow-wrap: anywhere;
}

.header-profile-name {
    color: #2d263d;
    font-size: 14px;
    font-weight: 800;
    text-transform: capitalize;
}

.header-profile-email {
    margin-top: 3px;
    color: #7a7086;
    font-size: 11px;
    font-weight: 600;
}

.header-logout-form {
    margin: 0;
}

.header-logout-button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    border: 0;
    background: transparent;
    color: #9b3d4c;
    font: 800 13px/1.5 "Nunito", sans-serif;
    text-align: left;
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease;
}

.header-logout-button:hover,
.header-logout-button:focus-visible {
    background: #fff1f1;
    color: #762938;
}

.header-logout-button svg {
    width: 19px;
    height: 19px;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-search {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffffa6;
}

.header-search svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
}

.header-sign-in,
.header-try-free {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 40px;
    border-radius: 99px;
    white-space: nowrap;
    transition: background-color .2s ease, box-shadow .2s ease;
}

.header-sign-in {
    border: 1px solid #8583a7;
    background: #ffffff8c;
}

.header-sign-in:hover {
    background: #f1eef8;
}

.site-header .header-try-free {
    width: 96px;
    background: linear-gradient(110deg, #ffb24f, #ff8248);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 3px 12px #ffa14b1f;
}

.header-try-free:hover {
    box-shadow: 0 3px 14px #ff8c4159;
}

.header-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 8px;
    border: 1px solid #e8dfd7;
    border-radius: 12px;
    background: #ffffffcc;
    color: inherit;
    cursor: pointer;
}

.header-menu-toggle svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.posionn-cart {
  position: relative;
}.posionn-cart .header-cart-badge {
  position: absolute;
  top: 0;
  right: -10px;
}

@media (max-width: 1200px) {
    .site-header {
        padding: 12px 20px;
    }

    .site-header.is-menu-open {
        max-height: 100vh;
        max-height: 100svh;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0;
        min-height: 42px;
    }

    .header-logo {
        font-size: 17px;
    }

    .header-menu-toggle {
        display: inline-flex;
        grid-column: 2;
        grid-row: 1;
    }

    .header-nav,
    .header-actions {
        display: none;
        grid-column: 1 / -1;
        justify-self: stretch;
    }

    .site-header.is-menu-open .header-nav {
        display: block;
        margin-top: 16px;
        padding-top: 10px;
        border-top: 1px solid #ece4de;
    }

    .header-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
    }

    .header-nav-list > li > a,
    .header-dropdown-toggle {
        justify-content: space-between;
        width: 100%;
        min-height: 46px;
        padding: 11px 15px;
        border-radius: 14px;
        font-size: 16px;
    }

    .header-submenu {
        position: static;
        display: none;
        width: 100%;
        margin: 5px 0 8px;
        border-radius: 14px;
        box-shadow: 0 5px 12px #382b4008;
        transform: none;
        transition: none;
    }

    .header-submenu::before {
        display: none;
    }

    .header-submenu li:first-child a {
        border-radius: 13px 13px 0 0;
    }

    .header-submenu li:last-child a {
        border-radius: 0 0 13px 13px;
    }

    .header-dropdown.is-dropdown-open > .header-submenu,
    .site-header:not(.header-enhanced) .header-dropdown:focus-within > .header-submenu {
        display: block;
    }

    .site-header.is-menu-open .header-actions {
        display: flex;
        justify-content: flex-start;
        gap: 12px;
        margin-top: 12px;
        padding-top: 16px;
        border-top: 1px solid #ece4de;
    }

    .site-header.is-menu-open .header-actions-authenticated {
        align-items: flex-start;
    }

    .header-actions-authenticated .header-profile {
        flex: 1;
        min-width: 0;
    }

    .header-actions-authenticated .header-profile-toggle {
        justify-content: flex-start;
    }

    .header-actions-authenticated .header-profile-chevron {
        margin-left: auto;
    }

    .header-profile-menu {
        width: 100%;
    }

    .header-sign-in,
    .site-header .header-try-free {
        width: 108px;
        height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-nav a,
    .header-dropdown-toggle,
    .header-dropdown-toggle svg,
    .header-submenu,
    .header-sign-in,
    .header-try-free {
        transition: none;
    }

    .header-cart,
    .header-profile-link,
    .header-profile-toggle,
    .header-logout-button {
        transition: none;
    }
}

.site-footer {
    box-sizing: border-box;
    padding: 2.5em 2.625em 2.5em 3.375em;
    background: radial-gradient(ellipse at 48% 40%, rgba(31, 30, 55, .35), transparent 72%),
        linear-gradient(110deg, #191a30 0%, #171729 53%, #1c1c34 100%);
    color: #c4c1d3;
    font-family: "Nunito", sans-serif;
    font-size: clamp(8px, 1.14123vw, 16px);
    font-weight: 500;
    line-height: 1.5;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
    box-sizing: border-box;
}

.footer-inner {
    max-width: 1306px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 158fr 69fr 62fr 78fr 186fr;
    gap: 3.125em;
    align-items: start;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
}

.site-footer a:focus-visible,
.site-footer button:focus-visible {
    outline: 2px solid #ffbc62;
    outline-offset: 4px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: .6em;
    color: #f6f4fc !important;
    font-family: "Quicksand", sans-serif;
    font-size: 1.25em;
    font-weight: 700;
    white-space: nowrap;
}

.footer-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8em;
    height: 2.2em;
    border-radius: .6em;
    background: linear-gradient(125deg, #ffd368, #ffb444);
    color: #252332;
    font-family: "Nunito", sans-serif;
    font-weight: 900;
    letter-spacing: -.03em;
    box-shadow: 0 .15em .7em rgba(255, 174, 62, .12);
}

.site-footer .footer-description {
    margin: .875em 0 0;
    line-height: 1.5;
}

.footer-socials {
    display: flex;
    gap: .75em;
    margin-top: 1.125em;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5em;
    height: 2.5em;
    border-radius: 50%;
    background: #3e3b6b;
    color: #f0edf9;
    transition: background-color .2s ease, transform .2s ease;
}

.footer-socials a:hover {
    background: #565184;
    transform: translateY(-2px);
}

.footer-socials svg {
    width: 1.4em;
    height: 1.4em;
    fill: currentColor;
}

.footer-socials svg[fill="none"] {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.footer-socials .footer-icon-dot {
    fill: currentColor;
    stroke: none;
}

.site-footer h2 {
    margin: 0 0 .5em;
    color: #f4f1fc;
    font-family: inherit;
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.5;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: .5em;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-nav a {
    white-space: nowrap;
    transition: color .2s ease;
}

.footer-nav a:hover {
    color: #ffbe69;
}

.footer-newsletter {
    min-width: 0;
}

.footer-newsletter h2 {
    margin-bottom: .0625em;
}

.footer-newsletter > p {
    margin: 0 0 .875em;
    white-space: nowrap;
}

.footer-subscribe {
    display: flex;
    align-items: center;
    width: 100%;
    height: 3.5em;
    margin: 0;
    padding: 0;
    border: 1px solid #e3e0ee;
    border-radius: 99px;
    background: #fbfaff;
}

.footer-subscribe:focus-within {
    outline: 2px solid #ffbc62;
    outline-offset: 3px;
}

.footer-subscribe input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0 1.375em;
    border: 0;
    outline: 0;
    border-radius: inherit;
    background: transparent;
    color: #35334e;
    font: inherit;
}

.footer-subscribe input::placeholder {
    color: #8c8a9f;
    opacity: 1;
}

.footer-subscribe button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 3.25em;
    height: 3.25em;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(130deg, #ffa350, #ff813d);
    color: #fff;
    font: inherit;
    cursor: pointer;
    box-shadow: 0 0 .6em rgba(255, 142, 67, .22);
}

.footer-subscribe button:hover {
    background: #ff9845;
}

.footer-subscribe button svg {
    width: 1.5em;
    height: 1.5em;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-newsletter .footer-subscribe-status {
    margin: .75em 0 0;
    white-space: normal;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2em;
    margin-top: 3.375em;
    padding-top: 1.75em;
    border-top: 1px solid #36334f;
    color: #aaa7bf;
    font-size: 1em;
}

.footer-bottom p {
    margin: 0;
}

.footer-made-with {
    display: flex;
    align-items: center;
    gap: .375em;
}

.footer-made-with svg {
    width: 1em;
    height: 1em;
    stroke: #f04458;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 640px) {
    .site-footer {
        padding: 32px 24px 24px;
        font-size: 14px;
    }

    .footer-main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px 16px;
    }

    .footer-brand,
    .footer-newsletter {
        grid-column: 1 / -1;
    }

    .site-footer h2 {
        font-size: 1.1em;
    }

    .footer-nav {
        font-size: .9em;
    }

    .footer-socials a {
        width: 40px;
        height: 40px;
    }

    .footer-subscribe {
        max-width: 380px;
        height: 48px;
    }

    .footer-subscribe input {
        font-size: 16px;
    }

    .footer-newsletter > p {
        white-space: normal;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 28px;
        padding-top: 20px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-socials a,
    .footer-nav a {
        transition: none;
    }
}
