/* ============ گالری طلا — تم لوکس، موبایل‌فرست ============ */

:root {
    --gold: #b08d2e;
    --gold-light: #e5c463;
    --gold-dark: #8e6f1c;
    --gold-grad: linear-gradient(120deg, #c9a544, #e5c463 45%, #b08d2e);
    --gold-rgb: 176, 141, 46;
    --gold-light-rgb: 229, 196, 99;
    --dark: #141008;
    --dark-2: #211a0c;
    --bg: #fcfaf5;
    --surface: #ffffff;
    --text: #241f13;
    --text-muted: #857c68;
    --border: #ece5d3;
    --panel: #fbf5e3;
    --section-alt-bg: #f6f1e4;
    --media-placeholder: linear-gradient(150deg, #f8f3e5, #efe6cb);
    --danger: #c0392b;
    --success: #1e9e5a;
    --radius: 14px;
    --radius-sm: 10px;
    --radius-btn: 10px;
    --shadow: 0 6px 30px rgba(40, 30, 5, 0.07);
    --shadow-lift: 0 12px 40px rgba(40, 30, 5, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1rem; }
.center { text-align: center; }
.muted { color: var(--text-muted); }
.small { font-size: 0.85rem; }
.gold-text { color: var(--gold-dark); }
.danger { color: var(--danger); }

/* ---------- افکت‌های لود و اسکرول ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: var(--d, 0ms);
    will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; }

@keyframes fade-up {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: none; }
}
@keyframes frame-in {
    from { opacity: 0; transform: scale(0.92) translateY(18px); }
    to { opacity: 1; transform: none; }
}

@keyframes pulse { 50% { opacity: 0.4; } }

/* ---------- هدر ---------- */
:root {
    /* ارتفاع تقریبی هدر شفاف — برای کشیدن سکشن اول زیر هدر */
    --header-offset: 5.05rem;
}
.site-header {
    --header-glass-fill: rgba(255, 250, 235, 0.48);
    --header-glass-fill-hover: rgba(var(--gold-light-rgb), 0.38);
    --header-glass-border: rgba(var(--gold-rgb), 0.48);
    --header-glass-highlight: rgba(255, 255, 255, 0.55);
    --header-glass-shadow: 0 4px 18px rgba(40, 30, 5, 0.1);
    background: transparent;
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 50;
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.05rem 1rem 0.95rem;
}
.logo { display: flex; align-items: center; gap: 0.6rem; }
.logo-img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(var(--gold-rgb), 0.35));
    transition: transform 0.3s;
}
.logo:hover .logo-img { transform: rotate(-8deg) scale(1.05); }
.logo-icon {
    font-size: 1.6rem;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.logo-text strong { display: block; font-size: 1.12rem; letter-spacing: -0.2px; }
.logo-text small { display: block; color: var(--text-muted); font-size: 0.72rem; margin-top: -4px; }
.main-nav { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.main-nav a {
    font-size: 0.92rem;
    padding: 0.3rem 0;
    position: relative;
    transition: color 0.2s;
}
.main-nav a::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    bottom: -2px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold-grad);
    transform: scaleX(0);
    transition: transform 0.25s;
}
.main-nav a:hover { color: var(--gold-dark); }
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions {
    margin-inline-start: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}
/* شیشه مایع — سبد و تم */
.theme-toggle,
.cart-link {
    background: var(--header-glass-fill);
    backdrop-filter: blur(16px) saturate(1.45);
    -webkit-backdrop-filter: blur(16px) saturate(1.45);
    border: 1px solid var(--header-glass-border);
    box-shadow:
        inset 0 1px 0 var(--header-glass-highlight),
        var(--header-glass-shadow);
    color: var(--gold-dark);
    transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
}
.theme-toggle:hover,
.cart-link:hover {
    background: var(--header-glass-fill-hover);
    border-color: rgba(var(--gold-rgb), 0.55);
    color: var(--gold-dark);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        0 6px 22px rgba(var(--gold-rgb), 0.18);
}
.theme-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.theme-icon { display: none; }
[data-theme="light"] .theme-icon-moon,
:root:not([data-theme]) .theme-icon-moon { display: block; }
[data-theme="dark"] .theme-icon-sun { display: block; }
.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1.15rem;
    border-radius: 999px;
    font-size: 0.88rem;
}
.cart-badge {
    background: var(--gold-grad);
    color: var(--dark);
    font-weight: 800;
    border-radius: 999px;
    padding: 0 0.45rem;
    font-size: 0.78rem;
    box-shadow: 0 1px 4px rgba(40, 30, 5, 0.15);
}

/* ---------- منوی موبایل پایین ---------- */
.mobile-nav { display: none; }

/* ---------- هیروی لوکس ---------- */
.hero-lux {
    position: relative;
    background: linear-gradient(165deg, #0d0a04 0%, var(--dark) 45%, #2b2009 100%);
    color: #f6efdc;
    /* کشیدن زیر هدر شفاف تا پس‌زمینه یکی شود + کمی تنفس زیر نوار */
    margin-top: calc(-1 * var(--header-offset));
    padding: calc(5.15rem + var(--header-offset)) 0 5.2rem;
    overflow: hidden;
}

/* همه صفحات: سکشن اول زیر هدر شفاف می‌لغزد تا با پس‌زمینه یکی شود
   (منوی موبایل داخل main است؛ برای همین first-of-type نه first-child) */
main > .section:first-of-type,
main > .gp-hero,
main > .custom-order-hero {
    margin-top: calc(-1 * var(--header-offset));
}
main > .section:first-of-type {
    padding-top: calc(3.35rem + var(--header-offset));
}
main > .gp-hero {
    padding-top: calc(3.15rem + var(--header-offset));
}
main > .custom-order-hero {
    padding-top: calc(3.35rem + var(--header-offset));
}
.hero-lux-ambiance {
    position: absolute;
    inset: -12% -10% -8%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 55% at 18% 12%, rgba(201, 165, 68, 0.22), transparent 68%),
        radial-gradient(ellipse 55% 45% at 88% 85%, rgba(var(--gold-light-rgb), 0.16), transparent 65%),
        radial-gradient(ellipse 40% 35% at 55% 55%, rgba(243, 220, 142, 0.1), transparent 70%);
}
.hero-lux-blob {
    position: absolute;
    border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
    filter: blur(36px);
    opacity: 0.55;
    will-change: transform, border-radius, opacity;
    mix-blend-mode: soft-light;
}
.hero-lux-blob.b1 {
    width: min(62vw, 520px);
    height: min(54vw, 440px);
    top: -6%;
    inset-inline-start: -10%;
    background: radial-gradient(circle at 35% 40%, rgba(var(--gold-light-rgb), 0.85), rgba(var(--gold-rgb), 0.35) 52%, transparent 72%);
    animation: hero-liquid-float 7s ease-in-out infinite;
    opacity: 0.62;
}
.hero-lux-blob.b2 {
    width: min(52vw, 440px);
    height: min(48vw, 380px);
    top: 8%;
    inset-inline-end: -12%;
    background: radial-gradient(circle at 60% 35%, rgba(var(--gold-light-rgb), 0.75), rgba(var(--gold-rgb), 0.28) 55%, transparent 74%);
    animation: hero-liquid-swim 8s ease-in-out infinite;
    animation-delay: -2s;
    opacity: 0.52;
}
.hero-lux-blob.b3 {
    width: min(48vw, 380px);
    height: min(42vw, 320px);
    bottom: 4%;
    inset-inline-start: 18%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.55), rgba(var(--gold-light-rgb), 0.38) 48%, transparent 70%);
    animation: hero-liquid-drift 9s ease-in-out infinite;
    animation-delay: -4s;
    opacity: 0.58;
}
.hero-lux-blob.b4 {
    width: min(42vw, 320px);
    height: min(38vw, 280px);
    bottom: -8%;
    inset-inline-end: 8%;
    background: radial-gradient(circle at 40% 55%, rgba(var(--gold-rgb), 0.7), rgba(var(--gold-rgb), 0.25) 58%, transparent 75%);
    animation: hero-liquid-float 7.5s ease-in-out infinite reverse;
    animation-delay: -5.5s;
    opacity: 0.48;
}
@keyframes hero-liquid-float {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
        border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
        opacity: 0.55;
    }
    25% {
        transform: translate3d(10%, -12%, 0) scale(1.14) rotate(9deg);
        border-radius: 58% 42% 38% 62% / 55% 60% 40% 45%;
        opacity: 0.78;
    }
    50% {
        transform: translate3d(-9%, 10%, 0) scale(0.88) rotate(-7deg);
        border-radius: 45% 55% 62% 38% / 40% 50% 55% 60%;
        opacity: 0.48;
    }
    75% {
        transform: translate3d(12%, 6%, 0) scale(1.1) rotate(5deg);
        border-radius: 55% 45% 42% 58% / 62% 38% 58% 42%;
        opacity: 0.7;
    }
}
@keyframes hero-liquid-drift {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
        border-radius: 60% 40% 48% 52% / 45% 55% 45% 55%;
        opacity: 0.52;
    }
    33% {
        transform: translate3d(-14%, 11%, 0) scale(1.16) rotate(-6deg);
        border-radius: 40% 60% 55% 45% / 62% 38% 60% 40%;
        opacity: 0.76;
    }
    66% {
        transform: translate3d(11%, -10%, 0) scale(0.86) rotate(8deg);
        border-radius: 55% 45% 38% 62% / 40% 60% 45% 55%;
        opacity: 0.46;
    }
}
@keyframes hero-liquid-swim {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
        border-radius: 48% 52% 45% 55% / 55% 45% 55% 45%;
        opacity: 0.48;
    }
    20% {
        transform: translate3d(-11%, 8%, 0) scale(1.12) rotate(7deg);
        border-radius: 62% 38% 55% 45% / 42% 58% 40% 60%;
        opacity: 0.72;
    }
    45% {
        transform: translate3d(8%, -13%, 0) scale(0.9) rotate(-5deg);
        border-radius: 40% 60% 42% 58% / 58% 42% 55% 45%;
        opacity: 0.42;
    }
    70% {
        transform: translate3d(13%, 8%, 0) scale(1.08) rotate(6deg);
        border-radius: 52% 48% 60% 40% / 45% 55% 42% 58%;
        opacity: 0.68;
    }
}
.hero-lux::after {
    /* خط طلایی ظریف پایین هیرو */
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    height: 1px;
    z-index: 3;
    background: linear-gradient(90deg, transparent, rgba(var(--gold-light-rgb), 0.55), transparent);
}
.hero-lux-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.82rem;
    letter-spacing: 2px;
    color: var(--gold-light);
    margin-bottom: 1.1rem;
    text-transform: uppercase;
}
.eyebrow-line { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-light)); }
.eyebrow-line:last-child { background: linear-gradient(90deg, var(--gold-light), transparent); }

.hero-lux h1 { font-size: 3.1rem; line-height: 1.35; margin-bottom: 1.1rem; font-weight: 800; }
.shimmer-text {
    background: linear-gradient(110deg, #a8842a 20%, #f3dc8e 38%, #fff3c9 50%, #f3dc8e 62%, #a8842a 80%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 4.2s linear infinite;
}
@keyframes shimmer { to { background-position: -220% center; } }

.hero-lux p { max-width: 32rem; opacity: 0.78; margin-bottom: 1.9rem; font-size: 1.02rem; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero-actions .btn {
    border-radius: var(--radius-btn);
}
.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(var(--gold-light-rgb), 0.45);
    color: var(--gold-light);
    backdrop-filter: blur(4px);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
    background: rgba(var(--gold-light-rgb), 0.14);
    border-color: var(--gold-light);
    color: var(--gold-light);
}

.hero-stats { display: flex; align-items: center; gap: 1.3rem; margin-top: 2.3rem; flex-wrap: wrap; }
.hero-stat strong { display: block; color: var(--gold-light); font-size: 1.02rem; }
.hero-stat span { font-size: 0.78rem; opacity: 0.6; }
.hero-stat-sep { width: 1px; height: 34px; background: linear-gradient(180deg, transparent, rgba(var(--gold-light-rgb), 0.5), transparent); }

/* قاب گنبدی تصویر */
.hero-lux-visual { position: relative; justify-self: center; }
.hero-frame {
    width: min(340px, 78vw);
    aspect-ratio: 3 / 4;
    border-radius: 999px 999px var(--radius) var(--radius);
    overflow: hidden;
    border: 1px solid rgba(var(--gold-light-rgb), 0.55);
    outline: 1px solid rgba(var(--gold-light-rgb), 0.2);
    outline-offset: 9px;
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.55),
        0 0 90px rgba(201, 165, 68, 0.22);
    position: relative;
}
.hero-frame::after {
    /* برق ظریف روی شیشه قاب */
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(200deg, rgba(255, 245, 210, 0.14), transparent 38%);
    pointer-events: none;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
/* اسلایدهای هیرو: روی هم و محو شدن نرم (بدون کنترل دستی) */
.hero-frame .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.hero-frame .hero-slide.active { opacity: 1; }

.hero-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(18, 14, 5, 0.88);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--gold-light-rgb), 0.5);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-size: 0.78rem;
    color: #f0e6c8;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    animation: chip-float 5s ease-in-out infinite;
}
.hero-chip strong { color: var(--gold-light); font-size: 0.88rem; white-space: nowrap; }
.hero-chip-price {
    top: 12%;
    inset-inline-start: -14%;
    padding: 0.7rem 1.3rem;
    font-size: 0.92rem;
    border-width: 1.5px;
}
.hero-chip-price strong { font-size: 1.12rem; }
.hero-chip-badge { bottom: 9%; inset-inline-end: -8%; animation-delay: 2.5s; color: var(--gold-light); font-weight: 600; }
.chip-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #7ee2a0;
    box-shadow: 0 0 8px #7ee2a0;
    animation: pulse 2s infinite;
}
.chip-label { opacity: 0.7; white-space: nowrap; }
@keyframes chip-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

/* جرقه‌های شناور */
.lux-spark {
    position: absolute;
    z-index: 1;
    color: var(--gold-light);
    opacity: 0.4;
    animation: spark-float 7s ease-in-out infinite;
    user-select: none;
    pointer-events: none;
}
.lux-spark.s1 { top: 14%; inset-inline-start: 6%; font-size: 1rem; }
.lux-spark.s2 { top: 66%; inset-inline-start: 42%; font-size: 0.7rem; animation-delay: 1.6s; }
.lux-spark.s3 { top: 22%; inset-inline-end: 8%; font-size: 1.25rem; animation-delay: 3.2s; }
.lux-spark.s4 { bottom: 12%; inset-inline-start: 16%; font-size: 0.85rem; animation-delay: 4.8s; }
@keyframes spark-float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.35; }
    50% { transform: translateY(-16px) scale(1.25); opacity: 0.75; }
}

