/* =====================================================================
   پخش برادران ۳ — استایل اصلی سایت (RTL، موبایل-فرست)
   ===================================================================== */

:root {
  --bg: #0b1220;
  --bg-2: #0f1a2e;
  --surface: #131f36;
  --ink: #eef2f8;
  --ink-dim: #9fb0c8;
  --accent: #f97316;      /* نارنجی زمزم */
  --accent-2: #22c55e;    /* سبز بهنوش */
  --accent-soft: rgba(249, 115, 22, .14);
  --light-bg: #f5f7fa;
  --light-surface: #ffffff;
  --light-ink: #14203a;
  --light-ink-dim: #5b6b84;
  --line: rgba(255, 255, 255, .08);
  --light-line: #e5eaf1;
  --radius: 18px;
  --shadow: 0 18px 50px -20px rgba(4, 10, 25, .55);
  --header-h: 68px;
  --container: 1180px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* attribute hidden همیشه بر display های کلاس‌ها غلبه کند */
[hidden] { display: none !important; }

html { scroll-behavior: auto; overflow-x: clip; }

body {
  font-family: 'Vazirmatn', 'Tahoma', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.ltr-inline { direction: ltr; unicode-bidi: isolate; }

/* ---------- دکمه‌ها ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .95rem;
  font-weight: 700;
  transition: transform .25s var(--ease-out), box-shadow .25s, background .25s, border-color .25s;
  will-change: transform;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: linear-gradient(135deg, #fb923c, var(--accent) 55%, #ea580c);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(249, 115, 22, .65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(249, 115, 22, .75); }
.btn-ghost {
  border-color: rgba(255, 255, 255, .25);
  color: var(--ink);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, .5); transform: translateY(-2px); }
.btn-sm { padding: .6rem 1.2rem; font-size: .85rem; }

/* =====================================================================
   هدر
   ===================================================================== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 60;
  transition: background .35s, box-shadow .35s, transform .35s;
}
.site-header.is-scrolled {
  background: rgba(10, 17, 31, .82);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .65rem; font-weight: 800; font-size: 1.05rem; }
.brand-logo { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; }

.main-nav { display: none; gap: 1.8rem; font-size: .93rem; font-weight: 500; color: var(--ink-dim); }
.main-nav a { position: relative; padding-block: .3rem; transition: color .25s; }
.main-nav a:hover { color: var(--ink); }
.main-nav a::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transition: transform .3s var(--ease-out);
}
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: .6rem; }
.cart-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  transition: background .25s, transform .25s;
}
.cart-btn:hover { background: rgba(255, 255, 255, .12); transform: translateY(-1px); }
.cart-badge {
  position: absolute;
  top: -6px;
  inset-inline-start: -6px;
  min-width: 20px;
  height: 20px;
  padding-inline: 5px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  box-shadow: 0 4px 12px -4px rgba(249, 115, 22, .8);
}
.nav-toggle {
  display: grid;
  gap: 5px;
  place-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
}
.nav-toggle span { width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* منوی موبایل */
@media (max-width: 899px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    inset-inline: .9rem;
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: .9rem;
    border-radius: var(--radius);
    background: rgba(13, 21, 38, .96);
    backdrop-filter: blur(18px);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity .3s, transform .3s var(--ease-out);
  }
  .main-nav a { padding: .7rem .9rem; border-radius: 12px; }
  .main-nav a:hover { background: rgba(255, 255, 255, .05); }
  .main-nav a::after { display: none; }
  body.nav-open .main-nav { opacity: 1; transform: none; pointer-events: auto; }
}
@media (min-width: 900px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; }
.hero-stage {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 520px at 82% -10%, rgba(249, 115, 22, .16), transparent 60%),
    radial-gradient(900px 500px at 8% 110%, rgba(34, 197, 94, .13), transparent 60%),
    linear-gradient(180deg, #0a101d 0%, var(--bg) 55%, #0d1526 100%);
}
.hero-bg::after {
  /* گرین ظریف */
  content: '';
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding-inline: 1.4rem;
  max-width: 780px;
}
.hero-kicker {
  display: inline-block;
  font-size: .85rem;
  font-weight: 500;
  color: #fdba74;
  background: var(--accent-soft);
  border: 1px solid rgba(249, 115, 22, .3);
  border-radius: 999px;
  padding: .35rem 1.1rem;
  margin-bottom: 1.2rem;
}
.hero-title {
  font-size: clamp(2.5rem, 9vw, 5rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.5px;
  background: linear-gradient(180deg, #fff 30%, #b9c6dd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.hero-subtitle {
  margin-top: 1.1rem;
  font-size: clamp(.95rem, 2.6vw, 1.15rem);
  color: var(--ink-dim);
  max-width: 560px;
  margin-inline: auto;
}
.hero-cta { margin-top: 2rem; display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute;
  bottom: 1.6rem;
  inset-inline: 0;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: .4rem;
  color: var(--ink-dim);
  font-size: .75rem;
}
.hint-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, var(--ink-dim), transparent);
  overflow: hidden;
  position: relative;
}
.hint-line::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: -40%;
  height: 40%;
  background: var(--accent);
  animation: hintDrop 1.8s var(--ease-out) infinite;
}
@keyframes hintDrop { to { top: 110%; } }

