/* ════════════════════════════════════════════════════════════
   TEASA — Luxe Artisan Theme
   لوکس، گرم، دوستانه — یکپارچه در کل سایت
   ════════════════════════════════════════════════════════════ */

:root {
    --container: 1180px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --header-h: 64px;
    --header-nav-row-h: 42px;
    --cream-rgb: 250, 246, 238;
    --dark-rgb: 23, 31, 26;
}

body {
    font-size: 15.5px;
    line-height: 1.72;
    background:
        radial-gradient(1100px 520px at 12% -80px, rgba(196, 160, 98, 0.09), transparent 58%),
        radial-gradient(900px 420px at 88% 0%, rgba(45, 82, 64, 0.06), transparent 55%),
        linear-gradient(180deg, var(--linen) 0%, var(--bg) 42%, var(--bg) 100%);
}

h1, h2, h3, h4, .font-display {
    letter-spacing: -0.02em;
    color: var(--text);
}

::selection {
    background: rgba(196, 160, 98, 0.28);
    color: var(--text);
}

/* ── Reveal on scroll ── */
[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

[data-reveal].revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ── Eyebrow / سرآغاز بخش‌ها ── */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.32em;
    color: var(--gold);
    text-transform: uppercase;
}

.eyebrow::before {
    content: '';
    width: 34px;
    height: 1px;
    background: var(--gold);
    opacity: 0.6;
}

/* ── Header — شفاف روی hero، شیشه‌ای با اسکرول ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    background: rgba(var(--cream-rgb), 0.9);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(var(--dark-rgb), 0.07);
    padding-top: var(--safe-top);
    transition:
        background 0.45s var(--ease-out),
        border-color 0.45s var(--ease-out),
        box-shadow 0.45s var(--ease-out),
        color 0.35s var(--ease-out);
}

.site-header.scrolled {
    background: rgba(var(--cream-rgb), 0.96);
    border-bottom-color: rgba(var(--dark-rgb), 0.09);
    box-shadow: 0 14px 48px rgba(var(--dark-rgb), 0.07);
}

/* حالت شفاف — بالای hero */
.site-header.header-over-hero:not(.scrolled) {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
    box-shadow: none;
}

body:not(.has-hero-header) #main-content {
    padding-top: calc(var(--header-h) + var(--header-nav-row-h) + var(--safe-top) + var(--announcement-h, 0px));
}

body.has-hero-header #main-content {
    padding-top: var(--announcement-h, 0px);
}

.header-shell {
    max-width: var(--container);
    margin: 0 auto;
    padding-inline: max(var(--page-gutter), env(safe-area-inset-right, 0px), env(safe-area-inset-left, 0px));
}

