/* Shared LOVKA OPTIC navigation shell. Kept separate so the performance-first
   home page and the rest of the storefront use one cached responsive layer. */

/* Admin-managed announcement: server-rendered and zero-JavaScript. */
.site-announcement {
    --announcement-accent: #c9b786;
    position: relative;
    z-index: 82;
    overflow: hidden;
    min-height: 60px;
    border-bottom: 1px solid rgba(201, 183, 134, .2);
    border-bottom-color: color-mix(in srgb, var(--announcement-accent) 22%, transparent);
    background: #111116;
    color: #f7f3e8;
}
.site-announcement::before,
.site-announcement::after {
    content: "";
    position: absolute;
    pointer-events: none;
}
.site-announcement::before {
    inset: 0;
    background:
        linear-gradient(110deg, transparent 24%, rgba(201, 183, 134, .055) 50%, transparent 76%),
        radial-gradient(circle at 50% 120%, rgba(201, 183, 134, .11), transparent 45%);
}
.site-announcement::after {
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 12%, var(--announcement-accent), transparent 88%);
    opacity: .42;
}
.site-announcement__inner {
    position: relative;
    width: min(1320px, calc(100% - 40px));
    min-height: 59px;
    margin-inline: auto;
    padding-block: 8px;
    text-align: center;
}
.site-announcement__rotator {
    position: relative;
    width: 100%;
    height: 43px;
}
.site-announcement__slide {
    --announcement-accent: #c9b786;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    opacity: 0;
    visibility: hidden;
}
.site-announcement__slide:first-child {
    opacity: 1;
    visibility: visible;
}
.site-announcement__slide p {
    margin: 0;
    font-size: clamp(.86rem, 1.12vw, 1.05rem);
    font-weight: 800;
    line-height: 1.55;
    letter-spacing: -.015em;
}
.site-announcement__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: none;
    min-height: 32px;
    padding: 5px 12px;
    border: 1px solid rgba(201, 183, 134, .3);
    border-color: color-mix(in srgb, var(--announcement-accent) 34%, transparent);
    border-radius: 8px;
    background: rgba(255, 255, 255, .035);
    color: var(--announcement-accent);
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.4;
    white-space: nowrap;
    transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}