/* فال‌بک بدون WebGL */
.hero-fallback { position: absolute; inset: 0; display: none; pointer-events: none; }
.no-webgl .hero-fallback { display: block; }
.no-webgl .hero-canvas { display: none; }
.hf-item {
  position: absolute;
  width: clamp(70px, 13vw, 150px);
  filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .45));
  animation: hfFloat 6s ease-in-out infinite;
  opacity: .9;
}
.hf-0 { top: 12%; inset-inline-start: 8%; animation-delay: -1s; }
.hf-1 { top: 8%;  inset-inline-end: 12%; animation-delay: -2.4s; }
.hf-2 { top: 42%; inset-inline-start: 3%; animation-delay: -3.1s; }
.hf-3 { top: 55%; inset-inline-end: 5%;  animation-delay: -.6s; }
.hf-4 { bottom: 6%; inset-inline-start: 22%; animation-delay: -4s; }
.hf-5 { bottom: 10%; inset-inline-end: 26%; animation-delay: -1.8s; }
@keyframes hfFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-18px) rotate(3deg); }
}

/* =====================================================================
   نوار متحرک برندها
   ===================================================================== */
.marquee {
  position: relative;
  z-index: 4;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  padding-block: .9rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  white-space: nowrap;
  color: var(--ink-dim);
  font-weight: 700;
  font-size: 1rem;
}
.marquee-track i { color: var(--accent); font-style: normal; font-size: .6rem; }

/* =====================================================================
   سکشن‌های عمومی
   ===================================================================== */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section-light { background: var(--light-bg); color: var(--light-ink); }
.section-kicker {
  color: var(--accent);
  font-weight: 700;
  font-size: .88rem;
  margin-bottom: .6rem;
}
.section-title {
  font-size: clamp(1.6rem, 4.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.section-desc { color: var(--ink-dim); max-width: 620px; }
.section-light .section-desc { color: var(--light-ink-dim); }

/* ---------- درباره ما ---------- */
.about-grid { display: grid; gap: 2.6rem; align-items: center; }
.about-grid > * { min-width: 0; }
.about-media { position: relative; border-radius: calc(var(--radius) + 6px); overflow: visible; }
.about-media img {
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.about-media-card {
  position: absolute;
  bottom: -1.2rem;
  inset-inline-start: 1.2rem;
  display: grid;
  gap: .1rem;
  background: rgba(15, 25, 45, .92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: .8rem 1.3rem;
  box-shadow: var(--shadow);
  font-size: .85rem;
}
.about-media-card strong { color: var(--accent); font-size: .95rem; }
.about-text { display: grid; gap: .8rem; color: var(--ink-dim); font-size: .97rem; }

.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
}
.stats li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem .9rem;
  text-align: center;
  display: grid;
  gap: .15rem;
}
.stat-num {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fdba74, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats span { font-size: .78rem; color: var(--ink-dim); }

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1.15fr; gap: 4rem; }
}

/* ---------- کاتالوگ ---------- */
.catalog-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 1.6rem 2rem; }
.chip {
  border: 1px solid var(--light-line);
  background: var(--light-surface);
  color: var(--light-ink-dim);
  border-radius: 999px;
  padding: .45rem 1.2rem;
  font-size: .85rem;
  font-weight: 700;
  transition: all .25s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active {
  background: var(--light-ink);
  border-color: var(--light-ink);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 1rem;
}
@media (min-width: 700px) {
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.4rem; }
}