.header-inner {
    height: var(--header-h);
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.header-nav-row {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: var(--header-nav-row-h);
    padding-bottom: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.header-nav-row::-webkit-scrollbar {
    display: none;
}

.desktop-nav {
    width: auto;
    max-width: 100%;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

.site-header.header-over-hero:not(.scrolled) .header-nav-row .nav-pill {
    background: rgba(var(--cream-rgb), 0.1);
    border-color: rgba(var(--cream-rgb), 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.site-header.header-over-hero:not(.scrolled) .header-nav-row .nav-link {
    color: rgba(var(--cream-rgb), 0.88);
}

.site-header.header-over-hero:not(.scrolled) .header-nav-row .nav-link:hover {
    color: var(--cream);
    background: rgba(var(--cream-rgb), 0.12);
}

.site-header.header-over-hero:not(.scrolled) .header-nav-row .nav-link.active {
    color: var(--dark);
    background: var(--cream);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

/* ── لوگو ── */
.logo {
    transition: opacity 0.3s, color 0.35s;
}

.site-header.header-over-hero:not(.scrolled) .logo {
    color: var(--cream);
}

.site-header.header-over-hero:not(.scrolled) .logo-text small {
    color: rgba(245, 241, 232, 0.62);
}

.logo-mark {
    color: var(--cream);
    background: linear-gradient(150deg, var(--green) 0%, var(--dark) 85%);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 4px 16px rgba(var(--dark-rgb), 0.22);
    transition: background 0.35s, box-shadow 0.35s;
}

.site-header.header-over-hero:not(.scrolled) .logo-mark {
    background: rgba(245, 241, 232, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: inset 0 0 0 1px rgba(245, 241, 232, 0.28);
    color: var(--cream);
}

.logo-text strong {
    font-size: 17px;
    letter-spacing: -0.02em;
}

/* ── منوی اصلی — جمع‌وجور، یک خط ── */
.header-nav-row .nav-pill {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    width: auto;
    max-width: none;
    gap: 2px;
    padding: 4px 6px;
    background: rgba(var(--cream-rgb), 0.72);
    border: 1px solid rgba(var(--dark-rgb), 0.08);
    border-radius: var(--radius-pill);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.header-nav-row .nav-pill > .nav-link,
.header-nav-row .nav-pill > .nav-dropdown {
    display: inline-flex;
    align-items: center;
    align-self: center;
    flex-shrink: 0;
}

.header-nav-row .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    line-height: 1;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    transition: color 0.3s, background 0.3s;
    vertical-align: middle;
}

.header-nav-row .nav-link::after {
    display: none;
}

.header-nav-row .nav-link:hover {
    color: var(--text);
    background: rgba(var(--dark-rgb), 0.04);
}

.header-nav-row .nav-link.active {
    color: var(--cream);
    font-weight: 600;
    background: linear-gradient(145deg, var(--green) 0%, var(--green-hover) 100%);
    box-shadow: 0 2px 10px rgba(45, 82, 64, 0.18);
}

.header-nav-row .nav-dropdown {
    flex-shrink: 0;
}

.header-nav-row .nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 34px;
    padding: 0 12px;
    line-height: 1;
    font-size: 13px;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    font-family: inherit;
    vertical-align: middle;
    flex-shrink: 0;
}

.header-nav-row .nav-dropdown-chevron {
    opacity: 0.55;
    transition: transform 0.28s, opacity 0.28s;
}

.header-nav-row .nav-dropdown.open .nav-dropdown-chevron {
    transform: rotate(180deg);
    opacity: 0.85;
}

.nav-pill {
    gap: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.nav-link {
    position: relative;
    padding: 10px 16px;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--text-secondary);
    border-radius: 0;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 16px;
    left: 16px;
    height: 1.5px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s var(--ease-out);
}

.nav-link:hover {
    color: var(--text);
    background: transparent;
}

.nav-link:hover::after {
    transform: scaleX(0.6);
}

.nav-link.active {
    color: var(--green);
    font-weight: 600;
    background: transparent;
    box-shadow: none;
}

.nav-link.active::after {
    transform: scaleX(1);
    background: linear-gradient(90deg, var(--gold-light), var(--gold));
}

/* رنگ روشن روی hero */
.site-header.header-over-hero:not(.scrolled) .nav-link {
    color: rgba(245, 241, 232, 0.78);
}

.site-header.header-over-hero:not(.scrolled) .nav-link:hover,
.site-header.header-over-hero:not(.scrolled) .nav-link.active {
    color: var(--cream);
}

.site-header.header-over-hero:not(.scrolled) .nav-link::after {
    background: var(--gold-light);
}

.site-header.header-over-hero:not(.scrolled) .nav-dropdown-chevron {
    opacity: 0.7;
}

/* ── دراپ‌داون فروشگاه — شیک ── */
.nav-dropdown-panel {
    top: calc(100% + 14px);
    min-width: min(460px, 92vw);
    background: rgba(253, 251, 245, 0.98);
    border: 1px solid rgba(36, 49, 42, 0.1);
    border-radius: 20px;
    box-shadow: 0 28px 72px rgba(29, 43, 35, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
}

.nav-dropdown-label {
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 10px;
    color: var(--gold);
}

.nav-dropdown-item {
    border-radius: 12px;
    font-size: 13.5px;
}

.nav-dropdown-item:hover {
    background: var(--green-soft);
}

.nav-dropdown-item-icon {
    background: rgba(46, 91, 65, 0.08);
    border-radius: 10px;
    color: var(--green);
}

.nav-type-pill {
    background: rgba(36, 49, 42, 0.05);
    border-color: transparent;
    font-size: 12px;
}

.nav-dropdown-footer {
    background: rgba(36, 49, 42, 0.03);
    color: var(--green);
    font-size: 13px;
    letter-spacing: 0.02em;
}

/* ── اکشن‌ها: جستجو، سبد، ورود ── */
.header-actions {
    gap: 6px;
}

.search-form {
    max-width: 200px;
    background: rgba(36, 49, 42, 0.05);
    border: 1px solid transparent;
    padding: 0 14px;
    transition: max-width 0.4s var(--ease-out), background 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.search-form:focus-within {
    max-width: 260px;
    background: var(--surface);
    border-color: rgba(46, 91, 65, 0.18);
    box-shadow: 0 0 0 3px rgba(46, 91, 65, 0.08);
}

.site-header.header-over-hero:not(.scrolled) .search-form {
    background: rgba(245, 241, 232, 0.12);
    border-color: rgba(245, 241, 232, 0.18);
}

.site-header.header-over-hero:not(.scrolled) .search-form:focus-within {
    background: rgba(253, 251, 245, 0.95);
    border-color: rgba(245, 241, 232, 0.4);
}

.site-header.header-over-hero:not(.scrolled) .search-form .icon,
.site-header.header-over-hero:not(.scrolled) .search-form input {
    color: rgba(245, 241, 232, 0.85);
}

.site-header.header-over-hero:not(.scrolled) .search-form input::placeholder {
    color: rgba(245, 241, 232, 0.5);
}

.site-header.header-over-hero:not(.scrolled) .search-form:focus-within .icon,
.site-header.header-over-hero:not(.scrolled) .search-form:focus-within input {
    color: var(--text);
}

.icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--text-secondary);
    transition: background 0.3s, color 0.3s, transform 0.2s;
}

.icon-btn:hover {
    background: rgba(36, 49, 42, 0.06);
    color: var(--text);
}

.site-header.header-over-hero:not(.scrolled) .icon-btn {
    color: rgba(245, 241, 232, 0.85);
}

.site-header.header-over-hero:not(.scrolled) .icon-btn:hover {
    background: rgba(245, 241, 232, 0.12);
    color: var(--cream);
}

.cart-badge {
    background: linear-gradient(145deg, var(--gold-light), var(--gold));
    color: var(--dark);
    box-shadow: 0 0 0 2px rgba(var(--cream-rgb), 0.95), 0 2px 8px var(--gold-glow);
}

.header-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 14px 0 12px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(var(--dark-rgb), 0.12);
    background: var(--surface);
    color: var(--text);
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    transition: background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.header-cart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
}

.header-cart-btn:hover {
    border-color: rgba(45, 82, 64, 0.28);
    background: var(--green-soft);
    color: var(--green-hover);
    box-shadow: var(--shadow-md);
}

.header-cart-btn:hover .header-cart-icon {
    color: var(--green-hover);
}

.header-cart-btn .cart-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.site-header.header-over-hero:not(.scrolled) .header-cart-btn {
    background: rgba(var(--cream-rgb), 0.16);
    border-color: rgba(var(--cream-rgb), 0.32);
    color: var(--cream);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.site-header.header-over-hero:not(.scrolled) .header-cart-btn .header-cart-icon {
    color: var(--gold-light);
}

.site-header.header-over-hero:not(.scrolled) .header-cart-btn:hover {
    background: rgba(var(--cream-rgb), 0.24);
    border-color: rgba(var(--cream-rgb), 0.5);
    color: var(--cream);
}

.site-header.header-over-hero:not(.scrolled) .header-cart-btn:hover .header-cart-icon {
    color: var(--cream);
}

.site-header.header-over-hero:not(.scrolled) .header-cart-btn .cart-badge {
    box-shadow: 0 0 0 2px rgba(22, 33, 27, 0.5), 0 2px 8px var(--gold-glow);
}

@media (max-width: 768px) {
    .header-cart-btn {
        min-width: 44px;
        padding: 0 12px;
        gap: 0;
    }

    .header-cart-label {
        display: none;
    }

    .header-cart-icon .icon {
        width: 22px;
        height: 22px;
    }
}

.header-account {
    background: rgba(36, 49, 42, 0.05);
    width: 38px;
    height: 38px;
}

.site-header.header-over-hero:not(.scrolled) .header-account {
    background: rgba(245, 241, 232, 0.12);
    color: rgba(245, 241, 232, 0.85);
}

.site-header.header-over-hero:not(.scrolled) .btn-ghost {
    color: rgba(245, 241, 232, 0.88);
    border: 1px solid rgba(245, 241, 232, 0.28);
    background: transparent;
}

.site-header.header-over-hero:not(.scrolled) .btn-ghost:hover {
    background: rgba(245, 241, 232, 0.1);
    color: var(--cream);
}

.menu-toggle {
    border-radius: 50%;
    border-color: transparent;
    background: rgba(36, 49, 42, 0.05);
}

.site-header.header-over-hero:not(.scrolled) .menu-toggle {
    background: rgba(245, 241, 232, 0.12);
    color: var(--cream);
    border-color: rgba(245, 241, 232, 0.2);
}

/* ── موبایل — دراور منو شیک و لوکس ── */
.site-nav-drawer {
    display: none;
}

@media (max-width: 992px) {
    :root {
        --header-nav-row-h: 0px;
    }

    .header-nav-row {
        display: none;
    }

    .nav-overlay,
    .nav-drawer-overlay {
        z-index: 350;
        background: rgba(18, 25, 21, 0.52);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }

    .site-nav-drawer {
        display: flex;
        position: fixed;
        inset: 0;
        z-index: 355;
        width: 100%;
        max-width: none;
        background: transparent;
        transform: none;
        visibility: hidden;
        pointer-events: none;
        transition: visibility 0s linear 0.42s;
        flex-direction: row;
        justify-content: flex-end;
        padding: 0;
        overflow: hidden;
    }

    .site-nav-drawer.open {
        visibility: visible;
        pointer-events: auto;
        transition: visibility 0s;
    }

    .nav-drawer-panel {
        display: flex;
        flex-direction: column;
        width: min(100%, 420px);
        height: 100%;
        background: var(--surface);
        transform: translate3d(100%, 0, 0);
        transition: transform 0.42s var(--ease-out);
        box-shadow: -24px 0 64px rgba(18, 25, 21, 0.22);
        overflow: hidden;
    }

    .site-nav-drawer.open .nav-drawer-panel {
        transform: translate3d(0, 0, 0);
    }

    .nav-drawer-hero {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
        padding: calc(var(--safe-top) + 20px) 22px 24px;
        background: linear-gradient(155deg, var(--dark) 0%, #24352c 55%, #2d4a3a 100%);
        color: var(--cream);
        flex-shrink: 0;
        position: relative;
        overflow: hidden;
    }

    .nav-drawer-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            radial-gradient(ellipse 80% 60% at 100% 0%, rgba(216, 188, 133, 0.14), transparent 55%),
            radial-gradient(ellipse 50% 40% at 0% 100%, rgba(45, 82, 64, 0.35), transparent);
        pointer-events: none;
    }

    .nav-drawer-brand {
        display: flex;
        align-items: center;
        gap: 14px;
        position: relative;
        z-index: 1;
    }

    .nav-drawer-logo {
        width: 48px;
        height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        background: rgba(245, 241, 232, 0.12);
        border: 1px solid rgba(245, 241, 232, 0.22);
        color: var(--gold-light);
        flex-shrink: 0;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .nav-drawer-hero h2 {
        font-size: 20px;
        font-weight: 600;
        letter-spacing: -0.02em;
        margin-bottom: 4px;
        color: var(--cream);
    }

    .nav-drawer-sub {
        font-size: 12.5px;
        color: rgba(245, 241, 232, 0.62);
        font-weight: 300;
        line-height: 1.5;
    }

    .nav-drawer-close {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        border: 1px solid rgba(245, 241, 232, 0.2);
        background: rgba(245, 241, 232, 0.08);
        color: var(--cream);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex-shrink: 0;
        position: relative;
        z-index: 1;
        transition: background 0.25s, border-color 0.25s, transform 0.25s;
    }

    .nav-drawer-close:hover {
        background: rgba(245, 241, 232, 0.16);
        border-color: rgba(245, 241, 232, 0.35);
    }

    .nav-drawer-body {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 22px 18px calc(24px + var(--mobile-nav-h) + var(--safe-bottom));
    }

    .nav-drawer-eyebrow {
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--text-tertiary);
        margin-bottom: -8px;
        padding-inline: 4px;
    }

    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .mobile-nav-link {
        display: flex;
        align-items: center;
        gap: 14px;
        min-height: 58px;
        border-radius: 18px;
        font-size: 15.5px;
        font-weight: 500;
        padding: 12px 14px 12px 16px;
        color: var(--text);
        background: rgba(var(--dark-rgb), 0.03);
        border: 1px solid rgba(var(--dark-rgb), 0.06);
        transition: background 0.28s, border-color 0.28s, color 0.28s, transform 0.28s, box-shadow 0.28s;
    }

    .mobile-nav-link:hover {
        background: rgba(var(--dark-rgb), 0.05);
        border-color: rgba(var(--dark-rgb), 0.1);
    }

    .mobile-nav-link.active {
        background: linear-gradient(135deg, var(--dark) 0%, #2a4034 100%);
        color: var(--cream);
        border-color: transparent;
        box-shadow: 0 8px 24px rgba(29, 43, 35, 0.22);
    }

    .mobile-nav-link-text {
        flex: 1;
        min-width: 0;
    }

    .mobile-nav-link-arrow {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: rgba(var(--dark-rgb), 0.06);
        color: var(--text-tertiary);
        flex-shrink: 0;
        transition: background 0.28s, color 0.28s, transform 0.28s;
    }

    .mobile-nav-link:hover .mobile-nav-link-arrow {
        transform: translateX(-3px);
        color: var(--green);
        background: rgba(45, 82, 64, 0.1);
    }

    .mobile-nav-link.active .mobile-nav-link-arrow {
        background: rgba(var(--cream-rgb), 0.14);
        color: var(--gold-light);
    }

    .mobile-nav-link-icon {
        width: 42px;
        height: 42px;
        background: rgba(45, 82, 64, 0.08);
        border-radius: 13px;
        color: var(--green);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: background 0.28s, color 0.28s;
    }

    .mobile-nav-link.active .mobile-nav-link-icon {
        background: rgba(var(--cream-rgb), 0.14);
        color: var(--gold-light);
    }

    .mobile-nav-section {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .mobile-category-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .mobile-category-chip {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 14px;
        border-radius: 16px;
        background: linear-gradient(145deg, rgba(var(--dark-rgb), 0.04), rgba(var(--dark-rgb), 0.02));
        border: 1px solid rgba(var(--dark-rgb), 0.07);
        color: var(--text);
        font-size: 13.5px;
        font-weight: 500;
        min-height: 48px;
        transition: background 0.28s, border-color 0.28s, color 0.28s, box-shadow 0.28s;
    }

    .mobile-category-chip:hover {
        background: var(--green-soft);
        border-color: rgba(45, 82, 64, 0.18);
        color: var(--green);
        box-shadow: 0 4px 14px rgba(45, 82, 64, 0.1);
    }

    .mobile-category-icon {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        background: rgba(var(--dark-rgb), 0.06);
        color: var(--text-secondary);
    }

    .mobile-category-chip:hover .mobile-category-icon {
        background: rgba(45, 82, 64, 0.12);
        color: var(--green);
    }

    .mobile-nav-account {
        margin-top: auto;
        padding-top: 8px;
    }

    .nav-drawer-account-btn {
        min-height: 50px;
        font-size: 14.5px;
        border-radius: 18px;
    }

    .mobile-nav-menu-fab {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin: 0;
        border-radius: 50%;
        background: linear-gradient(145deg, var(--gold-light) 0%, var(--gold) 100%);
        color: var(--dark);
        box-shadow: 0 6px 18px rgba(216, 188, 133, 0.4);
        border: 2px solid rgba(253, 251, 245, 0.9);
        transition: transform 0.28s, box-shadow 0.28s;
    }

    .mobile-nav-item--menu {
        color: var(--cream);
        background: transparent;
        font-weight: 600;
    }

    .mobile-nav-item--menu.active .mobile-nav-menu-fab,
    body.nav-open .mobile-nav-item--menu .mobile-nav-menu-fab {
        transform: scale(1.04);
        box-shadow: 0 8px 22px rgba(216, 188, 133, 0.5);
    }

    body.nav-open .mobile-bottom-nav {
        opacity: 0;
        pointer-events: none;
        transform: translateY(12px);
        transition: opacity 0.3s, transform 0.3s;
    }
}

@media (min-width: 993px) and (max-width: 1180px) {
    .header-nav-row .nav-link,
    .header-nav-row .nav-dropdown-trigger {
        min-height: 32px;
        padding: 0 10px;
        font-size: 12.5px;
    }

    .header-nav-row .nav-pill {
        gap: 1px;
        padding: 3px 5px;
    }
}

@media (max-width: 640px) {
    .logo-text small { display: none; }
    .header-inner { gap: 10px; }
}

/* ── Hero سینمایی ── */
.hero-cinema {
    position: relative;
    min-height: min(88vh, 820px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--dark);
    color: var(--cream);
}

.hero-cinema-media,
.hero-cinema-media video,
.hero-cinema-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-cinema-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(22, 33, 27, 0.46) 0%, rgba(22, 33, 27, 0.12) 40%, rgba(22, 33, 27, 0.78) 100%),
        radial-gradient(90% 60% at 70% 90%, rgba(22, 33, 27, 0.55), transparent);
}

.hero-cinema-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: clamp(90px, 16vh, 160px) max(var(--page-gutter), env(safe-area-inset-right, 0px), env(safe-area-inset-left, 0px)) clamp(56px, 9vh, 96px);
}

.hero-cinema-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border: 1px solid rgba(245, 241, 232, 0.35);
    border-radius: var(--radius-pill);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: rgba(245, 241, 232, 0.92);
    backdrop-filter: blur(6px);
    margin-bottom: 26px;
}

.hero-cinema h1 {
    font-size: clamp(40px, 6.4vw, 82px);
    font-weight: 700;
    line-height: 1.14;
    color: var(--cream);
    max-width: 15ch;
    margin-bottom: 20px;
    white-space: pre-line;
}

.hero-cinema h1 em {
    font-style: normal;
    color: var(--gold-light);
    text-shadow: 0 2px 24px rgba(196, 160, 98, 0.25);
}

.hero-cinema-sub {
    font-size: clamp(15px, 1.6vw, 18.5px);
    font-weight: 300;
    line-height: 1.9;
    color: rgba(245, 241, 232, 0.82);
    max-width: 52ch;
    margin-bottom: 36px;
}

.hero-cinema-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.btn-cream {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    background: linear-gradient(180deg, #fffdf8 0%, var(--cream) 100%);
    color: var(--dark);
    border-radius: var(--radius-pill);
    font-size: 14.5px;
    font-weight: 600;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.35s;
}

.btn-cream:hover {
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.btn-ghost-light {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: 1px solid rgba(245, 241, 232, 0.4);
    color: var(--cream);
    border-radius: var(--radius-pill);
    font-size: 14.5px;
    font-weight: 500;
    transition: border-color 0.3s, background 0.3s, color 0.3s;
}

.btn-ghost-light:hover {
    color: var(--cream);
    border-color: rgba(245, 241, 232, 0.85);
    background: rgba(245, 241, 232, 0.08);
}

.hero-scroll-cue {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 26px;
    height: 42px;
    border: 1.5px solid rgba(245, 241, 232, 0.4);
    border-radius: 14px;
    display: none;
}

.hero-scroll-cue::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 3px;
    height: 8px;
    margin-left: -1.5px;
    border-radius: 3px;
    background: rgba(245, 241, 232, 0.75);
    animation: scrollCue 2.2s infinite var(--ease-out);
}

@keyframes scrollCue {
    0% { transform: translateY(0); opacity: 1; }
    70% { transform: translateY(12px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

@media (min-width: 768px) {
    .hero-scroll-cue { display: block; }
}

/* ── مانیفست برند — بخش تیره ── */
.manifesto {
    background:
        radial-gradient(920px 440px at 14% 0%, rgba(45, 82, 64, 0.45), transparent 68%),
        radial-gradient(500px 300px at 90% 100%, var(--gold-glow), transparent 70%),
        var(--dark-2);
    color: var(--cream);
    padding: clamp(80px, 12vw, 150px) 0;
    text-align: center;
}

.manifesto .eyebrow { justify-content: center; }
.manifesto .eyebrow::before { display: none; }

.manifesto h2 {
    font-size: clamp(26px, 3.6vw, 46px);
    line-height: 1.45;
    max-width: 24ch;
    margin: 22px auto 26px;
    color: var(--cream);
}

.manifesto p {
    font-size: clamp(15px, 1.5vw, 18px);
    font-weight: 300;
    line-height: 2.1;
    color: rgba(245, 241, 232, 0.72);
    max-width: 62ch;
    margin: 0 auto;
}

.manifesto-leaf {
    color: var(--gold-light);
    opacity: 0.9;
    margin-bottom: 6px;
}

/* ── سربخش‌های ادیتوریال ── */
.section {
    padding: clamp(64px, 9vw, 120px) 0;
}

.section-alt { background: transparent; }

.editorial-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(34px, 5vw, 56px);
}

.editorial-head h2 {
    font-size: clamp(26px, 3.4vw, 44px);
    margin-top: 14px;
}

.editorial-head p {
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 48ch;
    margin-top: 10px;
    font-size: 15.5px;
}

.editorial-head .link-more {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--green);
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(46, 91, 65, 0.35);
    transition: gap 0.3s, border-color 0.3s;
}

.editorial-head .link-more:hover { gap: 12px; border-color: var(--green); }

/* ── کالکشن‌ها (دسته‌بندی) ── */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.collection-card {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--dark);
}

.collections-grid .collection-card:first-child {
    grid-row: span 2;
    aspect-ratio: auto;
}

.collection-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out), opacity 0.5s;
    opacity: 0.92;
}

.collection-card:hover img { transform: scale(1.06); opacity: 1; }

.collection-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(185deg, transparent 40%, rgba(22, 33, 27, 0.82) 100%);
    z-index: 1;
}

.collection-card-body {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 2;
    padding: 24px;
    color: var(--cream);
}

.collection-card-body h3 {
    color: var(--cream);
    font-size: clamp(18px, 2vw, 24px);
    margin-bottom: 6px;
}

.collection-card-body p {
    font-size: 13px;
    font-weight: 300;
    color: rgba(245, 241, 232, 0.75);
    max-width: 34ch;
}

.collection-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--gold-light);
}