/* ---------- دکمه‌ها ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1.6rem;
    border-radius: var(--radius-btn);
    border: none;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
}
.btn-gold {
    background: var(--gold-grad);
    color: #241a02;
    box-shadow: 0 4px 18px rgba(var(--gold-rgb), 0.35);
}
.btn-gold:hover,
.btn-gold:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(var(--gold-rgb), 0.45);
    background: var(--gold-grad);
    color: #241a02;
}
.btn-outline {
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold-dark);
}
.btn-outline:hover,
.btn-outline:focus-visible {
    background: rgba(var(--gold-rgb), 0.1);
    border-color: var(--gold);
    color: var(--gold-dark);
}
.hero .btn-outline { color: var(--gold-light); border-color: rgba(var(--gold-light-rgb), 0.6); }
.hero .btn-outline:hover,
.hero .btn-outline:focus-visible {
    color: var(--gold-light);
    background: rgba(var(--gold-light-rgb), 0.14);
    border-color: var(--gold-light);
}
.btn-sm { padding: 0.4rem 1.05rem; font-size: 0.85rem; }
.btn-lg { padding: 0.85rem 2.4rem; font-size: 1.05rem; }
.btn-link { background: none; border: none; font-family: inherit; cursor: pointer; font-size: 0.9rem; padding: 0.3rem 0.2rem; }
.btn-link:hover { text-decoration: underline; }

/* ---------- تابلو قیمت ---------- */
.price-board { margin-top: -2.2rem; position: relative; z-index: 5; }
.price-board .container {
    display: flex;
    justify-content: center;
}
.price-card {
    width: 100%;
    max-width: 60%;
    margin-inline: auto;
    background:
        linear-gradient(145deg, rgba(255, 252, 245, 0.88) 0%, rgba(252, 246, 230, 0.72) 48%, rgba(248, 240, 218, 0.82) 100%);
    border: 1px solid rgba(var(--gold-rgb), 0.42);
    border-radius: 18px;
    box-shadow:
        0 18px 48px rgba(40, 30, 5, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.35) inset,
        0 1px 0 rgba(255, 248, 230, 0.7) inset;
    backdrop-filter: blur(18px) saturate(1.35);
    -webkit-backdrop-filter: blur(18px) saturate(1.35);
    padding: 1.55rem 2rem 1.55rem 1.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.1rem 1.5rem;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.price-card::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 12%;
    bottom: 12%;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(var(--gold-light-rgb), 0.15), var(--gold-light) 35%, var(--gold) 65%, rgba(var(--gold-rgb), 0.2));
    box-shadow: 0 0 14px rgba(var(--gold-rgb), 0.45);
    z-index: 1;
}
.price-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 80% at 100% 0%, rgba(var(--gold-light-rgb), 0.18), transparent 55%),
        radial-gradient(ellipse 45% 60% at 0% 100%, rgba(var(--gold-rgb), 0.12), transparent 50%);
    z-index: 0;
}
.price-card-sheen {
    position: absolute;
    inset: -40% -30%;
    background: linear-gradient(
        115deg,
        transparent 35%,
        rgba(255, 250, 235, 0.45) 48%,
        rgba(243, 220, 142, 0.22) 52%,
        transparent 65%
    );
    animation: price-glass-sheen 7.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}
@keyframes price-glass-sheen {
    0%, 100% { transform: translateX(18%) rotate(8deg); opacity: 0.35; }
    50% { transform: translateX(-22%) rotate(8deg); opacity: 0.7; }
}
.price-card-meta,
.price-value {
    position: relative;
    z-index: 1;
}
.price-card-label {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}
.price-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0.55);
    animation: price-live-pulse 2.2s ease-out infinite;
    flex-shrink: 0;
}
@keyframes price-live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(var(--gold-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0); }
}
.price-card h2 {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.2px;
    color: var(--text);
}
.price-card-updated {
    margin-top: 0.35rem;
    font-size: 0.78rem;
    padding-inline-start: 1.1rem;
}
.price-value { text-align: end; }
.price-value span {
    display: block;
    font-size: clamp(1.55rem, 2.4vw, 2.05rem);
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1.25;
    background: linear-gradient(115deg, var(--gold-dark) 10%, var(--gold) 35%, var(--gold-light) 50%, var(--gold) 65%, var(--gold-dark) 90%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 5.5s linear infinite;
}
.price-value small {
    display: block;
    margin-top: 0.2rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 500;
}

/* ---------- نوار شبکه‌های اجتماعی ---------- */
.social-strip { padding: 2.2rem 0 0; }
.social-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    flex-wrap: wrap;
}
.social-box-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}
.social-box-title::after {
    content: '';
    width: 36px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
}
.social-links { display: flex; gap: 0.85rem; }
.social-link {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--gold-grad);
    box-shadow: 0 6px 18px rgba(var(--gold-rgb), 0.28);
    transition: transform 0.25s, box-shadow 0.25s, filter 0.25s;
}
.social-link:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 12px 26px rgba(var(--gold-rgb), 0.42);
    filter: brightness(1.08);
}

/* ---------- نمودار و ماشین‌حساب ---------- */
/* ---------- صفحه قیمت طلا ---------- */
.gp-hero {
    background: linear-gradient(165deg, var(--dark) 0%, var(--dark) 45%, var(--dark-2) 100%);
    color: rgba(var(--gold-light-rgb), 0.95);
    text-align: center;
    padding: 3rem 0 2.6rem;
    position: relative;
    overflow: hidden;
}
.gp-hero > .container,
.custom-order-hero > .container {
    position: relative;
    z-index: 2;
}
.gp-hero .hero-eyebrow { justify-content: center; color: var(--gold-light); }
.gp-hero h1 {
    font-size: 1.7rem;
    font-weight: 800;
    margin: 0.9rem 0 1.3rem;
}
.gp-price {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(var(--gold-light-rgb), 0.4);
    border-radius: 999px;
    padding: 0.8rem 1.6rem;
}
.gp-price strong {
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--gold-light);
}
.gp-price small { color: rgba(246, 239, 220, 0.6); font-size: 0.85rem; }
.gp-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.1rem;
}
.gp-updated { font-size: 0.8rem; color: rgba(246, 239, 220, 0.55); }
.gp-note-section { padding-top: 0; }
.gp-note {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.6rem 1.8rem;
    text-align: center;
}
.gp-note h2 { font-size: 1.1rem; margin-bottom: 0.7rem; }
.gp-note p { color: var(--text-muted); font-size: 0.9rem; line-height: 2; max-width: 640px; margin: 0 auto 1.1rem; }

.tools-section { padding-top: 2.6rem; }
.tools-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.4rem; align-items: stretch; }
.chart-card, .calc-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem 1.6rem;
}
.chart-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.chart-head h2 { font-size: 1.08rem; font-weight: 800; }
.chg-badge {
    font-size: 0.82rem;
    font-weight: 800;
    border-radius: 999px;
    padding: 0.2rem 0.75rem;
    white-space: nowrap;
}
.chg-up { background: #eafaf0; color: var(--success); }
.chg-down { background: #fdeaea; color: var(--danger); }
.chart-wrap { width: 100%; }
.chart-svg { width: 100%; height: 190px; display: block; }
.chart-area-stop-top { stop-color: rgba(var(--gold-rgb), 0.45); }
.chart-area-stop-bot { stop-color: rgba(var(--gold-rgb), 0.02); }
.chart-line { fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.chart-dot { fill: var(--gold-light); stroke: var(--gold-dark); stroke-width: 2; }
.chart-pt:hover { fill: rgba(var(--gold-rgb), 0.25); }
.chart-range {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    flex-wrap: wrap;
}
.chart-minmax { text-align: center; }

.calc-card h2 { font-size: 1.08rem; font-weight: 800; margin-bottom: 0.3rem; }
.calc-card > p { margin-bottom: 1.1rem; }
.calc-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin-bottom: 1.1rem; }
.calc-form label { font-size: 0.8rem; color: var(--text-muted); display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.calc-form input {
    width: 100%;
    min-width: 0;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    text-align: center;
    background: var(--bg);
}
.calc-form input:focus { outline: none; border-color: var(--gold); }
.calc-result { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.calc-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 1rem;
    font-size: 0.86rem;
    border-bottom: 1px dashed var(--border);
}
.calc-row:last-child { border-bottom: none; }
.calc-total { background: var(--panel); font-weight: 800; color: var(--gold-dark); font-size: 1rem; }

/* ---------- استوری‌ها ---------- */
.stories-section { padding-bottom: 3rem; }
.stories-section .section-title { margin-bottom: 1.5rem; }
.stories-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.stories-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    padding: 0.4rem 0 0.6rem;
    animation: stories-scroll var(--dur, 35s) linear infinite;
}
.stories-marquee:hover .stories-track { animation-play-state: paused; }
@keyframes stories-scroll { to { transform: translateX(50%); } }

.story-card {
    width: 168px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}
.story-ring {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 15;
    border-radius: 18px;
    overflow: hidden;
    padding: 3px;
    background: linear-gradient(140deg, #e5c463, #b08d2e 40%, #f3dc8e 70%, #8e6f1c);
    box-shadow: 0 8px 22px rgba(40, 30, 5, 0.16);
    transition: transform 0.3s, box-shadow 0.3s;
}
.story-card:hover .story-ring { transform: translateY(-5px) scale(1.02); box-shadow: 0 14px 30px rgba(var(--gold-rgb), 0.35); }
.story-ring img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}
.story-title { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }

/* نمایشگر تمام‌صفحه استوری */
.story-viewer {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(10, 8, 3, 0.96);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.story-viewer[hidden] { display: none; }
.story-viewer img#sv-img,
.story-viewer video#sv-video {
    max-width: min(92vw, 440px);
    max-height: 86vh;
    border-radius: 16px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(var(--gold-light-rgb), 0.25);
    object-fit: contain;
    background: #000;
}
/* قانون سراسری img{display:block} صفت hidden را بی‌اثر می‌کند؛ اینجا صریح مخفی کن */
.story-viewer img#sv-img[hidden],
.story-viewer video#sv-video[hidden] { display: none !important; }
.story-viewer-bar {
    position: absolute;
    top: calc(0.9rem + env(safe-area-inset-top));
    inset-inline: 1rem;
    display: flex;
    gap: 5px;
    z-index: 2;
}
.sv-seg {
    flex: 1;
    height: 3px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.25);
    overflow: hidden;
}
.sv-seg i {
    display: block;
    width: 0;
    height: 100%;
    background: var(--gold-light);
    border-radius: 3px;
}
.sv-seg.done i { width: 100%; }
.sv-seg.active i { animation: sv-progress var(--sv-dur, 5s) linear forwards; }
@keyframes sv-progress { from { width: 0; } to { width: 100%; } }
.sv-sound {
    position: absolute;
    top: calc(1.6rem + env(safe-area-inset-top));
    inset-inline-start: 1.2rem;
    z-index: 3;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: 0.2s;
}
.sv-sound:hover { background: rgba(255, 255, 255, 0.25); }
.sv-sound[hidden] { display: none !important; }
.sv-sound svg[hidden] { display: none !important; }
.sv-swipe-hint {
    display: none;
    position: absolute;
    bottom: calc(3.4rem + env(safe-area-inset-bottom));
    inset-inline: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.72rem;
    z-index: 2;
    pointer-events: none;
}
@media (hover: none) and (pointer: coarse) {
    .sv-swipe-hint { display: block; animation: hint-fade 4s ease forwards; }
}
@keyframes hint-fade { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
.story-ring { position: relative; }
.story-ring video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    display: block;
    pointer-events: none;
}
.story-play {
    position: absolute;
    bottom: 7px;
    inset-inline-end: 7px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(10, 8, 3, 0.65);
    color: var(--gold-light);
    backdrop-filter: blur(4px);
    pointer-events: none;
}
.sv-close {
    position: absolute;
    top: calc(1.6rem + env(safe-area-inset-top));
    inset-inline-end: 1.2rem;
    z-index: 3;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: 0.2s;
}
.sv-close:hover { background: rgba(255, 255, 255, 0.25); }
.sv-title {
    position: absolute;
    bottom: calc(1.6rem + env(safe-area-inset-bottom));
    inset-inline: 1rem;
    text-align: center;
    color: #f3e9cd;
    font-weight: 700;
    font-size: 0.95rem;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}
.sv-nav {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 34%;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1;
}
.sv-prev { inset-inline-start: 0; }
.sv-next { inset-inline-end: 0; }

/* ---------- بخش‌ها ---------- */
.section { padding: 3.8rem 0; }
.section-alt { background: var(--section-alt-bg); }
.section-sub { color: var(--text-muted); font-size: 0.9rem; margin: -1.6rem 0 1.6rem; }

/* ---------- محصولات مناسب هدیه (بازه قیمتی) ---------- */
.gift-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gift-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem 1rem 1.2rem;
    transition: 0.25s;
}
.gift-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 12px 30px rgba(140, 105, 20, 0.14); }
.gift-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(150deg, #fdf6e3, #f3e3b5);
    color: var(--gold-dark);
    border: 1px solid rgba(201, 165, 68, 0.35);
}
.gift-card strong { font-size: 1rem; font-weight: 800; }
.gift-cta { font-size: 0.78rem; color: var(--gold-dark); font-weight: 600; }

/* ---------- کالکشن‌ها (زنانه / مردانه / کودکانه) ---------- */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
    padding-block: 0.4rem 0.6rem;
}
.collection-card {
    position: relative;
    min-height: 0;
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.collection-card:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 8px;
}

/* --- طرح قدیم: کارت تصویری با اورلی --- */
.collection-card-classic {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
    background: linear-gradient(150deg, #f7edd4, #e6d4a4);
}
.collection-card-classic > img,
.collection-card-classic > .collection-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.collection-card-classic > .collection-fallback {
    border-radius: 0;
    aspect-ratio: auto;
    width: 100%;
    opacity: 1;
    box-shadow: none;
}
.collection-card-classic:hover > img { transform: scale(1.06); }
.collection-card-classic .collection-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(10deg, rgba(13, 10, 4, 0.78) 0%, rgba(13, 10, 4, 0.15) 55%, transparent 100%);
    pointer-events: none;
}
.collection-card-classic .collection-body {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    color: #fff;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
}
.collection-card-classic .collection-body strong {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gold-light);
}
.collection-card-classic .collection-body span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
}

/* --- طرح جدید: کارت قوسی لوکس --- */
.collection-grid--arched {
    width: 60%;
    max-width: 720px;
    margin-inline: auto;
    gap: 2rem 1.75rem;
}
.collection-card-arched {
    display: flex;
    flex-direction: column;
    border-radius: 120px 120px 16px 16px;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    aspect-ratio: auto;
}
.collection-card-arched:hover { transform: translateY(-6px) scale(1.015); }
.collection-frame {
    position: absolute;
    inset: -7px;
    border: 1px solid rgba(var(--gold-rgb), 0.38);
    border-radius: 128px 128px 22px 22px;
    pointer-events: none;
    z-index: 0;
}
.collection-sparkle {
    position: absolute;
    z-index: 3;
    font-size: 0.55rem;
    line-height: 1;
    color: rgba(var(--gold-rgb), 0.7);
    pointer-events: none;
    user-select: none;
}
.collection-sparkle--top {
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
}
.collection-sparkle--br {
    bottom: -10px;
    inset-inline-start: -8px;
    font-size: 0.48rem;
    opacity: 0.85;
}
.collection-arch {
    position: relative;
    z-index: 1;
    display: block;
    aspect-ratio: 1 / 0.88;
    border-radius: 120px 120px 0 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 70% at 50% 35%, #fff9eb 0%, transparent 65%),
        linear-gradient(165deg, #f7edd4 0%, #efe0b8 42%, #e6d4a4 100%);
}
.collection-wave {
    position: absolute;
    inset: -12% -20%;
    z-index: 2;
    opacity: 0.28;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' preserveAspectRatio='none'%3E%3Cpath fill='none' stroke='%23c9a544' stroke-opacity='0.22' stroke-width='1.2' d='M-20 80c40-30 80 30 120 0s80 30 120 0 80 30 120 0 80 30 120 0'/%3E%3Cpath fill='none' stroke='%23b08d2e' stroke-opacity='0.16' stroke-width='1.1' d='M-20 130c45-28 85 28 130 0s85 28 130 0 85 28 130 0 85 28 130 0'/%3E%3Cpath fill='none' stroke='%23c9a544' stroke-opacity='0.2' stroke-width='1.15' d='M-20 180c40-26 80 26 120 0s80 26 120 0 80 26 120 0 80 26 120 0'/%3E%3Cpath fill='none' stroke='%238e6f1c' stroke-opacity='0.12' stroke-width='1' d='M-20 230c48-30 90 30 140 0s90 30 140 0 90 30 140 0'/%3E%3Cpath fill='none' stroke='%23c9a544' stroke-opacity='0.18' stroke-width='1.1' d='M-20 280c42-24 82 24 124 0s82 24 124 0 82 24 124 0 82 24 124 0'/%3E%3Cpath fill='none' stroke='%23b08d2e' stroke-opacity='0.14' stroke-width='1' d='M-20 330c46-28 88 28 134 0s88 28 134 0 88 28 134 0'/%3E%3C/svg%3E");
    background-size: 110% 110%;
    background-position: 50% 40%;
    animation: collection-wave-drift 14s ease-in-out infinite alternate;
    transition: transform 0.7s ease, opacity 0.45s ease;
}
.collection-card-arched:hover .collection-wave {
    transform: scale(1.06) translateY(-4px);
    opacity: 0.4;
    animation-duration: 8s;
}
@keyframes collection-wave-drift {
    from { background-position: 42% 38%; }
    to { background-position: 58% 46%; }
}
.collection-arch img,
.collection-arch .collection-fallback {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    border-radius: 0;
    aspect-ratio: auto;
    opacity: 1;
    box-shadow: none;
    filter: none;
    transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.collection-card-arched:hover .collection-arch img { transform: scale(1.05); }
.collection-card-arched .collection-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.85rem 0.95rem 0.9rem;
    background: #fffcf6;
    border: 1px solid rgba(236, 229, 211, 0.9);
    border-top: none;
    border-radius: 0 0 16px 16px;
    color: var(--text);
    text-align: start;
    box-shadow: 0 10px 28px rgba(40, 30, 5, 0.06);
}
.collection-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}
.collection-card-arched .collection-body strong {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 0;
    line-height: 1.35;
}
.collection-count {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
}
.collection-cta {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--gold-grad);
    box-shadow: 0 6px 16px rgba(var(--gold-rgb), 0.35);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.collection-card-arched:hover .collection-cta {
    transform: translateX(-3px);
    box-shadow: 0 8px 20px rgba(var(--gold-rgb), 0.45);
}
.collection-cta svg { display: block; }