.product-card {
  background: var(--light-surface);
  border: 1px solid var(--light-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px -22px rgba(20, 32, 58, .35);
}
.product-card.is-hidden { display: none; }
.product-media {
  aspect-ratio: 1;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 8%;
  border-bottom: 1px solid var(--light-line);
  overflow: hidden;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .5s var(--ease-out);
}
.product-card:hover .product-media img { transform: scale(1.07) rotate(-1.5deg); }
.product-info { padding: .9rem 1rem 1.1rem; display: grid; gap: .35rem; flex: 1; }
.product-brand { font-size: .72rem; font-weight: 700; color: var(--accent); }
.product-name { font-size: .92rem; font-weight: 700; line-height: 1.7; min-height: 3.1em; }
.product-foot { margin-top: auto; display: grid; gap: .6rem; }
.product-price { font-weight: 800; font-size: .95rem; color: var(--light-ink); }

.qty-control { display: grid; }
.qc-add {
  border: 1px solid var(--light-ink);
  background: transparent;
  color: var(--light-ink);
  border-radius: 12px;
  padding: .55rem;
  font-size: .85rem;
  font-weight: 700;
  transition: all .25s;
}
.qc-add:hover { background: var(--light-ink); color: #fff; }
.qc-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 12px;
  overflow: hidden;
}
.qc-stepper button {
  width: 42px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 700;
  transition: background .2s;
}
.qc-stepper button:hover { background: rgba(249, 115, 22, .15); }
.qc-qty { font-weight: 800; color: var(--light-ink); }

/* ---------- مراحل ---------- */
.steps-grid {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 800px) { .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } }
.step-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.4rem 1.4rem;
  overflow: hidden;
  transition: transform .35s var(--ease-out), border-color .35s;
}
.step-card:hover { transform: translateY(-5px); border-color: rgba(249, 115, 22, .45); }
.step-card::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity .35s;
}
.step-card:hover::before { opacity: 1; }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: .9rem;
}
.step-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.step-card p { color: var(--ink-dim); font-size: .88rem; }

/* ---------- تماس ---------- */
.contact-grid { display: grid; gap: 1.6rem; margin-top: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .9fr 1.1fr; } }
.contact-info {
  background: var(--light-surface);
  border: 1px solid var(--light-line);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: grid;
  gap: 1.1rem;
  align-content: start;
}
.ci-item { display: grid; gap: .15rem; font-size: .95rem; }
.ci-label { font-size: .75rem; font-weight: 700; color: var(--light-ink-dim); }
.contact-info .btn { justify-self: start; margin-top: .4rem; }
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--light-line);
  box-shadow: 0 20px 40px -24px rgba(20, 32, 58, .4);
  min-height: 340px;
}
#contactMap { width: 100%; height: 100%; min-height: 340px; z-index: 1; }

/* =====================================================================
   نوار سبد پایین
   ===================================================================== */
.cart-bar {
  position: fixed;
  bottom: .9rem;
  inset-inline: .9rem;
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(13, 21, 38, .94);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: .7rem 1.1rem;
  box-shadow: var(--shadow);
  animation: cartBarIn .45s var(--ease-out);
}
@keyframes cartBarIn { from { transform: translateY(120%); opacity: 0; } }
.cart-bar-info { display: grid; line-height: 1.5; }
.cart-bar-info b { font-size: .9rem; }
.cart-bar-info span { font-size: .78rem; color: var(--ink-dim); }
@media (min-width: 900px) {
  .cart-bar { inset-inline: auto; inset-inline-end: 1.4rem; min-width: 330px; }
}

/* =====================================================================
   فوتر
   ===================================================================== */
