/* صفحهٔ اصلی تازه -- هیروی تمام‌صفحه، اسلایدر تخفیف، کارت‌های مینیمال. سبک و سریع.
   قلاب‌های app.js (data-product-*, data-cart-*) همان قبلی‌اند؛ فقط ظاهر عوض شده. */
:root {
  --red: #a51d2d; --red-deep: #6d0a14; --red-hot: #d2242f;
  --ink: #221b1a; --muted: #857a76; --line: #eadfdb; --bg: #faf6f3; --card: #fff; --soft: #f5ece8;
  --cream: #fff1e6; --gold: #ffd08a; --green: #1a7f4b;
  --radius: 22px;
}

/* سربرگ در css/top.css است (مشترک با همهٔ صفحه‌ها). */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { margin: 0; }
body.landing { background: var(--bg); color: var(--ink); font: 15px/1.75 Vazirmatn, Tahoma, sans-serif; font-synthesis: none; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.storefront--landing { position: relative; }

/* ── هیرو ──────────────────────────────────────────────────────────────── */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; min-height: 100svh; padding-top: var(--top-h); overflow: hidden; color: #fff; background: radial-gradient(120% 90% at 70% 30%, #cf2130 0%, #9c1120 45%, #5e0810 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 20% 80%, rgba(0,0,0,.35), transparent 70%); pointer-events: none; }
.hero__copy { position: relative; z-index: 2; padding: clamp(22px, 5vw, 56px) clamp(16px, 5vw, 64px) 0; max-width: 760px; }
.hero__live { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(0,0,0,.18); font-size: 12.5px; font-weight: 700; }
.hero__live i { width: 8px; height: 8px; border-radius: 50%; background: #7dff9e; box-shadow: 0 0 0 4px rgba(125,255,158,.25); }
.hero h1 { margin: 18px 0 12px; font-size: clamp(44px, 7.4vw, 96px); line-height: 1.08; font-weight: 900; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__copy > p { max-width: 520px; font-size: clamp(15px, 1.6vw, 19px); line-height: 1.85; color: rgba(255,255,255,.9); text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border: 1.5px solid transparent; border-radius: 999px; font: inherit; font-size: 15.5px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .2s ease; }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; }
.btn--light { background: #fff; color: var(--red-deep); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--red { background: var(--red); color: #fff; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; }
.hero__facts li { display: grid; }
.hero__facts b { font-size: 19px; font-weight: 900; }
.hero__facts span { font-size: 12px; color: rgba(255,255,255,.72); }
.hero__art { position: relative; z-index: 1; display: block; align-self: end; min-width: 0; margin: 8px 0 0; }
.hero__art img { width: 100%; height: auto; max-height: 52svh; object-fit: cover; object-position: center bottom; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%); }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(380px, 46%) 1fr; grid-template-rows: 1fr auto; }
  .hero__copy { grid-row: 1; grid-column: 1; align-self: center; padding-bottom: 40px; }
  .hero__art { position: absolute; inset: 0 auto 0 0; width: 64%; margin: 0; }
  .hero__art img { width: 100%; height: 100%; max-height: none; object-position: center bottom;
    -webkit-mask-image: linear-gradient(to left, transparent 0, #000 30%), linear-gradient(to bottom, transparent 0, #000 25%);
    mask-image: linear-gradient(to left, transparent 0, #000 30%), linear-gradient(to bottom, transparent 0, #000 25%);
    -webkit-mask-composite: source-in; mask-composite: intersect; }
  .ticker { grid-column: 1 / -1; }
}
/* نوار قیمت امروز -- پایین هیرو، می‌چرخد */
.ticker { position: relative; z-index: 2; display: flex; align-items: center; border-top: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ticker__label { flex: none; padding: 0 16px; height: 44px; line-height: 44px; background: var(--gold); color: var(--red-deep); font-size: 12.5px; font-weight: 900; white-space: nowrap; }
.ticker__viewport { flex: 1; min-width: 0; overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: ticker var(--ticker-duration, 60s) linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; flex: none; }
.ticker__list li { display: flex; align-items: baseline; gap: 6px; padding: 0 18px; height: 44px; line-height: 44px; white-space: nowrap; font-size: 13px; border-inline-start: 1px solid rgba(255,255,255,.14); }
.ticker__list a { font-weight: 800; text-decoration: none; }
.ticker__list b { color: var(--gold); font-weight: 900; font-variant-numeric: tabular-nums; }
.ticker__list small { font-size: 11px; opacity: .72; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } .ticker__viewport { overflow-x: auto; } .ticker__list[aria-hidden="true"] { display: none; } }

/* ── بخش‌ها ─────────────────────────────────────────────────────────────── */
main { display: grid; gap: clamp(48px, 8vw, 96px); padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 40px) 40px; max-width: 1240px; margin: 0 auto; }
main > * { min-width: 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-size: 12.5px; font-weight: 800; }
.eyebrow i { width: 18px; height: 3px; border-radius: 2px; background: var(--red); }
.sec-head h2, .about h2, .contact h2 { margin-top: 6px; font-size: clamp(24px, 3.4vw, 38px); line-height: 1.25; font-weight: 900; text-wrap: balance; }

/* بنرهای مغازه‌دار */
.banners .swiper { border-radius: var(--radius); overflow: hidden; }
.banners img { width: 100%; height: auto; aspect-ratio: 1444 / 1089; object-fit: cover; }
@media (min-width: 900px) { .banners img { aspect-ratio: 21 / 9; } }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.dots:empty { display: none; }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: width .2s ease, background .2s ease; }
.dots button.is-active { width: 24px; background: var(--red); }
.banners .dots { position: absolute; inset: auto 0 12px; z-index: 2; margin: 0; }
.banners .dots button { background: rgba(255,255,255,.5); } .banners .dots button.is-active { background: #fff; }

/* اسلایدر تخفیف‌ها */
.deals__nav { display: none; gap: 6px; }
.deals__nav button { width: 42px; height: 42px; border: 1.5px solid var(--line); border-radius: 50%; background: var(--card); color: var(--ink); cursor: pointer; }
.deals__nav button svg { width: 18px; height: 18px; }
.deals__nav button:hover { border-color: var(--red); color: var(--red); }
@media (min-width: 900px) { .deals__nav { display: flex; } }
.deal { width: 230px; padding: 10px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--card); transition: transform .2s ease, border-color .2s ease; }
.deal.is-added { border-color: var(--green); }
.deal__img { position: relative; display: block; border-radius: 16px; overflow: hidden; background: var(--soft); }
.deal__img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.deal__pct, .deal__fresh { position: absolute; top: 10px; inset-inline-start: 10px; padding: 3px 10px; border-radius: 999px; background: var(--red-hot); color: #fff; font-size: 13px; font-weight: 900; }
.deal__fresh { background: var(--green); font-size: 11.5px; }
.deal h3 { margin: 10px 4px 2px; font-size: 15.5px; font-weight: 800; }
.deal h3 a { text-decoration: none; }
.deal__price, .card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 0 4px; font-variant-numeric: tabular-nums; }
.deal__price s, .card__price s { color: var(--muted); font-size: 12.5px; }
.deal__price b, .card__price b { color: var(--red); font-size: 18px; font-weight: 900; }
.deal__price small, .card__price small { width: 100%; color: var(--muted); font-size: 11.5px; }
.deal__form { margin: 10px 0 0; }
.deal__form button, .card__add { width: 100%; min-height: 42px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; transition: background .2s ease, transform .15s ease; }
.deal__form button:active, .card__add:active { transform: scale(.97); }
@media (min-width: 900px) { .deal { width: 250px; } }