@media (max-width: 900px) {
    .collections-grid { grid-template-columns: repeat(2, 1fr); }
    .collections-grid .collection-card:first-child { grid-row: auto; grid-column: span 2; aspect-ratio: 16 / 9; }
}

@media (max-width: 560px) {
    .collections-grid { grid-template-columns: 1fr; }
    .collections-grid .collection-card:first-child { grid-column: auto; }
    .collection-card { aspect-ratio: 16 / 10; }
}

/* ── کارت محصول کاتالوگی ── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(18px, 2.5vw, 30px);
}

@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

.product-card {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.product-card:hover { transform: none; box-shadow: none; }

.product-card-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(160deg, #f0ebe0, #e6dfd2);
}

.product-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease-out);
}

.product-card:hover .product-card-media img { transform: scale(1.05); }

.product-card-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.product-card-badge {
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 600;
    background: rgba(245, 241, 232, 0.92);
    color: var(--dark);
    backdrop-filter: blur(4px);
}

.product-card-badge.is-sale { background: var(--gold); color: #fff; }
.product-card-badge.is-out { background: rgba(29, 43, 35, 0.75); color: var(--cream); }

.product-card-hover-cta {
    position: absolute;
    bottom: 14px;
    right: 14px;
    left: 14px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: var(--radius-pill);
    background: rgba(245, 241, 232, 0.94);
    color: var(--dark);
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
    backdrop-filter: blur(6px);
}

.product-card:hover .product-card-hover-cta { opacity: 1; transform: none; }

@media (hover: none) {
    .product-card-hover-cta { display: none; }
}

.product-card-body {
    padding: 16px max(10px, calc(var(--page-gutter) - 10px)) 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.product-card-origin {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--gold);
}

.product-card-title { font-size: 16px; line-height: 1.55; }
.product-card-title a { color: var(--text); font-weight: 600; }
.product-card-title a:hover { color: var(--green); }

.product-card-taste {
    font-size: 12.5px;
    font-weight: 300;
    color: var(--text-tertiary);
}

.product-card-foot {
    margin-top: 10px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border: none;
    padding: 0;
}

.product-card-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 14px;
}

.product-card-price del { color: var(--text-tertiary); font-size: 12px; }

.product-card-price strong {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 14.5px;
}

.product-card-price strong small {
    font-size: 11px;
    margin-right: 3px;
    color: var(--text-tertiary);
    font-weight: 300;
}

.product-card-unavailable-text {
    font-size: 12.5px;
    color: var(--text-tertiary);
    font-weight: 300;
}

/* ── بخش روایت / آیین دم ── */
.ritual-section {
    padding: clamp(64px, 9vw, 120px) 0;
}