@media (prefers-reduced-motion: reduce) {
    .collection-wave { animation: none; }
    .collection-card,
    .collection-arch img,
    .collection-cta,
    .collection-wave { transition: none; }
}
.section-title {
    font-size: 1.55rem;
    font-weight: 800;
    margin-bottom: 2.2rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.section-title::before {
    content: '✦';
    font-size: 1rem;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- دسته‌بندی (کاروسل افقی) ---------- */
.cat-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.cat-track {
    display: flex;
    gap: 0.9rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.4rem 0.2rem 0.8rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex: 1;
}
.cat-track::-webkit-scrollbar { display: none; }
.cat-card {
    flex: 0 0 calc((100% - 2.7rem) / 4);
    min-width: 140px;
    scroll-snap-align: start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.2rem 0.8rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.92rem;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}
.cat-card::before {
    content: '';
    position: absolute;
    top: -46px;
    inset-inline: 0;
    height: 90px;
    background: radial-gradient(ellipse at top, rgba(201, 165, 68, 0.22), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}
.cat-card:hover { border-color: rgba(var(--gold-rgb), 0.55); transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.cat-card:hover::before { opacity: 1; }
.cat-nav {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--gold-dark);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: 0.2s;
    z-index: 2;
    display: grid;
    place-items: center;
    padding: 0;
}
.cat-nav::before {
    font-family: inherit;
    font-weight: 700;
    speak: never;
}
/*
 * جهت آیکون = جهت حرکت محتوا (نه mirroring اضافه برای RTL).
 * در RTL دکمهٔ prev سمت راست است با ‹ → محتوا به چپ می‌رود (به‌سوی شروع).
 * دکمهٔ next سمت چپ با › → محتوا به راست می‌رود (به‌سوی انتها).
 */
.cat-nav-prev::before { content: '‹'; }
.cat-nav-next::before { content: '›'; }
.cat-nav:hover { background: var(--dark); color: var(--gold-light); border-color: var(--dark); }
.cat-nav:disabled { opacity: 0.35; cursor: default; pointer-events: none; }
.cat-nav[hidden] { display: none; }
.cat-thumb {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--media-placeholder);
    border: 2px solid rgba(201, 165, 68, 0.45);
    outline: 1px solid rgba(201, 165, 68, 0.18);
    outline-offset: 4px;
    position: relative;
    z-index: 1;
    transition: 0.3s;
}
.cat-card:hover .cat-thumb {
    border-color: var(--gold);
    outline-color: rgba(201, 165, 68, 0.45);
    box-shadow: 0 8px 22px rgba(var(--gold-rgb), 0.3);
}
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.cat-card:hover .cat-thumb img { transform: scale(1.14); }
.cat-icon {
    font-size: 1.6rem;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.cat-name { position: relative; z-index: 1; }
.cat-cta {
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--gold-dark);
    opacity: 0;
    transform: translateY(4px);
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.cat-card:hover .cat-cta { opacity: 1; transform: translateY(0); }
.cat-arrow { transition: transform 0.3s; display: inline-block; }
.cat-card:hover .cat-arrow { transform: translateX(-3px); }
.collection-fallback {
    position: relative;
    z-index: 1;
    display: block;
    width: 42%;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, #f3e4b4, transparent 55%),
        linear-gradient(145deg, #c9a544, #8e6f1c);
    opacity: 0.85;
    box-shadow: 0 10px 22px rgba(40, 30, 5, 0.16);
}

/* ---------- دسته‌بندی قوسی (هم‌سبک کالکشن arched) ---------- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
    padding-block: 0.4rem 0.6rem;
}
.category-grid--arched {
    width: 60%;
    max-width: 720px;
    margin-inline: auto;
    gap: 2rem 1.75rem;
}

/* کاروسل بی‌نهایت آرام — دسته‌بندی قوسی */
.category-marquee {
    position: relative;
    overflow: hidden;
    margin-inline: -0.25rem;
    padding-block: 0.55rem 0.9rem;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}
.category-marquee-track {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 1.5rem;
    width: max-content;
    will-change: transform;
    backface-visibility: hidden;
}
.category-marquee .category-card-arched {
    flex: 0 0 clamp(148px, 18vw, 200px);
    width: clamp(148px, 18vw, 200px);
}
.category-marquee .category-card-arched:hover {
    transform: translateY(-4px) scale(1.01);
}
@media (prefers-reduced-motion: reduce) {
    .category-marquee {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -webkit-mask-image: none;
        mask-image: none;
    }
    .category-marquee::-webkit-scrollbar { display: none; }
    .category-marquee-track {
        will-change: auto;
    }
}

.category-card {
    position: relative;
    min-height: 0;
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.category-card:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 8px;
}
.category-card-arched {
    display: flex;
    flex-direction: column;
    border-radius: 120px 120px 16px 16px;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    aspect-ratio: auto;
}
.category-card-arched:hover { transform: translateY(-6px) scale(1.015); }
.category-frame {
    position: absolute;
    inset: -7px;
    border: 1px solid rgba(var(--gold-rgb), 0.38);
    border-radius: 128px 128px 22px 22px;
    pointer-events: none;
    z-index: 0;
}
.category-sparkle {
    position: absolute;
    z-index: 3;
    font-size: 0.55rem;
    line-height: 1;
    color: rgba(var(--gold-rgb), 0.7);
    pointer-events: none;
    user-select: none;
}
.category-sparkle--top {
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
}
.category-sparkle--br {
    bottom: -10px;
    inset-inline-start: -8px;
    font-size: 0.48rem;
    opacity: 0.85;
}
.category-arch {
    position: relative;
    z-index: 1;
    display: block;
    aspect-ratio: 1 / 0.88;
    border-radius: 120px 120px 0 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 70% at 50% 35%, #fff9eb 0%, transparent 65%),
        linear-gradient(165deg, #f7edd4 0%, #efe0b8 42%, #e6d4a4 100%);
}
.category-wave {
    position: absolute;
    inset: -12% -20%;
    z-index: 2;
    opacity: 0.28;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' preserveAspectRatio='none'%3E%3Cpath fill='none' stroke='%23c9a544' stroke-opacity='0.22' stroke-width='1.2' d='M-20 80c40-30 80 30 120 0s80 30 120 0 80 30 120 0 80 30 120 0'/%3E%3Cpath fill='none' stroke='%23b08d2e' stroke-opacity='0.16' stroke-width='1.1' d='M-20 130c45-28 85 28 130 0s85 28 130 0 85 28 130 0 85 28 130 0'/%3E%3Cpath fill='none' stroke='%23c9a544' stroke-opacity='0.2' stroke-width='1.15' d='M-20 180c40-26 80 26 120 0s80 26 120 0 80 26 120 0 80 26 120 0'/%3E%3Cpath fill='none' stroke='%238e6f1c' stroke-opacity='0.12' stroke-width='1' d='M-20 230c48-30 90 30 140 0s90 30 140 0 90 30 140 0'/%3E%3Cpath fill='none' stroke='%23c9a544' stroke-opacity='0.18' stroke-width='1.1' d='M-20 280c42-24 82 24 124 0s82 24 124 0 82 24 124 0 82 24 124 0'/%3E%3Cpath fill='none' stroke='%23b08d2e' stroke-opacity='0.14' stroke-width='1' d='M-20 330c46-28 88 28 134 0s88 28 134 0 88 28 134 0'/%3E%3C/svg%3E");
    background-size: 110% 110%;
    background-position: 50% 40%;
    animation: collection-wave-drift 14s ease-in-out infinite alternate;
    transition: transform 0.7s ease, opacity 0.45s ease;
}
.category-card-arched:hover .category-wave {
    transform: scale(1.06) translateY(-4px);
    opacity: 0.4;
    animation-duration: 8s;
}
.category-arch img,
.category-arch .category-fallback {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    border-radius: 0;
    aspect-ratio: auto;
    opacity: 1;
    box-shadow: none;
    filter: none;
    transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.category-card-arched:hover .category-arch img { transform: scale(1.05); }
.category-fallback {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0;
    background:
        radial-gradient(circle at 35% 30%, #f3e4b4, transparent 55%),
        linear-gradient(145deg, #c9a544, #8e6f1c);
    opacity: 0.85;
    box-shadow: none;
}
.category-card-arched .category-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.65rem;
    min-height: 4.55rem;
    padding: 0.85rem 0.95rem 0.9rem;
    background: #fffcf6;
    border: 1px solid rgba(236, 229, 211, 0.9);
    border-top: none;
    border-radius: 0 0 16px 16px;
    color: var(--text);
    text-align: start;
    box-shadow: 0 10px 28px rgba(40, 30, 5, 0.06);
}
.category-meta {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.2rem;
    min-width: 0;
    min-height: 100%;
}
.category-card-arched .category-body strong {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 0;
    line-height: 1.35;
    min-height: calc(1.35em * 2);
}
.category-count {
    margin-top: auto;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
}
.category-cta {
    flex: 0 0 auto;
    align-self: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--gold-grad);
    box-shadow: 0 6px 16px rgba(var(--gold-rgb), 0.35);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.category-card-arched:hover .category-cta {
    transform: translateX(-3px);
    box-shadow: 0 8px 20px rgba(var(--gold-rgb), 0.45);
}
.category-cta svg { display: block; }

@media (prefers-reduced-motion: reduce) {
    .category-wave { animation: none; }
    .category-card,
    .category-arch img,
    .category-cta,
    .category-wave { transition: none; }
}

/* ---------- کارت محصول ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.4rem; }
.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: 0.25s;
    display: flex;
    flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: rgba(var(--gold-rgb), 0.5); }
.product-image {
    aspect-ratio: 1;
    background: var(--media-placeholder);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .product-image img { transform: scale(1.06); }
.product-placeholder {
    font-size: 3.5rem;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.45;
}
.product-body { padding: 1rem 1.15rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 0.98rem; font-weight: 700; margin-bottom: 0.45rem; line-height: 1.6; }
.product-meta { display: flex; gap: 0.9rem; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.6rem; flex-wrap: wrap; align-items: center; }
.delivery-tag {
    background: #eef7f0;
    color: var(--success);
    padding: 0.05rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}
.product-price { font-weight: 800; color: var(--gold-dark); font-size: 1.08rem; margin-top: auto; }

/* ---------- کارت محصول مدل دایره‌ای (لوکس) ---------- */
.product-grid:has(.product-card-circle) {
    gap: 2rem 1.2rem;
    padding-top: 1.6rem;
}
.product-card-circle {
    --card-gold: var(--gold-light);
    --card-ink: var(--dark);
    background: transparent !important;
    border: none !important;
    border-radius: 0;
    overflow: visible;
    position: relative;
    padding-top: 0;
    align-items: stretch;
    text-align: center;
}
.product-card-circle:hover {
    transform: translateY(-5px);
    box-shadow: none !important;
    border: none !important;
}
.product-card-circle .product-body {
    position: relative;
    width: 100%;
    margin-top: 50%;
    background: var(--card-gold);
    border-radius: 0 0 24px 24px;
    padding: 0 0.7rem 0.85rem;
    align-items: stretch;
    box-shadow: none;
    gap: 0;
    flex: 1;
    overflow: visible;
}
/* دایره روی لبهٔ بالای مستطیل — قطر = عرض کارت */
.product-card-circle .product-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 7px solid var(--card-gold);
    box-shadow: none;
    z-index: 2;
    background: var(--card-gold);
    transform: translateY(-50%);
}
.product-card-circle:hover .product-image img { transform: scale(1.04); }
/* متن کاملاً زیر نیم‌دایرهٔ پایینی + فاصلهٔ امن */
.product-card-circle .product-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: calc(50% + 18px);
    gap: 0.08rem;
}
.product-card-circle .product-copy h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
    color: var(--card-ink);
    text-align: center;
    line-height: 1.35;
}
.product-card-circle .product-meta {
    justify-content: center;
    color: rgba(26, 20, 8, 0.72);
    font-size: 0.68rem;
    margin: 0.1rem 0 0;
    gap: 0.35rem;
    line-height: 1.3;
}
.product-card-circle .delivery-tag {
    background: rgba(26, 20, 8, 0.1);
    color: var(--card-ink);
    font-weight: 600;
    padding: 0 0.35rem;
    font-size: 0.65rem;
}
.product-card-circle .product-price {
    margin: 0.1rem 0 0.3rem;
    color: var(--card-ink);
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.25;
}
.product-card-circle .product-buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #141008;
    color: #f5edd8;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.35rem 1.15rem;
    border-radius: var(--radius-btn);
    transition: background 0.2s, transform 0.2s;
}
.product-card-circle:hover .product-buy-btn {
    background: #2a2110;
    transform: translateY(-1px);
}
.product-card-circle .badge-out {
    top: 12%;
    inset-inline-start: auto;
    inset-inline-end: 8%;
}
.product-card-circle .product-placeholder {
    font-size: 2.8rem;
}
/* ---------- اعتمادسازی ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.1rem; }
.trust-item {
    background: linear-gradient(178deg, #fffdf7 0%, #fbf5e5 100%);
    border: 1px solid rgba(201, 165, 68, 0.25);
    border-radius: var(--radius);
    padding: 1.9rem 1.3rem 1.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.trust-item::before {
    /* نوار طلایی بالای کارت */
    content: '';
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 3px;
    background: var(--gold-grad);
    transform: scaleX(0);
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.trust-item::after {
    /* هاله طلایی ملایم پشت آیکون */
    content: '';
    position: absolute;
    top: -55px;
    left: 50%;
    transform: translateX(-50%);
    width: 170px;
    height: 170px;
    background: radial-gradient(circle, rgba(var(--gold-light-rgb), 0.22), transparent 65%);
    pointer-events: none;
}
.trust-item:hover { border-color: rgba(var(--gold-rgb), 0.55); transform: translateY(-5px); box-shadow: 0 16px 36px rgba(140, 105, 20, 0.16); }
.trust-item:hover::before { transform: scaleX(1); }
.trust-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg, #fdf7e4, #f1e2ba);
    border: 1px solid rgba(201, 165, 68, 0.45);
    box-shadow: 0 0 0 6px rgba(201, 165, 68, 0.1);
    color: var(--gold-dark);
    margin-bottom: 0.7rem;
    position: relative;
    z-index: 1;
    transition: 0.35s;
}
.trust-item:hover .trust-icon {
    background: var(--gold-grad);
    color: #241a02;
    box-shadow: 0 0 0 6px rgba(201, 165, 68, 0.2), 0 10px 24px rgba(var(--gold-rgb), 0.35);
    transform: translateY(-3px) scale(1.05);
}
.trust-item strong { color: var(--text); font-size: 1rem; position: relative; z-index: 1; }
.trust-item strong::after {
    content: '';
    display: block;
    width: 26px;
    height: 2px;
    margin: 0.45rem auto 0;
    border-radius: 2px;
    background: var(--gold-grad);
    opacity: 0.7;
}
.trust-item > span:not(.trust-icon) { font-size: 0.84rem; color: var(--text-muted); line-height: 1.8; position: relative; z-index: 1; }

/* ورود مرحله‌ای: اول کارت، بعد آیکون با پرش، بعد متن‌ها */
.trust-item.reveal { transform: translateY(30px) scale(0.96); }
.trust-item.reveal.in-view { transform: none; }
.trust-item.reveal .trust-icon {
    opacity: 0;
    transform: scale(0.3) rotate(-12deg);
    transition: opacity 0.5s, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: calc(var(--d, 0ms) + 200ms);
}
.trust-item.reveal strong,
.trust-item.reveal > span:not(.trust-icon) {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: calc(var(--d, 0ms) + 320ms);
}
.trust-item.reveal > span:not(.trust-icon) { transition-delay: calc(var(--d, 0ms) + 400ms); }
.trust-item.reveal.in-view .trust-icon,
.trust-item.reveal.in-view strong,
.trust-item.reveal.in-view > span:not(.trust-icon) { opacity: 1; transform: none; }

/* ---------- فیلتر و جستجو (صفحه محصولات) ---------- */
.products-page .products-title { margin-bottom: 0.25rem; }
.products-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.4rem;
}
.products-count {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.products-clear {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--gold-dark);
    border-bottom: 1px solid transparent;
}
.products-clear:hover { border-bottom-color: var(--gold-dark); }

.products-filter {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.15rem 1.2rem 1.05rem;
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow);
}
.pf-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.6rem;
    align-items: stretch;
}
.pf-search input {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--bg);
    color: var(--text);
}
.pf-search input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.15);
}
.pf-search .btn {
    padding-inline: 1.35rem;
    white-space: nowrap;
}