/* جست‌وجو */
.search { position: relative; display: flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 0 14px; min-height: 52px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); }
.search:focus-within { border-color: var(--red); }
.search > svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search input { flex: 1; min-width: 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; outline: 0; }
.search input::-webkit-search-cancel-button { display: none; }
.search button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--soft); color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.products__status { color: var(--muted); font-size: 13px; font-weight: 700; }

/* شبکهٔ محصولات -- کارت مینیمال */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: 12px; }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; } }
.card { display: flex; flex-direction: column; padding: 8px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--card); transition: border-color .2s ease, transform .2s ease, opacity .2s ease; }
.card:hover { border-color: color-mix(in srgb, var(--red) 40%, var(--line)); }
.card.is-updating { opacity: .7; }
.card.is-just-added { animation: card-added .55s ease-out; }
.card__img { position: relative; display: block; border-radius: 16px; overflow: hidden; background: var(--soft); }
.card__img img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .35s ease; }
.card:hover .card__img img { transform: scale(1.04); }
.card__tag { position: absolute; top: 8px; inset-inline-start: 8px; padding: 2px 9px; border-radius: 999px; background: var(--green); color: #fff; font-size: 11px; font-weight: 800; }
.card__tag.is-deal { background: var(--red-hot); }
.card h3 { margin: 10px 4px 2px; font-size: 14.5px; line-height: 1.4; font-weight: 800; }
.card h3 a { text-decoration: none; }
.card__price b { font-size: 16.5px; }
.card__form { display: grid; gap: 6px; margin: auto 0 0; padding-top: 10px; }
.card__add { min-height: 40px; font-size: 13.5px; }
.card__qty { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 40px; border: 1.5px solid var(--red); border-radius: 999px; background: var(--card); overflow: hidden; }
.card__qty button { height: 38px; border: 0; background: none; color: var(--red); font: inherit; font-size: 20px; font-weight: 900; cursor: pointer; }
.card__qty button:disabled { color: var(--muted); }
.card__qty output { min-width: 28px; font-size: 15px; font-weight: 900; text-align: center; font-variant-numeric: tabular-nums; }
.card__measure { color: var(--muted); font-size: 11.5px; text-align: center; }
.grid__empty { grid-column: 1 / -1; padding: 28px 12px; border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; font-weight: 700; }
.products__foot { display: none; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding: 14px 16px 14px 20px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--card); }
.products__foot span { display: grid; }
.products__foot strong { font-size: 15px; font-weight: 800; }
.products__foot small { color: var(--muted); font-size: 12.5px; }
@media (min-width: 900px) { .products__foot { display: flex; } }

