/* Geranit — سبک‌های پایه و صفحه‌ی اصلی. روشن و گرم، با المان‌های طلایی و سنگ گرانیت مشکی. */
:root {
  --bg: #fffdf9;          /* سفید گرم */
  --cream: #f8f3eb;       /* کرم بسیار ملایم */
  --cream-2: #f3ece1;
  --line: #ebe3d6;
  --ink: #3b3936;         /* متن خاکستری تیره */
  --ink-soft: #6d6862;
  --black: #211f1d;       /* گرانیت مشکی */
  --gold: #b08d57;
  --gold-light: #d9bd85;
  --gold-ink: #8a6a3a;    /* طلایی با کنتراست کافی برای متن */
  --gold-grad: linear-gradient(110deg, #8a6a3a 0%, #c9a66b 35%, #f0dcaa 50%, #c9a66b 65%, #8a6a3a 100%);
  --gold-surface: linear-gradient(90deg, #b8925a 0%, #dcc08a 25%, #f3e2b6 50%, #dcc08a 75%, #b8925a 100%);
  --granite-black: url("../img/granite-black.svg");
  /* رنگ‌های شاد */
  --coral: #e07a5f;  --coral-ink: #b5543b;  --coral-tint: #fde8e0;
  --mint: #81b29a;   --mint-ink: #3f7a5f;   --mint-tint: #e2f1e9;
  --sky: #6fa8d6;    --sky-ink: #34709f;    --sky-tint: #e3eef8;
  --butter: #f2c14e; --butter-ink: #94700f; --butter-tint: #fdf3d9;
  --blush: #e9a3a0;  --blush-ink: #a8524e;  --blush-tint: #fbe6e4;
  --lilac: #a996d6;  --lilac-ink: #6a55a0;  --lilac-tint: #ece7f6;
  --rainbow: linear-gradient(90deg, var(--coral), var(--butter), var(--mint), var(--sky), var(--lilac), var(--blush), var(--coral));
  --radius: 14px;
  --gutter: 16px;
  --max: 1200px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --font: "Vazirmatn", Tahoma, sans-serif;
  --font-latin: "Cormorant Garamond", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; line-height: 1.4; font-weight: 700; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* متن طلایی براق */
.gold-text {
  background: var(--gold-grad);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }


/* هدر */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 253, 249, .92);
  backdrop-filter: blur(10px);
  border-top: 3px solid transparent;
  border-image: var(--gold-grad) 1;
  transition: box-shadow .4s var(--ease);
}
.site-header::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px;
  background: var(--line);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(33, 31, 29, .35); }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 78px;
  transition: height .4s var(--ease);
}
.is-scrolled .header-inner { height: 64px; }
.header-start { display: flex; align-items: center; justify-self: start; }
.header-end { display: flex; align-items: center; gap: 4px; justify-self: end; }

.brand {
  font-family: var(--font-latin);
  font-weight: 600;
  font-size: 34px;
  letter-spacing: .14em;
  line-height: 1;
  color: var(--black);
  direction: ltr;
  padding-left: .14em;
  text-align: center;
}
.brand::after {
  content: ""; display: block; width: 34px; height: 2px;
  background: var(--gold-grad); background-size: 250% 100%;
  margin: 8px auto 0;
  animation: shimmer 4s linear infinite;
  transition: width .5s var(--ease);
}
.brand:hover::after { width: 100%; }

.main-nav { display: flex; gap: 32px; }
.main-nav a {
  font-size: 15px; font-weight: 500; color: var(--ink-soft);
  padding: 6px 0; position: relative; transition: color .25s;
}
.main-nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.main-nav a:hover { color: var(--black); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--black); }

.icon-btn {
  position: relative;
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border: 0; background: none; border-radius: 50%;
  color: var(--black); cursor: pointer;
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.icon-btn:hover { background: var(--black); color: var(--gold-light); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cart-count {
  position: absolute; top: 3px; left: 1px;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 9px; background: var(--gold); color: #fff;
  font-size: 11px; line-height: 18px; text-align: center; font-weight: 600;
  box-shadow: 0 0 0 2px var(--bg);
}
.cart-count[data-count="0"] { background: var(--cream-2); color: var(--ink-soft); }
.cart-count.pop { animation: pop .5s var(--ease); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }

.menu-toggle { display: none; margin-inline-start: -10px; }
.menu-toggle svg path { transition: transform .35s var(--ease), opacity .2s; transform-origin: center; }
.menu-toggle[aria-expanded="true"] svg path:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] svg path:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] svg path:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.mobile-nav {
  display: grid; grid-template-rows: 0fr;
  background: var(--bg);
  transition: grid-template-rows .45s var(--ease);
}
.mobile-nav.open { grid-template-rows: 1fr; border-top: 1px solid var(--line); }
.mobile-nav > div { overflow: hidden; padding-inline: var(--gutter); }
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 4px; font-size: 16px; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateX(16px);
  transition: opacity .35s, transform .45s var(--ease), color .2s;
}
.mobile-nav a::after { content: "◆"; font-size: 9px; color: var(--gold); }
.mobile-nav.open a { opacity: 1; transform: none; }
.mobile-nav.open a:nth-child(2) { transition-delay: .06s; }
.mobile-nav.open a:nth-child(3) { transition-delay: .12s; }
.mobile-nav a:last-child { border-bottom: 0; margin-bottom: 10px; }
.mobile-nav a[aria-current="page"] { color: var(--gold-ink); font-weight: 600; }

/* دکمه‌ها */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 28px;
  border-radius: 999px; font-size: 15px; font-weight: 500;
  transition: color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.btn-primary {
  background: var(--gold-surface);
  background-size: 200% 100%;
  color: var(--black); font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(138, 106, 58, .45), 0 8px 20px -12px rgba(138, 106, 58, .8);
  transition: background-position .6s var(--ease), transform .3s var(--ease), box-shadow .3s;
}
.btn-primary::before {   /* برق طلایی که از روی دکمه رد می‌شود */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .6) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: sweep 4.5s ease-in-out infinite 1.5s;
}
@keyframes sweep { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn-primary:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--gold-ink), 0 14px 26px -12px rgba(138, 106, 58, .9); }
.btn-primary .arrow { transition: transform .3s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(-4px); }
.btn-ghost { border: 1px solid var(--gold); color: var(--black); background: rgba(255, 253, 249, .6); }
.btn-ghost:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }

/* معرفی */
.hero {
  position: relative;
  padding: 56px 0 80px;
  background: var(--bg);
  overflow: hidden;
}
.hero::before {          /* محو کردن بافت سنگ به سمت متن */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(270deg, rgba(255, 253, 249, .9) 25%, rgba(255, 253, 249, 0) 100%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-ink);
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold-grad); }
.hero h1 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -.01em; text-wrap: balance; color: var(--black); }
.lead { margin: 18px 0 32px; color: var(--ink-soft); font-size: 17px; max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-media { margin: 0; position: relative; padding: 0 0 22px 22px; }
.hero-media::before {     /* قاب طلایی ساده پشت تصویر */
  content: ""; position: absolute; left: 0; bottom: 0; width: 72%; height: 78%;
  border-radius: 24px; border: 1.5px solid var(--gold);
}
.hero-media::after {      /* حلقه‌ی طلایی تزئینی */
  content: ""; position: absolute; top: -18px; right: -18px; width: 96px; height: 96px;
  border-radius: 50%; border: 1.5px solid var(--gold);
  animation: float 7s ease-in-out infinite;
}
.hero-media .frame {
  position: relative; border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(33, 31, 29, .45);
}
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
figcaption, .tag {
  font-size: 11px; color: var(--ink-soft);
  background: rgba(255, 253, 249, .88);
  border: 1px solid var(--line);
  border-radius: 999px; padding: 1px 10px;
}
.hero-media figcaption { position: absolute; top: 14px; left: 14px; }

/* نوار گرانیت مشکی با دسته‌ها */
.ribbon {
  background: var(--gold-surface); background-size: 200% 100%;
  animation: shimmer 9s linear infinite;
  border-block: 1px solid #a07d48;
  overflow: hidden; direction: ltr;
}
.ribbon-track {
  display: flex; width: max-content;
  animation: marquee 32s linear infinite;
}
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-track span {
  direction: rtl;
  display: inline-flex; align-items: center; gap: 28px;
  padding: 16px 14px; white-space: nowrap;
  font-size: 17px; font-weight: 600; color: var(--black);
}
.ribbon-track span::after { content: "◆"; font-size: 11px; color: var(--black); opacity: .55; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* بخش‌ها */
.section { padding: 80px 0; position: relative; }
.section-cream { background: var(--cream); }
.section-cream::before {   /* بافت ملایم سنگ روی زمینه‌ی کرم */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 10% 20%, var(--butter-tint), transparent 40%), radial-gradient(circle at 90% 80%, var(--mint-tint), transparent 40%);
}
.section > .container { position: relative; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 32px;
}
.section-head h2 {
  font-size: clamp(22px, 2.6vw, 30px); color: var(--black);
  display: flex; align-items: center; gap: 12px;
}
.section-head h2::before {
  content: ""; width: 10px; height: 10px; flex: none;
  background: var(--gold-grad); transform: rotate(45deg);
}
.link-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--gold-ink); white-space: nowrap;
}
.link-more::after { content: "←"; transition: transform .3s var(--ease); }
.link-more:hover::after { transform: translateX(-5px); }
.sample-note { margin: 4px 0 0; font-size: 13px; color: var(--ink-soft); }

/* دسته‌بندی‌ها */
.cat-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
.cat-card { display: block; text-align: center; }
.cat-ring {
  position: relative; display: block; border-radius: 50%; padding: 6px;
  background: conic-gradient(from 0deg, var(--line), var(--line));
  transition: transform .45s var(--ease);
}
.cat-ring::before {        /* حلقه‌ی طلایی چرخان */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--gold), #f0dcaa, var(--black), var(--gold));
  opacity: 0; transition: opacity .4s;
  animation: spin 3.5s linear infinite;
}
.cat-ring img {
  position: relative; border-radius: 50%; aspect-ratio: 1; object-fit: cover;
  border: 3px solid var(--bg);
}
.cat-card span.label { display: block; margin-top: 12px; font-size: 15px; font-weight: 500; transition: color .3s; }
.cat-card:hover .cat-ring { transform: translateY(-6px); }
.cat-card:hover .cat-ring::before { opacity: 1; }
.cat-card:hover .label { color: var(--gold-ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* محصولات */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  position: relative;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 1px 0 var(--line);
  transition: box-shadow .45s var(--ease), transform .45s var(--ease);
}
.product-card::after {     /* خط طلایی پایین کارت */
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -22px rgba(33, 31, 29, .45); }
.product-card:hover::after { transform: scaleX(1); }
.product-media { display: block; overflow: hidden; }
.product-media img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .8s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.07) rotate(-1deg); }
.product-body { padding: 14px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: 12px; color: var(--gold-ink); font-weight: 500; }
.product-name { font-size: 15px; font-weight: 600; margin: 2px 0 12px; color: var(--black); }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { margin: 0; font-size: 13px; color: var(--ink-soft); display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.price .amount { font-size: 16px; font-weight: 700; color: var(--black); }
.price .tag { margin-inline-start: 4px; }
.add-btn {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  border: 0; color: var(--gold-light);
  background: var(--black) var(--granite-black); background-size: 480px;
  box-shadow: inset 0 0 0 1px rgba(201, 166, 107, .5);
  display: grid; place-items: center; cursor: pointer;
  transition: transform .35s var(--ease), background-color .3s, color .3s;
}
.add-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform .4s var(--ease); }
.add-btn:hover { transform: scale(1.1); color: #fff; }
.add-btn:hover svg { transform: rotate(90deg); }
.add-btn:active { transform: scale(.92); }

/* نقطه‌ی طلایی که تا سبد پرواز می‌کند */
.fly-dot {
  position: fixed; z-index: 40; width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold-grad); pointer-events: none;
  box-shadow: 0 0 0 3px rgba(176, 141, 87, .25);
}

/* فوتر */
.site-footer {
  position: relative;
  padding-top: 64px;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255, 253, 249, .96), rgba(255, 253, 249, .78));
}
.site-footer > .container { position: relative; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 32px; padding-bottom: 48px; }
.brand-sm { font-size: 30px; display: inline-block; }
.brand-sm::after { margin: 8px 0 0 auto; }
.footer-brand p { margin: 12px 0 0; color: var(--ink-soft); font-size: 14px; }
.site-footer h3 { font-size: 15px; margin-bottom: 14px; color: var(--black); }
.site-footer li { font-size: 14px; color: var(--ink-soft); padding: 3px 0; }
.site-footer nav a { transition: color .2s, padding .3s var(--ease); }
.site-footer nav a:hover { color: var(--gold-ink); padding-inline-start: 6px; }
.placeholder { color: #a39c93; font-style: italic; }
.footer-bottom {
  position: relative;
  background: var(--gold-surface); background-size: 200% 100%;
  animation: shimmer 12s linear infinite;
}
.footer-bottom .container {
  display: flex; justify-content: space-between; gap: 16px;
  padding-block: 16px; font-size: 13px; font-weight: 500; color: var(--black);
}
.footer-bottom .container span:first-child { font-weight: 700; }

/* پیام */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  background: var(--black) var(--granite-black); background-size: 480px;
  color: #fff; font-size: 14px;
  padding: 10px 22px; border-radius: 999px; z-index: 30;
  box-shadow: inset 0 0 0 1px var(--gold), 0 10px 30px -10px rgba(0, 0, 0, .4);
  transform: translate(-50%, 0);
  animation: toast-in .45s var(--ease);
}
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 16px); } }

/* ورود و نمایش با اسکرول (فقط وقتی JavaScript فعال است) */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].in { opacity: 1; transform: none; }

.js .hero-media .frame { clip-path: inset(0 0 0 100% round 24px); transition: clip-path 1.3s var(--ease) .2s; }
.js .hero-media.in .frame { clip-path: inset(0 0 0 0 round 24px); }
.js .hero-media::before { opacity: 0; transform: translate(-20px, 20px); transition: opacity .9s, transform 1.1s var(--ease) .5s; }
.js .hero-media.in::before { opacity: 1; transform: none; }

@media (min-width: 761px) { .mobile-nav { display: none; } }

/* تبلت */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 24px 18px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { gap: 36px; }
}