.pf-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
}
@media (max-width: 1100px) {
    .pf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.pf-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    min-width: 0;
}
.pf-field select {
    width: 100%;
    padding: 0.62rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    background: var(--bg);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23857c68' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 0.75rem center;
    padding-inline-start: 0.75rem;
    padding-inline-end: 1.8rem;
}
.pf-field select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.15);
}

.pf-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 0.15rem;
    border-top: 1px solid var(--border);
}
.pf-actions .btn {
    min-width: 7.5rem;
    justify-content: center;
}

.products-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: -0.35rem 0 1.35rem;
}
.pf-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    background: rgba(var(--gold-rgb), 0.12);
    color: var(--gold-dark);
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid rgba(var(--gold-rgb), 0.28);
}

/* سازگاری با لینک‌های قدیمی */
.filter-bar { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-bar-collections { margin-top: -1rem; }
.filter-label { font-size: 0.83rem; color: var(--text-muted); align-self: center; }
.chip-remove { border-color: rgba(192, 57, 43, 0.35); color: var(--danger); }
.chip-remove:hover { border-color: var(--danger); color: var(--danger); background: #fdeaea; }
.filter-cats { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.chip {
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 0.86rem;
    font-weight: 500;
    transition: 0.2s;
}
.chip:hover { border-color: var(--gold); color: var(--gold-dark); }
.chip-active { background: var(--dark); color: var(--gold-light); border-color: var(--dark); }
.search-form { display: flex; gap: 0.5rem; margin-inline-start: auto; }
.search-form input {
    padding: 0.5rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-family: inherit;
    min-width: 200px;
    background: var(--surface);
}
.search-form input:focus { outline: none; border-color: var(--gold); }

/* ---------- صفحه محصول ---------- */
.breadcrumb { font-size: 0.84rem; color: var(--text-muted); margin-bottom: 1.6rem; }
.breadcrumb a:hover { color: var(--gold-dark); }
.product-detail { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; }
.product-detail-image {
    aspect-ratio: 1;
    background: var(--media-placeholder);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-image .product-placeholder { font-size: 6rem; }

/* گالری چندعکسه محصول */
.gallery-thumbs { display: flex; gap: 0.6rem; margin-top: 0.8rem; flex-wrap: wrap; }
.gallery-thumb {
    width: 66px;
    height: 66px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--border);
    padding: 0;
    background: var(--surface);
    cursor: pointer;
    transition: 0.2s;
    flex-shrink: 0;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { border-color: rgba(var(--gold-rgb), 0.55); }
.gallery-thumb.active { border-color: var(--gold); box-shadow: 0 4px 14px rgba(var(--gold-rgb), 0.3); }

/* باکس «خبرم کن» */
.alert-box {
    margin-top: 1.6rem;
    background: #fbf7ec;
    border: 1px dashed rgba(var(--gold-rgb), 0.45);
    border-radius: var(--radius);
    padding: 1.1rem 1.3rem;
}
.alert-box-title { display: block; font-size: 0.95rem; color: var(--gold-dark); margin-bottom: 0.2rem; }
.alert-box p { margin-bottom: 0.8rem; }
.alert-form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.alert-form input[type="tel"] {
    flex: 1;
    min-width: 160px;
    padding: 0.55rem 1rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-family: inherit;
    background: var(--surface);
}
.alert-form input[type="tel"]:focus { outline: none; border-color: var(--gold); }
.product-detail-info h1 { font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; }
.product-desc { color: var(--text-muted); margin-bottom: 1.6rem; font-size: 0.95rem; }
.spec-table {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--surface);
}
.spec-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.2rem; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.spec-row:last-child { border-bottom: none; }
.spec-total { background: var(--panel); font-weight: 800; color: var(--gold-dark); font-size: 1.08rem; }
.add-to-cart-form { display: flex; gap: 1rem; align-items: center; margin-top: 1.6rem; flex-wrap: wrap; }

/* ---------- جدول‌ها ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; font-size: 0.9rem; }
.data-table th {
    background: var(--section-alt-bg);
    padding: 0.85rem 1rem;
    text-align: start;
    font-weight: 700;
    white-space: nowrap;
    font-size: 0.84rem;
}
.data-table td { padding: 0.8rem 1rem; border-top: 1px solid var(--border); vertical-align: middle; }
.data-table a { color: var(--gold-dark); font-weight: 600; }
.qty-input { width: 65px; padding: 0.45rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: inherit; text-align: center; }

/* ---------- سبد و پرداخت ---------- */
.cart-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 1.3rem; flex-wrap: wrap; gap: 1rem; }
.cart-total { font-size: 1.15rem; }
.cart-total strong { color: var(--gold-dark); }

.checkout-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: start; }
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.7rem;
    box-shadow: var(--shadow);
}
.checkout-form h2, .order-summary h2 { font-size: 1.12rem; font-weight: 700; margin-bottom: 1.1rem; }
.checkout-form h2:not(:first-of-type) { margin-top: 1.6rem; }
.checkout-form label { display: block; margin-bottom: 1rem; font-size: 0.9rem; }
.checkout-form input[type="text"], .checkout-form textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    margin-top: 0.35rem;
    font-size: 0.95rem;
}
.checkout-form input:focus, .checkout-form textarea:focus { outline: none; border-color: var(--gold); }
.radio-label { display: flex !important; align-items: center; gap: 0.55rem; cursor: pointer; padding: 0.4rem 0; }
.radio-label input { accent-color: var(--gold-dark); width: 17px; height: 17px; }
.summary-row { display: flex; justify-content: space-between; gap: 0.8rem; padding: 0.55rem 0; font-size: 0.88rem; border-bottom: 1px dashed var(--border); }
.summary-total { font-weight: 800; font-size: 1.06rem; color: var(--gold-dark); border-bottom: none; margin-top: 0.5rem; }

/* ---------- موفقیت سفارش ---------- */
.success-box { max-width: 480px; margin: 0 auto; padding: 2.6rem 2rem; }
.success-icon {
    width: 68px; height: 68px;
    border-radius: 50%;
    background: var(--success);
    color: #fff;
    font-size: 2rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.3rem;
    box-shadow: 0 8px 24px rgba(30, 158, 90, 0.35);
}
.success-box h1 { font-size: 1.28rem; margin-bottom: 1rem; }
.success-box p { margin-bottom: 0.6rem; }
.success-box .btn { margin-top: 1.2rem; }
.card-info { background: var(--panel); border-radius: var(--radius-sm); padding: 1rem; margin: 1rem 0; }
.card-number { font-size: 1.2rem; font-weight: 800; letter-spacing: 2px; }