.ritual-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}

.ritual-media {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 4.6;
}

.ritual-media img,
.ritual-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ritual-media::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1px rgba(36, 49, 42, 0.08);
    border-radius: var(--radius);
}

.ritual-content h2 {
    font-size: clamp(26px, 3.2vw, 42px);
    margin: 16px 0 18px;
}

.ritual-content > p {
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 2.05;
    font-size: 15.5px;
    margin-bottom: 34px;
    max-width: 52ch;
}

.ritual-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
}

.ritual-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 18px 0;
    border-top: 1px solid var(--border);
}

.ritual-step-num {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--gold);
    min-width: 34px;
    padding-top: 2px;
}

.ritual-step h4 { font-size: 15.5px; margin-bottom: 4px; }
.ritual-step p { font-size: 13.5px; font-weight: 300; color: var(--text-secondary); line-height: 1.9; }

@media (max-width: 860px) {
    .ritual-grid { grid-template-columns: 1fr; }
    .ritual-media { aspect-ratio: 16 / 11; }
}

/* ── نوار عکس تمام‌عرض ── */
.visual-banner {
    position: relative;
    height: clamp(320px, 55vh, 560px);
    overflow: hidden;
}

.visual-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visual-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(22, 33, 27, 0.15), rgba(22, 33, 27, 0.55));
}