.site-footer { border-top: 1px solid var(--line); background: #0a101d; }
.footer-inner {
  display: grid;
  gap: 2rem;
  padding-block: 3rem 2rem;
}
@media (min-width: 800px) { .footer-inner { grid-template-columns: 1.3fr 1fr 1.2fr; } }
.footer-col { display: grid; gap: .5rem; align-content: start; font-size: .9rem; color: var(--ink-dim); }
.footer-col h4 { color: var(--ink); font-size: .95rem; margin-bottom: .3rem; }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-brand strong { color: var(--ink); font-size: 1.05rem; }
.footer-logo { width: 46px; height: 46px; border-radius: 13px; margin-bottom: .4rem; }
.footer-bar {
  border-top: 1px solid var(--line);
  padding-block: 1rem;
  font-size: .8rem;
  color: var(--ink-dim);
}

/* =====================================================================
   انیمیشن‌های reveal (حالت اولیه — GSAP کنترل می‌کند)
   ===================================================================== */
.js [data-reveal] { opacity: 0; }
.js .reveal-hero { opacity: 0; }

/* کاهش انیمیشن برای کاربرانی که ترجیح داده‌اند */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .reveal-hero { opacity: 1 !important; transform: none !important; }
  .hf-item { animation: none; }
  .hint-line::after { animation: none; }
}

/* =====================================================================
   فرم‌ها و صفحه سفارش (checkout)
   ===================================================================== */
.page-checkout { background: var(--light-bg); color: var(--light-ink); }
.page-checkout .site-header { background: rgba(10, 17, 31, .92); backdrop-filter: blur(14px); }
.checkout-wrap { padding-block: calc(var(--header-h) + 2rem) 4rem; }
.checkout-title { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 800; margin-bottom: 1.6rem; }
.checkout-grid { display: grid; gap: 1.4rem; align-items: start; }
@media (min-width: 960px) { .checkout-grid { grid-template-columns: 1.15fr .85fr; } }

.panel {
  background: var(--light-surface);
  border: 1px solid var(--light-line);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.panel h2 { font-size: 1.05rem; margin-bottom: 1rem; }

.cart-items { display: grid; gap: .8rem; }
.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: .9rem;
  align-items: center;
  border: 1px solid var(--light-line);
  border-radius: 14px;
  padding: .7rem;
}
.cart-item img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 10px; border: 1px solid var(--light-line); }
.cart-item-name { font-size: .88rem; font-weight: 700; line-height: 1.6; }
.cart-item-price { font-size: .78rem; color: var(--light-ink-dim); }
.cart-item-controls { display: grid; gap: .3rem; justify-items: end; }
.cart-empty { text-align: center; padding: 2.5rem 1rem; color: var(--light-ink-dim); display: grid; gap: 1rem; justify-items: center; }

.form-grid { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .85rem; font-weight: 700; }
.field .req { color: #dc2626; }
.field input, .field textarea, .field select {
  font-family: inherit;
  font-size: .95rem;
  padding: .75rem .95rem;
  border: 1.5px solid var(--light-line);
  border-radius: 12px;
  background: #fbfcfe;
  color: var(--light-ink);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .12);
}
.field-hint { font-size: .75rem; color: var(--light-ink-dim); }

.geo-box {
  display: grid;
  gap: .6rem;
  border: 1.5px dashed var(--light-line);
  border-radius: 14px;
  padding: 1rem;
  background: #fbfcfe;
}
.geo-status { font-size: .82rem; color: var(--light-ink-dim); }
.geo-status.ok { color: #16a34a; font-weight: 700; }
.geo-status.err { color: #dc2626; }
.btn-outline {
  border: 1.5px solid var(--light-ink);
  color: var(--light-ink);
  background: transparent;
  border-radius: 12px;
  padding: .65rem 1.2rem;
  font-weight: 700;
  font-size: .88rem;
  transition: all .25s;
}
.btn-outline:hover { background: var(--light-ink); color: #fff; }

.summary-row { display: flex; justify-content: space-between; font-size: .9rem; padding-block: .5rem; }
.summary-row.total { border-top: 1px solid var(--light-line); font-weight: 800; font-size: 1.02rem; margin-top: .4rem; padding-top: .9rem; }

.order-success {
  text-align: center;
  display: grid;
  gap: .8rem;
  justify-items: center;
  padding: 3rem 1rem;
}
.order-success .big { font-size: 3rem; }
.alert-err {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: .8rem 1rem;
  font-size: .88rem;
}

/* اسپینر */
.spinner {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