/* ---------- پیام‌ها ---------- */
.alert { border-radius: var(--radius-sm); padding: 0.95rem 1.2rem; margin-bottom: 1.5rem; font-size: 0.92rem; }
.alert-error { background: #fdeaea; color: var(--danger); border: 1px solid #f5c6c6; }
.alert-success { background: #eafaf0; color: var(--success); border: 1px solid #bde5cc; }
.empty-state { text-align: center; color: var(--text-muted); padding: 3.5rem 1rem; }
.empty-state a { color: var(--gold-dark); text-decoration: underline; }

/* ---------- نشان‌ها ---------- */
.badge {
    display: inline-block;
    padding: 0.18rem 0.75rem;
    border-radius: 999px;
    font-size: 0.77rem;
    font-weight: 600;
    background: #eee;
}
.badge-out { background: #fdeaea; color: var(--danger); position: absolute; top: 0.6rem; inset-inline-start: 0.6rem; }
.badge-new { background: #fff3cd; color: #8a6d00; }
.badge-confirmed { background: #d8ecff; color: #1c5f9e; }
.badge-sent { background: #e7dcff; color: #5b3aa0; }
.badge-done { background: #eafaf0; color: var(--success); }
.badge-canceled { background: #fdeaea; color: var(--danger); }
.badge-pay-unpaid { background: #fff3cd; color: #8a6d00; }
.badge-pay-receipt_uploaded { background: #d8ecff; color: #1c5f9e; }
.badge-pay-paid { background: #eafaf0; color: var(--success); }
.badge-pay-rejected { background: #fdeaea; color: var(--danger); }

/* ---------- پرداخت دستی، پیگیری سفارش و واتساپ ---------- */
.btn-whatsapp {
    background: #1fae54;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}
.btn-whatsapp:hover { background: #178f44; color: #fff; }
.checkout-mode-note {
    background: var(--panel);
    border: 1px solid rgba(201, 165, 68, 0.4);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.9;
}
.success-actions { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }
.track-form { max-width: 440px; margin: 0 auto; padding: 1.6rem; display: grid; gap: 1rem; }
.track-form label { display: grid; gap: 0.4rem; font-size: 0.92rem; }
.track-form input, .receipt-form input[type="file"] {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--surface);
}
.track-form input:focus { outline: none; border-color: var(--gold); }
.track-card { max-width: 640px; margin: 0 auto; padding: 1.6rem; }
.track-head { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1rem; }
.track-head h2 { font-size: 1.1rem; }
.track-badges { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.summary-rows { margin-bottom: 0.8rem; }
.track-note {
    background: var(--panel);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1.1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    line-height: 2;
}
.track-note-ok { background: #eafaf0; color: var(--success); }
.bank-value { font-weight: 800; letter-spacing: 1px; }
.receipt-thumb {
    max-width: 220px;
    max-height: 220px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(201, 165, 68, 0.35);
    display: block;
    margin: 0.4rem 0 1rem;
}
.receipt-form { display: grid; gap: 0.8rem; margin: 1rem 0; }
.receipt-form label { display: grid; gap: 0.4rem; font-size: 0.9rem; }
.order-actions { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; margin-top: 1rem; }
.payment-note-form { display: grid; gap: 0.6rem; margin-top: 1.2rem; max-width: 480px; }
.payment-note-form label { display: grid; gap: 0.4rem; font-size: 0.9rem; }
.payment-note-form button { justify-self: start; }

/* ---------- فوتر ---------- */
.site-footer {
    position: relative;
    background:
        radial-gradient(ellipse 60% 70% at 85% 0%, rgba(var(--gold-rgb), 0.12), transparent),
        linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 60%);
    color: rgba(var(--gold-light-rgb), 0.82);
    margin-top: 3rem;
    overflow: hidden;
}
.footer-glow {
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--gold-light-rgb), 0.65), transparent);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 2rem;
    padding: 2.2rem 1rem 1.7rem;
    position: relative;
}
.footer-brand-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.8rem; }
.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(var(--gold-light-rgb), 0.35), 0 8px 24px rgba(0, 0, 0, 0.45);
}
.footer-brand-head h3 { margin-bottom: 0.1rem; }
.footer-tagline { font-size: 0.76rem; opacity: 0.55; letter-spacing: 1px; }
.footer-brand > p { font-size: 0.85rem; line-height: 1.8; opacity: 0.8; max-width: 26rem; }
.footer-socials { display: flex; gap: 0.9rem; align-items: center; margin-inline-start: auto; }
.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    background: none !important;
    border: none;
    border-radius: 0;
    box-shadow: none !important;
    color: rgba(var(--gold-light-rgb), 0.9);
    opacity: 0.8;
    transition: 0.25s;
}
.footer-social svg { width: 21px; height: 21px; }
.footer-social:hover {
    opacity: 1;
    transform: translateY(-3px);
    color: var(--gold-light);
}
.footer-grid h3 {
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}
.footer-grid a { display: block; padding: 0.24rem 0; font-size: 0.9rem; transition: 0.2s; }
.footer-grid a:hover { color: var(--gold-light); padding-inline-start: 4px; }
.footer-grid p { font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer-contact { display: flex; align-items: center; gap: 0.55rem; }
.footer-contact svg { color: var(--gold-light); opacity: 0.8; flex-shrink: 0; }
.footer-contact a { display: inline; padding: 0; }
.footer-price {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.9rem;
    background: rgba(var(--gold-light-rgb), 0.08);
    border: 1px solid rgba(var(--gold-light-rgb), 0.3);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
}
.footer-price strong { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.2rem 0 1.6rem; font-size: 0.8rem; text-align: center; opacity: 0.65; position: relative; }
.footer-copy { line-height: 1.6; }
.footer-credit {
    margin-top: 0.35rem;
    font-size: 0.72rem;
    opacity: 0.9;
    line-height: 1.5;
}
.footer-credit a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(var(--gold-light-rgb), 0.25);
    transition: color 0.2s, border-color 0.2s;
}
.footer-credit a:hover {
    color: var(--gold-light);
    border-bottom-color: var(--gold-light);
}

/* ---------- سفارش ساخت طلا ---------- */
.custom-cta {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.4rem;
    padding: 2rem;
    border-radius: var(--radius);
    background: linear-gradient(145deg, var(--dark), var(--dark-2));
    color: rgba(var(--gold-light-rgb), 0.95);
    box-shadow: 0 18px 42px rgba(var(--gold-rgb), 0.18);
    border: 1px solid rgba(var(--gold-light-rgb), 0.25);
}
.custom-cta-icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    color: var(--gold-light);
    background: rgba(var(--gold-light-rgb), 0.08);
    border: 1px solid rgba(var(--gold-light-rgb), 0.25);
}
.custom-cta-copy > span { font-size: 0.78rem; color: var(--gold-light); }
.custom-cta h2 { margin: 0.3rem 0; font-size: 1.35rem; }
.custom-cta p { margin: 0; font-size: 0.86rem; color: rgba(var(--gold-light-rgb), 0.68); line-height: 1.9; }

.custom-order-hero {
    padding: 3.2rem 0;
    text-align: center;
    color: rgba(var(--gold-light-rgb), 0.95);
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 120%, rgba(var(--gold-rgb), 0.32), transparent 50%),
                linear-gradient(160deg, var(--dark), var(--dark-2));
}
.custom-order-hero .hero-eyebrow { justify-content: center; color: var(--gold-light); }
.custom-order-hero h1 { margin: 1rem 0 0.7rem; font-size: 2rem; }
.custom-order-hero p { max-width: 700px; margin: auto; color: rgba(var(--gold-light-rgb), 0.72); line-height: 2; }
.custom-order-layout { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 1.5rem; align-items: start; }
.custom-order-steps,
.custom-order-form-card {
    padding: 1.7rem;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.custom-order-steps h2,
.custom-order-form-card > h2 { font-size: 1.15rem; margin-bottom: 1.2rem; }
.custom-step { display: flex; gap: 0.9rem; align-items: flex-start; margin: 1.2rem 0; }
.custom-step > span {
    flex: 0 0 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--gold-dark);
    font-weight: 900;
    background: #f8edd0;
    border: 1px solid rgba(var(--gold-rgb), 0.3);
}
.custom-step div { display: flex; flex-direction: column; gap: 0.2rem; }
.custom-step small { color: var(--text-muted); line-height: 1.8; }
.custom-order-note {
    margin: 1.4rem 0 0;
    padding: 0.9rem;
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--text-muted);
    background: #faf6eb;
    border-radius: var(--radius-sm);
}
.custom-order-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.2rem; }
.custom-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.custom-order-form label { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.84rem; font-weight: 600; }
.custom-order-form input,
.custom-order-form select,
.custom-order-form textarea {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    font: inherit;
    color: var(--text);
}
.custom-order-form input:focus,
.custom-order-form select:focus,
.custom-order-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.1); }
.custom-upload {
    align-items: center;
    text-align: center;
    padding: 1.3rem;
    cursor: pointer;
    border: 1.5px dashed rgba(var(--gold-rgb), 0.45);
    border-radius: var(--radius-sm);
    background: #fdfaf2;
}
.custom-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.custom-upload-icon { font-size: 1.7rem; line-height: 1; color: var(--gold-dark); }
.custom-upload small,
.custom-file-count { font-size: 0.75rem; font-weight: 400; color: var(--text-muted); }
.custom-file-count { color: var(--gold-dark); font-weight: 700; }
.custom-success { padding: 2.2rem 1rem; text-align: center; }
.custom-success > span {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #eaf8ef;
    color: var(--success);
    font-size: 1.8rem;
}
.custom-success p { color: var(--text-muted); margin: 0.7rem auto 1.3rem; max-width: 430px; line-height: 1.9; }

/* ============ موبایل ============ */
@media (max-width: 820px) {
    body { padding-bottom: 0; overflow-x: hidden; } /* فاصله منوی پایین داخل فوتر تیره اعمال می‌شود نه بدنه */

    /* منوی پایین شناور — کپسول مرکزی شیشه مایع */
    .mobile-nav {
        display: flex;
        position: fixed;
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: max-content;
        max-width: calc(100% - 1.75rem);
        z-index: 100;
        align-items: center;
        justify-content: center;
        gap: 0.28rem;
        padding: 0.42rem 0.5rem;
        border-radius: 999px;
        border: 1px solid rgba(var(--gold-rgb), 0.32);
        background: color-mix(in srgb, var(--surface) 52%, transparent);
        backdrop-filter: blur(18px) saturate(1.45);
        -webkit-backdrop-filter: blur(18px) saturate(1.45);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.55),
            0 10px 36px rgba(40, 30, 5, 0.14),
            0 2px 10px rgba(40, 30, 5, 0.07);
    }
    .mobile-nav a {
        flex: none;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2.85rem;
        height: 2.85rem;
        padding: 0;
        gap: 0;
        border-radius: 50%;
        color: var(--text-muted);
        background: rgba(var(--gold-rgb), 0.07);
        font-size: 0;
        font-weight: 500;
        line-height: 0;
        transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
    }
    .mobile-nav a > span:not(.mobile-cart-wrap) {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    .mobile-nav a svg {
        width: 1.28rem;
        height: 1.28rem;
        flex-shrink: 0;
    }
    .mobile-nav a.active {
        color: var(--dark);
        font-weight: 700;
        background: var(--gold-grad);
        box-shadow: 0 4px 14px rgba(var(--gold-rgb), 0.42);
    }
    .mobile-nav a.active svg {
        color: var(--dark);
        stroke: var(--dark);
    }
    .mobile-nav .mobile-call {
        color: var(--text-muted);
    }
    .mobile-nav .mobile-call svg {
        background: none;
        color: inherit;
        fill: currentColor;
        border-radius: 0;
        padding: 0;
        width: 1.28rem;
        height: 1.28rem;
        margin-top: 0;
        box-shadow: none;
    }
    .mobile-cart-wrap {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 0;
    }
    .mobile-cart-badge {
        position: absolute;
        top: -0.45rem;
        inset-inline-end: -0.55rem;
        background: var(--gold-grad);
        color: var(--dark);
        font-size: 0.62rem;
        font-weight: 800;
        border-radius: 999px;
        padding: 0 0.35rem;
        line-height: 1.5;
    }
    .mobile-nav a.active .mobile-cart-badge {
        background: var(--dark);
        color: var(--gold-light);
    }

    [data-theme="dark"] .mobile-nav {
        background: color-mix(in srgb, var(--surface) 48%, transparent);
        border-color: rgba(var(--gold-light-rgb), 0.35);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.14),
            0 12px 40px rgba(0, 0, 0, 0.45),
            0 2px 10px rgba(0, 0, 0, 0.25);
    }
    [data-theme="dark"] .mobile-nav a {
        background: rgba(255, 255, 255, 0.08);
        color: var(--text-muted);
    }
    [data-theme="dark"] .mobile-nav a.active {
        color: var(--dark);
        background: var(--gold-grad);
        box-shadow: 0 4px 16px rgba(var(--gold-rgb), 0.5);
    }
    [data-theme="dark"] .mobile-nav a.active svg {
        color: var(--dark);
        stroke: var(--dark);
    }
    [data-theme="dark"] .mobile-nav .mobile-call svg {
        fill: currentColor;
    }

    /* هدر جمع‌وجور — منوی وسط حذف، منو در پایین صفحه است */
    .main-nav { display: none; }
    .cart-link .cart-text { display: none; }
    .cart-link {
        padding: 0.5rem 0.7rem;
    }
    .header-inner { gap: 0.8rem; padding: 0.85rem 1rem 0.8rem; }

    :root {
        --header-offset: 4.55rem;
        --radius-btn: 9px;
    }

    /* هدر شفاف — هم‌رنگ سکشن زیر */
    .site-header {
        background: transparent;
        border-bottom: none;
    }
    .site-header.scrolled {
        background: transparent;
        box-shadow: none;
    }
    /* درخشش طلایی اسم برند فقط روی هیرو تیره یا تم شب */
    body:has(.hero-lux) .logo-text strong,
    body:has(.gp-hero) .logo-text strong,
    body:has(.custom-order-hero) .logo-text strong,
    [data-theme="dark"] .logo-text strong {
        background: linear-gradient(110deg, #cfa94d 15%, #f3dc8e 35%, #fff7d6 50%, #f3dc8e 65%, #cfa94d 85%);
        background-size: 240% auto;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        animation: shimmer 5s linear infinite;
    }
    body:has(.hero-lux) .logo-text small,
    body:has(.gp-hero) .logo-text small,
    body:has(.custom-order-hero) .logo-text small,
    [data-theme="dark"] .logo-text small {
        color: rgba(246, 239, 220, 0.55);
        background: linear-gradient(110deg, rgba(246,239,220,0.45) 30%, rgba(255,243,201,0.95) 50%, rgba(246,239,220,0.45) 70%);
        background-size: 240% auto;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        animation: shimmer 5s linear infinite;
        animation-delay: 0.4s;
    }

    .hero-lux { margin-top: calc(-1 * var(--header-offset)); padding: calc(2.85rem + var(--header-offset)) 0 3.4rem; }
    main > .section:first-of-type {
        padding-top: calc(2.85rem + var(--header-offset));
    }
    main > .gp-hero {
        padding-top: calc(2.55rem + var(--header-offset));
    }
    main > .custom-order-hero {
        padding-top: calc(2.55rem + var(--header-offset));
    }
    .hero-lux-inner { grid-template-columns: 1fr; gap: 2.4rem; text-align: center; }
    .hero-lux h1 { font-size: 1.95rem; }
    .hero-lux p { font-size: 0.93rem; margin-inline: auto; }
    .hero-eyebrow { justify-content: center; }
    .hero-actions { justify-content: center; gap: 0.65rem; }
    .hero-actions .btn,
    .hero-actions .btn-lg {
        width: auto;
        flex: 1;
        padding: 0.52rem 1.15rem;
        font-size: 0.86rem;
        border-radius: var(--radius-btn);
    }
    .hero-stats { justify-content: center; gap: 0.9rem; margin-top: 1.8rem; }
    .hero-stat { text-align: center; }
    .hero-stat strong { font-size: 0.9rem; }
    .hero-stat span { font-size: 0.7rem; }
    .hero-lux-visual { order: -1; }
    .hero-frame { width: min(240px, 68vw); }
    .hero-chip { font-size: 0.7rem; padding: 0.4rem 0.8rem; }
    .hero-chip strong { font-size: 0.78rem; }
    .hero-chip-price { top: 6%; inset-inline-start: -6%; padding: 0.55rem 1rem; font-size: 0.8rem; }
    .hero-chip-price strong { font-size: 0.95rem; }
    .hero-chip-badge { bottom: 4%; inset-inline-end: -4%; }
    .lux-spark { display: none; }

    .cat-thumb { width: 68px; height: 68px; }
    .cat-cta { display: none; }
    .cat-card { flex: 0 0 calc((100% - 1.8rem) / 3); min-width: 108px; padding: 0.9rem 0.4rem; font-size: 0.8rem; }
    .cat-carousel { gap: 0.25rem; }
    .cat-nav {
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
        box-shadow: 0 2px 8px rgba(20, 16, 8, 0.12);
    }

    .gift-grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
    .gift-card { padding: 1.1rem 0.7rem 1rem; }
    .gift-icon { width: 46px; height: 46px; border-radius: 13px; }
    .gift-card strong { font-size: 0.88rem; }
    .collection-grid { grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
    .collection-grid--arched {
        width: 100%;
        max-width: none;
        gap: 1.2rem 1rem;
    }
    .collection-card-classic { aspect-ratio: 4 / 3; }
    .collection-card-classic .collection-body { padding: 0.75rem 0.7rem; }
    .collection-card-classic .collection-body strong { font-size: 0.85rem; }
    .collection-card-classic .collection-body span { font-size: 0.68rem; }
    .collection-card-arched { border-radius: 60px 60px 12px 12px; }
    .collection-frame { inset: -5px; border-radius: 66px 66px 16px 16px; }
    .collection-arch { border-radius: 60px 60px 0 0; aspect-ratio: 1 / 0.92; }
    .collection-card-arched .collection-body { padding: 0.6rem 0.5rem 0.65rem; gap: 0.35rem; border-radius: 0 0 12px 12px; }
    .collection-card-arched .collection-body strong { font-size: 0.72rem; }
    .collection-count { font-size: 0.62rem; }
    .collection-cta { width: 28px; height: 28px; }
    .collection-cta svg { width: 12px; height: 12px; }
    .collection-sparkle--top { font-size: 0.42rem; top: -9px; }
    .collection-sparkle--br { font-size: 0.38rem; }

    .category-grid { grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
    .category-grid--arched {
        width: 100%;
        max-width: none;
        gap: 1.2rem 1rem;
    }
    .category-marquee {
        margin-inline: 0;
        padding-block: 0.45rem 0.75rem;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
    }
    .category-marquee-track { gap: 0.95rem; }
    .category-marquee .category-card-arched {
        flex: 0 0 clamp(118px, 38vw, 148px);
        width: clamp(118px, 38vw, 148px);
    }
    .category-card-arched { border-radius: 60px 60px 12px 12px; }
    .category-frame { inset: -5px; border-radius: 66px 66px 16px 16px; }
    .category-arch { border-radius: 60px 60px 0 0; aspect-ratio: 1 / 0.92; }
    .category-card-arched .category-body {
        min-height: 3.85rem;
        padding: 0.55rem 0.5rem 0.6rem;
        gap: 0.35rem;
        border-radius: 0 0 12px 12px;
    }
    .category-card-arched .category-body strong {
        font-size: 0.72rem;
        line-height: 1.3;
        min-height: calc(1.3em * 2);
    }
    .category-count { font-size: 0.62rem; margin-top: auto; }
    .category-cta { width: 28px; height: 28px; align-self: center; }
    .category-cta svg { width: 12px; height: 12px; }
    .category-sparkle--top { font-size: 0.42rem; top: -9px; }
    .category-sparkle--br { font-size: 0.38rem; }

    .custom-cta { grid-template-columns: 1fr; text-align: center; padding: 1.4rem; }
    .custom-cta-icon { margin: auto; width: 62px; height: 62px; border-radius: 18px; }
    .custom-cta h2 { font-size: 1.15rem; }
    .custom-cta .btn { width: 100%; }
    .custom-order-hero { padding: calc(2.55rem + var(--header-offset)) 1rem 2.4rem; }
    .custom-order-hero h1 { font-size: 1.45rem; }
    .custom-order-hero p { font-size: 0.85rem; }
    .custom-order-layout { grid-template-columns: 1fr; }
    .custom-order-steps { order: 2; }
    .custom-order-form-card,
    .custom-order-steps { padding: 1.25rem; }
    .custom-form-grid { grid-template-columns: 1fr; }
    .trust-icon { width: 50px; height: 50px; }

    .social-strip { padding-top: 1.6rem; }
    .social-box { flex-direction: column; gap: 0.9rem; }
    .social-link { width: 46px; height: 46px; }

    .price-card {
        max-width: 100%;
        padding: 1.25rem 1.2rem 1.25rem 1.15rem;
        border-radius: 16px;
        gap: 0.85rem;
    }
    .price-card h2 { font-size: 0.95rem; }
    .price-card-updated { font-size: 0.72rem; padding-inline-start: 1rem; }
    .price-value { text-align: start; width: 100%; }
    .price-value span { font-size: 1.55rem; }
    .price-value small { font-size: 0.74rem; }

    .story-card { width: 122px; }
    .story-ring { border-radius: 14px; padding: 2.5px; }
    .story-ring img, .story-ring video { border-radius: 11px; }
    .story-title { font-size: 0.72rem; }

    .gp-hero { padding: calc(2.55rem + var(--header-offset)) 0 2.2rem; }
    .gp-hero h1 { font-size: 1.35rem; }
    .gp-price { padding: 0.65rem 1.2rem; }
    .gp-price strong { font-size: 1.35rem; }

    .tools-grid { grid-template-columns: 1fr; }
    .chart-card, .calc-card { padding: 1.2rem 1.1rem; }
    .chart-svg { height: 160px; }
    .calc-form { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }

    .gallery-thumb { width: 56px; height: 56px; }

    .section { padding: 2.6rem 0; }
    .section-title { font-size: 1.25rem; margin-bottom: 1.4rem; }

    /* دو ستونه — استاندارد فروشگاه‌های موبایلی */
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
    .product-grid:has(.product-card-circle) { gap: 1.5rem 0.75rem; padding-top: 1.35rem; }
    .product-body { padding: 0.7rem 0.8rem 0.9rem; }
    .product-body h3 { font-size: 0.85rem; }
    .product-price { font-size: 0.95rem; }
    .product-meta { font-size: 0.7rem; gap: 0.5rem; }
    .product-card-circle .product-body { margin-top: 50%; padding: 0 0.45rem 0.7rem; }
    .product-card-circle .product-image { border-width: 5px; }
    .product-card-circle .product-copy { padding-top: calc(50% + 14px); }
    .product-card-circle .product-copy h3 { font-size: 0.78rem; }
    .product-card-circle .product-meta { font-size: 0.6rem; gap: 0.25rem; margin-top: 0.08rem; }
    .product-card-circle .product-price { font-size: 0.74rem; margin: 0.08rem 0 0.22rem; }
    .product-card-circle .product-buy-btn {
        font-size: 0.68rem;
        padding: 0.28rem 0.8rem;
        border-radius: var(--radius-btn);
    }

    .cat-card { padding: 1rem 0.5rem; font-size: 0.82rem; }

    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
    .trust-item { padding: 1.3rem 0.8rem 1.1rem; }
    .trust-item strong { font-size: 0.9rem; }
    .trust-item > span:not(.trust-icon) { font-size: 0.75rem; }

    .product-detail { grid-template-columns: 1fr; gap: 1.4rem; }
    .checkout-grid { grid-template-columns: 1fr; }

    .filter-bar { margin-bottom: 1.3rem; }
    .search-form { margin-inline-start: 0; width: 100%; }
    .search-form input { flex: 1; min-width: 0; }

    .products-filter { padding: 1rem 0.9rem; gap: 0.85rem; }
    .pf-search { grid-template-columns: 1fr; }
    .pf-search .btn { width: 100%; }
    .pf-grid { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
    .pf-actions { flex-direction: column; align-items: stretch; }
    .pf-actions .btn { width: 100%; min-width: 0; }
    .products-head { margin-bottom: 1.1rem; }
    .products-title { font-size: 1.25rem; }

    .btn-lg { width: 100%; }
    .add-to-cart-form .btn { flex: 1; }

    .card { padding: 1.2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; column-gap: 1.2rem; row-gap: 1.2rem; padding: 1.5rem 1rem 1.2rem; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-brand-head { margin-bottom: 0; }
    .footer-brand > p { display: none; }
    .footer-logo { width: 44px; height: 44px; }
    .footer-brand-head h3 { font-size: 1rem; }
    .footer-tagline { font-size: 0.68rem; }
    .footer-social svg { width: 18px; height: 18px; }
    .footer-grid h3 { font-size: 0.95rem; margin-bottom: 0.45rem; }
    .footer-grid a { font-size: 0.83rem; padding: 0.16rem 0; }
    .footer-grid p { font-size: 0.83rem; margin-bottom: 0.4rem; }
    .footer-price { font-size: 0.76rem; padding: 0.35rem 0.7rem; }
    .footer-bottom {
        /* فضای کافی برای کپسول شناور + safe-area */
        padding: 0.7rem 0 calc(88px + env(safe-area-inset-bottom, 0px));
        font-size: 0.74rem;
    }
    .footer-credit { font-size: 0.68rem; margin-top: 0.3rem; }
}

/* ============ افکت‌های ورود هیرو (لود صفحه) ============ */
.hero-eyebrow { animation: fade-up 0.7s 0.05s both; }
.hero-lux h1 { animation: fade-up 0.75s 0.16s both; }
.hero-lux-text > p { animation: fade-up 0.75s 0.3s both; }
.hero-actions { animation: fade-up 0.75s 0.44s both; }
.hero-stats { animation: fade-up 0.75s 0.58s both; }
.hero-frame { animation: frame-in 0.9s 0.2s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.hero-chip-price { animation: fade-up 0.6s 0.85s both, chip-float 5s 1.6s ease-in-out infinite; }
.hero-chip-badge { animation: fade-up 0.6s 1.05s both, chip-float 5s 3.4s ease-in-out infinite; }
.hero-lux-visual { will-change: transform; }

/* هدر شفاف — بدون نوار رنگی جدا */
.site-header { transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s; }
.site-header.scrolled {
    background: transparent;
    box-shadow: none;
}

/* روی هیرو / بنر تیره: متن هدر خوانا (قبل از اسکرول) */
body:has(.hero-lux) .site-header:not(.scrolled) .logo-text strong,
body:has(.gp-hero) .site-header:not(.scrolled) .logo-text strong,
body:has(.custom-order-hero) .site-header:not(.scrolled) .logo-text strong {
    color: #f3e9cd;
}
body:has(.hero-lux) .site-header:not(.scrolled) .logo-text small,
body:has(.gp-hero) .site-header:not(.scrolled) .logo-text small,
body:has(.custom-order-hero) .site-header:not(.scrolled) .logo-text small {
    color: rgba(246, 239, 220, 0.55);
}
body:has(.hero-lux) .site-header:not(.scrolled) .main-nav a,
body:has(.gp-hero) .site-header:not(.scrolled) .main-nav a,
body:has(.custom-order-hero) .site-header:not(.scrolled) .main-nav a {
    color: rgba(246, 239, 220, 0.92);
}
body:has(.hero-lux) .site-header:not(.scrolled) .main-nav a:hover,
body:has(.gp-hero) .site-header:not(.scrolled) .main-nav a:hover,
body:has(.custom-order-hero) .site-header:not(.scrolled) .main-nav a:hover {
    color: var(--gold-light);
}
body:has(.hero-lux) .site-header:not(.scrolled),
body:has(.gp-hero) .site-header:not(.scrolled),
body:has(.custom-order-hero) .site-header:not(.scrolled) {
    --header-glass-fill: rgba(255, 240, 200, 0.14);
    --header-glass-fill-hover: rgba(var(--gold-light-rgb), 0.26);
    --header-glass-border: rgba(var(--gold-light-rgb), 0.45);
    --header-glass-highlight: rgba(255, 255, 255, 0.22);
    --header-glass-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
}
body:has(.hero-lux) .site-header:not(.scrolled) .theme-toggle,
body:has(.hero-lux) .site-header:not(.scrolled) .cart-link,
body:has(.gp-hero) .site-header:not(.scrolled) .theme-toggle,
body:has(.gp-hero) .site-header:not(.scrolled) .cart-link,
body:has(.custom-order-hero) .site-header:not(.scrolled) .theme-toggle,
body:has(.custom-order-hero) .site-header:not(.scrolled) .cart-link {
    color: var(--gold-light);
}
body:has(.hero-lux) .site-header:not(.scrolled) .theme-toggle:hover,
body:has(.hero-lux) .site-header:not(.scrolled) .cart-link:hover,
body:has(.gp-hero) .site-header:not(.scrolled) .theme-toggle:hover,
body:has(.gp-hero) .site-header:not(.scrolled) .cart-link:hover,
body:has(.custom-order-hero) .site-header:not(.scrolled) .theme-toggle:hover,
body:has(.custom-order-hero) .site-header:not(.scrolled) .cart-link:hover {
    color: #fff7d6;
}

@media (prefers-reduced-motion: reduce) {
    .hero-eyebrow, .hero-lux h1, .hero-lux-text > p, .hero-actions, .hero-stats,
    .hero-frame, .hero-chip-price, .hero-chip-badge, .shimmer-text, .lux-spark,
    .ticker-dot, .chip-dot, .logo-text strong, .logo-text small { animation: none; }
    .hero-lux-blob { animation: none !important; opacity: 0.4; }
    .price-card-sheen,
    .price-live-dot,
    .price-value span { animation: none !important; }
    .price-value span {
        background: none;
        color: var(--gold-dark);
        -webkit-background-clip: unset;
        background-clip: unset;
    }
    .reveal { opacity: 1; transform: none; transition: none; }
    .reveal .trust-icon, .reveal strong, .reveal span { opacity: 1; transform: none; transition: none; }
}

/* ============ تم تاریک (روز / شب) ============ */
html {
    color-scheme: light;
}
html[data-theme="dark"] {
    color-scheme: dark;
}
html.theme-ready body,
html.theme-ready .site-header,
html.theme-ready .card,
html.theme-ready .product-card,
html.theme-ready .gift-card,
html.theme-ready .price-card,
html.theme-ready .trust-item,
html.theme-ready .section-alt {
    transition: background-color 0.28s ease, color 0.28s ease, border-color 0.28s ease;
}
@media (prefers-reduced-motion: reduce) {
    html.theme-ready body,
    html.theme-ready .site-header,
    html.theme-ready .card,
    html.theme-ready .product-card,
    html.theme-ready .gift-card,
    html.theme-ready .price-card,
    html.theme-ready .trust-item,
    html.theme-ready .section-alt {
        transition: none;
    }
}

[data-theme="dark"] {
    --gold: #c9a544;
    --gold-light: #e8d08a;
    --gold-dark: #e0c36a;
    --gold-grad: linear-gradient(120deg, #c9a544, #e5c463 45%, #a88428);
    --gold-rgb: 201, 165, 68;
    --gold-light-rgb: 232, 208, 138;
    --dark: #0a0805;
    --dark-2: #14100a;
    --bg: #0c0a07;
    --surface: #16130e;
    --text: #f0e6d0;
    --text-muted: #a89878;
    --border: #2c2618;
    --panel: #1a1610;
    --section-alt-bg: #12100b;
    --media-placeholder: linear-gradient(150deg, #1c1810, #2a2318);
    --shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
    --shadow-lift: 0 12px 40px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .site-header {
    --header-glass-fill: rgba(255, 240, 200, 0.1);
    --header-glass-fill-hover: rgba(var(--gold-light-rgb), 0.2);
    --header-glass-border: rgba(var(--gold-light-rgb), 0.35);
    --header-glass-highlight: rgba(255, 255, 255, 0.14);
    --header-glass-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
    background: transparent;
    border-bottom-color: transparent;
}
[data-theme="dark"] .site-header.scrolled {
    background: transparent;
    box-shadow: none;
}
[data-theme="dark"] .theme-toggle,
[data-theme="dark"] .cart-link {
    color: var(--gold-light);
}
[data-theme="dark"] .theme-toggle:hover,
[data-theme="dark"] .cart-link:hover {
    color: var(--gold-light);
    border-color: rgba(var(--gold-light-rgb), 0.55);
}
[data-theme="dark"] .btn-outline {
    color: var(--gold-light);
    border-color: rgba(var(--gold-light-rgb), 0.55);
}
[data-theme="dark"] .btn-outline:hover,
[data-theme="dark"] .btn-outline:focus-visible {
    color: var(--gold-light);
    background: rgba(var(--gold-light-rgb), 0.14);
    border-color: var(--gold-light);
}
[data-theme="dark"] .btn-ghost:hover,
[data-theme="dark"] .btn-ghost:focus-visible {
    color: var(--gold-light);
}
[data-theme="dark"] .btn-gold:hover,
[data-theme="dark"] .btn-gold:focus-visible {
    color: #241a02;
    background: var(--gold-grad);
}
[data-theme="dark"] .section-alt { background: var(--section-alt-bg); }
[data-theme="dark"] .collection-arch {
    background:
        radial-gradient(ellipse 80% 70% at 50% 35%, rgba(var(--gold-light-rgb), 0.18) 0%, transparent 65%),
        linear-gradient(165deg, #2a2314 0%, #1e1910 100%);
}
[data-theme="dark"] .collection-card-arched .collection-body {
    background: #18140e;
    border-color: rgba(196, 164, 90, 0.22);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}
[data-theme="dark"] .collection-card-arched .collection-body strong { color: var(--gold-light); }
[data-theme="dark"] .collection-frame { border-color: rgba(196, 164, 90, 0.35); }
[data-theme="dark"] .collection-sparkle { color: rgba(224, 201, 137, 0.75); }
[data-theme="dark"] .category-arch {
    background:
        radial-gradient(ellipse 80% 70% at 50% 35%, rgba(var(--gold-light-rgb), 0.18) 0%, transparent 65%),
        linear-gradient(165deg, #2a2314 0%, #1e1910 100%);
}
[data-theme="dark"] .category-card-arched .category-body {
    background: #18140e;
    border-color: rgba(196, 164, 90, 0.22);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}
[data-theme="dark"] .category-card-arched .category-body strong { color: var(--gold-light); }
[data-theme="dark"] .category-frame { border-color: rgba(196, 164, 90, 0.35); }
[data-theme="dark"] .category-sparkle { color: rgba(224, 201, 137, 0.75); }
[data-theme="dark"] .calc-total,
[data-theme="dark"] .spec-total,
[data-theme="dark"] .card-info {
    background: rgba(var(--gold-light-rgb), 0.1);
    color: var(--gold-light);
}
[data-theme="dark"] .chg-down,
[data-theme="dark"] .chip-remove:hover,
[data-theme="dark"] .alert-error,
[data-theme="dark"] .badge-out,
[data-theme="dark"] .badge-canceled,
[data-theme="dark"] .badge-pay-rejected {
    background: rgba(192, 57, 43, 0.18);
}
[data-theme="dark"] .badge-new,
[data-theme="dark"] .badge-pay-unpaid {
    background: rgba(var(--gold-light-rgb), 0.18);
    color: var(--gold-light);
}
[data-theme="dark"] .calc-form input,
[data-theme="dark"] .custom-order-form input,
[data-theme="dark"] .custom-order-form select,
[data-theme="dark"] .custom-order-form textarea,
[data-theme="dark"] .filter-bar input,
[data-theme="dark"] .search-form input,
[data-theme="dark"] .products-filter,
[data-theme="dark"] .pf-search input,
[data-theme="dark"] .pf-field select {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text);
}
[data-theme="dark"] .pf-tag {
    background: rgba(var(--gold-light-rgb), 0.12);
    border-color: rgba(var(--gold-light-rgb), 0.3);
    color: var(--gold-light);
}
[data-theme="dark"] .products-clear { color: var(--gold-light); }
[data-theme="dark"] form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
[data-theme="dark"] form select,
[data-theme="dark"] form textarea {
    background: var(--bg);
    color: var(--text);
    border-color: var(--border);
}
[data-theme="dark"] .custom-step > span {
    background: rgba(var(--gold-light-rgb), 0.14);
    color: var(--gold-light);
    border-color: rgba(var(--gold-light-rgb), 0.35);
}
[data-theme="dark"] .custom-order-note,
[data-theme="dark"] .custom-upload {
    background: rgba(var(--gold-light-rgb), 0.06);
}
[data-theme="dark"] .alert-box,
[data-theme="dark"] .checkout-mode-note,
[data-theme="dark"] .track-note {
    background: rgba(var(--gold-light-rgb), 0.1);
}
[data-theme="dark"] .data-table th {
    background: #1c1810;
}
[data-theme="dark"] .product-detail-image {
    background: linear-gradient(150deg, #1a150c, #241c0e);
}
[data-theme="dark"] .alert-success {
    background: rgba(30, 158, 90, 0.15);
    border-color: rgba(30, 158, 90, 0.35);
}
[data-theme="dark"] .site-footer { color: rgba(var(--gold-light-rgb), 0.88); }
[data-theme="dark"] .footer-grid a:hover,
[data-theme="dark"] .footer-social { color: rgba(var(--gold-light-rgb), 0.95); }
[data-theme="dark"] .product-card,
[data-theme="dark"] .gift-card,
[data-theme="dark"] .trust-item,
[data-theme="dark"] .cat-card,
[data-theme="dark"] .chart-card,
[data-theme="dark"] .calc-card,
[data-theme="dark"] .card {
    background: var(--surface);
    border-color: var(--border);
}
[data-theme="dark"] .price-card {
    background:
        linear-gradient(145deg, rgba(28, 24, 16, 0.88) 0%, rgba(22, 19, 12, 0.78) 50%, rgba(32, 26, 14, 0.85) 100%);
    border-color: rgba(201, 165, 68, 0.38);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(var(--gold-light-rgb), 0.08) inset;
}
[data-theme="dark"] .price-card h2 { color: var(--text); }
[data-theme="dark"] .price-value span {
    background: linear-gradient(115deg, var(--gold-dark) 10%, var(--gold) 35%, var(--gold-light) 50%, var(--gold) 65%, var(--gold-dark) 90%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
@media (prefers-reduced-motion: reduce) {
    [data-theme="dark"] .price-value span {
        background: none;
        color: var(--gold-dark);
        -webkit-background-clip: unset;
        background-clip: unset;
    }
}
[data-theme="dark"] .product-card-circle {
    background: transparent !important;
    border: none !important;
    --card-gold: var(--gold);
}
[data-theme="dark"] .product-card-circle .product-body {
    background: var(--card-gold);
    box-shadow: none;
}
[data-theme="dark"] .product-card-circle .product-image {
    border-color: var(--card-gold);
    background: var(--card-gold);
    box-shadow: none;
}
[data-theme="dark"] .gift-card:hover,
[data-theme="dark"] .product-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .product-card-circle:hover {
    box-shadow: none !important;
}

@media (max-width: 820px) {
    [data-theme="dark"] .site-header {
        background: transparent;
        border-bottom: none;
    }
    .theme-toggle {
        width: 38px;
        height: 38px;
    }
    [data-theme="dark"] .theme-toggle {
        color: var(--gold-light);
    }
}

/* ---------- ???? ??? ?????? ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
    filter: blur(2px);
    transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
                filter 0.55s ease;
    transition-delay: var(--d, 0ms);
}
.reveal.in-view {
    opacity: 1;
    transform: none;
    filter: none;
}
.product-card.reveal {
    transform: translateY(36px) scale(0.94);
}
.product-card.reveal.in-view {
    transform: none;
}

/* ---------- ??????? ????? (????? ???? ????) ---------- */
.featured-more-actions {
    margin-top: 1.75rem;
    display: flex;
    gap: 0.7rem;
    justify-content: center;
    flex-wrap: wrap;
}
.featured-more {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    margin-top: 0;
    transition: grid-template-rows 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
                opacity 0.4s ease,
                margin-top 0.4s ease;
}
.featured-more.is-open {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 1.5rem;
}
.featured-more-inner {
    overflow: hidden;
    min-height: 0;
}

/* ---------- ستاره امتیاز ---------- */
.stars { display: inline-flex; align-items: center; gap: 0.12rem; }
.star-ico {
    fill: rgba(var(--gold-rgb), 0.22);
    stroke: rgba(var(--gold-rgb), 0.45);
    stroke-width: 0.6;
}
.star-ico.on { fill: var(--gold); stroke: var(--gold-dark); }
.star-ico.half { fill: #d4b86a; opacity: 0.85; stroke: #b08d2e; }
.stars-meta { margin-inline-start: 0.45rem; font-size: 0.82rem; color: var(--text-muted); font-weight: 600; }
.pd-rating, .pd-lux-rating, .pr-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem 0.7rem; margin: 0.35rem 0 0.7rem; }

.star-picker {
    display: inline-flex;
    gap: 0.15rem;
    direction: ltr;
}
.star-pick {
    background: none;
    border: none;
    padding: 0.1rem;
    cursor: pointer;
    line-height: 0;
    color: inherit;
}
.star-pick svg { fill: rgba(var(--gold-rgb), 0.2); stroke: rgba(var(--gold-rgb), 0.5); stroke-width: 0.7; transition: transform 0.15s, fill 0.15s; }
.star-pick.on svg,
.star-pick.is-hover svg { fill: var(--gold); stroke: var(--gold-dark); }
.star-pick:hover svg { transform: scale(1.12); }

/* ---------- صفحه محصول لوکس ---------- */
.product-page-luxury { position: relative; overflow: hidden; }
.pd-lux-wrap { position: relative; margin-bottom: 2.5rem; }
.pd-lux-ambiance {
    position: absolute;
    inset: -22% -18% -12%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse 55% 40% at 18% 28%, rgba(201, 165, 68, 0.18), transparent 68%),
        radial-gradient(ellipse 48% 38% at 88% 18%, rgba(var(--gold-light-rgb), 0.14), transparent 62%),
        radial-gradient(ellipse 40% 35% at 55% 78%, rgba(243, 220, 142, 0.12), transparent 70%);
}
.pd-lux-blob {
    position: absolute;
    border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
    filter: blur(38px);
    opacity: 0.55;
    will-change: transform, border-radius, opacity;
    mix-blend-mode: multiply;
}
.pd-lux-blob.b1 {
    width: min(58vw, 460px);
    height: min(52vw, 400px);
    top: 2%;
    inset-inline-start: -8%;
    background: radial-gradient(circle at 35% 40%, rgba(var(--gold-light-rgb), 0.72), rgba(var(--gold-rgb), 0.28) 52%, transparent 72%);
    animation: hero-liquid-float 7s ease-in-out infinite;
    opacity: 0.62;
}
.pd-lux-blob.b2 {
    width: min(50vw, 400px);
    height: min(46vw, 350px);
    top: 6%;
    inset-inline-end: -8%;
    background: radial-gradient(circle at 60% 35%, rgba(var(--gold-light-rgb), 0.65), rgba(var(--gold-rgb), 0.22) 55%, transparent 74%);
    animation: hero-liquid-swim 8s ease-in-out infinite;
    animation-delay: -2s;
    opacity: 0.52;
}
.pd-lux-blob.b3 {
    width: min(44vw, 340px);
    height: min(40vw, 300px);
    bottom: 10%;
    inset-inline-start: 22%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.55), rgba(var(--gold-light-rgb), 0.32) 48%, transparent 70%);
    animation: hero-liquid-drift 9s ease-in-out infinite;
    animation-delay: -4s;
    opacity: 0.58;
}
.pd-lux-blob.b4 {
    width: min(40vw, 300px);
    height: min(36vw, 260px);
    bottom: -2%;
    inset-inline-end: 12%;
    background: radial-gradient(circle at 40% 55%, rgba(var(--gold-rgb), 0.55), rgba(var(--gold-rgb), 0.18) 58%, transparent 75%);
    animation: hero-liquid-float 7.5s ease-in-out infinite reverse;
    animation-delay: -5.5s;
    opacity: 0.48;
}
[data-theme="dark"] .pd-lux-ambiance {
    background:
        radial-gradient(ellipse 55% 40% at 18% 28%, rgba(201, 165, 68, 0.22), transparent 68%),
        radial-gradient(ellipse 48% 38% at 88% 18%, rgba(var(--gold-light-rgb), 0.16), transparent 62%),
        radial-gradient(ellipse 40% 35% at 55% 78%, rgba(243, 220, 142, 0.1), transparent 70%);
}
[data-theme="dark"] .pd-lux-blob {
    mix-blend-mode: soft-light;
    opacity: 0.55;
    filter: blur(40px);
}
[data-theme="dark"] .pd-lux-blob.b1 { opacity: 0.6; }
[data-theme="dark"] .pd-lux-blob.b2 { opacity: 0.5; }
[data-theme="dark"] .pd-lux-blob.b3 { opacity: 0.55; }
[data-theme="dark"] .pd-lux-blob.b4 { opacity: 0.48; }
@media (prefers-reduced-motion: reduce) {
    .pd-lux-blob { animation: none !important; opacity: 0.45; }
}
.pd-lux {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 2.8rem;
    align-items: start;
}
.pd-lux-stage {
    position: relative;
    aspect-ratio: 1;
    border-radius: 32px;
    overflow: hidden;
    background:
        radial-gradient(circle at 28% 18%, rgba(var(--gold-light-rgb), 0.28), transparent 50%),
        linear-gradient(165deg, #241c10 0%, #0c0a07 62%, #16110a 100%);
    border: 1px solid rgba(201, 165, 68, 0.35);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    cursor: zoom-in;
}
.pd-lux-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
    transform-origin: center center;
}
.pd-lux-stage:hover img { transform: scale(1.14); }
.pd-lux-stage:active img { transform: scale(1.2); }
.pd-lux-zoom-hint {
    position: absolute;
    bottom: 1rem;
    inset-inline-start: 1rem;
    z-index: 3;
    font-size: 0.72rem;
    font-weight: 600;
    color: #f5edd8;
    background: rgba(12, 10, 7, 0.65);
    border: 1px solid rgba(var(--gold-light-rgb), 0.4);
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    pointer-events: none;
    opacity: 0.85;
}
.pd-lux-float-chips {
    position: absolute;
    top: 1rem;
    inset-inline-end: 1rem;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    align-items: stretch;
    max-width: min(52%, 200px);
}
.pd-chip {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    background: rgba(10, 8, 5, 0.88);
    color: #f5edd8;
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(var(--gold-light-rgb), 0.65);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 245, 210, 0.12);
    font-size: 0.95rem;
    padding: 0.55rem 0.85rem;
    border-radius: 14px;
    min-width: 7.5rem;
    text-align: start;
}
.pd-chip small {
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(var(--gold-light-rgb), 0.9);
    letter-spacing: 0.04em;
}
.pd-chip strong {
    font-size: 1rem;
    font-weight: 800;
    color: #fff8e8;
    line-height: 1.35;
}
.pd-chip-weight {
    border-color: rgba(var(--gold-light-rgb), 0.85);
}
.pd-chip-delivery {
    background: linear-gradient(145deg, rgba(30, 158, 90, 0.25), rgba(10, 8, 5, 0.88));
    border-color: rgba(126, 226, 160, 0.45);
}
.pd-chip-delivery small { color: #9eecc0; }
.pd-lux-corner {
    position: absolute;
    width: 28px;
    height: 28px;
    border: 1.5px solid rgba(var(--gold-light-rgb), 0.7);
    z-index: 3;
    pointer-events: none;
}
.pd-lux-corner.c1 { top: 14px; inset-inline-start: 14px; border-inline-end: none; border-bottom: none; }
.pd-lux-corner.c2 { top: 14px; inset-inline-end: 14px; border-inline-start: none; border-bottom: none; }
.pd-lux-corner.c3 { bottom: 14px; inset-inline-start: 14px; border-inline-end: none; border-top: none; }
.pd-lux-corner.c4 { bottom: 14px; inset-inline-end: 14px; border-inline-start: none; border-top: none; }
.pd-lux-watermark {
    position: absolute;
    inset-inline-end: 1.1rem;
    bottom: 1.1rem;
    z-index: 2;
    font-size: 0.72rem;
    letter-spacing: 0.35em;
    color: rgba(245, 237, 216, 0.35);
    font-weight: 700;
    pointer-events: none;
}
.pd-lux-badge {
    position: absolute;
    top: 1rem;
    inset-inline-start: 1rem;
    z-index: 3;
    background: rgba(192, 57, 43, 0.92);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
}
.pd-lux-thumbs { margin-top: 0.9rem; }
.pd-lux-thumbs .gallery-thumb {
    border-radius: 12px;
    border: 2px solid transparent;
    overflow: hidden;
}
.pd-lux-thumbs .gallery-thumb.active {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(201, 165, 68, 0.25);
}
.pd-lux-brandline {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--gold);
    margin-bottom: 0.55rem;
}
.pd-lux-spark { animation: lux-twinkle 2.8s ease-in-out infinite; }
.pd-lux-dot { opacity: 0.5; }
@keyframes lux-twinkle {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}
.pd-lux-info h1 {
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 0.35rem;
    background: linear-gradient(120deg, var(--text) 30%, var(--gold-dark) 120%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
[data-theme="dark"] .pd-lux-info h1 {
    background: linear-gradient(120deg, #f5edd8 20%, #e5c463 100%);
    -webkit-background-clip: text;
    background-clip: text;
}
.pd-lux-review-link {
    font-size: 0.8rem;
    color: var(--gold-dark);
    font-weight: 600;
    border-bottom: 1px solid rgba(var(--gold-rgb), 0.35);
}
.pd-lux-desc {
    color: var(--text-muted);
    margin: 0.55rem 0 1.25rem;
    line-height: 1.95;
    max-width: 36em;
}
.pd-lux-price-block {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(201, 165, 68, 0.2), rgba(20, 16, 8, 0.06) 55%);
    border: 1px solid rgba(201, 165, 68, 0.4);
    border-radius: 20px;
    padding: 1.25rem 1.35rem 1.1rem;
    margin-bottom: 0.85rem;
}
.pd-lux-price-glow {
    position: absolute;
    width: 180px;
    height: 180px;
    top: -60px;
    inset-inline-end: -40px;
    background: radial-gradient(circle, rgba(var(--gold-light-rgb), 0.35), transparent 70%);
    pointer-events: none;
}
.pd-lux-price-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
    position: relative;
}
.pd-lux-price {
    display: block;
    font-size: clamp(1.45rem, 3vw, 1.8rem);
    font-weight: 800;
    color: var(--gold-dark);
    line-height: 1.25;
    position: relative;
}
.pd-lux-price-block small {
    display: block;
    margin-top: 0.35rem;
    color: var(--text-muted);
    font-size: 0.76rem;
    position: relative;
}
.pd-lux-price-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
    position: relative;
}
.pd-lux-price-meta span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(201, 165, 68, 0.25);
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
}
[data-theme="dark"] .pd-lux-price-meta span { background: rgba(255, 255, 255, 0.05); }
.pd-lux-actions {
    display: flex;
    align-items: stretch;
    gap: 0.65rem;
    margin: 0 0 1.15rem;
}
.pd-lux-actions--solo { gap: 0; }
.pd-lux-cart {
    flex: 2.15 1 0;
    margin: 0;
    min-width: 0;
}
.pd-lux-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    padding: 1.08rem 1.35rem;
    border: none;
    border-radius: var(--radius-btn);
    font-family: inherit;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    color: #1a1202;
    cursor: pointer;
    background:
        linear-gradient(180deg, rgba(255, 248, 220, 0.5) 0%, transparent 42%),
        linear-gradient(135deg, #e8c86a 0%, #c9a544 42%, #a8842a 78%, #c9a544 100%);
    background-size: 100% 100%, 160% 100%;
    background-position: 0 0, 100% 0;
    box-shadow:
        0 1px 0 rgba(255, 248, 220, 0.55) inset,
        0 14px 32px rgba(168, 132, 42, 0.28);
    transition: transform 0.28s ease, box-shadow 0.28s ease, background-position 0.45s ease;
}
.pd-lux-buy:hover {
    transform: translateY(-2px);
    background-position: 0 0, 0% 0;
    box-shadow:
        0 1px 0 rgba(255, 248, 220, 0.65) inset,
        0 18px 40px rgba(168, 132, 42, 0.36);
}
.pd-lux-buy:active {
    transform: translateY(0);
    box-shadow:
        0 1px 0 rgba(255, 248, 220, 0.4) inset,
        0 8px 20px rgba(168, 132, 42, 0.22);
}
.pd-lux-buy-ico {
    flex-shrink: 0;
    opacity: 0.92;
}
.pd-lux-buy-label {
    position: relative;
    line-height: 1.2;
}
.pd-lux-notify {
    flex: 1 1 0;
    min-width: 3.4rem;
    max-width: 5.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.85rem 0.9rem;
    border-radius: var(--radius-btn);
    border: 1.5px solid rgba(var(--gold-rgb), 0.55);
    background:
        linear-gradient(160deg, rgba(251, 245, 227, 0.95), rgba(243, 232, 198, 0.55));
    color: var(--gold-dark);
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    box-shadow: 0 6px 18px rgba(168, 132, 42, 0.1);
}
.pd-lux-notify:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
    box-shadow: 0 10px 24px rgba(168, 132, 42, 0.18);
    background: linear-gradient(160deg, #fff9eb, rgba(var(--gold-light-rgb), 0.28));
}
.pd-lux-notify:active { transform: translateY(0); }
.pd-lux-notify-ico { flex-shrink: 0; }
.pd-lux-notify--wide {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.pd-lux-notify-label { line-height: 1; }
.pd-lux-oos {
    margin: 0 0 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: #fdeaea;
    color: var(--danger);
    font-weight: 600;
    font-size: 0.92rem;
    text-align: center;
}
.pd-lux-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
}
.pd-lux-trust span {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--text);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px dashed rgba(201, 165, 68, 0.45);
    background: rgba(201, 165, 68, 0.06);
}

/* مودال خبرم کن */
.pd-alert-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}
.pd-alert-modal.is-open {
    opacity: 1;
    visibility: visible;
}
.pd-alert-modal[hidden] { display: none !important; }
.pd-alert-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 10, 6, 0.55);
    backdrop-filter: blur(4px);
}
.pd-alert-modal-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
    max-height: min(90vh, 560px);
    overflow: auto;
    padding: 1.65rem 1.45rem 1.4rem;
    border-radius: 22px;
    border: 1px solid rgba(201, 165, 68, 0.45);
    background:
        radial-gradient(ellipse 80% 50% at 90% 0%, rgba(var(--gold-light-rgb), 0.22), transparent 55%),
        linear-gradient(165deg, #fffdf7 0%, #f7efd8 48%, #f3e8c8 100%);
    box-shadow: 0 28px 70px rgba(20, 14, 4, 0.35);
    transform: translateY(12px) scale(0.97);
    transition: transform 0.28s ease;
}
.pd-alert-modal.is-open .pd-alert-modal-panel {
    transform: translateY(0) scale(1);
}
.pd-alert-modal-close {
    position: absolute;
    top: 0.75rem;
    inset-inline-start: 0.75rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(var(--gold-rgb), 0.35);
    background: rgba(255, 255, 255, 0.65);
    color: var(--gold-dark);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}
.pd-alert-modal-orn {
    text-align: center;
    color: var(--gold);
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
    opacity: 0.75;
}
.pd-alert-modal-panel h2 {
    margin: 0 0 0.45rem;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gold-dark);
    letter-spacing: 0.02em;
}
.pd-alert-modal-hint {
    margin: 0 0 1.15rem;
    text-align: center;
    font-size: 0.86rem;
    line-height: 1.75;
    color: var(--text-muted);
}
.pd-alert-modal-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.pd-alert-modal-label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
}
.pd-alert-modal-label input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(var(--gold-rgb), 0.4);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.85);
    color: var(--text);
}
.pd-alert-modal-label input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 165, 68, 0.2);
}
.pd-alert-modal-submit {
    width: 100%;
    padding: 0.95rem 1.2rem;
    border: none;
    border-radius: var(--radius-btn);
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #1a1202;
    cursor: pointer;
    background: linear-gradient(135deg, #e8c86a 0%, #c9a544 45%, #a8842a 100%);
    box-shadow: 0 10px 24px rgba(168, 132, 42, 0.28);
}
.pd-alert-modal-submit:hover {
    filter: brightness(1.04);
}

/* اکشن‌های کلاسیک */
.pd-classic-actions {
    display: flex;
    align-items: stretch;
    gap: 0.65rem;
    margin-top: 1.6rem;
    flex-wrap: nowrap;
}
.pd-classic-actions .add-to-cart-form {
    flex: 2.15 1 0;
    margin: 0;
    min-width: 0;
}
.pd-classic-buy {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}
.pd-classic-notify {
    flex: 1 1 0;
    min-width: 3.2rem;
    max-width: 5.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 0.85rem;
    border-radius: var(--radius-btn);
    border: 1.5px solid rgba(var(--gold-rgb), 0.5);
    background: #fbf7ec;
    color: var(--gold-dark);
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    transition: 0.2s;
}
.pd-classic-notify:hover {
    border-color: var(--gold);
    background: #fff8e8;
}
.pd-classic-notify--wide {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
    padding: 0.85rem 1.1rem;
}

[data-theme="dark"] .pd-lux-notify,
[data-theme="dark"] .pd-classic-notify {
    background: rgba(var(--gold-light-rgb), 0.1);
    border-color: rgba(var(--gold-light-rgb), 0.4);
    color: var(--gold-light);
}
[data-theme="dark"] .pd-lux-notify:hover,
[data-theme="dark"] .pd-classic-notify:hover {
    background: rgba(var(--gold-light-rgb), 0.18);
}
[data-theme="dark"] .pd-alert-modal-panel {
    background:
        radial-gradient(ellipse 80% 50% at 90% 0%, rgba(var(--gold-light-rgb), 0.18), transparent 55%),
        linear-gradient(165deg, #1c1810 0%, #14110c 100%);
    border-color: rgba(var(--gold-light-rgb), 0.35);
}
[data-theme="dark"] .pd-alert-modal-panel h2 { color: var(--gold-light); }
[data-theme="dark"] .pd-alert-modal-close {
    background: rgba(255, 255, 255, 0.06);
    color: var(--gold-light);
    border-color: rgba(var(--gold-light-rgb), 0.35);
}
[data-theme="dark"] .pd-alert-modal-label input {
    background: rgba(0, 0, 0, 0.25);
    border-color: rgba(var(--gold-light-rgb), 0.3);
    color: var(--text);
}
[data-theme="dark"] .pd-lux-oos {
    background: rgba(192, 57, 43, 0.15);
}

.pd-related { margin: 2.5rem 0 1rem; }
.pd-related-head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.3rem;
}
.pd-related-head h2 { margin: 0; font-size: 1.25rem; }
.pd-related-orn { color: var(--gold); opacity: 0.7; }

/* ---------- نظرات محصول (جمع‌وجور) ---------- */
.product-reviews {
    margin-top: 2rem;
    padding: 1.25rem 1.2rem 1.35rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}
.pr-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 0.9rem;
}
.pr-head h2 { margin: 0; font-size: 1.05rem; }
.pr-form {
    margin-bottom: 1.1rem;
    padding: 0.9rem 1rem;
    border: 1px dashed rgba(201, 165, 68, 0.4);
    border-radius: 12px;
    background: rgba(201, 165, 68, 0.05);
}
.pr-form-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}
.pr-form-top strong { font-size: 0.92rem; }
.pr-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}
.pr-form-grid label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}
.pr-form-grid .span-2 { grid-column: span 2; }
.pr-form-grid input,
.pr-form-grid textarea {
    padding: 0.5rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    background: var(--bg);
    color: var(--text);
}
.pr-list { display: flex; flex-direction: column; gap: 0.65rem; }
.pr-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
}
.pr-item-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.75rem;
    margin-bottom: 0.3rem;
}
.pr-item-top strong { font-size: 0.88rem; }
.pr-item p { margin: 0; color: var(--text); line-height: 1.7; font-size: 0.9rem; }
.pr-store-reply {
    margin-top: 0.65rem;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(201,162,39,0.1), rgba(201,162,39,0.04));
    border: 1px solid rgba(176,141,46,0.28);
}
.pr-store-reply strong {
    display: block;
    font-size: 0.8rem;
    color: #8e6f1c;
    margin-bottom: 0.25rem;
}
.pr-store-reply p { font-size: 0.88rem; }