.visual-banner-caption {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.visual-banner-caption p {
    font-family: var(--font-display);
    font-size: clamp(20px, 3.2vw, 38px);
    font-weight: 700;
    color: var(--cream);
    max-width: 26ch;
    line-height: 1.6;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

/* ── نظر مشتریان — نقل‌قول آرام ── */
.testimonials-section { background: transparent; }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

@media (max-width: 860px) { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 26px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.testimonial-card::before {
    content: '”';
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
    font-size: 64px;
    line-height: 1;
    color: var(--gold);
    opacity: 0.35;
}

.testimonial-rating { color: var(--gold); font-size: 13px; letter-spacing: 3px; margin-bottom: 12px; }
.testimonial-card p { font-weight: 300; line-height: 2; color: var(--text-secondary); font-size: 14px; }
.testimonial-card footer { margin-top: 16px; display: flex; flex-direction: column; gap: 2px; }
.testimonial-card footer strong { font-size: 13.5px; }
.testimonial-card footer span { font-size: 12px; color: var(--text-tertiary); }

/* ── CTA پایانی ── */
.cta-section,
.cta-section-visual {
    background:
        radial-gradient(760px 340px at 78% 18%, var(--gold-glow), transparent 62%),
        radial-gradient(600px 280px at 12% 80%, rgba(45, 82, 64, 0.35), transparent 65%),
        var(--dark-2);
    color: var(--cream);
    text-align: center;
    padding: clamp(70px, 10vw, 130px) 0;
}

.cta-section h2 { color: var(--cream); font-size: clamp(26px, 3.4vw, 44px); margin-bottom: 14px; }
.cta-section p { color: rgba(245, 241, 232, 0.72); font-weight: 300; margin-bottom: 32px; }

.cta-section .btn-white,
.cta-section .btn {
    background: var(--cream);
    color: var(--dark);
    border-radius: var(--radius-pill);
    padding: 15px 36px;
    font-weight: 600;
    display: inline-flex;
    box-shadow: none;
}

.cta-section .btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3); }

/* ── فوتر تیره ── */
.site-footer,
.site-footer--minimal {
    background:
        radial-gradient(800px 360px at 20% 0%, rgba(45, 82, 64, 0.2), transparent 65%),
        var(--dark-2);
    border-top: none;
    color: rgba(var(--cream-rgb), 0.76);
    padding: 56px 0 0;
}

.site-footer a { color: rgba(var(--cream-rgb), 0.74); }
.site-footer a:hover { color: var(--cream); }

.footer-logo-mark {
    color: var(--dark);
    background: linear-gradient(145deg, var(--gold-light), var(--gold));
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.footer-logo-name { color: var(--cream); font-weight: 700; }

.site-footer .footer-bar {
    border-top: 1px solid rgba(245, 241, 232, 0.12);
    color: rgba(245, 241, 232, 0.5);
}

.site-footer .footer-bar a { color: rgba(245, 241, 232, 0.6); }

/* ── نوار پایین موبایل — چیدمان یکدست ── */
.mobile-bottom-nav {
    background: rgba(var(--cream-rgb), 0.96);
    border-top-color: rgba(var(--dark-rgb), 0.08);
    box-shadow: 0 -8px 32px rgba(var(--dark-rgb), 0.05);
    align-items: stretch;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    text-align: center;
}

.mobile-nav-icon-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.mobile-nav-icon-slot .mobile-nav-icon-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-icon-slot--menu {
    height: 40px;
}

.mobile-nav-label {
    display: block;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.mobile-nav-item.active {
    color: var(--green);
    background: var(--green-soft);
}

.mobile-nav-badge {
    background: linear-gradient(145deg, var(--gold-light), var(--gold));
    box-shadow: 0 2px 8px var(--gold-glow);
}

/* ── دکمه‌ها ── */
.btn-primary {
    background: linear-gradient(145deg, var(--green) 0%, var(--green-hover) 100%);
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 18px rgba(45, 82, 64, 0.22);
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(145deg, var(--green-hover) 0%, #1a3228 100%);
    box-shadow: 0 12px 32px rgba(45, 82, 64, 0.3);
    transform: translateY(-1px);
}

.btn-outline {
    border-radius: var(--radius-pill);
    border-color: var(--border-strong);
    color: var(--text);
    background: transparent;
    font-weight: 500;
}

.btn-outline:hover {
    border-color: var(--green);
    color: var(--green);
    background: var(--green-soft);
}

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--green);
}

/* ── صفحه محصول — روایت و ویدیو ── */
.product-main-media {
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(160deg, #f0ebe0, #e6dfd2);
}

.product-main-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-thumb.is-video {
    position: relative;
}

.gallery-thumb.is-video::after {
    content: '▶';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--cream);
    background: rgba(22, 33, 27, 0.45);
    border-radius: inherit;
}

.product-story {
    position: relative;
    margin: 10px 0 26px;
    padding: 26px 30px;
    background: var(--green-soft);
    border-radius: var(--radius);
    border: 1px solid rgba(46, 91, 65, 0.1);
}

.product-story::before {
    content: '”';
    position: absolute;
    top: 4px;
    left: 18px;
    font-family: Georgia, serif;
    font-size: 58px;
    line-height: 1;
    color: var(--gold);
    opacity: 0.4;
}

.product-story p {
    font-weight: 300;
    line-height: 2.15;
    color: var(--text-secondary);
    font-size: 14.5px;
}

.product-story .eyebrow { margin-bottom: 10px; }

/* ── هدر صفحات داخلی (فروشگاه/مجله) ── */
.page-hero,
.shop-hero {
    text-align: center;
    padding: clamp(48px, 7vw, 90px) 0 clamp(28px, 4vw, 48px);
}

/* ── موبایل ── */
@media (max-width: 640px) {
    .hero-cinema { min-height: 78vh; }
    .hero-cinema h1 { font-size: clamp(32px, 9.5vw, 44px); }
    .editorial-head { flex-direction: column; align-items: flex-start; gap: 10px; }
    .section { padding: 52px 0; }
}

/* ── سبد خرید پاپ‌آپ (دراور) ── */
button.mobile-nav-item,
button[data-nav-toggle] {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
    text-decoration: none;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 4px;
    min-height: var(--touch-min);
    -webkit-tap-highlight-color: transparent;
}

.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 420;
    background: rgba(22, 33, 27, 0.42);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.35s var(--ease-out);
}

.cart-drawer-overlay:not([hidden]) {
    opacity: 1;
}

.cart-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 430;
    width: min(100vw, 440px);
    max-width: 100%;
    transform: translateX(-104%);
    transition: transform 0.42s var(--ease-out);
    pointer-events: none;
}

