/* ============ گالری طلا — تم لوکس، موبایل‌فرست ============ */

:root {
    --gold: #b08d2e;
    --gold-light: #e5c463;
    --gold-dark: #8e6f1c;
    --gold-grad: linear-gradient(120deg, #c9a544, #e5c463 45%, #b08d2e);
    --dark: #141008;
    --dark-2: #211a0c;
    --bg: #fcfaf5;
    --surface: #ffffff;
    --text: #241f13;
    --text-muted: #857c68;
    --border: #ece5d3;
    --danger: #c0392b;
    --success: #1e9e5a;
    --radius: 14px;
    --radius-sm: 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; } }

/* ---------- هدر ---------- */
.site-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}
.header-inner { display: flex; align-items: center; gap: 2rem; padding: 0.7rem 1rem; }
.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(176, 141, 46, 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); }
.cart-link {
    margin-inline-start: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--dark);
    color: #f3e9cd;
    padding: 0.5rem 1.15rem;
    border-radius: 999px;
    font-size: 0.88rem;
    transition: 0.25s;
}
.cart-link:hover { background: var(--gold-dark); color: #fff; }
.cart-badge {
    background: var(--gold-light);
    color: var(--dark);
    font-weight: 800;
    border-radius: 999px;
    padding: 0 0.45rem;
    font-size: 0.78rem;
}

/* ---------- منوی موبایل پایین ---------- */
.mobile-nav { display: none; }

/* ---------- هیروی لوکس ---------- */
.hero-lux {
    position: relative;
    background:
        radial-gradient(ellipse 70% 55% at 18% 12%, rgba(201, 165, 68, 0.16), transparent),
        radial-gradient(ellipse 55% 45% at 88% 85%, rgba(201, 165, 68, 0.12), transparent),
        linear-gradient(165deg, #0d0a04 0%, var(--dark) 45%, #2b2009 100%);
    color: #f6efdc;
    padding: 4.8rem 0 5.2rem;
    overflow: hidden;
}
.hero-lux::after {
    /* خط طلایی ظریف پایین هیرو */
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229, 196, 99, 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; }
.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(229, 196, 99, 0.45);
    color: var(--gold-light);
    backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(229, 196, 99, 0.14); border-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(229, 196, 99, 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(229, 196, 99, 0.55);
    outline: 1px solid rgba(229, 196, 99, 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(229, 196, 99, 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;
    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: 999px;
    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(176, 141, 46, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(176, 141, 46, 0.45); }
.btn-outline { background: transparent; border: 1.5px solid var(--gold); color: var(--gold-dark); }
.btn-outline:hover { background: var(--gold); color: #fff; }
.hero .btn-outline { color: var(--gold-light); border-color: rgba(229, 196, 99, 0.6); }
.hero .btn-outline:hover { color: var(--dark); background: 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-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lift);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}
.price-card::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 0; bottom: 0;
    width: 4px;
    background: var(--gold-grad);
}
.price-card h2 { font-size: 1.15rem; }
.price-value { text-align: end; }
.price-value span { display: block; font-size: 1.8rem; font-weight: 800; color: var(--gold-dark); letter-spacing: -0.3px; }
.price-value small { color: var(--text-muted); font-size: 0.82rem; }

/* ---------- نوار شبکه‌های اجتماعی ---------- */
.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;
    box-shadow: 0 6px 18px rgba(40, 30, 5, 0.18);
    transition: transform 0.25s, box-shadow 0.25s;
}
.social-link:hover { transform: translateY(-4px) scale(1.06); }
.soc-instagram { background: radial-gradient(circle at 30% 110%, #fdc468, #df4996 55%, #8a3ab9); }
.soc-telegram { background: linear-gradient(180deg, #37aee2, #1e96c8); }
.soc-whatsapp { background: linear-gradient(180deg, #2fca67, #1faf53); }
.soc-bale { background: linear-gradient(180deg, #57c98d, #2fa96c); }
.soc-instagram:hover { box-shadow: 0 12px 26px rgba(223, 73, 150, 0.45); }
.soc-telegram:hover { box-shadow: 0 12px 26px rgba(55, 174, 226, 0.45); }
.soc-whatsapp:hover { box-shadow: 0 12px 26px rgba(47, 202, 103, 0.45); }
.soc-bale:hover { box-shadow: 0 12px 26px rgba(87, 201, 141, 0.45); }

/* ---------- نمودار و ماشین‌حساب ---------- */
/* ---------- صفحه قیمت طلا ---------- */
.gp-hero {
    background: linear-gradient(165deg, #0d0a04 0%, var(--dark) 45%, #2b2009 100%);
    color: #f6efdc;
    text-align: center;
    padding: 3rem 0 2.6rem;
    position: relative;
    overflow: hidden;
}
.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(229, 196, 99, 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-pt:hover { fill: rgba(176, 141, 46, 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: #fbf5e3; 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(176, 141, 46, 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(229, 196, 99, 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: #f6f1e4; }
.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; }
.collection-card {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
}
.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.collection-card:hover img { transform: scale(1.06); }
.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%);
}
.collection-body {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 1.2rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    text-align: center;
    color: #fff;
}
.collection-body strong { font-size: 1.2rem; font-weight: 800; color: var(--gold-light); letter-spacing: 0.02em; }
.collection-body::after {
    content: "";
    width: 34px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold-light);
    opacity: 0.85;
    transition: width 0.35s ease;
}
.collection-card:hover .collection-body::after { width: 56px; }
.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-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.1rem; }
.cat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.4rem 1rem 1.15rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    font-weight: 600;
    font-size: 0.95rem;
    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(176, 141, 46, 0.55); transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.cat-card:hover::before { opacity: 1; }
.cat-thumb {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg, #f8f3e5, #efe6cb);
    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(176, 141, 46, 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); }

/* ---------- کارت محصول ---------- */
.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(176, 141, 46, 0.5); }
.product-image {
    aspect-ratio: 1;
    background: linear-gradient(150deg, #f8f3e5, #efe6cb);
    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; }

/* ---------- اعتمادسازی ---------- */
.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(229, 196, 99, 0.22), transparent 65%);
    pointer-events: none;
}
.trust-item:hover { border-color: rgba(176, 141, 46, 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(176, 141, 46, 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; }

/* ---------- فیلتر و جستجو ---------- */
.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: linear-gradient(150deg, #f8f3e5, #efe6cb);
    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(176, 141, 46, 0.55); }
.gallery-thumb.active { border-color: var(--gold); box-shadow: 0 4px 14px rgba(176, 141, 46, 0.3); }

/* باکس «خبرم کن» */
.alert-box {
    margin-top: 1.6rem;
    background: #fbf7ec;
    border: 1px dashed rgba(176, 141, 46, 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: #fbf5e3; 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; }
.add-to-cart-form input[type="number"] {
    width: 74px;
    padding: 0.55rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    margin-inline-start: 0.5rem;
    text-align: center;
}

/* ---------- جدول‌ها ---------- */
.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: #f6f1e4;
    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: #fbf5e3; 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); }

/* ---------- فوتر ---------- */
.site-footer {
    position: relative;
    background:
        radial-gradient(ellipse 60% 70% at 85% 0%, rgba(201, 165, 68, 0.1), transparent),
        linear-gradient(180deg, #17120a 0%, var(--dark) 60%);
    color: #cfc5a9;
    margin-top: 3rem;
    overflow: hidden;
}
.footer-glow {
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229, 196, 99, 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(229, 196, 99, 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: #e8dfc4;
    opacity: 0.8;
    transition: 0.25s;
}
.footer-social svg { width: 21px; height: 21px; }
.footer-social:hover { opacity: 1; transform: translateY(-3px); }
.footer-social.soc-instagram:hover { color: #df4996; }
.footer-social.soc-telegram:hover { color: #37aee2; }
.footer-social.soc-whatsapp:hover { color: #2fca67; }
.footer-social.soc-bale:hover { color: #57c98d; }
.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(229, 196, 99, 0.08);
    border: 1px solid rgba(229, 196, 99, 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: 1rem 0; font-size: 0.8rem; text-align: center; opacity: 0.65; position: relative; }

/* ---------- سفارش ساخت طلا ---------- */
.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, #171106, #2b2009);
    color: #f7efdb;
    box-shadow: 0 18px 42px rgba(35, 25, 5, 0.2);
    border: 1px solid rgba(229, 196, 99, 0.25);
}
.custom-cta-icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    color: var(--gold-light);
    background: rgba(229, 196, 99, 0.08);
    border: 1px solid rgba(229, 196, 99, 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(247, 239, 219, 0.65); line-height: 1.9; }

.custom-order-hero {
    padding: 3.2rem 0;
    text-align: center;
    color: #f7efdb;
    background: radial-gradient(circle at 50% 120%, rgba(183, 140, 36, 0.32), transparent 50%),
                linear-gradient(160deg, #0d0a04, #211807);
}
.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(247, 239, 219, 0.68); 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(176, 141, 46, 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(176, 141, 46, 0.1); }
.custom-upload {
    align-items: center;
    text-align: center;
    padding: 1.3rem;
    cursor: pointer;
    border: 1.5px dashed rgba(176, 141, 46, 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: 70px; overflow-x: hidden; } /* جا برای منوی پایین + جلوگیری از اسکرول افقی */

    /* منوی پایین اپ‌مانند — تیره هم‌رنگ هیرو */
    .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        inset-inline: 0;
        z-index: 100;
        background: linear-gradient(0deg, #0d0a04 0%, rgba(20, 16, 8, 0.97) 100%);
        backdrop-filter: blur(14px);
        border-top: 1px solid rgba(229, 196, 99, 0.22);
        padding: 0.4rem 0.3rem calc(0.4rem + env(safe-area-inset-bottom));
        box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.4);
    }
    .mobile-nav a {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        font-size: 0.68rem;
        color: rgba(240, 230, 200, 0.6);
        padding: 0.3rem 0;
        border-radius: var(--radius-sm);
        transition: 0.2s;
    }
    .mobile-nav a.active { color: var(--gold-light); font-weight: 700; }
    .mobile-nav .mobile-call { color: var(--gold-dark); }
    .mobile-nav .mobile-call svg {
        background: var(--gold-grad);
        color: #241a02;
        border-radius: 50%;
        padding: 5px;
        width: 30px;
        height: 30px;
        margin-top: -8px;
        box-shadow: 0 4px 14px rgba(176, 141, 46, 0.45);
    }
    .mobile-cart-wrap { position: relative; }
    .mobile-cart-badge {
        position: absolute;
        top: -6px;
        inset-inline-end: -9px;
        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;
    }

    /* هدر جمع‌وجور — منوی وسط حذف، منو در پایین صفحه است */
    .main-nav { display: none; }
    .cart-link .cart-text { display: none; }
    .cart-link {
        padding: 0.5rem 0.7rem;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(229, 196, 99, 0.4);
        color: var(--gold-light);
    }
    .header-inner { gap: 0.8rem; padding: 0.6rem 1rem; }

    /* هدر تیره هم‌رنگ هیرو */
    .site-header {
        background: linear-gradient(165deg, #0d0a04 0%, var(--dark) 60%, #1c1509 100%);
        border-bottom: 1px solid rgba(229, 196, 99, 0.22);
    }
    .site-header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45); }
    /* درخشش طلایی اسم برند در هدر موبایل */
    .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;
    }
    .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 { padding: 2.6rem 0 3.4rem; }
    .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; }
    .hero-actions .btn-lg { width: auto; flex: 1; }
    .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; }

    .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.6rem; }
    .collection-card { aspect-ratio: 3 / 4; border-radius: 14px; }
    .collection-body { padding: 0.7rem 0.3rem; gap: 0.3rem; }
    .collection-body strong { font-size: 0.92rem; }
    .collection-body::after { width: 22px; }

    .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: 2.4rem 1rem; }
    .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 { padding: 1.2rem 1.3rem; }
    .price-value { text-align: start; }
    .price-value span { font-size: 1.45rem; }

    .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: 2.4rem 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-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; }

    .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
    .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; }

    .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 { padding: 0.7rem 0; font-size: 0.74rem; }
}

/* ============ افکت‌های ورود هیرو (لود صفحه) ============ */
.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: box-shadow 0.3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(40, 30, 5, 0.12); }

@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; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .reveal .trust-icon, .reveal strong, .reveal span { opacity: 1; transform: none; transition: none; }
}