.site-announcement__link:hover,
.site-announcement__link:focus-visible {
    border-color: var(--announcement-accent);
    background: rgba(255, 255, 255, .065);
    color: #fff1c6;
    outline: 0;
}
.site-announcement__link:focus-visible { box-shadow: 0 0 0 3px rgba(201, 183, 134, .13); }
.site-announcement__slide--info { --announcement-accent: #89bddd; }
.site-announcement__slide--success { --announcement-accent: #8dcea2; }
.site-announcement__slide--urgent { --announcement-accent: #ee9d91; }

@keyframes site-announcement-cycle-2 {
    0%, 49.99% { opacity: 1; visibility: visible; }
    50%, 100% { opacity: 0; visibility: hidden; }
}
@keyframes site-announcement-cycle-3 {
    0%, 33.32% { opacity: 1; visibility: visible; }
    33.33%, 100% { opacity: 0; visibility: hidden; }
}
@keyframes site-announcement-cycle-4 {
    0%, 24.99% { opacity: 1; visibility: visible; }
    25%, 100% { opacity: 0; visibility: hidden; }
}
.site-announcement__rotator--2 .site-announcement__slide {
    animation: site-announcement-cycle-2 10s steps(1, end) infinite;
}
.site-announcement__rotator--3 .site-announcement__slide {
    animation: site-announcement-cycle-3 15s steps(1, end) infinite;
}
.site-announcement__rotator--4 .site-announcement__slide {
    animation: site-announcement-cycle-4 20s steps(1, end) infinite;
}
.site-announcement__rotator--2 .site-announcement__slide:nth-child(2),
.site-announcement__rotator--3 .site-announcement__slide:nth-child(2),
.site-announcement__rotator--4 .site-announcement__slide:nth-child(2) { animation-delay: 5s; }
.site-announcement__rotator--3 .site-announcement__slide:nth-child(3),
.site-announcement__rotator--4 .site-announcement__slide:nth-child(3) { animation-delay: 10s; }
.site-announcement__rotator--4 .site-announcement__slide:nth-child(4) { animation-delay: 15s; }

@media (max-width: 560px) {
    .site-announcement { min-height: 52px; }
    .site-announcement__inner {
        width: calc(100% - 24px);
        min-height: 51px;
        gap: 8px;
        padding-block: 7px;
    }
    .site-announcement__rotator { height: 37px; }
    .site-announcement__slide { gap: 8px; }
    .site-announcement__slide p {
        font-size: .72rem;
        line-height: 1.5;
    }
    .site-announcement__link {
        min-height: 28px;
        padding: 4px 8px;
        border-radius: 7px;
        font-size: .62rem;
    }
}

@media (max-width: 360px) {
    .site-announcement__inner { width: calc(100% - 18px); }
    .site-announcement__slide p { font-size: .68rem; }
    .site-announcement__link { padding-inline: 7px; }
}

@media (prefers-reduced-motion: reduce) {
    .site-announcement__slide { animation: none !important; }
    .site-announcement__slide:not(:first-child) { display: none; }
    .site-announcement__link { transition: none; }
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.brand-lockup img {
    display: block;
    width: 100%;
    height: auto;
}

.header-desktop { display: block; }

/* Footer — service-led store layout */
.site-footer {
    margin-top: clamp(70px, 8vw, 112px);
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, .07);
    background: #101012;
}

.site-footer::before { display: none; }
.footer-icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.site-footer svg { fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }

.footer-topline {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 22px 14px;
}

.footer-brand-lockup { width: 154px; }
.footer-back-to-top {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 8px;
    color: #9a958d;
    font-size: .68rem;
    transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.footer-back-to-top svg { width: 17px; height: 17px; }
.footer-back-to-top:hover,
.footer-back-to-top:focus-visible { border-color: rgba(201,183,134,.3); background: rgba(255,255,255,.025); color: #d7c894; outline: 0; }

.footer-contact-line {
    min-height: 44px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
    padding-bottom: 18px;
    color: #817d76;
    font-size: .67rem;
}
.footer-contact-line a { display: inline-flex; align-items: center; gap: 5px; color: #aaa49a; }
.footer-contact-line a:hover,
.footer-contact-line a:focus-visible { color: #dfcf9c; outline: 0; }
.footer-contact-line b { color: #c9b786; font-family: var(--font-serif); letter-spacing: .04em; }
.footer-contact-separator { width: 1px; height: 15px; background: rgba(255,255,255,.12); }

.footer-services {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding-block: 24px;
    border-block: 1px solid rgba(255, 255, 255, .065);
}
.footer-service-item { min-height: 76px; display: flex; align-items: center; justify-content: center; gap: 13px; padding: 10px 12px; }
.footer-service-item > svg { width: 36px; height: 36px; flex: none; color: #b8a978; }
.footer-service-item > span { display: grid; gap: 4px; }
.footer-service-item strong { color: #cac6bd; font-size: .73rem; font-weight: 650; }
.footer-service-item small { color: #77736c; font-size: .61rem; }

.footer-main { position: relative; }
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, .75fr)) minmax(260px, 1.35fr);
    gap: clamp(32px, 4vw, 62px);
    padding-block: 46px 42px;
}
.footer-col h3,
.footer-social h3 {
    margin: 0 0 17px;
    color: #ddd9d1;
    font-size: .78rem;
    font-weight: 700;
}
.footer-col { display: flex; flex-direction: column; align-items: flex-start; }
.footer-col a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    color: #8e8a83;
    font-size: .73rem;
    transition: color .18s ease, transform .18s ease;
}
.footer-col a:hover,
.footer-col a:focus-visible { color: #d9cfb5; transform: translateX(-3px); outline: 0; }
.footer-social p { max-width: 42ch; margin: -2px 0 16px; color: #817d76; font-size: .7rem; line-height: 1.9; }

.footer-instagram-card {
    position: relative;
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    padding: 12px;
    border: 1px solid rgba(201,183,134,.19);
    border-radius: 13px;
    background:
        radial-gradient(circle at 8% 10%, rgba(190,73,128,.14), transparent 35%),
        linear-gradient(135deg, rgba(201,183,134,.07), rgba(255,255,255,.018));
    color: #ded8c9;
    transition: transform .25s cubic-bezier(.16,1,.3,1), border-color .2s ease, background .2s ease;
}
.footer-instagram-card::after {
    content: "";
    position: absolute;
    inset: -90% auto auto -10%;
    width: 58%;
    height: 230%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.06), transparent);
    transform: rotate(18deg);
    transition: transform .7s ease;
}
.footer-instagram-card:hover,
.footer-instagram-card:focus-visible { transform: translateY(-3px); border-color: rgba(216,143,176,.4); background-color: rgba(190,73,128,.035); color: #f1e9d7; outline: 0; }
.footer-instagram-card:hover::after { transform: translateX(260%) rotate(18deg); }
.footer-instagram-icon { width: 44px; height: 44px; display: grid; place-items: center; flex: none; border-radius: 12px; background: linear-gradient(145deg, #c45f91, #a35d9f 48%, #b98556); color: #fff; box-shadow: 0 8px 24px rgba(177,80,132,.18); }
.footer-instagram-icon svg { width: 23px; height: 23px; }
.footer-instagram-card > span:nth-child(2) { display: grid; gap: 2px; }
.footer-instagram-card small { color: #938d85; font-family: var(--font-serif); font-size: .59rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-instagram-card strong { color: #e5dcc7; font-family: var(--font-serif); font-size: .87rem; letter-spacing: .04em; }
.footer-instagram-arrow { width: 17px; height: 17px; margin-inline-start: auto; color: #8d8370; }

.footer-about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
    padding-block: 28px;
    border-top: 1px solid rgba(255, 255, 255, .065);
}
.footer-about__copy { max-width: 730px; }
.footer-about h2 { margin: 0 0 7px; color: #c7c2b8; font-size: .88rem; font-weight: 700; }
.footer-about p { margin: 0; color: #77736c; font-size: .7rem; line-height: 1.95; }
.footer-about__badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; flex: none; }
.footer-about__badges span { min-height: 32px; display: inline-flex; align-items: center; padding: 6px 10px; border: 1px solid rgba(255,255,255,.07); border-radius: 8px; color: #817c73; background: rgba(255,255,255,.016); font-size: .61rem; }

.footer-bottom {
    padding-block: 19px 20px;
    border-top: 1px solid rgba(255, 255, 255, .065);
    background: rgba(0, 0, 0, .15);
}
.footer-bottom-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.footer-copyright { width: 100%; margin: 0; color: #77736c; font-size: .67rem; font-variant-numeric: tabular-nums; text-align: center !important; }
.footer-developer-credit { margin: 0; color: #68645e; font-size: .64rem; text-align: center; }
.footer-developer-credit a { position: relative; color: #ad9e74; font-weight: 650; }
.footer-developer-credit a::after { content: ""; position: absolute; inset-inline: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .2s ease; }
.footer-developer-credit a:hover,
.footer-developer-credit a:focus-visible { color: #dfce9b; outline: 0; }
.footer-developer-credit a:hover::after,
.footer-developer-credit a:focus-visible::after { transform: scaleX(1); }

@media (max-width: 980px) {
    .footer-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-links-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 24px; }
    .footer-social { grid-column: 1 / -1; }
    .footer-social p { max-width: none; }
    .footer-instagram-card { max-width: 440px; }
    .footer-about { align-items: flex-start; flex-direction: column; gap: 20px; }
    .footer-about__badges { justify-content: flex-start; }
}

@media (max-width: 700px) {
    .site-footer { margin-top: 62px; }
    .footer-topline { min-height: 75px; padding-block: 17px 10px; }
    .footer-brand-lockup { width: 126px; }
    .footer-back-to-top span { display: none; }
    .footer-back-to-top { width: 40px; padding: 0; justify-content: center; }
    .footer-contact-line { gap: 7px 9px; padding-bottom: 15px; font-size: .61rem; line-height: 1.8; }
    .footer-contact-line > span:first-child { width: 100%; }
    .footer-contact-line .footer-contact-separator:first-of-type { display: none; }
    .footer-services { gap: 2px; padding-block: 17px; }
    .footer-service-item { min-height: 70px; justify-content: flex-start; padding: 8px 5px; }
    .footer-service-item > svg { width: 28px; height: 28px; }
    .footer-service-item strong { font-size: .65rem; }
    .footer-service-item small { font-size: .56rem; }
    .footer-links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; padding-block: 38px 34px; }
    .footer-social { grid-column: 1 / -1; }
    .footer-col a { min-height: 42px; width: 100%; font-size: .7rem; }
    .footer-col a:hover { transform: none; }
    .footer-instagram-card { max-width: none; }
    .footer-about { padding-block: 23px; }
    .footer-about p { font-size: .66rem; }
    .footer-about__badges { gap: 5px; }
    .footer-about__badges span { font-size: .56rem; }
}

@media (max-width: 380px) {
    .footer-services { grid-template-columns: 1fr; }
    .footer-service-item { min-height: 62px; padding-inline: 9px; }
    .footer-links-grid { grid-template-columns: 1fr; }
    .footer-social { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .footer-instagram-card:hover,
    .footer-back-to-top:hover { transform: none; }
    .footer-instagram-card::after { display: none; }
}

/* ========================================================================== 
   Store navigation — commerce-first layout inspired by familiar Iranian shops
   ========================================================================== */

.shell-icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.nav-icon {
    width: 20px;
    height: 20px;
    display: block;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-header {
    isolation: isolate;
    background: rgba(12, 12, 14, .985);
    border-bottom: 1px solid rgba(255, 255, 255, .065);
    box-shadow: none;
}

.site-header.is-scrolled { box-shadow: 0 5px 18px rgba(0, 0, 0, .34); }

.header-primary {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-primary > .header-brand {
    width: 144px;
    padding-block: 6px;
}

.header-primary .header-search {
    min-width: 250px;
    max-width: 680px;
    min-height: 44px;
    margin-inline-end: 0;
    margin-inline-start: auto;
    padding: 0 12px;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: #1c1c20;
    box-shadow: none;
}

.header-primary .header-search:hover { background: #202025; }
.header-primary .header-search:focus-within {
    border-color: rgba(201, 183, 134, .36);
    background: #202025;
    box-shadow: 0 0 0 3px rgba(201, 183, 134, .055);
}

.header-primary .header-search button {
    width: 28px;
    min-width: 28px;
    height: 42px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #918c84;
}

.header-primary .header-search button:hover,
.header-primary .header-search button:focus-visible { background: transparent; color: #c9b786; outline: 0; }
.header-primary .header-search input { min-height: 42px; padding: 0; color: #ddd9d1; font-size: .8rem; }
.header-primary .header-search input::placeholder { color: #817d76; }

.header-primary .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
    padding: 0;
    border: 0;
}

.header-auth-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: transparent;
    color: #dedad2;
    font: inherit;
    font-size: .74rem;
    font-weight: 650;
    white-space: nowrap;
    cursor: pointer;
    list-style: none;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.header-auth-button::-webkit-details-marker { display: none; }
.header-auth-button:hover,
.header-auth-button:focus-visible,
.account-menu[open] > .header-auth-button { border-color: rgba(201, 183, 134, .32); background: rgba(255, 255, 255, .035); color: #f0eadb; outline: 0; }
.header-auth-button .nav-icon { width: 19px; height: 19px; }
.header-auth-chevron { width: 13px !important; height: 13px !important; color: #7d786f; transition: transform .18s ease; }
.account-menu[open] .header-auth-chevron { transform: rotate(180deg); }

.header-icon-button,
.header-cart-button {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: none;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #c8c3ba;
    cursor: pointer;
    transition: color .18s ease, background .18s ease;
}

.header-icon-button:hover,
.header-icon-button:focus-visible,
.header-cart-button:hover,
.header-cart-button:focus-visible { color: #e1d09e; background: rgba(255, 255, 255, .04); outline: 0; }
.header-cart-button .nav-icon { width: 23px; height: 23px; }
.header-actions-divider { width: 1px; height: 26px; margin-inline: 2px; background: rgba(255, 255, 255, .11); }

.nav-badge {
    position: absolute;
    top: 1px;
    inset-inline-end: 0;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    display: grid;
    place-items: center;
    border: 2px solid #0d0d0f;
    border-radius: 999px;
    background: #c9b786;
    color: #17140e;
    font-family: var(--font-num);
    font-size: .54rem;
    font-weight: 800;
    line-height: 1;
}

.account-menu { position: relative; }
.account-menu__panel {
    position: absolute;
    inset-block-start: calc(100% + 9px);
    inset-inline-end: 0;
    z-index: 95;
    width: 270px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .085);
    border-radius: 11px;
    background: #17171a;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .46);
}

.account-menu__identity {
    display: grid;
    gap: 3px;
    margin-bottom: 6px;
    padding: 10px 11px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .065);
}
.account-menu__identity span { color: #77736c; font-size: .62rem; }
.account-menu__identity strong { overflow: hidden; color: #e2ded6; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.account-menu__panel > a,
.account-menu__logout button {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 9px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #aaa69f;
    font: inherit;
    font-size: .74rem;
    text-align: start;
    cursor: pointer;
}
.account-menu__panel > a:hover,
.account-menu__panel > a:focus-visible,
.account-menu__logout button:hover,
.account-menu__logout button:focus-visible { background: rgba(255, 255, 255, .045); color: #eee9df; outline: 0; }
.account-menu__panel .nav-icon { width: 18px; height: 18px; color: #b5a777; }
.account-menu__logout { margin: 5px 0 0; padding-top: 5px; border-top: 1px solid rgba(255, 255, 255, .06); }
.menu-count { min-width: 20px; height: 20px; display: grid; place-items: center; margin-inline-start: auto; padding: 0 5px; border-radius: 999px; background: rgba(201, 183, 134, .12); color: #d5c491; font-size: .6rem; }

.header-secondary {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 0;
}

.header-secondary .mega-toggle {
    align-self: stretch;
    min-height: 44px;
    padding: 0 3px;
    gap: 7px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #e0dcd4;
    font-size: .76rem;
    font-weight: 700;
}
.header-secondary .mega-toggle:hover,
.header-secondary .mega-toggle:focus-visible { border: 0; background: transparent; color: #e5d49f; outline: 0; }
.header-secondary .mega-toggle .nav-icon { width: 19px; height: 19px; }
.header-nav-divider { width: 1px; height: 20px; background: rgba(255, 255, 255, .09); }

.header-secondary .main-nav { display: flex; align-items: center; gap: 24px; flex: 1; }
.header-secondary .main-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    color: #918d86;
    font-size: .7rem;
    white-space: nowrap;
}
.header-secondary .main-nav a .nav-icon { width: 15px; height: 15px; }
.header-secondary .main-nav a::after { inset-inline: 0; bottom: 0; height: 2px; background: #c9b786; }
.header-secondary .main-nav a:hover,
.header-secondary .main-nav a:focus-visible,
.header-secondary .main-nav a[aria-current="page"] { color: #dad5cb; }
.header-secondary .main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-service-note {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    color: #8b877f;
    font-size: .67rem;
    white-space: nowrap;
}
.header-service-note .nav-icon { width: 16px; height: 16px; color: #a99b70; }

.mega-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 52px;
    margin-bottom: 12px;
}
.mega-drawer__head h2 { margin: 2px 0 0; color: #ece8df; font-size: .92rem; font-weight: 700; }
.mega-drawer__eyebrow { color: #9d916d; font-family: var(--font-serif); font-size: .55rem; letter-spacing: .18em; }
.mega-drawer-close { width: 40px; height: 40px; margin: 0; border-radius: 8px; }
.mega-drawer-close .nav-icon { width: 19px; height: 19px; }

.mega-cat-list { display: grid; gap: 4px; }
.mega-cat-list a {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 9px;
    border-radius: 8px;
    color: #bcb8b0;
    font-size: .76rem;
}
.mega-cat-list a:hover,
.mega-cat-list a:focus-visible { background: rgba(255, 255, 255, .04); color: #eee9de; outline: 0; }
.mega-link-icon { width: 31px; height: 31px; display: grid; place-items: center; flex: none; border-radius: 8px; background: rgba(255, 255, 255, .045); color: #b9aa79; }
.mega-link-icon .nav-icon { width: 17px; height: 17px; }
.mega-link-arrow { width: 14px; height: 14px; margin-inline-start: auto; color: #625f5a; }
.mega-cat-all { color: #dccb98 !important; font-weight: 650; }
.mega-drawer__divider { height: 1px; margin: 13px 4px; background: rgba(255, 255, 255, .065); }
.mega-secondary-links { display: grid; gap: 3px; }
.mega-secondary-links a { min-height: 43px; display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 8px; color: #918d86; font-size: .7rem; }
.mega-secondary-links a:hover,
.mega-secondary-links a:focus-visible { background: rgba(255, 255, 255, .04); color: #d9d4cb; outline: 0; }
.mega-secondary-links .nav-icon { width: 17px; height: 17px; color: #9d916d; }

@media (min-width: 861px) {
    .mega-drawer,
    html[dir="rtl"] .mega-drawer {
        top: var(--nav-sheet-top, 116px);
        inset-inline-start: max(24px, calc((100vw - 1200px) / 2));
        inset-inline-end: auto;
        width: min(720px, calc(100vw - 48px));
        height: auto;
        max-height: min(560px, calc(100dvh - var(--nav-sheet-top, 116px) - 18px));
        padding: 18px;
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: 0 0 12px 12px;
        background: #151518;
        box-shadow: 0 22px 55px rgba(0, 0, 0, .42);
        opacity: 0;
        transform: translateY(-8px);
        transform-origin: top right;
        transition: opacity .16s ease, transform .22s ease, visibility 0s linear .22s;
    }
    .mega-drawer.is-open,
    html[dir="rtl"] .mega-drawer.is-open { opacity: 1; transform: translateY(0); transition-delay: 0s; }
    .mega-cat-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mega-cat-all { grid-column: 1 / -1; }
    .mega-secondary-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mega-drawer-overlay { background: rgba(0, 0, 0, .44); }
}

@media (max-width: 1120px) and (min-width: 861px) {
    .header-primary { gap: 14px; }
    .header-primary > .header-brand { width: 128px; }
    .header-primary .header-search { min-width: 210px; }
    .header-secondary .main-nav { gap: 16px; }
    .header-secondary .main-nav a { font-size: .67rem; }
    .header-service-note { display: none; }
}

@media (max-width: 920px) and (min-width: 861px) {
    .header-secondary .main-nav a .nav-icon { display: none; }
}

@media (max-width: 860px) {
    .header-desktop { display: none; }
    .site-header { z-index: 80; background: rgba(12, 12, 14, .985); }
    .mobile-header-shell { display: block; padding: 9px 12px 6px; }
    .mobile-header-main { display: flex; align-items: center; gap: 9px; direction: rtl; }
    .mobile-header-search {
        height: 46px;
        max-height: 46px;
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1;
        min-width: 0;
        padding: 0 11px;
        overflow: hidden;
        border: 1px solid transparent;
        border-radius: 11px;
        background: #1d1d21;
        opacity: 1;
        transform: none;
    }
    .mobile-header-search:focus-within { border-color: rgba(201, 183, 134, .36); background: #202025; box-shadow: 0 0 0 3px rgba(201, 183, 134, .05); }
    .mobile-header-search button { width: 24px; height: 44px; display: grid; place-items: center; flex: none; padding: 0; border: 0; background: transparent; color: #9a958d; }
    .mobile-header-search button .nav-icon { width: 19px; height: 19px; }
    .mobile-header-search input { min-width: 0; height: 44px; flex: 1; padding: 0; border: 0; outline: 0; background: transparent; color: #dedad2; font-family: var(--font-fa); font-size: .75rem; }
    .mobile-header-search input::placeholder { color: #817d76; }
    .mobile-search-brand { flex: none; padding-inline-start: 9px; border-inline-start: 1px solid rgba(255, 255, 255, .08); color: #b9aa78; font-family: var(--font-serif); font-size: .62rem; letter-spacing: .12em; direction: ltr; }
    .mobile-header-utility { position: relative; width: 44px; height: 44px; display: grid; place-items: center; flex: none; border: 1px solid rgba(255, 255, 255, .1); border-radius: 50%; color: #c8c3ba; }
    .mobile-header-utility .nav-icon { width: 20px; height: 20px; }
    .mobile-service-line { min-height: 32px; display: flex; align-items: center; gap: 6px; padding: 4px 7px 0; color: #938e86; font-size: .65rem; }
    .mobile-service-line > .nav-icon:first-child { width: 15px; height: 15px; color: #aa9c72; }
    .mobile-service-line__arrow { width: 13px; height: 13px; margin-inline-start: 1px; color: #6d6963; }
    .site-header.is-scrolled:not(.is-search-forced) .mobile-header-shell { padding-bottom: 6px; }
    .site-header.is-scrolled:not(.is-search-forced) .mobile-header-search,
    .site-header.is-search-forced .mobile-header-search { max-height: 46px; opacity: 1; transform: none; pointer-events: auto; }

    .mega-drawer-overlay { z-index: 70; background: rgba(0, 0, 0, .62); backdrop-filter: blur(2px); }
    .mega-drawer,
    html[dir="rtl"] .mega-drawer {
        top: var(--nav-sheet-top, 93px);
        inset-inline: 0;
        width: auto;
        height: auto;
        max-height: calc(100dvh - var(--nav-sheet-top, 93px) - 70px);
        padding: 15px 14px 18px;
        border: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        border-radius: 0 0 14px 14px;
        background: #151518;
        box-shadow: 0 20px 48px rgba(0, 0, 0, .48);
        opacity: 0;
        transform: translateY(-8px);
        transform-origin: top center;
        transition: opacity .16s ease, transform .24s ease, visibility 0s linear .24s;
    }
    .mega-drawer.is-open,
    html[dir="rtl"] .mega-drawer.is-open { opacity: 1; transform: translateY(0); transition-delay: 0s; }
    .mega-drawer__head { min-height: 46px; margin-bottom: 8px; }
    .mega-drawer__head h2 { font-size: .84rem; }
    .mega-drawer-close { width: 38px; height: 38px; }
    .mega-cat-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 7px; }
    .mega-cat-list a { min-width: 0; min-height: 46px; padding: 6px 7px; font-size: .71rem; }
    .mega-cat-all { grid-column: 1 / -1; }
    .mega-secondary-links { grid-template-columns: 1fr; }

    .bottom-nav {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: stretch;
        min-height: 64px;
        height: calc(64px + env(safe-area-inset-bottom, 0px));
        z-index: 75;
        border-top: 1px solid rgba(255, 255, 255, .075);
        background: rgba(15, 15, 17, .985);
        box-shadow: 0 -6px 20px rgba(0, 0, 0, .28);
    }
    .bottom-nav-item { min-height: 64px; gap: 4px; padding: 7px 2px 5px; color: #88847d; font-size: .59rem; }
    .bottom-nav-item::before { top: 0; width: 22px; height: 2px; background: #c9b786; }
    .bottom-nav-item .nav-icon { width: 21px; height: 21px; }
    .bottom-nav-item:hover,
    .bottom-nav-item:focus-visible,
    .bottom-nav-item.is-active { color: #d8c994; outline: 0; }
    .bottom-nav-badge { top: 5px; inset-inline-end: 20%; background: #c9b786; color: #17140e; }
    body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important; }
    .back-to-top { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
    .support-fab { bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important; }
    .support-nudge { bottom: calc(140px + env(safe-area-inset-bottom, 0px)) !important; }
}

@media (max-width: 360px) {
    .mobile-header-shell { padding-inline: 9px; }
    .mobile-header-main { gap: 7px; }
    .mobile-search-brand { display: none; }
    .mega-drawer,
    html[dir="rtl"] .mega-drawer { padding-inline: 10px; }
    .mega-link-icon { width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
    .mega-drawer,
    .header-auth-button,
    .header-icon-button,
    .header-cart-button { transition-duration: .01ms !important; }
}



