/* ==========================================================================
   قالب اصلی — موبایل اول
   همه رنگ‌ها و اندازه‌های اصلی متغیر هستند و از تنظیمات هر دامنه
   (app/config/sites.php → 'theme') بازنویسی می‌شوند.
   ========================================================================== */

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --primary: #0f766e;
  --primary-dark: #0b5a54;
  --primary-soft: #e6f4f2;
  --accent: #f59e0b;
  --accent-soft: #fef3c7;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --success: #16a34a;
  --danger: #dc2626;
  --radius: 18px;
  --font-scale: 1;
  --tile-buy: #2563eb;
  --tile-sell: #16a34a;
  --tile-swap: #9333ea;
  --tile-search: #0f766e;
  --tile-car: #ea580c;
  --tile-consult: #db2777;

  /* ثابت‌های چیدمان */
  --font: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
  --gutter: 16px;
  --tap: 56px;              /* حداقل ارتفاع دکمه‌ها برای لمس راحت */
  --topbar-h: 60px;
  --nav-h: 68px;
  --max-w: 720px;
  --shadow: 0 2px 10px rgba(0, 0, 0, .06);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, .12);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: calc(17px * var(--font-scale));
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  padding-top: var(--topbar-h);
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
  -webkit-tap-highlight-color: transparent;
}

a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.5; margin: 0 0 .5em; }
h1 { font-size: 1.45rem; font-weight: 800; }
h2 { font-size: 1.2rem; font-weight: 800; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 .8em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

.icon { width: 1.4em; height: 1.4em; flex: none; display: inline-block; vertical-align: middle; }

/* ---------- نوار بالا ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 0 var(--gutter);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); min-width: 0; }
.brand-logo {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: var(--primary); color: #fff; font-weight: 800; font-size: 1.2rem;
}
.brand-name { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.call-btn {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  height: 44px; padding: 0 16px; border-radius: 999px;
  background: var(--success); color: #fff; font-weight: 700;
}
.call-btn [data-icon] svg, .call-btn .icon { width: 1.2em; height: 1.2em; }

.offline-bar {
  position: fixed; top: var(--topbar-h); inset-inline: 0; z-index: 19;
  background: var(--danger); color: #fff; text-align: center; padding: 6px; font-size: .9rem;
}

/* ---------- منوی پایین ---------- */
.bottom-nav {
  position: fixed; inset: auto 0 0 0; z-index: 20;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--surface);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, .08);
}
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--muted); font-size: .8rem; font-weight: 600;
}
.bottom-nav a .icon { width: 26px; height: 26px; }
.bottom-nav a.active { color: var(--primary); }
.bottom-nav a.nav-main .icon {
  width: 52px; height: 52px; padding: 12px; margin-top: -26px;
  border-radius: 50%; background: var(--primary); color: #fff;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--primary) 45%, transparent);
  border: 4px solid var(--surface);
}
.bottom-nav a.nav-main { color: var(--primary); }