.cart-drawer.open {
    transform: translateX(0);
    pointer-events: auto;
}

.cart-drawer-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--cream);
    border-left: 1px solid rgba(36, 49, 42, 0.1);
    box-shadow: 24px 0 60px rgba(22, 33, 27, 0.18);
}

.cart-drawer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: calc(18px + var(--safe-top)) 20px 16px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.cart-drawer-header h2 {
    font-size: 20px;
    margin-bottom: 4px;
}

.cart-drawer-meta {
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 300;
}

.cart-drawer-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(36, 49, 42, 0.04);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s, color 0.25s;
    flex-shrink: 0;
}

.cart-drawer-close:hover {
    background: rgba(36, 49, 42, 0.08);
    color: var(--text);
}

.cart-drawer-body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.cart-drawer-body.is-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(245, 241, 232, 0.55);
    backdrop-filter: blur(1px);
    z-index: 2;
}

.cart-drawer-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px 8px;
    -webkit-overflow-scrolling: touch;
}

.cart-drawer-shipping {
    padding: 12px 14px;
    margin-bottom: 16px;
    border-radius: var(--radius-sm);
    background: var(--green-soft);
    border: 1px solid rgba(46, 91, 65, 0.12);
    font-size: 13px;
    color: var(--text-secondary);
}