/* موبایل */
@media (max-width: 760px) {
  .header-inner, .is-scrolled .header-inner { height: 62px; }
  .main-nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .brand { font-size: 27px; }
  .brand::after { margin-top: 6px; width: 24px; }

  .hero { padding: 20px 0 52px; }
  .hero::before { background: linear-gradient(0deg, rgba(255, 253, 249, .97) 45%, rgba(255, 253, 249, .6) 100%); }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-media { order: -1; padding: 0 0 14px 14px; }
  .hero-media::after { width: 64px; height: 64px; top: -10px; right: -6px; }
  .hero-media .frame { border-radius: 18px; }
  .lead { font-size: 16px; margin: 12px 0 24px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1; padding: 0 14px; white-space: nowrap; }

  .ribbon-track span { font-size: 15px; padding: 12px 10px; gap: 20px; }

  .section { padding: 56px 0; }
  .cat-grid {
    display: flex; gap: 14px; overflow-x: auto;
    scroll-snap-type: x mandatory; padding-bottom: 8px; padding-top: 8px;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .cat-grid::-webkit-scrollbar { display: none; }
  .cat-grid li { flex: 0 0 100px; scroll-snap-align: start; }
  .cat-card span.label { font-size: 14px; margin-top: 8px; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-body { padding: 10px 12px 14px; }
  .product-name { font-size: 14px; margin-bottom: 8px; }
  .price .amount { font-size: 15px; }
  .add-btn { width: 38px; height: 38px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom .container { flex-direction: column; gap: 2px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .hero-media .frame, .js .hero-media::before { opacity: 1; transform: none; clip-path: none; }
}

/* ===== رنگ و شادی ===== */

/* لکه‌های رنگی شناور پشت تصویر معرفی */
.blobs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.blobs i {
  position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55;
  animation: drift 14s ease-in-out infinite alternate;
}
.blobs i:nth-child(1) { width: 340px; height: 340px; background: var(--coral); left: -60px; top: 10%; }
.blobs i:nth-child(2) { width: 260px; height: 260px; background: var(--butter); left: 32%; top: -80px; animation-delay: -4s; }
.blobs i:nth-child(3) { width: 300px; height: 300px; background: var(--mint); left: 20%; bottom: -120px; animation-delay: -8s; }
.blobs i:nth-child(4) { width: 220px; height: 220px; background: var(--sky); right: 6%; bottom: 0; animation-delay: -2s; opacity: .35; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.12); }
  100% { transform: translate(-30px, 25px) scale(.95); }
}

/* چیپ‌های رنگی زیر دکمه‌های معرفی */
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 500;
  transition: transform .3s var(--ease);
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.chip:hover { transform: translateY(-3px) rotate(-2deg); }
.c-coral { background: var(--coral-tint); color: var(--coral-ink); }
.c-mint { background: var(--mint-tint); color: var(--mint-ink); }
.c-sky { background: var(--sky-tint); color: var(--sky-ink); }
.c-butter { background: var(--butter-tint); color: var(--butter-ink); }
.c-blush { background: var(--blush-tint); color: var(--blush-ink); }
.c-lilac { background: var(--lilac-tint); color: var(--lilac-ink); }

/* حلقه‌ی دسته‌ها به رنگ خود دسته */
.cat-grid li:nth-child(1) .cat-ring { --c: var(--coral); }
.cat-grid li:nth-child(2) .cat-ring { --c: var(--mint); }
.cat-grid li:nth-child(3) .cat-ring { --c: var(--sky); }
.cat-grid li:nth-child(4) .cat-ring { --c: var(--blush); }
.cat-grid li:nth-child(5) .cat-ring { --c: var(--lilac); }
.cat-grid li:nth-child(6) .cat-ring { --c: var(--butter); }
.cat-ring { background: color-mix(in srgb, var(--c, var(--line)) 35%, #fff); }
.cat-ring::before { background: conic-gradient(from 0deg, var(--c), var(--gold), #f0dcaa, var(--c)); }

/* کاشی‌های رنگی */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  min-height: 220px; padding: 24px 12px 24px 20px; gap: 12px; border-radius: 22px;
  background: var(--t-bg); color: var(--t-ink);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tile::before {   /* دایره‌ی رنگی پشت تصویر */
  content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; border-radius: 50%;
  left: -40px; bottom: -60px; background: var(--t-c); opacity: .35;
  transition: transform .8s var(--ease);
}
.tile:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px var(--t-c); }
.tile:hover::before { transform: scale(1.25); }
.tile img { width: 100%; max-width: 180px; justify-self: center; mix-blend-mode: darken; transition: transform .8s var(--ease); }
.tile:hover img { transform: rotate(-6deg) scale(1.08); }
.tile h3 { font-size: 22px; color: var(--black); }
.tile p { margin: 4px 0 14px; font-size: 14px; opacity: .85; }
.tile .go {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 999px; background: var(--t-c); color: #fff;
  font-size: 13px; font-weight: 600;
}
.tile .go::after { content: "←"; transition: transform .3s var(--ease); }
.tile:hover .go::after { transform: translateX(-4px); }
.t-coral { --t-bg: var(--coral-tint); --t-c: var(--coral); --t-ink: var(--coral-ink); }
.t-mint { --t-bg: var(--mint-tint); --t-c: var(--mint-ink); --t-ink: var(--mint-ink); }
.t-sky { --t-bg: var(--sky-tint); --t-c: var(--sky-ink); --t-ink: var(--sky-ink); }

/* برچسب رنگی دسته روی کارت محصول */
.product-cat {
  align-self: flex-start; padding: 1px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600;
}

/* نوار برندها */
.brands {
  padding: 56px 0 64px; background: var(--bg);
  border-top: 1px solid var(--line);
}
.brands .section-head { margin-bottom: 24px; }
.brand-marquee {
  overflow: hidden; direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.brand-track { display: flex; gap: 18px; width: max-content; animation: marquee 70s linear infinite; padding-block: 10px; }
.brand-marquee.reverse .brand-track { animation-direction: reverse; animation-duration: 60s; }
.brand-marquee:hover .brand-track { animation-play-state: paused; }
.brand-tile {
  flex: none; min-width: 170px; padding-inline: 22px; height: 92px; border-radius: 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: #fff; border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.brand-tile:hover { transform: translateY(-5px); border-color: var(--bc); box-shadow: 0 16px 28px -18px var(--bc); }
.brand-tile img { max-width: 132px; max-height: 50px; width: auto; transition: transform .4s var(--ease); }
.brand-tile:hover img { transform: scale(1.06); }
.brand-word {
  font-family: "Montserrat", "Segoe UI", sans-serif; font-weight: 700;
  font-size: 21px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--bc); line-height: 1.2;
}

/* نوار رنگین‌کمانی بالای فوتر */
.site-footer { border-top: 0; }
.site-footer > .rainbow {
  position: absolute; top: 0; inset-inline: 0; height: 4px;
  background: var(--rainbow); background-size: 200% 100%;
  animation: shimmer 8s linear infinite;
}
.footer-bottom { border-top: 1px solid #a07d48; }

@media (max-width: 1024px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .tiles .tile:last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .blobs i { filter: blur(40px); opacity: .45; }
  .blobs i:nth-child(1) { width: 220px; height: 220px; }
  .blobs i:nth-child(3) { width: 200px; height: 200px; left: 50%; bottom: auto; top: 160px; }
  .hero-chips { margin-top: 20px; }
  .tiles { grid-template-columns: 1fr; gap: 14px; }
  .tile { min-height: 160px; padding: 18px 8px 18px 18px; }
  .tile img { max-width: 130px; }
  .tile h3 { font-size: 19px; }
  .brands { padding: 44px 0 48px; }
  .brand-tile { min-width: 132px; padding-inline: 16px; height: 72px; }
  .brand-word { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .blobs i, .brand-track { animation: none !important; }
}

.brands-en { font-family: "Montserrat", sans-serif; font-size: .55em; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }


/* ---------- منوی «محصولات» با دسته‌ها (۱.۰.۱۹) ---------- */
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop-toggle { display: inline-flex; align-items: center; gap: 4px; }
.nav-drop-toggle .chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.nav-drop-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-drop-toggle[aria-expanded="true"] { color: var(--black); }
.main-nav .nav-drop-panel {
  position: absolute; top: calc(100% + 18px); right: -24px; z-index: 40;
  width: min(620px, 92vw); padding: 16px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 30px 60px -30px rgba(33, 31, 29, .45);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s, transform .35s var(--ease), visibility 0s .35s;
}
.main-nav .nav-drop-panel::before {
  content: ""; position: absolute; top: -1px; inset-inline: 22px; height: 3px; border-radius: 0 0 3px 3px; background: var(--gold-grad);
}
.main-nav .nav-drop.open .nav-drop-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .35s var(--ease), visibility 0s; }
.nav-drop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.main-nav .nav-drop-panel a { padding: 0; white-space: normal; }
.main-nav .nav-drop-panel a::after { display: none; }
.drop-item { display: flex; align-items: center; gap: 12px; padding: 8px !important; border-radius: 14px; transition: background .2s; }
.drop-item:hover, .drop-item.is-active { background: var(--cream); }
.drop-img { flex: none; width: 52px; height: 52px; border-radius: 14px; overflow: hidden; background: var(--cream-2); }
.drop-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.drop-item:hover .drop-img img { transform: scale(1.08); }
.drop-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.drop-txt b { font-size: 14.5px; font-weight: 600; color: var(--black); }
.drop-txt small { font-size: 12px; color: var(--ink-soft); }
.drop-all {
  display: flex !important; justify-content: center; gap: 6px; margin-top: 12px; padding: 11px !important;
  border-radius: 999px; background: var(--gold-surface); background-size: 200% 100%;
  color: var(--black) !important; font-weight: 600; font-size: 14px;
  transition: background-position .5s var(--ease);
}
.drop-all:hover { background-position: 100% 0; }

/* موبایل: زیرمنوی بازشونده */
.mobile-nav .nav-drop { display: block; }
.mobile-nav .nav-drop-toggle { width: 100%; }
.mobile-nav .nav-drop-toggle::after { display: none; }
.mobile-nav .nav-drop-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.mobile-nav .nav-drop.open .nav-drop-panel { grid-template-rows: 1fr; }
.mobile-nav .nav-drop-panel > * { min-height: 0; overflow: hidden; }
.mobile-nav .nav-drop-panel { grid-template-columns: 1fr; }
.mobile-nav .nav-drop-grid { grid-template-columns: 1fr 1fr; gap: 6px; padding: 0; }
.mobile-nav .nav-drop.open .nav-drop-grid { padding: 4px 0 6px; }
.mobile-nav .drop-item { border-bottom: 0; padding: 6px !important; gap: 8px; }
.mobile-nav .drop-item::after, .mobile-nav .drop-all::after { display: none; }
.mobile-nav .drop-img { width: 40px; height: 40px; border-radius: 10px; }
.mobile-nav .drop-txt b { font-size: 13.5px; }
.mobile-nav .drop-all { margin: 0 0 12px; border-bottom: 0; }


/* ---------- ۱.۰.۲۱: نوار دسته‌ها با پیوند، ریل پیشنهاد ویژه، برند قابل کلیک ---------- */
.ribbon-track a { direction: rtl;
  display: inline-flex; align-items: center; gap: 28px; padding: 14px 14px;
  font-size: 17px; font-weight: 700; color: var(--black); white-space: nowrap;
  transition: color .25s;
}
.ribbon-track a::after { content: "◆"; font-size: 11px; color: var(--black); opacity: .55; }
.ribbon-track a:hover { color: #fff; text-shadow: 0 1px 0 rgba(33, 31, 29, .35); }
.ribbon-track a:focus-visible { outline: 2px solid var(--black); outline-offset: -4px; }
.ribbon:focus-within .ribbon-track { animation-play-state: paused; }

.offers .section-head { align-items: center; }
.rail-nav { display: flex; gap: 8px; }
.rail-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer;
  display: grid; place-items: center; color: var(--black);
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.rail-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rail-btn:hover { background: var(--gold-surface); border-color: var(--gold); transform: translateY(-2px); }
.rail { position: relative; }
.rail::before, .rail::after { display: none;
  content: ""; position: absolute; top: 0; bottom: 14px; width: 36px; z-index: 2; pointer-events: none;
}
.rail::before { right: -1px; background: linear-gradient(270deg, var(--bg), transparent); }
.rail::after { left: -1px; background: linear-gradient(90deg, var(--bg), transparent); }
.woocommerce ul.products.offer-track, ul.products.offer-track {
  display: flex !important; gap: 20px; margin: 0 !important; padding: 4px 2px 14px !important;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: auto; overscroll-behavior-x: contain; /* حرکت نرم فقط از JS */
  scrollbar-width: none; cursor: grab;
}
ul.products.offer-track::-webkit-scrollbar { display: none; }
ul.products.offer-track::before, ul.products.offer-track::after { display: none !important; }
ul.products.offer-track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
ul.products.offer-track.dragging a { pointer-events: none; }
.woocommerce ul.products.offer-track li.product, ul.products.offer-track li.product {
  flex: 0 0 calc((100% - 60px) / 4) !important; width: calc((100% - 60px) / 4) !important;
  margin: 0 !important; float: none !important; scroll-snap-align: start;
}
@media (max-width: 1024px) {
  .woocommerce ul.products.offer-track li.product, ul.products.offer-track li.product { flex-basis: calc((100% - 40px) / 3) !important; width: calc((100% - 40px) / 3) !important; }
}
@media (max-width: 760px) {
  .woocommerce ul.products.offer-track, ul.products.offer-track { gap: 12px; }
  .woocommerce ul.products.offer-track li.product, ul.products.offer-track li.product { flex-basis: 62% !important; width: 62% !important; }
  .rail-btn { width: 38px; height: 38px; }
}

a.brand-tile.has-link { cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
a.brand-tile.has-link:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 14px 26px -18px rgba(33, 31, 29, .45); }
@media (max-width: 760px) { .ribbon-track a { font-size: 15px; padding: 12px 10px; gap: 20px; } }


/* ---------- فوتر: درباره‌ی گرانیت و نماد اعتماد (۱.۰.۲۴) ---------- */
.footer-grid { grid-template-columns: 2fr 1fr 1.3fr 1fr; }
.footer-about-title { margin: 18px 0 6px !important; font-size: 15px; }
.footer-about p { margin: 0 0 8px; color: var(--ink-soft); font-size: 13.5px; line-height: 2; max-width: 46ch; }
.footer-more { display: inline-flex; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--gold-ink); }
.footer-more:hover { text-decoration: underline; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.trust-badges a, .trust-badges img { display: block; }
.trust-badges img { max-width: 120px; height: auto; background: #fff; border-radius: 12px; padding: 6px; border: 1px solid var(--line); }
.trust-slot {
  display: grid; place-items: center; gap: 6px; text-align: center;
  width: 130px; min-height: 130px; padding: 12px; border: 1.5px dashed var(--gold); border-radius: 14px;
  background: #fff; color: var(--gold-ink); font-size: 12.5px; font-weight: 600;
}
.trust-slot small { font-weight: 400; color: var(--ink-soft); font-size: 11px; line-height: 1.7; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }


/* ---------- پنجره‌ی قرعه‌کشی (۱.۰.۲۷) ---------- */
.lottery { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.lottery[hidden] { display: none; }
.lottery-scrim { position: absolute; inset: 0; background: rgba(33, 31, 29, .55); backdrop-filter: blur(3px); animation: lot-fade .3s ease; }
.lottery-card {
  position: relative; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--bg); border-radius: 24px; padding: 28px 24px 22px;
  box-shadow: 0 40px 80px -30px rgba(33, 31, 29, .6), inset 0 0 0 1px var(--line);
  animation: lot-in .45s var(--ease);
}
.lottery-card::before { content: ""; position: absolute; top: 0; inset-inline: 28px; height: 4px; border-radius: 0 0 4px 4px; background: var(--gold-grad); }
.lottery-x { position: absolute; top: 10px; left: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--cream); cursor: pointer; display: grid; place-items: center; color: var(--black); }
.lottery-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.lottery-x:hover { background: var(--cream-2); }
.lottery-head { text-align: center; margin-bottom: 16px; }
.lottery-badge { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--butter-tint); font-size: 28px; margin-bottom: 8px; }
.lottery-head h2 { font-size: 21px; color: var(--black); margin: 0 0 6px; }
.lottery-head p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.9; }
.lottery-head .lottery-prize { margin-top: 8px; color: var(--gold-ink); font-weight: 700; }
.lottery-form { display: grid; gap: 12px; }
.lottery-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lottery-form label > span { display: block; font-size: 13px; font-weight: 600; color: var(--black); margin-bottom: 5px; }
.lottery-form input[type=text], .lottery-form input[type=tel] {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid #ddd3c4; background: #fff; font: inherit; font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.lottery-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176, 141, 87, .2); }
.lottery-form input.is-bad { border-color: var(--coral-ink); }
.lottery-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lottery-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); line-height: 1.8; cursor: pointer; }
.lottery-consent input { margin-top: 5px; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }
.lottery-consent.is-bad span { color: var(--coral-ink); }
.lottery-rules { margin: 0; font-size: 12px; color: var(--ink-soft); line-height: 1.8; }
.lottery-msg { margin: 0; min-height: 0; font-size: 13.5px; font-weight: 600; }
.lottery-msg.err { color: var(--coral-ink); }
.lottery-msg.ok { color: var(--mint-ink); font-size: 15px; text-align: center; padding: 10px; background: var(--mint-tint); border-radius: 12px; }
.lottery-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.lottery-actions .btn-primary { flex: 1; }
.lottery-form.done label, .lottery-form.done .lottery-row, .lottery-form.done .lottery-rules, .lottery-form.done .btn-primary { display: none; }
body.lottery-open { overflow: hidden; }
@keyframes lot-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes lot-fade { from { opacity: 0; } }
@media (max-width: 420px) { .lottery-row { grid-template-columns: 1fr; } .lottery-card { padding: 26px 18px 18px; } }
@media (prefers-reduced-motion: reduce) { .lottery-card, .lottery-scrim { animation: none; } }


/* ---------- ورود با موبایل (۱.۰.۲۹) ---------- */
.otp-box { max-width: 440px; margin: 10px auto 30px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px 24px 18px; box-shadow: 0 24px 50px -36px rgba(33,31,29,.45); }
.otp-head { text-align: center; margin-bottom: 18px; }
.otp-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--gold-surface); color: var(--black); margin-bottom: 8px; }
.otp-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.otp-head h2 { font-size: 21px; margin: 0 0 6px; color: var(--black); }
.otp-head p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.otp-step { display: grid; gap: 14px; }
.otp-step[hidden], .otp-names[hidden] { display: none; }
.otp-step label > span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: var(--black); }
.otp-step input { width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid #ddd3c4; font: inherit; font-size: 16px; background: #fff; }
.otp-step input[name=code] { letter-spacing: .5em; text-align: center; font-size: 22px; font-weight: 700; }
.otp-step input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,87,.2); }
.otp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.otp-new { margin: 0 0 4px; font-size: 13.5px; color: var(--gold-ink); font-weight: 600; }
.otp-sent { margin: 0; font-size: 13.5px; color: var(--ink-soft); text-align: center; }
.otp-links { display: flex; justify-content: space-between; }
.otp-link { background: none; border: 0; color: var(--gold-ink); font: inherit; font-size: 13.5px; cursor: pointer; padding: 4px 0; }
.otp-link:disabled { color: var(--ink-soft); cursor: default; }
.otp-msg { margin: 12px 0 0; min-height: 1.4em; text-align: center; font-size: 13.5px; font-weight: 600; }
.otp-msg.err { color: var(--coral-ink); }
.otp-msg.ok { color: var(--mint-ink); }
.geranit-login-note a { font-weight: 700; margin-inline-start: 6px; }

/* ---------- گردونه (۱.۰.۳۰) ---------- */
.gw { padding: 6px 0 40px; }
.gw-hero {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center;
  padding: 36px; border-radius: 32px; position: relative; overflow: hidden;
  background: radial-gradient(circle at 18% 30%, rgba(201,166,107,.22), transparent 45%), radial-gradient(circle at 90% 90%, rgba(201,166,107,.14), transparent 40%), #fbf6ee;
  border: 1px solid var(--line);
}
.gw-stage { position: relative; width: min(100%, 470px); aspect-ratio: 1; justify-self: center; }
.gw-glow { position: absolute; inset: -6%; border-radius: 50%; background: radial-gradient(circle, rgba(240,220,170,.55), transparent 65%); filter: blur(8px); }
.gw-stage .wheel { position: absolute; inset: 0; border-radius: 50%; filter: drop-shadow(0 26px 40px rgba(33,31,29,.35)); }
.wheel-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.wheel-rot { transform-box: fill-box; transform-origin: center; transition: transform 6s cubic-bezier(.12,.72,.14,1); }
.wl-main { font: 800 22px var(--font); }
.wl-sub { font: 600 12.5px var(--font); opacity: .92; }
.wl-hub { font: 600 15px var(--font-latin); letter-spacing: .08em; }
.gw-bulb { fill: #f6e7c1; animation: gw-blink 1.6s ease-in-out infinite; }
.gw-bulb.b2 { animation-delay: .8s; }
.gw.spinning .gw-bulb { animation-duration: .35s; }
@keyframes gw-blink { 0%, 100% { fill: #fff6dc; filter: drop-shadow(0 0 4px #ffe7a6); } 50% { fill: #8a6a3a; filter: none; } }
.wheel-pointer {
  position: absolute; top: -10px; left: 50%; z-index: 3; width: 34px; height: 46px; transform: translateX(-50%);
  background: var(--gold-surface); clip-path: polygon(50% 100%, 0 30%, 0 0, 100% 0, 100% 30%);
  filter: drop-shadow(0 6px 6px rgba(0,0,0,.3));
}
.wheel-pointer::after { content: ""; position: absolute; top: 7px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #211f1d; }

.gw-panel { max-width: 440px; }
.gw-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--gold-ink); }
.gw-kicker::before { content: ""; width: 26px; height: 2px; background: var(--gold-grad); }
.gw-panel h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; color: var(--black); margin: 8px 0 10px; line-height: 1.35; }
.gw-lead { margin: 0 0 22px; color: var(--ink-soft); font-size: 15.5px; line-height: 2; }
.gw-box { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: 0 18px 36px -28px rgba(33,31,29,.45); }
.gw-box p { margin: 0 0 12px; color: var(--ink); font-size: 14.5px; }
.gw-cta { width: 100%; min-height: 56px; font-size: 18px; }
.gw-cta:disabled { opacity: .55; cursor: default; }
.gw-box .wheel-msg { margin: 12px 0 0; min-height: 1.4em; font-size: 14px; font-weight: 600; text-align: center; color: var(--ink-soft); }
.gw-result { margin-top: 16px; text-align: center; padding: 22px 18px; border-radius: 20px; background: #211f1d; color: #f6ecd8; position: relative; overflow: hidden; animation: gw-pop .5s var(--ease); }
.gw-result[hidden] { display: none; }
.gw-result-k { font-size: 13px; color: var(--gold-light); font-weight: 600; }
.gw-result-t { display: block; font-size: 24px; margin: 6px 0; background: var(--gold-grad); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 4s linear infinite; }
.gw-result-p { margin: 0 0 14px; font-size: 13.5px; color: #e4d8c3; }
.gw-result-a { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.gw-result .btn-ghost { color: #f6ecd8; border-color: rgba(246,236,216,.4); }
.gw-result.lose { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.gw-result.lose .gw-result-t { color: var(--black); background: none; animation: none; }
.gw-result.lose .gw-result-p, .gw-result.lose .gw-result-a { display: none; }
@keyframes gw-pop { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.gw-confetti { position: absolute; top: -10px; width: 8px; height: 14px; border-radius: 2px; animation: gw-fall 1.8s ease-in forwards; }
@keyframes gw-fall { to { transform: translateY(260px) rotate(540deg); opacity: 0; } }

.gw-prizes { margin-top: 34px; }
.gw-prizes h3, .gw-rules-title { font-size: 19px; color: var(--black); margin: 0 0 14px; }
.gw-prizes ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gw-prizes li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--black); }
.gw-prizes li i { width: 18px; height: 18px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 2px rgba(201,166,107,.7); }
.gw-rules { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gw-rules li { position: relative; padding: 20px 18px 18px; border-radius: 18px; background: var(--cream); display: grid; gap: 6px; }
.gw-rules b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #211f1d; color: var(--gold-light); font-size: 15px; }
.gw-rules strong { font-size: 15.5px; color: var(--black); margin-top: 4px; }
.gw-rules span { font-size: 13.5px; color: var(--ink-soft); line-height: 1.9; }
@media (max-width: 1024px) { .gw-rules { grid-template-columns: 1fr 1fr; } .gw-prizes ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .gw-hero { grid-template-columns: 1fr; gap: 26px; padding: 22px 16px; border-radius: 24px; }
  .gw-stage { width: min(86vw, 400px); }
  .gw-panel { max-width: none; text-align: center; }
  .gw-kicker { justify-content: center; }
  .wl-main { font-size: 23px; }
}
@media (max-width: 560px) { .gw-prizes ul, .gw-rules { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .wheel-rot { transition-duration: .01s; } .gw-bulb, .gw-result, .gw-confetti { animation: none; } }

/* جایزه‌ها در سبد، پرداخت و حساب */
.prize-note { border: 1.5px dashed var(--gold); background: #fffaf0; border-radius: 16px; padding: 14px 16px; margin: 0 0 20px; }
.prize-note-title { display: block; color: var(--black); font-size: 15px; }
.prize-note-min { margin: 4px 0 10px; font-size: 13px; color: var(--gold-ink); font-weight: 600; }
.prize-note ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.prize-note li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 8px 12px; border: 1px solid var(--line); }
.prize-name { font-weight: 700; color: var(--black); }
.prize-left { font-size: 12.5px; color: var(--ink-soft); }
.prize-on { margin-inline-start: auto; color: var(--mint-ink); font-weight: 700; font-size: 13px; }
.prize-need { margin-inline-start: auto; color: var(--coral-ink); font-size: 12.5px; font-weight: 600; }
.prize-use { margin-inline-start: auto; min-height: 36px; padding: 0 16px; font-size: 13.5px; }
.account-prizes { margin-top: 26px; padding: 18px; border-radius: 16px; background: var(--cream); }
.account-prizes h3 { margin: 0 0 10px; font-size: 17px; }
.account-prizes ul { margin: 0 0 8px; padding: 0; list-style: none; display: grid; gap: 6px; }
.account-prizes li span { color: var(--ink-soft); font-size: 13px; margin-inline: 6px; }
.account-prizes code { background: #fff; padding: 2px 8px; border-radius: 6px; }

/* ---------- جست‌وجوی هدر (۱.۰.۳۲) ---------- */
.hsearch { position: relative; display: flex; align-items: center; margin-inline-end: 6px; }
.hsearch-toggle { display: none; }
.hsearch-form {
  display: flex; align-items: center; width: 230px; height: 42px; padding: 0 6px 0 4px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  transition: width .35s var(--ease), border-color .25s, box-shadow .25s;
}
.hsearch-form:focus-within { width: 280px; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176, 141, 87, .18); }
.hsearch-form input[type=search] { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: inherit; font-size: 14px; padding: 0 12px; color: var(--ink); }
.hsearch-form input[type=search]:focus { outline: none; }
.hsearch-form input[type=search]::-webkit-search-cancel-button { display: none; }
.hsearch-form button { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--gold-surface); color: var(--black); cursor: pointer; }
.hsearch-form button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1100px) {
  .hsearch { position: static; margin: 0; }
  .hsearch-toggle { display: inline-grid; }
  .hsearch-form {
    position: absolute; top: 100%; inset-inline: 0; width: auto !important; height: 54px; border-radius: 0; border-inline: 0;
    padding: 0 var(--gutter); box-shadow: 0 14px 24px -18px rgba(33, 31, 29, .45);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s, transform .3s var(--ease), visibility 0s .3s;
  }
  .hsearch.open .hsearch-form { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .3s var(--ease), visibility 0s; }
  .hsearch-form input[type=search] { font-size: 16px; }
}

/* ورود و ثبت‌نام جدا (۱.۰.۳۳) */
.otp-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: -8px -6px 20px; background: var(--cream); border-radius: 14px; }
.otp-tab { height: 42px; border: 0; border-radius: 10px; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink-soft); cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.otp-tab[aria-selected="true"] { background: #fff; color: var(--black); box-shadow: 0 6px 14px -10px rgba(33,31,29,.5); }
.otp-tab:not([aria-selected="true"]):hover { color: var(--black); }
.otp-names { margin-bottom: 2px; }


/* ---------- ۱.۰.۳۷: شمارش‌ها پنهان، چت، علاقه‌مندی، خبرم کن، اپلیکیشن ---------- */
.cat-tab .n, .filters .n, .drop-txt small, .page-hero .hero-meta { display: none !important; }

/* چت سایت */
.gc { position: fixed; left: 20px; bottom: 20px; z-index: 60; }
.gc-btn { position: relative; width: 58px; height: 58px; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  background: var(--gold-surface); color: var(--black); box-shadow: 0 14px 30px -12px rgba(33,31,29,.55), inset 0 0 0 1px rgba(255,255,255,.5);
  transition: transform .3s var(--ease); }
.gc-btn:hover { transform: translateY(-3px); }
.gc-btn svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.gc-btn::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(201,166,107,.6); animation: gc-ring 2.4s ease-out infinite; }
@keyframes gc-ring { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
.gc-dot { position: absolute; top: 4px; right: 4px; width: 13px; height: 13px; border-radius: 50%; background: #d64535; box-shadow: 0 0 0 2px #fff; }
.gc-dot[hidden] { display: none; }
.gc-panel { position: absolute; left: 0; bottom: 72px; width: min(360px, calc(100vw - 32px)); height: min(520px, calc(100vh - 120px));
  display: flex; flex-direction: column; background: var(--bg); border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(33,31,29,.55), inset 0 0 0 1px var(--line); animation: lot-in .35s var(--ease); }
.gc-panel[hidden] { display: none; }
.gc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; background: #211f1d; color: #f6ecd8; }
.gc-head strong { display: block; color: var(--gold-light); font-size: 15px; }
.gc-head span { font-size: 12px; color: #cfc3ad; }
.gc-x { width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #f6ecd8; cursor: pointer; display: grid; place-items: center; }
.gc-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.gc-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #faf6ef; }
.gc-m { margin: 0; max-width: 82%; padding: 9px 13px; border-radius: 16px; font-size: 14px; line-height: 1.8; white-space: pre-wrap; word-break: break-word; }
.gc-m.a { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-top-right-radius: 4px; }
.gc-m.u { align-self: flex-end; background: #211f1d; color: #f6ecd8; border-top-left-radius: 4px; }
.gc-m time { display: block; font-size: 10.5px; opacity: .55; margin-top: 2px; }
.gc-form { padding: 10px; border-top: 1px solid var(--line); background: #fff; }
.gc-who { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 6px; }
.gc-who[hidden] { display: none; }
.gc-form input, .gc-form textarea { width: 100%; border: 1px solid #ddd3c4; border-radius: 12px; padding: 9px 12px; font: inherit; font-size: 14px; background: #fff; }
.gc-form input:focus, .gc-form textarea:focus { outline: none; border-color: var(--gold); }
.gc-row { display: flex; gap: 6px; align-items: flex-end; }
.gc-row textarea { resize: none; max-height: 110px; }
.gc-send { flex: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--gold-surface); cursor: pointer; display: grid; place-items: center; }
.gc-send svg { width: 18px; height: 18px; fill: none; stroke: #211f1d; stroke-width: 1.8; stroke-linejoin: round; transform: scaleX(-1); }
.gc-err { margin: 4px 2px 0; font-size: 12.5px; color: var(--coral-ink); min-height: 0; }
.gc-err:empty { display: none; }
@media (max-width: 760px) { .gc { left: 14px; bottom: 14px; } .gc-btn { width: 52px; height: 52px; } .gc-panel { left: -2px; bottom: 64px; height: min(70vh, 520px); } }
.single-product .gc { bottom: 86px; }
@media (min-width: 761px) { .single-product .gc { bottom: 20px; } }

/* علاقه‌مندی‌ها */
.product-card { position: relative; }
.wl-btn { width: 38px; height: 38px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: rgba(255,255,255,.92); color: var(--black);
  box-shadow: 0 6px 14px -8px rgba(33,31,29,.5); transition: transform .25s var(--ease), color .25s; }
.wl-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; transition: fill .25s; }
.wl-btn:hover { transform: scale(1.08); }
.wl-btn[aria-pressed="true"] { color: #d64535; }
.wl-btn[aria-pressed="true"] svg { fill: currentColor; }
.wl-btn.pop { animation: pop .45s var(--ease); }
.wl-card { position: absolute; top: 12px; left: 12px; z-index: 2; }
.wl-single { display: inline-grid; vertical-align: middle; margin-inline-end: 8px; border: 1px solid var(--line); }
.wl-single-label { font-size: 13.5px; color: var(--ink-soft); vertical-align: middle; }
.wl-head svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.wl-count { position: absolute; top: 3px; left: 1px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #d64535; color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-weight: 600; box-shadow: 0 0 0 2px var(--bg); }
.wl-count[hidden] { display: none; }
.wl-page .wl-empty { text-align: center; padding: 30px 10px; }
.wl-page .wl-empty[hidden] { display: none; }
.wl-page .wl-empty img { width: 120px; }
@media (max-width: 760px) { .wl-head { display: none; } }

/* خبرم کن */
.sa-form { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.sa-form input { flex: 1 1 160px; height: 46px; border: 1px solid #ddd3c4; border-radius: 12px; padding: 0 14px; font: inherit; background: #fff; }
.sa-form .btn { flex: 1 1 180px; }
.sa-msg { flex-basis: 100%; margin: 0; font-size: 13.5px; font-weight: 600; }
.sa-msg:empty { display: none; }
.sa-msg.ok { color: var(--mint-ink); }
.sa-msg.err { color: var(--coral-ink); }
.sa-form.done input, .sa-form.done .btn { display: none; }

/* نوار نصب اپلیکیشن */
.pwa-bar { position: fixed; z-index: 55; right: 16px; bottom: 16px; left: 92px; max-width: 520px; margin-inline-start: auto; display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 18px; background: #211f1d; color: #f6ecd8; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); animation: lot-in .4s var(--ease); }
.pwa-bar[hidden] { display: none; }
.pwa-bar img { border-radius: 12px; flex: none; }
.pwa-bar div { flex: 1; min-width: 0; }
.pwa-bar strong { display: block; color: var(--gold-light); font-size: 14px; }
.pwa-bar span { font-size: 12.5px; color: #d8ccb6; line-height: 1.7; }
.pwa-bar .btn { min-height: 38px; padding: 0 18px; font-size: 14px; }
.pwa-x { border: 0; background: none; color: #d8ccb6; cursor: pointer; width: 30px; height: 30px; display: grid; place-items: center; }
.pwa-x svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 760px) { .pwa-bar { left: 12px; right: 12px; bottom: 76px; } }
.wl-page a, .wl-page a * { text-decoration: none !important; }


/* ۱.۰.۳۹: چت سبز، صفحه‌ی برند، خبرم کن */
.gc-btn { background: linear-gradient(145deg, #34c37a, #1f9d5c); color: #fff; box-shadow: 0 14px 30px -12px rgba(31,157,92,.6), inset 0 0 0 1px rgba(255,255,255,.25); }
.gc-btn::before { border-color: rgba(52,195,122,.55); }
.gc-send { background: linear-gradient(145deg, #34c37a, #1f9d5c); }
.gc-send svg { stroke: #fff; }
.page-hero.is-brand .hero-pic-frame { background: #fff; display: grid; place-items: center; }
.page-hero.is-brand .hero-pic-frame img { width: 62%; height: 62%; object-fit: contain; animation: none; }
.sa-hint { flex-basis: 100%; margin: 6px 0 0; font-size: 12.5px; color: var(--ink-soft); }
.sa-form .btn { text-decoration: none; }
.product-page { padding-top: 28px; }

/* لوگوی برند در سربرگ (۱.۰.۴۰) */
.page-hero.is-brand .hero-pic-frame { display: block; }
.page-hero.is-brand .hero-pic-frame img { position: absolute; inset: 20% 22%; width: 56%; height: 60%; object-fit: contain; }


/* پنجره‌ی قرعه‌کشی فشرده، بدون اسکرول (۱.۰.۴۲) */
.lottery-card { padding: 20px 20px 16px; max-height: none; overflow: visible; width: min(420px, 100%); }
.lottery-head { margin-bottom: 10px; }
.lottery-badge { width: 42px; height: 42px; font-size: 21px; margin-bottom: 4px; }
.lottery-head h2 { font-size: 18px; margin-bottom: 4px; }
.lottery-head p { font-size: 13px; line-height: 1.8; }
.lottery-form { gap: 8px; }
.lottery-row { gap: 8px; }
.lottery-form label > span { font-size: 12.5px; margin-bottom: 3px; }
.lottery-form input[type=text], .lottery-form input[type=tel] { height: 40px; font-size: 14.5px; }
.lottery-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lottery-consent { font-size: 12.5px; line-height: 1.7; }
.lottery-actions .btn { min-height: 44px; }
@media (max-width: 420px) { .lottery-row, .lottery-pair { grid-template-columns: 1fr 1fr; } .lottery-card { padding: 18px 14px 14px; } }
@media (max-height: 640px) { .lottery-head p { display: none; } .lottery-badge { display: none; } }

.footer-bottom .container { justify-content: center; text-align: center; }
.footer-bottom .copy { font-weight: 700; }

/* ---------- پنجره‌ی قرعه‌کشی: طراحی تازه (۱.۰.۴۳) ---------- */
.lottery-card { padding: 0; width: min(420px, 100%); border-radius: 26px; overflow: hidden; background: #fffdf9; box-shadow: 0 40px 90px -30px rgba(20,18,16,.7); }
.lottery-card::before { display: none; }
.lottery-head {
  position: relative; margin: 0; padding: 26px 24px 22px; text-align: center; color: #f6ecd8;
  background:
    radial-gradient(circle at 15% 20%, rgba(240,220,170,.22), transparent 40%),
    radial-gradient(circle at 85% 110%, rgba(201,166,107,.28), transparent 45%),
    #1d1b19;
}
.lottery-head::after { /* نقطه‌های طلایی ریز */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(240,220,170,.7) 1px, transparent 1.4px); background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.lottery-badge {
  position: relative; z-index: 1; display: inline-grid; place-items: center; width: 56px; height: 56px; margin: 0 0 10px; border-radius: 18px;
  background: linear-gradient(145deg, #f3e2b6, #c9a66b 55%, #8a6a3a); box-shadow: 0 12px 24px -10px rgba(201,166,107,.7), inset 0 1px 0 rgba(255,255,255,.6);
  animation: lot-bob 3.2s ease-in-out infinite;
}
.lottery-badge svg { width: 28px; height: 28px; fill: none; stroke: #1d1b19; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@keyframes lot-bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-4px) rotate(4deg); } }
.lottery-head h2 { position: relative; z-index: 1; margin: 0 0 6px; font-size: 21px; font-weight: 800; color: #f3e2b6; }
.lottery-head p { position: relative; z-index: 1; margin: 0; font-size: 13.5px; line-height: 1.9; color: #d8ccb6; }
.lottery-head .lottery-prize { display: inline-block; margin-top: 10px; padding: 4px 14px; border-radius: 999px; background: rgba(240,220,170,.14); color: #f3e2b6; font-weight: 700; }
.lottery-x { top: 12px; left: 12px; z-index: 2; width: 34px; height: 34px; background: rgba(255,255,255,.1); color: #f6ecd8; }
.lottery-x:hover { background: rgba(255,255,255,.2); }
.lottery-form { padding: 20px 22px 22px; gap: 12px; }
.lottery-form label > span { font-size: 12.5px; font-weight: 700; color: #3b3936; margin-bottom: 5px; }
.lottery-form input[type=text], .lottery-form input[type=tel] {
  height: 46px; border-radius: 14px; border: 1.5px solid #ebe3d6; background: #faf6ef; font-size: 15px; padding: 0 14px;
}
.lottery-form input[type=text]:focus, .lottery-form input[type=tel]:focus { background: #fff; border-color: #c9a66b; box-shadow: 0 0 0 4px rgba(201,166,107,.18); }
.lottery-form input::placeholder { color: #b9ad9c; }
.lottery-consent { align-items: center; padding: 10px 12px; border-radius: 12px; background: #f6f0e6; font-size: 12.5px; color: #4b4036; }
.lottery-consent input { margin-top: 0; width: 18px; height: 18px; accent-color: #1d1b19; }
.lottery-actions { margin-top: 2px; }
.lottery-actions .btn-primary {
  width: 100%; min-height: 54px; border-radius: 16px; font-size: 16.5px; font-weight: 800; letter-spacing: 0;
  background: #1d1b19; color: #f3e2b6; box-shadow: 0 14px 28px -14px rgba(20,18,16,.8);
}
.lottery-actions .btn-primary::before { display: none; }
.lottery-actions .btn-primary:hover { background: #2c2925; color: #fff3cf; transform: translateY(-1px); }
.lottery-msg.ok { padding: 18px 14px; font-size: 15px; border-radius: 16px; }
.lottery-form.done { padding-top: 24px; }
@media (max-width: 420px) {
  .lottery-head { padding: 22px 18px 18px; }
  .lottery-form { padding: 16px 16px 18px; gap: 10px; }
  .lottery-head h2 { font-size: 19px; }
}
@media (max-height: 640px) {
  .lottery-badge { display: none; }
  .lottery-head { padding: 18px 20px 14px; }
  .lottery-head p { display: none; }
}
@media (prefers-reduced-motion: reduce) { .lottery-badge { animation: none; } }

/* منوی محصولات: فقط نام دسته‌ها زیر هم (۱.۰.۴۷) */
.main-nav .nav-drop-panel.is-list { width: 240px; padding: 10px; border-radius: 18px; }
.nav-drop-panel.is-list .nav-drop-grid { grid-template-columns: 1fr; gap: 0; }
.nav-drop-panel.is-list .drop-item { padding: 10px 14px !important; border-radius: 10px; }
.nav-drop-panel.is-list .drop-txt b { font-size: 14.5px; font-weight: 500; }
.nav-drop-panel.is-list .drop-item:hover .drop-txt b, .nav-drop-panel.is-list .drop-item.is-active .drop-txt b { font-weight: 700; }
.nav-drop-panel.is-list .drop-all {
  justify-content: flex-start; margin-top: 6px; padding: 10px 14px !important; border-radius: 10px;
  background: none; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--gold-ink) !important;
}
.nav-drop-panel.is-list .drop-all:hover { background: var(--cream); }
.mobile-nav .nav-drop-panel.is-list .nav-drop-grid { grid-template-columns: 1fr; gap: 0; }
.mobile-nav .nav-drop-panel.is-list .drop-item { padding: 9px 12px !important; }
.mobile-nav .nav-drop-panel.is-list .drop-all { margin: 2px 0 12px; border-top: 0; }

/* تیتر صفحه‌ی خانه: کل متن با هاله‌ی طلایی (۱.۰.۴۸) */
.hero h1 .hero-gold { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
