/* صفحه اصلی سایت دوتادو — نسخه عکس‌محور */
@font-face {
  font-family: "Lalezar";
  src: url("/static/fonts/Lalezar-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("/static/fonts/Vazirmatn.woff2") format("woff2-variations"), url("/static/fonts/Vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #fffdf9;
  --mist: #f6efe6;
  --line: #ece2d6;
  --ink: #20140c;
  --ink-2: #5a4636;
  --ink-3: #7a6555;
  --sauce: #d4402a;
  --sauce-dark: #a92f1d;
  --cheese: #f3b23a;
  --cheese-soft: #ffe9b0;
  --crust: #8a4a1e;
  --body: "Vazirmatn", Tahoma, sans-serif;
  --wrap: 1160px;
  --gut: clamp(16px, 4vw, 40px);
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(32, 20, 12, .06), 0 8px 24px -12px rgba(32, 20, 12, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
html, body { margin: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.8;
  direction: rtl;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-weight: 900; line-height: 1.35; margin: 0; letter-spacing: 0; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; right: 12px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 30; }
.skip:focus { top: 12px; }

/* دکمه‌ها */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 22px; border-radius: 999px;
  font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform .12s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 40px; padding: 6px 18px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 12px 28px; font-size: 16px; }
.btn-red { background: var(--sauce); color: #fff; box-shadow: 0 6px 18px -8px rgba(212, 64, 42, .7); }
.btn-red:hover { background: var(--sauce-dark); }
.btn-ghost, .btn-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover, .btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* نوار بالا: چسبان و نیمه‌شفاف */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 253, 249, .86);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid rgba(236, 226, 214, .8);
}
.top-in { max-width: var(--wrap); margin: 0 auto; padding: 10px var(--gut); display: flex; align-items: center; gap: 12px 28px; }
.mark { font-family: "Lalezar", var(--body); font-size: 28px; line-height: 1; padding-top: 6px; color: var(--sauce); text-decoration: none; }
.top nav { display: none; gap: 4px 22px; margin-inline-start: auto; }
.top nav a { text-decoration: none; font-weight: 700; font-size: 14.5px; color: var(--ink-2); padding: 6px 2px; }
.top nav a:hover { color: var(--ink); }
.top .btn { margin-inline-start: auto; }

/* قهرمان */
.hero {
  max-width: var(--wrap); margin: 0 auto;
  padding: 22px var(--gut) 8px;
  display: grid; gap: 22px; align-items: center;
}
.hero-text { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.hero h1 { font-size: clamp(28px, 7.4vw, 50px); line-height: 1.3; }
.lead { font-size: 15.5px; color: var(--ink-2); max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.slots { margin-top: 4px; min-width: 0; }
.slots-title { font-weight: 800; font-size: 13.5px; color: var(--ink-2); margin-bottom: 8px; }
.slots-row {
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin-inline: calc(var(--gut) * -1); padding: 2px var(--gut) 6px; scrollbar-width: none;
}
.slots-row::-webkit-scrollbar { display: none; }
.slot {
  flex: none; scroll-snap-align: start;
  display: inline-flex; flex-direction: column; align-items: center;
  min-width: 74px; padding: 6px 12px 8px; border-radius: var(--r-sm);
  background: #fff; color: var(--ink); text-decoration: none;
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: box-shadow .15s ease;
}
.slot:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.slot b { font-size: 17px; font-weight: 900; line-height: 1.4; }
.slot small { font-size: 11.5px; color: var(--ink-3); }
.slots-note { font-weight: 700; background: var(--mist); padding: 10px 14px; border-radius: var(--r-sm); display: inline-block; }

/* تصویر قهرمان */
.hero-art { min-width: 0; position: relative; }
.hero-art::before {
  content: ""; position: absolute; inset: 6% 4% 2% 4%;
  background: var(--cheese); border-radius: 46% 54% 42% 58% / 55% 45% 55% 45%;
  z-index: -1;
}
.art { position: relative; aspect-ratio: 1 / .86; max-width: 560px; margin: 0 auto; }
.collage img { position: absolute; object-fit: cover; border-radius: var(--r-lg); background: var(--mist); box-shadow: 0 18px 40px -18px rgba(32, 20, 12, .55); border: 5px solid #fff; }
.collage .art-0 { width: 66%; height: 76%; inset-inline-start: 6%; top: 8%; transform: rotate(-3deg); z-index: 2; }
.collage .art-1 { width: 40%; height: 44%; inset-inline-end: 2%; top: 0; transform: rotate(5deg); }
.collage .art-2 { width: 42%; height: 42%; inset-inline-end: 6%; bottom: 0; transform: rotate(-6deg); z-index: 3; }
.collage.n1 .art-0 { width: 84%; height: 92%; inset-inline-start: 8%; top: 4%; }
.collage.n2 .art-1 { top: auto; bottom: 4%; z-index: 3; }
.art-tag {
  position: absolute; z-index: 4; inset-inline-start: 0; bottom: 6%;
  display: flex; flex-direction: column; background: #fff; border-radius: var(--r-md);
  padding: 8px 14px; box-shadow: var(--shadow); line-height: 1.6;
}
.art-tag b { font-size: 14px; }
.art-tag span { font-size: 13px; color: var(--sauce-dark); font-weight: 800; }
.drawn .snack-art { width: 100%; height: 100%; display: block; transform: rotate(-6deg); }
.drawn .snack-art > circle:first-of-type { display: none; }
.snack-art .steam path { animation: steam 3.2s ease-in-out infinite; }
.snack-art .steam path:nth-child(2) { animation-delay: .6s; }
.snack-art .steam path:nth-child(3) { animation-delay: 1.2s; }
@keyframes steam { 0%, 100% { opacity: 0; transform: translateY(8px); } 40% { opacity: 1; } 70% { opacity: .6; transform: translateY(-10px); } }

/* تنها حرکت بارگذاری: نشستن عکس‌ها */
.collage img { animation: settle .8s cubic-bezier(.2, .8, .2, 1) both; }
.collage .art-1 { animation-delay: .12s; }
.collage .art-2 { animation-delay: .24s; }
@keyframes settle { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }

/* بخش‌ها */
.sec { max-width: var(--wrap); margin: 0 auto; padding: 40px var(--gut) 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 16px; }
.sec-head h2 { font-size: clamp(21px, 3.2vw, 34px); }
.sec-note { font-size: 13.5px; color: var(--ink-3); width: 100%; }
.sec-link { font-weight: 800; font-size: 14px; color: var(--sauce-dark); text-decoration: none; }
.sec-link:hover { text-decoration: underline; }

/* پرفروش‌ها: کشویی در گوشی، شبکه در صفحه بزرگ */
.picks {
  list-style: none; margin: 0 calc(var(--gut) * -1); padding: 4px var(--gut) 14px;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 62%);
  gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.picks::-webkit-scrollbar { display: none; }
.pick { scroll-snap-align: start; min-width: 0; }
.pick a {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit;
  background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.pick a:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(32, 20, 12, .06), 0 16px 32px -14px rgba(32, 20, 12, .28); }
.pick-ph { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: var(--mist); }
.pick-body { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; flex: 1; }
.pick h3 { font-size: 15.5px; font-weight: 800; }
.pick-meta { font-size: 12px; color: var(--crust); font-weight: 700; }
.pick-desc { font-size: 12.5px; color: var(--ink-3); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pick-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-weight: 900; font-size: 15px; white-space: nowrap; }
.price small { font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.pick-add { width: 34px; height: 34px; border-radius: 50%; background: var(--sauce); display: grid; place-items: center; flex: none; }
.pick-add svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }

/* بدون هیچ عکسی: کارت‌های جمع‌وجور با نوار پنیری */
.picks.no-ph { grid-auto-columns: minmax(200px, 70%); }
.picks.no-ph .pick a { border-top: 6px solid var(--cheese); }
.picks.no-ph .pick-body { padding-top: 16px; }
.picks.no-ph .pick h3 { font-size: 17px; }

/* جای عکس خالی */
.ph-none { display: grid; place-items: center; background: var(--cheese-soft); }
.ph-none svg { width: 46%; height: auto; }

/* منو */
.cat-nav {
  position: sticky; top: 61px; z-index: 10; background: rgba(255, 253, 249, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gut) * -1) 6px; padding: 8px var(--gut);
}
.cat-nav:empty { display: none; }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav a {
  flex: none; text-decoration: none; font-weight: 700; font-size: 13.5px;
  padding: 6px 14px; border-radius: 999px; background: var(--mist); color: var(--ink-2);
}
.cat-nav a:hover { background: var(--ink); color: #fff; }
.menu-cols { display: grid; gap: 8px; }
.menu-cat { min-width: 0; }
.menu-cat h3 { font-size: 17px; padding: 14px 0 4px; }
.rows { list-style: none; margin: 0; padding: 0; }
.row > a, .row > div {
  display: flex; gap: 12px; align-items: center; padding: 10px 0;
  border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
}
.row > a:hover .row-name { color: var(--sauce-dark); }
.row-ph { width: 60px; height: 60px; flex: none; border-radius: var(--r-sm); object-fit: cover; background: var(--mist); }
.row-text { flex: 1; min-width: 0; }
.row-top { display: flex; align-items: baseline; gap: 8px; }
.row-name { font-weight: 800; font-size: 14.5px; }
.row-price { margin-inline-start: auto; font-weight: 900; font-size: 14px; white-space: nowrap; }
.row-price small { font-size: 11px; font-weight: 600; color: var(--ink-3); }
.row-desc { font-size: 12.5px; color: var(--ink-3); line-height: 1.7; }
.row.out { opacity: .55; }
.tag-out { font-size: 11px; font-weight: 800; background: var(--mist); color: var(--ink-2); padding: 0 8px; border-radius: 6px; white-space: nowrap; }

/* چهار قدم */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 10px; }
.steps li {
  counter-increment: s; position: relative; background: var(--mist); border-radius: var(--r-md);
  padding: 14px 16px 14px 16px; padding-inline-start: 58px;
}
.steps li::before {
  content: counter(s, persian); position: absolute; inset-inline-start: 14px; top: 14px;
  width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--cheese);
  display: grid; place-items: center; font-weight: 900; font-size: 15px; line-height: 1;
}
.steps h3 { font-size: 15px; font-weight: 800; }
.steps p { font-size: 13.5px; color: var(--ink-2); line-height: 1.8; }

/* ساعت کار و نشانی */
.visit { display: grid; gap: 14px; }
.visit-card { background: var(--ink); color: #fbefe0; border-radius: var(--r-lg); padding: 22px 20px; }
.visit-card h2 { font-size: clamp(21px, 3.2vw, 30px); color: var(--cheese); margin-bottom: 10px; }
.facts { margin: 0 0 16px; }
.facts > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.facts dt { color: #cdb9a5; }
.facts dd { margin: 0; font-weight: 800; }
.facts a { color: var(--cheese); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.visit-card .btn-line, .visit-card .btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.visit-card .btn-line:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.visit-card :focus-visible { outline-color: var(--cheese); }
.about { background: var(--cheese-soft); border-radius: var(--r-lg); padding: 20px; }
.about h3 { font-size: 17px; margin-bottom: 6px; }
.about p { font-size: 14.5px; line-height: 1.95; color: var(--ink-2); white-space: pre-line; }

/* پرسش‌ها */
.faq { max-width: 820px; padding-bottom: 48px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 14px 0; font-weight: 800; font-size: 14.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; flex: none; border-inline-end: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s; margin-top: -4px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details p { padding: 0 0 16px; font-size: 14px; color: var(--ink-2); }

.foot { background: var(--ink); color: #cdb9a5; padding: 28px var(--gut) 92px; font-size: 13.5px; }
.foot-in { max-width: var(--wrap); margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.foot-main { display: flex; flex-direction: column; gap: 8px; }
.foot-mark { font-family: "Lalezar", var(--body); font-size: 26px; line-height: 1; padding-top: 6px; color: var(--cheese); }
.foot-info { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot-info:empty { display: none; }
.foot-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; }
.foot a { color: var(--cheese); }

/* کارت مکان */
.visit-side { display: grid; gap: 14px; min-width: 0; }
.visit-side:empty { display: none; }
.loc-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.loc-tile { position: relative; display: block; text-decoration: none; color: inherit; }
.loc-map { display: block; width: 100%; height: 180px; }
.loc-tile { overflow: hidden; }
.loc-live { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; opacity: 0; transition: opacity .5s ease; background: #efe6d8; }
.loc-live.on { opacity: 1; }
.loc-go {
  position: absolute; inset-inline-start: 12px; bottom: 12px;
  background: var(--ink); color: #fff; font-weight: 800; font-size: 13.5px;
  padding: 8px 16px; border-radius: 999px; box-shadow: var(--shadow);
}
a.loc-tile:hover .loc-go { background: var(--sauce); }
.loc-body { padding: 14px 18px 18px; }
.loc-body h3 { font-size: 16px; }
.loc-addr { font-size: 14px; color: var(--ink-2); margin-top: 2px; }

/* دکمه ثابت پایین گوشی */
.dock {
  transition: transform .25s ease, opacity .25s ease;
  position: fixed; z-index: 25; inset-inline: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
  min-height: 52px; font-size: 16px; box-shadow: 0 10px 28px -10px rgba(212, 64, 42, .8);
}

.dock.away { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* تبلت و بزرگ‌تر */
@media (min-width: 720px) {
  body { font-size: 16px; }
  .lead { font-size: 17px; }
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px 48px; padding-top: 48px; }
  .slots-row { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .picks { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; }
  .rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visit { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
  .visit:has(.visit-side:empty) { grid-template-columns: minmax(0, 720px); }
  .loc-map { height: 220px; }
  .foot-in { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; }
  .foot-end { border-top: 0; padding-top: 0; flex-direction: column; align-items: flex-end; gap: 4px; }
  .visit-card { padding: 30px 32px; }
  .sec { padding-top: 64px; }
  .cat-nav { margin-inline: 0; padding-inline: 0; }
  .row-name { font-size: 15.5px; }
  .row-price { font-size: 15px; }
  .pick h3 { font-size: 16.5px; }
  .dock { display: none; }
  .foot { padding-bottom: 28px; }
}
@media (min-width: 1000px) {
  .top nav { display: flex; }
  .top .btn { margin-inline-start: 0; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps li { padding: 64px 18px 18px; }
  .steps li::before { top: 18px; inset-inline-start: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .collage img, .snack-art .steam path { animation: none; }
  .pick a, .btn { transition: none; }
}

/* پیوندهای قوانین و نشان اینماد در پانویس */
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; }
.foot-links a { color: #e9d9c6; text-decoration: none; }
.foot-links a:hover { color: var(--cheese); text-decoration: underline; }
.enamad { display: inline-block; background: #fff; border-radius: 10px; padding: 4px; line-height: 0; }
.enamad img { width: 72px; height: auto; }

/* صفحه‌های متنی (قوانین، حریم خصوصی، تحویل، درباره) */
.doc-page .foot { padding-bottom: 28px; }
.doc { max-width: 760px; padding-bottom: 56px; }
.doc h1 { font-size: clamp(24px, 4vw, 34px); margin: 8px 0 18px; }
.doc h2 { font-size: 18px; margin: 26px 0 8px; }
.doc p, .doc li { font-size: 15px; line-height: 2; color: var(--ink-2); }
.doc ul { padding-inline-start: 22px; margin: 6px 0; }
.doc .facts { background: var(--mist); border-radius: var(--r-md); padding: 6px 18px; margin: 10px 0 18px; }
.doc .facts > div { border-bottom-color: var(--line); }
.doc .facts dt { color: var(--ink-3); }
.doc .facts a { color: var(--sauce-dark); }
.doc-date { margin-top: 30px; font-size: 13px !important; color: var(--ink-3) !important; }

/* ------------------------------------------------ چهار قدم با گوشی (۱.۱۸)
   قدم‌ها یکی‌یکی روشن می‌شوند و صفحه گوشی همان قدم را نشان می‌دهد. بدون کتابخانه؛
   بدون اسکریپت یا با «کاهش حرکت» همه قدم‌ها خوانا می‌مانند. */
.how { padding-inline: 0; }
.how-band {
  --band: var(--ink); --cream: #fbefe0; --cream-2: #cdb9a5;
  background: var(--band); color: var(--cream);
  border-radius: var(--r-lg); margin-inline: 0; padding: 28px var(--gut) 30px; position: relative;
}
.how-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.how-head h2 { font-family: "Lalezar", var(--body); font-weight: 400; color: var(--cheese); font-size: clamp(27px, 4.4vw, 44px); line-height: 1.3; padding-top: 6px; text-wrap: balance; }
.how-head p { color: var(--cream-2); font-size: 14.5px; }
.how-grid { display: flex; flex-direction: column; position: relative; }
.how-steps { list-style: none; margin: 0; padding: 0 0 26svh; display: flex; flex-direction: column; }
.how-step {
  display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-content: start; align-items: center;
  min-height: 30svh; padding-block: 18px; transition: opacity .3s ease;
}
.how-step p { grid-column: 2; }
.how-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--cream); font-weight: 900; font-size: 16px; transition: background-color .3s ease, color .3s ease; }
.how-step h3 { font-size: 19px; font-weight: 900; line-height: 1.5; }
.how-step p { font-size: 14.5px; line-height: 1.95; color: var(--cream); max-width: 34em; }
.how-step.on .how-n { background: var(--cheese); color: var(--ink); }
.how.js .how-step:not(.on) { opacity: .42; }
.how-cta { display: flex; justify-content: center; padding-top: 8px; }
.how-aside { order: -1; position: sticky; top: 62px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 0 16px; margin-inline: calc(var(--gut) * -1); background: var(--band); }
.how-aside::after { content: ""; position: absolute; inset: 100% 0 auto; height: 56px; background: linear-gradient(var(--band), transparent); pointer-events: none; }
.phone { --pf: clamp(8px, 1.18svh, 10.5px); font-size: var(--pf); margin: 0; position: relative; width: 17.5em; height: 36em; padding: .55em; border-radius: 2.9em; background: #0b0704; box-shadow: 0 0 0 .14em #4a382b, 0 2.4em 4em -1.4em rgba(0, 0, 0, .7); }
.phone::before { content: ""; position: absolute; inset: 8% -26%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(212, 64, 42, .55), transparent); }
.phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 2.35em; background: var(--paper); color: var(--ink); font-size: 1.25em; line-height: 1.6; }
.ph-status { position: relative; z-index: 3; height: 2.4em; display: flex; align-items: center; justify-content: space-between; padding: 0 1.4em; font-size: .78em; font-weight: 800; }
.ph-island { position: absolute; left: 50%; top: .55em; width: 6.4em; height: 1.55em; margin-left: -3.2em; border-radius: 1em; background: #0b0704; }
.ph-sig { display: flex; align-items: flex-end; gap: .18em; height: .9em; }
.ph-sig i { width: .28em; background: currentColor; border-radius: .1em; }
.ph-sig i:nth-child(1) { height: 40%; } .ph-sig i:nth-child(2) { height: 70%; } .ph-sig i:nth-child(3) { height: 100%; }
.scr { position: absolute; inset: 1.9em 0 0; padding: .7em .85em 1em; display: flex; flex-direction: column; gap: .55em; opacity: 0; transform: translateY(1.2em); visibility: hidden; transition: opacity .32s ease, transform .4s cubic-bezier(.2, .8, .2, 1), visibility 0s .4s; }
.phone-screen[data-on="1"] [data-scr="1"], .phone-screen[data-on="2"] [data-scr="2"],
.phone-screen[data-on="3"] [data-scr="3"], .phone-screen[data-on="4"] [data-scr="4"] { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.scr-menu { padding: 0 0 1em; gap: .6em; }
.m-head { background: var(--sauce); color: #fff; text-align: center; padding: .5em .6em .9em; display: flex; flex-direction: column; margin-top: -.2em; }
.m-head b { font-family: "Lalezar", var(--body); font-weight: 400; font-size: 1.6em; line-height: 1.2; padding-top: .2em; }
.m-head small { font-size: .62em; opacity: .9; }
.m-cats { display: flex; gap: .35em; padding: 0 .7em; overflow: hidden; }
.m-cats span { flex: none; font-size: .64em; font-weight: 800; padding: .25em .75em; border-radius: 1em; background: #fff; box-shadow: inset 0 0 0 .1em var(--line); }
.m-cats span.on { background: var(--sauce); color: #fff; box-shadow: none; }
.m-items { list-style: none; margin: 0; padding: 0 .7em; display: flex; flex-direction: column; gap: .45em; }
.m-items li { display: flex; align-items: center; gap: .5em; background: #fff; border-radius: .8em; padding: .45em; box-shadow: inset 0 0 0 .08em var(--line); }
.m-ph { width: 2.9em; height: 2.9em; flex: none; border-radius: .6em; background: radial-gradient(circle at 50% 58%, #fbc94a 0 34%, #ad5f22 35% 50%, transparent 51%), var(--cheese-soft); }
.m-t { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.5; }
.m-t b { font-size: .7em; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-t small { font-size: .62em; font-weight: 800; color: var(--sauce-dark); }
.m-q { display: flex; align-items: center; gap: .35em; font-size: .7em; font-weight: 900; }
.m-q i { font-style: normal; width: 1.8em; height: 1.8em; border-radius: 50%; display: grid; place-items: center; background: var(--mist); }
.m-q i.p { background: var(--sauce); color: #fff; }
.m-add { font-size: .62em; font-weight: 800; color: #fff; background: var(--sauce); border-radius: 1em; padding: .3em .8em; }
.m-cart { margin: auto .7em 0; background: var(--ink); color: #fff; border-radius: 1em; padding: .5em .5em .5em .8em; display: flex; align-items: center; justify-content: space-between; }
.m-cart span { display: flex; flex-direction: column; line-height: 1.4; }
.m-cart small { font-size: .56em; color: var(--cheese); font-weight: 700; }
.m-cart b { font-size: .74em; }
.m-cart em { font-style: normal; font-size: .64em; font-weight: 800; background: var(--sauce); border-radius: 1em; padding: .4em 1em; }
.s-title { font-size: .78em; font-weight: 900; margin-top: .2em; }
.s-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35em; }
.s-slots span { display: flex; flex-direction: column; align-items: center; padding: .35em 0; border-radius: .65em; background: #fff; box-shadow: inset 0 0 0 .1em var(--line); line-height: 1.35; }
.s-slots b { font-size: .74em; font-weight: 900; }
.s-slots small { font-size: .52em; font-weight: 700; color: #2f7a4d; }
.s-slots .full { background: repeating-linear-gradient(135deg, var(--mist) 0 .35em, #fff .35em .7em); color: var(--ink-3); }
.s-slots .full b { text-decoration: line-through; }
.s-slots .full small { color: #b32d1f; }
.s-slots .on { background: var(--sauce); color: #fff; box-shadow: none; animation: pick .5s .25s both; }
.s-slots .on small { color: #fff; }
@keyframes pick { from { transform: scale(.9); } to { transform: none; } }
.s-field { display: flex; flex-direction: column; background: #fff; border-radius: .65em; padding: .3em .7em; box-shadow: inset 0 0 0 .1em var(--line); font-size: .72em; font-weight: 700; line-height: 1.5; }
.s-field small { font-size: .78em; color: var(--ink-3); }
.s-btn { margin-top: auto; text-align: center; font-style: normal; background: var(--sauce); color: #fff; font-size: .78em; font-weight: 900; border-radius: 1.4em; padding: .55em; }
.scr-pay { align-items: center; text-align: center; padding-top: 1.6em; }
.p-cap { font-size: .7em; color: var(--ink-3); font-weight: 700; }
.p-num { font-family: "Lalezar", var(--body); font-size: 4.6em; line-height: 1; color: var(--sauce); padding-top: .15em; }
.p-chip { font-size: .62em; font-weight: 800; background: #fdf0dc; color: #8a5208; border-radius: 1em; padding: .25em .9em; }
.p-timer { width: 100%; margin-top: .4em; background: #fff; border-radius: .9em; padding: .55em .8em; box-shadow: inset 0 0 0 .1em var(--line); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .2em .5em; text-align: start; }
.p-timer span { font-size: .64em; color: var(--ink-3); font-weight: 700; }
.p-timer b { font-size: .9em; font-weight: 900; direction: ltr; }
.p-timer i { grid-column: 1 / -1; height: .35em; border-radius: 1em; background: var(--mist); overflow: hidden; }
.p-timer s { display: block; height: 100%; width: 97%; background: var(--cheese); border-radius: 1em; }
.phone-screen[data-on="3"] .p-timer s { animation: drain 6s linear .3s both; }
@keyframes drain { to { width: 78%; } }
.p-facts { width: 100%; margin: 0; display: flex; flex-direction: column; gap: .2em; }
.p-facts div { display: flex; justify-content: space-between; font-size: .66em; padding: .35em .1em; border-bottom: .1em solid var(--line); }
.p-facts dt { color: var(--ink-3); }
.p-facts dd { margin: 0; font-weight: 900; }
.scr-sms { background: linear-gradient(170deg, #3b2416, #20140c 60%); color: #fff; align-items: center; padding-top: 2.2em; inset-block-start: 0; }
.n-time { font-size: 3em; font-weight: 300; line-height: 1.1; direction: ltr; }
.n-date { font-size: .66em; opacity: .75; }
.n-card { width: 100%; margin-top: 1.4em; background: rgba(255, 253, 249, .92); color: var(--ink); border-radius: 1.1em; padding: .6em .8em .7em; text-align: start; display: flex; flex-direction: column; gap: .1em; }
.n-app { font-size: .56em; color: var(--ink-3); font-weight: 700; }
.n-card b { font-size: .72em; font-weight: 900; }
.n-card p { font-size: .64em; line-height: 1.7; }
.phone-screen[data-on="4"] .n-card { animation: drop .55s cubic-bezier(.2, .8, .2, 1) .25s both; }
@keyframes drop { from { opacity: 0; transform: translateY(-2.4em) scale(.96); } to { opacity: 1; transform: none; } }
.n-ready { margin-top: auto; width: 100%; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .6em; align-items: center; background: #2f7a4d; border-radius: 1em; padding: .55em .8em; }
.n-ready span { grid-row: 1 / 3; width: 1.8em; height: 1.8em; border-radius: 50%; background: #fff; color: #2f7a4d; display: grid; place-items: center; font-weight: 900; font-size: .8em; }
.n-ready b { font-size: .74em; }
.n-ready small { font-size: .58em; opacity: .9; }
.phone-screen[data-on="4"] .ph-status { color: #fff; }
.how-dots { display: flex; gap: 6px; }
.how-dots i { width: 7px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .25); transition: width .3s ease, background-color .3s ease; }
.how-dots i.on { width: 22px; background: var(--cheese); }
@media (min-width: 720px) {
  .how { padding-inline: var(--gut); }
  .how-band { padding: 48px 48px 44px; }
  .how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; align-items: start; }
  .how-steps { padding: 0; }
  .how-step { min-height: 46vh; align-content: center; padding-block: 24px; grid-template-columns: 40px minmax(0, 1fr); column-gap: 18px; }
  .how-n { width: 40px; height: 40px; }
  .how-step h3 { font-size: 23px; }
  .how-step p { font-size: 16px; }
  .how-aside { order: 0; top: max(84px, calc(50vh - 20em)); margin: 0; padding: 0; background: none; height: auto; }
  .how-aside::after { display: none; }
  .phone { --pf: clamp(9px, 1.45vh, 12px); margin-top: 4vh; }
  .how-steps { padding-bottom: 6vh; }
}
@media (prefers-reduced-motion: reduce) {
  .scr, .how-step, .how-n, .how-dots i { transition: none; }
  .s-slots .on, .n-card, .p-timer s { animation: none !important; }
}