/* ---------- چیدمان صفحه ---------- */
main { max-width: var(--max-w); margin: 0 auto; padding: var(--gutter); outline: none; min-height: 60vh; }
.page { animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

.section { margin: 28px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.section-head h2 { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }

.card {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px;
}

/* ---------- قهرمان صفحه اول ---------- */
.hero {
  border-radius: var(--radius); padding: 22px 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}
.hero h1 { font-size: 1.5rem; margin-bottom: .2em; }
.hero p { opacity: .9; margin: 0; }
.hero-search {
  margin-top: 16px; display: flex; align-items: center; gap: 10px;
  background: #fff; color: var(--muted); border-radius: 14px; padding: 0 16px; height: var(--tap);
  font-weight: 600;
}

/* ---------- کاشی‌های بزرگ صفحه اول ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tile {
  --c: var(--primary);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 10px;
  min-height: 118px; padding: 16px;
  border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow);
  color: var(--text); font-weight: 800; font-size: 1.05rem; line-height: 1.5;
  border: 2px solid transparent; transition: transform .1s;
}
.tile:active { transform: scale(.97); }
.tile .tile-icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--c) 14%, white); color: var(--c);
}
.tile .tile-icon .icon { width: 30px; height: 30px; }
.tile small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.tile.buy { --c: var(--tile-buy); }
.tile.sell { --c: var(--tile-sell); }
.tile.swap { --c: var(--tile-swap); }
.tile.search { --c: var(--tile-search); }
.tile.car { --c: var(--tile-car); }
.tile.consult { --c: var(--tile-consult); }
.tile.register { --c: var(--accent); }

/* ---------- دکمه‌ها ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--tap); padding: 0 22px; border-radius: 14px; border: 0; cursor: pointer;
  background: var(--primary); color: #fff; font-weight: 800; font-size: 1.05rem;
  text-align: center; transition: filter .15s, transform .1s;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.block { width: 100%; }
.btn.secondary { background: var(--primary-soft); color: var(--primary-dark); }
.btn.ghost { background: transparent; color: var(--primary); border: 2px solid var(--border); }
.btn.success { background: var(--success); }
.btn.whatsapp { background: #25d366; }
.btn.danger { background: var(--danger); }
.btn.sm { min-height: 44px; padding: 0 14px; font-size: .95rem; border-radius: 12px; }
.btn-row { display: flex; gap: 10px; }
.btn-row > * { flex: 1; }

.link-btn { background: none; border: 0; color: var(--primary); font-weight: 700; padding: 8px; cursor: pointer; }

/* ---------- انتخاب‌گرهای بزرگ (به جای لیست کشویی) ---------- */
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choices.cols-1 { grid-template-columns: 1fr; }
.choices.cols-3 { grid-template-columns: repeat(3, 1fr); }
.choice {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 92px; padding: 12px; border-radius: var(--radius); cursor: pointer;
  background: var(--surface); border: 2px solid var(--border); font-weight: 700; text-align: center;
  transition: border-color .15s, background .15s;
}
.choice .icon { width: 34px; height: 34px; color: var(--primary); }
.choice.row { flex-direction: row; justify-content: flex-start; min-height: var(--tap); gap: 12px; text-align: start; }
.choice.row .icon { width: 28px; height: 28px; }
.choice small { font-weight: 500; color: var(--muted); display: block; }
.choice[aria-pressed="true"], .choice[aria-checked="true"] {
  border-color: var(--primary); background: var(--primary-soft); color: var(--primary-dark);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  background: var(--surface); border: 2px solid var(--border); font-weight: 700; font-size: .95rem; white-space: nowrap;
}
.chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- فرم ---------- */
.field { margin-bottom: 18px; }
.field > label, .label { display: block; font-weight: 700; margin-bottom: 8px; }
.input {
  width: 100%; min-height: var(--tap); padding: 10px 16px;
  border: 2px solid var(--border); border-radius: 14px; background: var(--surface);
  font-size: 1.1rem; transition: border-color .15s;
}
.input:focus { outline: none; border-color: var(--primary); }
textarea.input { min-height: 110px; resize: vertical; line-height: 1.8; }
.input.ltr { direction: ltr; text-align: right; letter-spacing: 1px; }
.field.has-error .input { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .9rem; margin-top: 6px; font-weight: 600; }
.hint { color: var(--muted); font-size: .88rem; margin-top: 6px; }

.money { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.money-part { display: flex; align-items: center; gap: 8px; }
.money-part .input { min-width: 0; text-align: center; font-weight: 800; font-size: 1.3rem; }
.money-part span { font-weight: 700; flex: none; }
.money-words { margin-top: 10px; padding: 10px 14px; border-radius: 12px; background: var(--accent-soft); font-weight: 700; }

.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button { width: var(--tap); height: var(--tap); border-radius: 14px; border: 2px solid var(--border); background: var(--surface); font-size: 1.6rem; font-weight: 800; cursor: pointer; }
.stepper output { min-width: 60px; text-align: center; font-size: 1.5rem; font-weight: 800; }

/* ---------- مراحل فرم (ویزارد) ---------- */
.wizard-top { position: sticky; top: var(--topbar-h); z-index: 5; background: var(--bg); padding: 8px 0 12px; margin-top: -8px; }
.progress { height: 10px; border-radius: 99px; background: var(--border); overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--primary); border-radius: 99px; transition: width .3s; }
.wizard-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-size: .9rem; color: var(--muted); font-weight: 600; }
.step-title { font-size: 1.35rem; font-weight: 800; margin: 8px 0 4px; }
.step-help { color: var(--muted); margin-bottom: 18px; }
.wizard-actions {
  position: sticky; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); z-index: 5;
  display: flex; gap: 10px; padding: 12px 0; margin-top: 20px; background: var(--bg);
}
.wizard-actions .btn.next { flex: 1; }