@media (max-width: 900px) {
    .pd-lux { grid-template-columns: 1fr; gap: 1.4rem; }
    .pd-lux-stage { border-radius: 22px; }
    .pd-lux-float-chips {
        top: 0.75rem;
        inset-inline-end: 0.75rem;
        max-width: min(58%, 170px);
        gap: 0.4rem;
    }
    .pd-chip {
        min-width: 0;
        padding: 0.5rem 0.7rem;
        border-radius: 12px;
    }
    .pd-chip small { font-size: 0.65rem; }
    .pd-chip strong { font-size: 0.92rem; }
    .pd-lux-zoom-hint { font-size: 0.65rem; padding: 0.28rem 0.55rem; }
    .pr-form-grid { grid-template-columns: 1fr; }
    .pr-form-grid .span-2 { grid-column: auto; }
    .pd-lux-buy { padding: 0.95rem 1rem; font-size: 0.92rem; letter-spacing: 0.03em; }
    .pd-lux-buy-ico { width: 18px; height: 18px; }
    .pd-lux-notify { min-width: 3rem; max-width: 4.5rem; padding: 0.75rem 0.65rem; }
    .pd-lux-actions { gap: 0.5rem; }
    .pd-classic-actions { gap: 0.5rem; }
    .pd-lux-blob { filter: blur(34px); }
    .pd-alert-modal-panel { padding: 1.4rem 1.15rem 1.2rem; border-radius: 18px; }
    .featured-more-actions .btn { width: 100%; }
}