/* ── دسته‌ها (۱۴۰۵/۰۷/۲۲) ─────────────────────────────────────────────── */
.sec-link { display: inline-flex; align-items: center; gap: 4px; flex: none; color: var(--red); font-size: 14px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.sec-link svg { width: 17px; height: 17px; }
.sec-link:hover { text-decoration: underline; }
.cats__row { display: flex; gap: 12px; margin: 0 calc(-1 * clamp(16px, 4vw, 40px)); padding: 4px clamp(16px, 4vw, 40px) 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.cats__row::-webkit-scrollbar { display: none; }
.cat { flex: none; display: grid; justify-items: center; gap: 2px; width: 132px; padding: 10px 10px 12px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--card);
  color: var(--ink); font: inherit; text-align: center; cursor: pointer; scroll-snap-align: start; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.cat:hover { border-color: color-mix(in srgb, var(--red) 45%, var(--line)); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(109, 10, 20, .08); }
/* از ۱۴۰۵/۰۷/۲۳ کاشی پیوند به فهرست محصولات است. */
a.cat { text-decoration: none; }
.cat--all .cat__img { display: grid; place-items: center; background: linear-gradient(135deg, var(--red-deep), var(--red)); color: #fff; }
.cat--all .cat__img svg { width: 42%; height: 42%; }
.cat--all b { color: var(--red); }
.cat.is-on { border-color: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 14%, transparent); }
.cat__img { display: block; width: 100%; aspect-ratio: 1; margin-bottom: 6px; border-radius: 16px; overflow: hidden; background: var(--soft); }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cat:hover .cat__img img { transform: scale(1.06); }
.cat b { font-size: 14.5px; font-weight: 900; line-height: 1.4; }
.cat small { color: var(--muted); font-size: 12px; font-weight: 700; }
@media (min-width: 900px) { .cats__row { flex-wrap: wrap; margin: 0; padding: 4px 0 0; overflow: visible; } .cat { width: 150px; } }

.chips { display: flex; gap: 8px; margin: -4px calc(-1 * clamp(16px, 4vw, 40px)) 16px; padding: 2px clamp(16px, 4vw, 40px) 4px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 38px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.is-on { border-color: var(--red); background: var(--red); color: #fff; }
@media (min-width: 900px) { .chips { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; overflow: visible; } }
/* جست‌وجو و دسته: کارتی که نمی‌خورد پنهان؛ روی دسکتاپ هم (قبلاً جست‌وجو فقط روی گوشی کار می‌کرد). */
[data-product-card][data-search-match="false"], [data-product-card][data-cat-match="false"] { display: none !important; }

/* ── چرا گوشت امین ───────────────────────────────────────────────────── */
.why__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.why__grid li { position: relative; display: grid; gap: 6px; align-content: start; padding: 22px 20px; border-radius: var(--radius); background: linear-gradient(160deg, #fff 0%, #fdf4f1 100%);
  border: 1.5px solid var(--line); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.why__grid li:hover { transform: translateY(-4px); border-color: #e2b8bd; box-shadow: 0 18px 36px rgba(109, 10, 20, .09); }
.why__grid li::after { content: ""; position: absolute; inset: auto -30px -30px auto; width: 110px; height: 110px; border-radius: 50%; background: color-mix(in srgb, var(--red) 6%, transparent); }
.why__grid i { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 6px; border-radius: 16px; background: linear-gradient(135deg, var(--red-deep), var(--red)); color: #fff; box-shadow: 0 10px 20px rgba(165, 29, 45, .25); }
.why__grid i svg { width: 26px; height: 26px; }
.why__grid b { font-size: 17px; font-weight: 900; }
.why__grid span { color: var(--muted); font-size: 13.5px; line-height: 1.8; }

/* ── سفارش در سه قدم ─────────────────────────────────────────────────── */
.how__steps { display: grid; gap: 12px; counter-reset: how; }
@media (min-width: 800px) { .how__steps { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.how__steps li { position: relative; display: grid; gap: 4px; padding: 22px 22px 22px 20px; border: 1.5px dashed #e2c9c4; border-radius: var(--radius); background: var(--card); counter-increment: how; }
.how__steps li::before { content: counter(how); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 8px; border-radius: 50%; background: var(--gold); color: var(--red-deep); font-size: 18px; font-weight: 900; }
.how__steps b { font-size: 17px; font-weight: 900; }
.how__steps span { color: var(--muted); font-size: 13.5px; }
@media (min-width: 800px) { .how__steps li:not(:last-child)::after { content: "←"; position: absolute; inset: 50% auto auto -14px; transform: translateY(-50%); color: var(--red); font-size: 20px; font-weight: 900; } }

/* ── اپ گوشت امین ────────────────────────────────────────────────────── */
.appband { position: relative; display: grid; gap: 24px; align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: 28px; overflow: hidden; color: #fff;
  background: radial-gradient(120% 120% at 15% 10%, #cf2130 0%, #9c1120 45%, #4a060d 100%); }
.appband::before { content: ""; position: absolute; inset: auto auto -120px -80px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 0 0 36px rgba(255, 255, 255, .03); }
.appband__copy { position: relative; z-index: 1; display: grid; gap: 10px; max-width: 560px; }
.appband h2 { margin: 0; font-size: clamp(26px, 3.6vw, 42px); line-height: 1.2; font-weight: 900; }
.appband p { color: rgba(255, 255, 255, .86); font-size: 15.5px; text-wrap: pretty; }
.appband__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.eyebrow--light { color: var(--gold); } .eyebrow--light i { background: var(--gold); }
.appband__phone { position: relative; z-index: 1; display: grid; justify-items: center; }
.phone { width: 230px; padding: 14px 12px 18px; border: 8px solid #170709; border-radius: 34px; background: #faf6f3; color: var(--ink); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); transform: rotate(-4deg); }
.phone__top { display: flex; align-items: center; gap: 8px; padding: 6px 6px 12px; font-size: 14px; }
.phone__top img { width: 34px; height: 34px; border-radius: 50%; }
.phone__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; }
.phone__row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.phone__row b { flex: none; color: var(--red); font-weight: 900; }
.phone__cta { margin-top: 10px; padding: 10px; border-radius: 999px; background: var(--red); color: #fff; font-size: 13px; font-weight: 800; text-align: center; }
@media (min-width: 900px) { .appband { grid-template-columns: 1.3fr 1fr; } }
@media (max-width: 599px) { .appband__phone { display: none; } }

/* داک موبایل: تماس + سبد */
.mobile-app-dock { position: fixed; inset: auto 0 0; z-index: 30; display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--card) 92%, transparent); border-top: 1.5px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.mobile-contact-action { display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; min-height: 52px; border: 1.5px solid var(--line); border-radius: 16px; font-size: 13.5px; font-weight: 800; text-decoration: none; }
.mobile-contact-action svg { width: 20px; height: 20px; color: var(--green); }
.mobile-quick-order { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 0 14px 0 16px; border-radius: 16px; background: var(--red); color: #fff; text-decoration: none; }
.mobile-quick-order span { display: grid; line-height: 1.35; }
.mobile-quick-order strong { font-size: 14.5px; font-weight: 800; }
.mobile-quick-order small { font-size: 11px; opacity: .8; }
.mobile-quick-order b { min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: #fff; color: var(--red); font-size: 14px; font-weight: 900; line-height: 30px; text-align: center; }
.mobile-quick-order b.is-cart-hit { animation: cart-hit .46s cubic-bezier(.2,.9,.28,1); }
@media (min-width: 900px) { .mobile-app-dock { display: none; } }
@media (max-width: 380px) { .mobile-contact-action span { display: none; } }

/* اعلان و پرواز به سبد (app.js) */
.toast-region { position: fixed; z-index: 50; inset: auto 16px calc(84px + env(safe-area-inset-bottom)) 16px; display: grid; gap: 8px; pointer-events: none; }
@media (min-width: 900px) { .toast-region { inset: auto auto 22px 22px; width: 340px; } }
.toast { padding: 12px 16px; border-radius: 14px; background: var(--ink); color: var(--bg); font-size: 13.5px; font-weight: 700; box-shadow: 0 12px 30px rgba(0,0,0,.18); animation: toast-in .22s ease; }
.toast--error { background: var(--red); color: #fff; }
.toast.is-leaving { opacity: 0; transition: opacity .3s ease; }
.cart-flight { position: fixed; z-index: 90; display: grid; place-items: center; overflow: hidden; border: 2px solid #fff; border-radius: 14px; background: var(--red); color: #fff; font-size: 20px; font-weight: 900; box-shadow: 0 14px 30px rgba(69,17,22,.3); pointer-events: none; }
.cart-flight img { width: 100%; height: 100%; object-fit: cover; }
@keyframes cart-hit { 0%, 100% { transform: scale(1); } 42% { transform: scale(1.18) rotate(-5deg); } }
@keyframes card-added { 0% { border-color: var(--line); } 40% { border-color: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 14%, transparent); } 100% { border-color: var(--line); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

/* انیمیشن اسکرول: نرم و کوتاه. فقط وقتی home.js رسیده (html.has-reveal) چیزی پنهان می‌شود؛
   بدون JS یا اگر اسکریپت نرسید، همه‌چیز از اول دیده می‌شود. */
html.has-reveal [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .6s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--d, 0) * 55ms); }
html.has-reveal [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; } .card__img img, .btn { transition: none; } }