.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.photo { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--border); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo button { position: absolute; top: 4px; left: 4px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; display: grid; place-items: center; cursor: pointer; }
.photo.loading::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.6); }
.add-photo {
  aspect-ratio: 1; border-radius: 12px; border: 2px dashed var(--primary); background: var(--primary-soft);
  color: var(--primary-dark); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-weight: 700; cursor: pointer;
}

.review { list-style: none; padding: 0; margin: 0; }
.review li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.review li span:first-child { color: var(--muted); }
.review li span:last-child { font-weight: 700; text-align: left; }

/* ---------- کارت آگهی ---------- */
.listings { display: grid; gap: 14px; }
.listing-card { display: block; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--text); }
.listing-thumb {
  position: relative; height: 150px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary-soft), color-mix(in srgb, var(--primary) 25%, white));
  color: var(--primary);
}
.listing-thumb .icon { width: 64px; height: 64px; opacity: .55; }
.listing-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 10px; right: 10px; padding: 2px 12px; border-radius: 99px;
  font-size: .85rem; font-weight: 800; color: #fff; background: var(--primary);
}
.badge.rent { background: var(--tile-buy); }
.badge.swap { background: var(--tile-swap); }
.badge.featured { right: auto; left: 10px; background: var(--accent); color: #1f2937; }
.listing-body { padding: 14px 16px 16px; }
.listing-title { font-weight: 800; font-size: 1.05rem; margin-bottom: 4px; }
.listing-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: .9rem; }
.listing-meta span { display: inline-flex; align-items: center; gap: 4px; }
.listing-meta .icon { width: 1.1em; height: 1.1em; }
.price { font-weight: 800; color: var(--primary-dark); font-size: 1.1rem; margin-top: 8px; }

.h-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scrollbar-width: none; }
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll > * { scroll-snap-align: start; }

/* ---------- جزئیات آگهی ---------- */
.detail-hero { height: 220px; border-radius: var(--radius); }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius); }
.gallery img { height: 240px; width: 100%; object-fit: cover; scroll-snap-align: start; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.spec { background: var(--surface); border-radius: 14px; padding: 12px; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); }
.spec .icon { color: var(--primary); width: 28px; height: 28px; }
.spec b { display: block; }
.spec small { color: var(--muted); }
.big-price { font-size: 1.4rem; font-weight: 900; color: var(--primary-dark); }
.sticky-cta {
  position: sticky; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 8px); z-index: 4;
  display: flex; gap: 10px; padding: 10px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-lg); margin-top: 20px;
}
.sticky-cta .btn { flex: 1; padding: 0 10px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 4px 12px; border-radius: 99px; background: var(--primary-soft); color: var(--primary-dark); font-weight: 700; font-size: .9rem; }

/* ---------- جستجو ---------- */
.search-bar { display: flex; gap: 8px; margin-bottom: 12px; }
.search-bar .input { flex: 1; }
.search-bar .btn { width: var(--tap); padding: 0; position: relative; }
.search-bar .btn .dot { position: absolute; top: 8px; left: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; }
.result-count { margin: 12px 0; color: var(--muted); font-weight: 600; }

/* ---------- پنجره پایین (فیلترها) ---------- */
.sheet-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .4); animation: fadeIn .2s; }
@keyframes fadeIn { from { opacity: 0; } }
.sheet {
  position: fixed; inset: auto 0 0 0; z-index: 41; max-height: 88vh; overflow-y: auto;
  background: var(--bg); border-radius: 24px 24px 0 0; padding: 8px var(--gutter) 0;
  animation: up .25s ease; max-width: var(--max-w); margin: 0 auto;
}
@keyframes up { from { transform: translateY(100%); } }
.sheet-handle { width: 48px; height: 5px; border-radius: 9px; background: var(--border); margin: 6px auto 12px; }
.sheet-actions { position: sticky; bottom: 0; display: flex; gap: 10px; padding: 12px 0 calc(16px + env(safe-area-inset-bottom)); background: var(--bg); }

/* ---------- حالت‌ها ---------- */
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.empty .icon { width: 64px; height: 64px; margin-bottom: 8px; color: var(--border); }
.page-loading { display: grid; place-items: center; min-height: 50vh; }
.spinner { width: 42px; height: 42px; border-radius: 50%; border: 4px solid var(--primary-soft); border-top-color: var(--primary); animation: spin .8s linear infinite; display: inline-block; }
.btn .spinner { width: 22px; height: 22px; border-width: 3px; border-color: rgba(255,255,255,.4); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, var(--border) 25%, var(--surface) 50%, var(--border) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: var(--radius); height: 250px; }
@keyframes shimmer { to { background-position: -200% 0; } }