/* لایت‌باکس بزرگ‌نمایی عکس محصول */
.pd-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(6, 5, 3, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}
.pd-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}
.pd-lightbox img {
    max-width: min(96vw, 920px);
    max-height: 88vh;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid rgba(var(--gold-light-rgb), 0.35);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}
.pd-lightbox-close {
    position: absolute;
    top: 1rem;
    inset-inline-end: 1rem;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(var(--gold-light-rgb), 0.45);
    border-radius: 50%;
    background: rgba(20, 16, 8, 0.85);
    color: #f5edd8;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
}

[data-theme="dark"] .pd-lux-price { color: var(--gold-light); }
[data-theme="dark"] .pd-lux-price-block,
[data-theme="dark"] .product-reviews,
[data-theme="dark"] .pr-item,
[data-theme="dark"] .pr-form {
    background: var(--surface);
    border-color: var(--border);
}
[data-theme="dark"] .pr-form {
    background: rgba(var(--gold-light-rgb), 0.06);
    border-style: dashed;
}
[data-theme="dark"] .pd-lux-review-link { color: var(--gold-light); }

/* ============ پالت‌های رنگ فروشگاه (data-palette) ============ */
/* طلایی/کرم = پیش‌فرض :root — کلید gold نیازی به override ندارد */

[data-palette="sapphire"] {
    --gold: #3e5f8a;
    --gold-light: #a8bdd4;
    --gold-dark: #243f66;
    --gold-grad: linear-gradient(120deg, #4a6fa5, #c5d0dc 45%, #2f4f7a);
    --gold-rgb: 62, 95, 138;
    --gold-light-rgb: 168, 189, 212;
    --dark: #0b1422;
    --dark-2: #152033;
    --bg: #f5f6f8;
    --surface: #ffffff;
    --text: #141c28;
    --text-muted: #6a7585;
    --border: #dde3ea;
    --panel: #eef2f6;
    --section-alt-bg: #e8eef4;
    --media-placeholder: linear-gradient(150deg, #e8eef4, #d4dde8);
    --shadow: 0 6px 30px rgba(15, 30, 50, 0.07);
    --shadow-lift: 0 12px 40px rgba(15, 30, 50, 0.12);
}

[data-palette="emerald"] {
    --gold: #2d6a4f;
    --gold-light: #a3c9b0;
    --gold-dark: #1b4332;
    --gold-grad: linear-gradient(120deg, #40916c, #d4c5a8 45%, #2d6a4f);
    --gold-rgb: 45, 106, 79;
    --gold-light-rgb: 163, 201, 176;
    --dark: #0d1f17;
    --dark-2: #163028;
    --bg: #f6f7f4;
    --surface: #ffffff;
    --text: #14201a;
    --text-muted: #6a7a70;
    --border: #dde5df;
    --panel: #eef4f0;
    --section-alt-bg: #e8f0eb;
    --media-placeholder: linear-gradient(150deg, #e8f0eb, #d4e2d8);
    --shadow: 0 6px 30px rgba(20, 40, 30, 0.07);
    --shadow-lift: 0 12px 40px rgba(20, 40, 30, 0.12);
}

[data-palette="rosegold"] {
    --gold: #b76e79;
    --gold-light: #e8b4b8;
    --gold-dark: #8e4a55;
    --gold-grad: linear-gradient(120deg, #c98b94, #f0d5c8 45%, #a85d68);
    --gold-rgb: 183, 110, 121;
    --gold-light-rgb: 232, 180, 184;
    --dark: #1a1214;
    --dark-2: #2a1c20;
    --bg: #faf6f4;
    --surface: #ffffff;
    --text: #241818;
    --text-muted: #857068;
    --border: #ebe0dc;
    --panel: #f8ebe8;
    --section-alt-bg: #f3e8e5;
    --media-placeholder: linear-gradient(150deg, #f5e8e4, #e8d0cc);
    --shadow: 0 6px 30px rgba(50, 25, 30, 0.07);
    --shadow-lift: 0 12px 40px rgba(50, 25, 30, 0.12);
}

[data-palette="noir"] {
    --gold: #8a8d91;
    --gold-light: #d4d6d9;
    --gold-dark: #5c5f64;
    --gold-grad: linear-gradient(120deg, #9a9da2, #e8e9eb 45%, #6e7278);
    --gold-rgb: 138, 141, 145;
    --gold-light-rgb: 212, 214, 217;
    --dark: #121212;
    --dark-2: #1e1e1e;
    --bg: #f4f4f5;
    --surface: #ffffff;
    --text: #1a1a1c;
    --text-muted: #6e7075;
    --border: #e2e2e4;
    --panel: #ebebec;
    --section-alt-bg: #e8e8ea;
    --media-placeholder: linear-gradient(150deg, #ebebec, #d8d9dc);
    --shadow: 0 6px 30px rgba(20, 20, 25, 0.08);
    --shadow-lift: 0 12px 40px rgba(20, 20, 25, 0.14);
}

[data-palette="burgundy"] {
    --gold: #8b3a4a;
    --gold-light: #d4af67;
    --gold-dark: #6a2535;
    --gold-grad: linear-gradient(120deg, #8b3a4a, #d4af67 45%, #5c1f2c);
    --gold-rgb: 139, 58, 74;
    --gold-light-rgb: 212, 175, 103;
    --dark: #1f0c12;
    --dark-2: #2f141c;
    --bg: #faf7f4;
    --surface: #ffffff;
    --text: #241418;
    --text-muted: #7a6868;
    --border: #e8ddd8;
    --panel: #f5ebe8;
    --section-alt-bg: #f0e6e2;
    --media-placeholder: linear-gradient(150deg, #f3e8e4, #e4d4c8);
    --shadow: 0 6px 30px rgba(50, 20, 30, 0.07);
    --shadow-lift: 0 12px 40px rgba(50, 20, 30, 0.12);
}

/* --- حالت تاریک هر پالت --- */
[data-theme="dark"][data-palette="sapphire"] {
    --gold: #7a9ab8;
    --gold-light: #c5d4e4;
    --gold-dark: #a8bdd4;
    --gold-grad: linear-gradient(120deg, #5a7fa5, #a8bdd4 45%, #3e5f8a);
    --gold-rgb: 122, 154, 184;
    --gold-light-rgb: 197, 212, 228;
    --dark: #060a12;
    --dark-2: #0e1624;
    --bg: #080c14;
    --surface: #101820;
    --text: #e4eaf0;
    --text-muted: #8a9aab;
    --border: #1e2a38;
    --panel: #141c28;
    --section-alt-bg: #0c121c;
    --media-placeholder: linear-gradient(150deg, #101820, #1a2838);
    --shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
    --shadow-lift: 0 12px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"][data-palette="emerald"] {
    --gold: #5a9e78;
    --gold-light: #b0d4bc;
    --gold-dark: #8fbfa0;
    --gold-grad: linear-gradient(120deg, #40916c, #a3c9b0 45%, #2d6a4f);
    --gold-rgb: 90, 158, 120;
    --gold-light-rgb: 176, 212, 188;
    --dark: #060e0a;
    --dark-2: #0e1a14;
    --bg: #080f0b;
    --surface: #101a14;
    --text: #e4f0e8;
    --text-muted: #8aaa98;
    --border: #1e2e24;
    --panel: #142018;
    --section-alt-bg: #0c1610;
    --media-placeholder: linear-gradient(150deg, #101a14, #1a2a20);
    --shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
    --shadow-lift: 0 12px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"][data-palette="rosegold"] {
    --gold: #d48992;
    --gold-light: #f0c8cc;
    --gold-dark: #e8b4b8;
    --gold-grad: linear-gradient(120deg, #c98b94, #e8b4b8 45%, #a85d68);
    --gold-rgb: 212, 137, 146;
    --gold-light-rgb: 240, 200, 204;
    --dark: #100a0c;
    --dark-2: #1c1216;
    --bg: #0e0a0b;
    --surface: #1a1214;
    --text: #f0e4e6;
    --text-muted: #a88890;
    --border: #2e2226;
    --panel: #22181c;
    --section-alt-bg: #140e10;
    --media-placeholder: linear-gradient(150deg, #1a1214, #2a1c20);
    --shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
    --shadow-lift: 0 12px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"][data-palette="noir"] {
    --gold: #a8abb0;
    --gold-light: #e0e2e5;
    --gold-dark: #c4c6ca;
    --gold-grad: linear-gradient(120deg, #9a9da2, #d4d6d9 45%, #6e7278);
    --gold-rgb: 168, 171, 176;
    --gold-light-rgb: 224, 226, 229;
    --dark: #080808;
    --dark-2: #141414;
    --bg: #0a0a0a;
    --surface: #161616;
    --text: #ececed;
    --text-muted: #98999e;
    --border: #2a2a2c;
    --panel: #1c1c1e;
    --section-alt-bg: #101012;
    --media-placeholder: linear-gradient(150deg, #161616, #242426);
    --shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
    --shadow-lift: 0 12px 40px rgba(0, 0, 0, 0.55);
}

[data-theme="dark"][data-palette="burgundy"] {
    --gold: #c47888;
    --gold-light: #e0c98a;
    --gold-dark: #d4af67;
    --gold-grad: linear-gradient(120deg, #8b3a4a, #d4af67 45%, #6a2535);
    --gold-rgb: 196, 120, 136;
    --gold-light-rgb: 224, 201, 138;
    --dark: #10080c;
    --dark-2: #1c1016;
    --bg: #0c080a;
    --surface: #181014;
    --text: #f0e4e0;
    --text-muted: #a88888;
    --border: #2e2024;
    --panel: #201418;
    --section-alt-bg: #140c10;
    --media-placeholder: linear-gradient(150deg, #181014, #2a1a20);
    --shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
    --shadow-lift: 0 12px 40px rgba(0, 0, 0, 0.5);
}