.cart-drawer-shipping--done {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    font-weight: 500;
}

.cart-drawer-shipping-bar {
    height: 4px;
    border-radius: var(--radius-pill);
    background: rgba(46, 91, 65, 0.14);
    margin-bottom: 8px;
    overflow: hidden;
}

.cart-drawer-shipping-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, var(--green), #3d7a56);
    border-radius: inherit;
    transition: width 0.4s var(--ease-out);
}

.cart-drawer-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cart-drawer-item {
    display: grid;
    grid-template-columns: 76px 1fr auto;
    gap: 12px;
    align-items: start;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.cart-drawer-item-thumb {
    display: block;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 1;
    background: linear-gradient(160deg, #f0ebe0, #e6dfd2);
}

.cart-drawer-item-thumb img,
.cart-drawer-item-thumb .product-placeholder.small {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-drawer-item-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.45;
}

.cart-drawer-item-title:hover { color: var(--green); }

.cart-drawer-item-unit,
.cart-drawer-item-urgency {
    display: block;
    font-size: 12px;
    color: var(--text-tertiary);
}

.cart-drawer-item-urgency {
    color: #b45309;
    margin-top: 2px;
}

.cart-drawer-item-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

.cart-drawer-item-total {
    font-size: 13px;
    color: var(--text);
    white-space: nowrap;
}

.qty-stepper--sm {
    transform: scale(0.92);
    transform-origin: right center;
}

.cart-drawer-remove {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(36, 49, 42, 0.05);
    color: var(--text-tertiary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.cart-drawer-remove:hover {
    background: rgba(180, 60, 50, 0.1);
    color: #b43c32;
}

.cart-drawer-coupon {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed var(--border);
}

.cart-drawer-coupon label {
    display: block;
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 8px;
}

.cart-drawer-footer {
    flex-shrink: 0;
    padding: 16px 20px calc(16px + var(--safe-bottom));
    border-top: 1px solid var(--border);
    background: rgba(245, 241, 232, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-drawer-summary {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 4px;
}

.cart-drawer-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-secondary);
}

.cart-drawer-summary-row.is-discount { color: var(--green); }

.cart-drawer-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 8px;
    margin-top: 4px;
    border-top: 1px solid var(--border);
    font-size: 14px;
}

.cart-drawer-summary-total strong {
    font-size: 18px;
    color: var(--dark);
}

.cart-drawer-hint {
    font-size: 12px;
    color: var(--text-tertiary);
}

.cart-drawer-hint.is-warning { color: #b45309; }

.cart-drawer-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 28px calc(28px + var(--safe-bottom));
    gap: 10px;
}

.cart-drawer-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.cart-drawer-empty h3 {
    font-size: 18px;
}

.cart-drawer-empty p {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 260px;
    margin-bottom: 8px;
}

body.cart-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .cart-drawer {
        width: 100vw;
    }

    .cart-drawer-footer {
        padding-bottom: calc(16px + var(--mobile-nav-h) + var(--safe-bottom));
    }
}

@media (prefers-reduced-motion: reduce) {
    .cart-drawer,
    .cart-drawer-overlay {
        transition: none;
    }
}

/* ── Page accents — فقط رنگ و پس‌زمینه، بدون layout ── */
.blog-page-header {
    background:
        radial-gradient(820px 300px at 8% 0%, var(--gold-soft), transparent 58%),
        linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.blog-page-pill.is-active {
    background: var(--dark);
    color: var(--cream);
    border-color: var(--dark);
    box-shadow: var(--shadow-sm);
}

.category-page-eyebrow,
.about-eyebrow,
.contact-page-eyebrow {
    color: var(--gold);
}

.about-quote-section {
    background:
        radial-gradient(720px 340px at 85% 20%, var(--gold-glow), transparent 62%),
        radial-gradient(500px 260px at 10% 80%, rgba(45, 82, 64, 0.3), transparent 65%),
        var(--dark-2);
    color: var(--cream);
}

.about-quote-section blockquote {
    color: rgba(var(--cream-rgb), 0.9);
}

.about-quote-section cite {
    color: rgba(var(--cream-rgb), 0.58);
}

.contact-form-panel {
    border-color: rgba(45, 82, 64, 0.1);
    box-shadow: var(--shadow-md);
    background: var(--surface);
}

.article-hero {
    background:
        radial-gradient(920px 360px at 90% 0%, var(--gold-soft), transparent 55%),
        linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
    padding-bottom: clamp(8px, 2vw, 16px);
    border-bottom: 1px solid var(--border);
}

.article-category {
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.06em;
}

.article-progress-bar {
    background: linear-gradient(90deg, var(--gold-light), var(--gold));
}

.cart-drawer-panel {
    background: var(--surface);
    box-shadow: -24px 0 72px rgba(var(--dark-rgb), 0.16);
}

.cart-drawer-shipping {
    background: var(--green-soft);
    border-color: rgba(45, 82, 64, 0.1);
}

.feature-item,
.blog-card {
    background: var(--surface);
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.feature-item:hover,
.blog-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.feature-item .icon-wrap {
    color: var(--gold);
    background: var(--gold-soft);
    border-radius: var(--radius-sm);
}

.blog-cat {
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.04em;
}