.alert { padding: 12px 16px; border-radius: 14px; font-weight: 600; margin-bottom: 14px; }
.alert.error { background: #fee2e2; color: #991b1b; }
.alert.info { background: var(--primary-soft); color: var(--primary-dark); }

.success-box { text-align: center; padding: 24px 8px; }
.success-icon { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--success) 15%, white); color: var(--success); }
.success-icon .icon { width: 56px; height: 56px; }
.code-box { display: inline-flex; align-items: center; gap: 12px; margin: 12px 0 20px; padding: 10px 20px; border-radius: 14px; border: 2px dashed var(--primary); font-size: 1.8rem; font-weight: 900; letter-spacing: 4px; color: var(--primary-dark); background: var(--surface); }

.toast {
  position: fixed; z-index: 60; inset-inline: 16px; bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom));
  max-width: 480px; margin: 0 auto; padding: 14px 18px; border-radius: 14px; background: #111827; color: #fff; font-weight: 600;
  text-align: center; opacity: 0; transform: translateY(20px); pointer-events: none; transition: .25s;
}
.toast.show { opacity: 1; transform: none; }

/* ---------- مراحل «چطور کار می‌کند» ---------- */
.how { display: grid; gap: 10px; counter-reset: how; }
.how li { list-style: none; display: flex; align-items: center; gap: 12px; background: var(--surface); padding: 12px 14px; border-radius: 14px; box-shadow: var(--shadow); font-weight: 600; }
.how li::before { counter-increment: how; content: counter(how, persian); flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-weight: 800; }
.how { padding: 0; margin: 0; }

/* ---------- پیگیری ---------- */
.timeline { list-style: none; padding: 0; margin: 16px 0 0; }
.timeline li { position: relative; padding: 0 40px 22px 0; color: var(--muted); font-weight: 600; }
.timeline li::before { content: ""; position: absolute; right: 9px; top: 26px; bottom: -2px; width: 3px; background: var(--border); }
.timeline li:last-child::before { display: none; }
.timeline li i { position: absolute; right: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--border); }
.timeline li.done { color: var(--text); }
.timeline li.done i { background: var(--success); }
.timeline li.current i { background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }

/* ---------- مشاوران ---------- */
.person { display: flex; align-items: center; gap: 12px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-dark); font-weight: 800; font-size: 1.2rem; }
.person .grow { flex: 1; min-width: 0; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--success); color: #fff; flex: none; border: 0; }

/* ---------- پنل مشاوران ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { background: var(--surface); border-radius: 14px; padding: 12px; text-align: center; box-shadow: var(--shadow); }
.stat b { display: block; font-size: 1.6rem; color: var(--primary-dark); }
.stat small { color: var(--muted); font-weight: 600; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 16px; background: var(--border); margin: 18px 0 12px; }
.tabs button { min-height: 48px; border: 0; border-radius: 12px; background: transparent; font-weight: 800; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--primary-dark); box-shadow: var(--shadow); }
.req { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 12px; overflow: hidden; }
.req summary { list-style: none; padding: 14px 16px; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.req summary::-webkit-details-marker { display: none; }
.req-body { padding: 0 16px 16px; border-top: 1px solid var(--border); }
.status { padding: 2px 12px; border-radius: 99px; font-size: .85rem; font-weight: 800; white-space: nowrap; }
.status.new { background: var(--accent-soft); color: #92400e; }
.status.in_progress { background: #dbeafe; color: #1e40af; }
.status.done { background: #dcfce7; color: #166534; }
.status.rejected { background: #fee2e2; color: #991b1b; }

.footer { text-align: center; color: var(--muted); font-size: .88rem; padding: 24px 0 8px; }
.footer a { font-weight: 700; }
.noscript { padding: 20px; text-align: center; }

/* ---------- صفحه‌های بزرگ‌تر ---------- */
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .listings { grid-template-columns: repeat(2, 1fr); }
  .h-scroll { grid-auto-columns: 45%; }
  .choices.cols-auto { grid-template-columns: repeat(3, 1fr); }
  .specs { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
