/* ============ ROLLS — warm design system ============ */
:root {
  --cream: #fff7f0;
  --surface: #ffffff;
  --warm: #fdede0;
  --warm-2: #fde2cf;
  --deep: #3a2a20;
  --accent: #e85d3d;
  --accent-dark: #d14a2c;
  --accent-2: #f4a259;
  --honey: #ffc978;
  --fresh: #9bbb60;
  --ink: #3a2a20;
  --muted: #8a776b;
  --on-accent: #ffffff;
  --on-dark: #d9c7b8;
  --border: #f0dfd0;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --shadow: 0 12px 40px rgba(58, 42, 32, .08);
  --shadow-hover: 0 18px 48px rgba(58, 42, 32, .14);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
a { color: inherit; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; border: none; cursor: pointer;
  font: inherit; font-weight: 600; text-decoration: none; text-align: center;
  border-radius: 14px; padding: 13px 26px; font-size: 15px;
  background: var(--accent); color: var(--on-accent);
  transition: transform .15s, filter .15s, box-shadow .15s;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(232,93,61,.35); }
.btn.big { padding: 17px 34px; font-size: 16px; border-radius: 16px; }
.btn.small { padding: 10px 18px; font-size: 14px; border-radius: 12px; }
.btn.ghost {
  background: var(--surface); color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }
.btn.soft { background: var(--warm); color: var(--ink); }
.btn.block { display: block; width: 100%; }
/* Мгновенная обратная связь «добавлено» на кнопке «В корзину» */
.btn.added, .btn.added:hover {
  background: var(--fresh); color: #17210b; filter: none;
  box-shadow: 0 10px 24px rgba(155, 187, 96, .35);
}

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,247,240,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }

/* ---------- Burger (мобильное меню) ---------- */
.burger {
  display: none; width: 48px; height: 48px; padding: 0;
  background: none; border: 1.5px solid var(--border); border-radius: 13px;
  cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.burger:hover { border-color: var(--accent); }
.burger:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.logo { font-size: 26px; font-weight: 800; letter-spacing: .5px; }
.logo i { font-style: normal; color: var(--accent); }
.nav-links { display: flex; gap: 34px; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 16px; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 22px; }
.phone { color: var(--muted); font-size: 15px; font-weight: 600; text-decoration: none; }
.phone:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px;
  align-items: center; padding: 76px 0 84px;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 600;
  color: var(--accent); box-shadow: var(--shadow);
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--fresh); }
h1 {
  font-size: clamp(42px, 5vw, 66px); line-height: 1.04;
  margin: 26px 0; font-weight: 800; letter-spacing: -1px;
}
h1 em { font-style: normal; color: var(--accent); }
.sub { color: var(--muted); font-size: 18px; max-width: 470px; margin-bottom: 30px; }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.stats { display: flex; gap: 44px; margin-top: 44px; }
.stats b { display: block; font-size: 26px; font-weight: 800; }
.stats span { color: var(--muted); font-size: 14px; }

/* ---------- Plate illustration ---------- */
.plate {
  position: relative; width: min(470px, 100%); aspect-ratio: 1; margin-inline: auto;
  background: radial-gradient(circle at 42% 38%, var(--surface) 0 54%, var(--warm) 55% 100%);
  border-radius: 50%;
  box-shadow: 0 34px 70px rgba(58,42,32,.18), inset 0 0 0 2px var(--border);
}
.roll {
  position: absolute; width: 104px; aspect-ratio: 1; border-radius: 50%;
  background: var(--deep); display: grid; place-items: center;
  box-shadow: 0 8px 18px rgba(58,42,32,.25);
}
.roll::before { content: ""; width: 68%; aspect-ratio: 1; border-radius: 50%; background: #fff9f2; position: absolute; }
.roll::after { content: ""; width: 34%; aspect-ratio: 1; border-radius: 50%; position: absolute; }
.roll.salmon::after { background: var(--accent); }
.roll.avocado::after { background: var(--fresh); }
.roll.mango::after { background: var(--accent-2); }
.roll:nth-of-type(1) { left: 15%; top: 15%; }
.roll:nth-of-type(2) { left: 47%; top: 13%; width: 94px; }
.roll:nth-of-type(3) { left: 30%; top: 39%; width: 112px; }
.roll:nth-of-type(4) { left: 62%; top: 41%; width: 90px; }
.roll:nth-of-type(5) { left: 19%; top: 66%; width: 84px; }
.roll:nth-of-type(6) { left: 50%; top: 68%; width: 100px; }
.price-chip {
  position: absolute; top: 4%; right: -3%;
  background: var(--accent); color: var(--on-accent);
  font-weight: 800; font-size: 18px; padding: 13px 22px; border-radius: 999px;
  box-shadow: 0 14px 30px rgba(232,93,61,.4);
}
.sale-chip {
  position: absolute; bottom: 8%; left: -4%;
  background: var(--honey); color: var(--ink);
  font-weight: 800; font-size: 15px; padding: 11px 18px; border-radius: 999px;
  box-shadow: 0 14px 30px rgba(244,162,89,.45);
}

/* ---------- Sections ---------- */
section.block { background: var(--surface); padding: 84px 0; }
section.block.warm { background: var(--warm); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 42px; }
h2 { font-size: 44px; font-weight: 800; letter-spacing: -.5px; }
.sec-head p { color: var(--muted); font-size: 17px; margin-top: 12px; }
.link-more { color: var(--accent); font-weight: 600; text-decoration: none; font-size: 16px; }
.link-more:hover { text-decoration: underline; }

/* ---------- Chips ---------- */
.chips { display: flex; gap: 12px; flex-wrap: wrap; }
.chip {
  background: var(--cream); border: 1.5px solid var(--border); color: var(--muted);
  border-radius: 999px; padding: 11px 22px; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: all .2s; font-family: inherit;
}
.chip:hover { color: var(--ink); border-color: var(--accent-2); }
.chip.active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 26px; }
.card {
  background: var(--cream); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 20px;
  display: flex; flex-direction: column; gap: 13px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--accent-2); }
.card-img {
  height: 172px; border-radius: var(--r-md); background: var(--warm);
  position: relative; overflow: hidden;
}
.card-img .dish {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 132px; height: 132px; border-radius: 50%; background: var(--surface);
  box-shadow: inset 0 0 0 2px var(--border);
}
.card-img .roll { transform: scale(.42); transform-origin: top left; box-shadow: none; }
.card-img .r1 { left: 26%; top: 24%; }
.card-img .r2 { left: 46%; top: 18%; }
.card-img .r3 { left: 37%; top: 51%; }
.tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--honey); color: var(--ink);
  font-size: 12px; font-weight: 800; padding: 5px 11px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .4px;
}
.tag.hot { background: var(--accent); color: var(--on-accent); }
.card h3 { font-size: 19px; font-weight: 700; }
.card .desc { color: var(--muted); font-size: 14px; flex-grow: 1; }
.weight { color: var(--muted); font-size: 13px; font-weight: 600; }
.price-row { display: flex; justify-content: space-between; align-items: center; }
.price { color: var(--accent); font-size: 22px; font-weight: 800; }

/* ---------- Advantages ---------- */
.adv { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.adv-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 34px;
  display: flex; flex-direction: column; gap: 18px;
}
.adv-icon {
  width: 58px; height: 58px; border-radius: 18px; background: var(--warm);
  display: grid; place-items: center; font-size: 26px;
}
.adv-card b { font-size: 25px; font-weight: 800; }
.adv-card p { color: var(--muted); font-size: 15px; }

/* ---------- Quotes (меняющиеся цитаты про роллы) ---------- */
.quotes { padding: 76px 0 0; }
.quote-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 46px 56px 38px;
  text-align: center; max-width: 760px; margin: 0 auto;
}
.quote-mark {
  font-size: 92px; line-height: 0.35; color: var(--accent);
  font-family: Georgia, "Times New Roman", serif; opacity: 0.9;
  display: block; height: 40px;
}
.quote-text {
  font-size: 24px; font-weight: 700; line-height: 1.5;
  margin-top: 30px; min-height: 72px;
  transition: opacity 0.35s ease;
}
.quote-text.fade { opacity: 0; }
.quote-dots { display: flex; gap: 9px; justify-content: center; margin-top: 24px; }
.quote-dots b {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border);
  transition: background 0.3s ease, transform 0.3s ease;
}
.quote-dots b.on { background: var(--accent); transform: scale(1.3); }

/* ---------- Rate / Отзывы в hero ---------- */
.rate-block { margin-top: 44px; }
.rate-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.stars { display: flex; gap: 5px; }
.star {
  background: none; border: none; padding: 0; cursor: pointer;
  font-size: 32px; line-height: 1; color: var(--border);
  transition: color 0.2s ease, transform 0.15s ease;
}
.star.on { color: var(--honey, #ffb020); }
.star:hover { transform: scale(1.18); }
.rate-label { color: var(--muted); font-size: 15px; font-weight: 600; }
.review-form {
  margin-top: 18px; max-width: 480px;
  display: flex; flex-direction: column; gap: 12px;
}
.review-form textarea {
  background: var(--surface); color: var(--ink);
  border: 1.5px solid var(--border); border-radius: 16px;
  padding: 14px 16px; font: inherit; font-size: 15px;
  resize: vertical; min-height: 84px; width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}
.review-form textarea:focus { outline: none; border-color: var(--accent); }
.review-actions { display: flex; align-items: center; gap: 14px; }
.review-ok { color: var(--fresh); font-weight: 700; font-size: 15px; }
.review-hint { color: var(--accent-dark); font-size: 14px; margin: 0; }

/* ---------- Reviews ---------- */
.stars { color: var(--accent-2); font-size: 18px; letter-spacing: 2px; }
.review q { display: block; font-size: 15.5px; line-height: 1.6; quotes: "«" "»"; }
.author { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 15px;
}
.author b { font-size: 15px; display: block; }
.author span { color: var(--muted); font-size: 13px; }

/* ---------- Footer ---------- */
footer { background: var(--deep); color: var(--on-dark); padding: 76px 0 40px; }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 44px; }
footer .logo { color: var(--cream); }
.foot-brand p { font-size: 15px; margin-top: 16px; white-space: pre-line; line-height: 1.7; }
.foot-col b { font-size: 16px; color: var(--cream); display: block; margin-bottom: 16px; }
.foot-col a, .foot-col span { display: block; color: var(--on-dark); font-size: 15px; text-decoration: none; margin-bottom: 11px; }
.foot-col a:hover { color: var(--honey); }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(255,247,240,.14);
  font-size: 14px;
}

/* ---------- Page head (inner pages) ---------- */
.page-head { padding: 44px 0 8px; }
.crumbs { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.page-head h1 { font-size: 42px; margin: 0; }
.page-head .sub { margin: 10px 0 0; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 400px; gap: 32px; padding: 34px 0 84px; align-items: start; }
.cart-list { display: flex; flex-direction: column; gap: 18px; }
.cart-item {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 22px; align-items: center;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 18px 24px;
}
.cart-item .thumb {
  width: 110px; height: 92px; border-radius: var(--r-md); background: var(--warm);
  position: relative; overflow: hidden;
}
.cart-item .thumb .dish { position: absolute; inset: 8px auto auto 50%; transform: translateX(-50%); width: 76px; height: 76px; border-radius: 50%; background: var(--surface); }
.cart-item .thumb .roll { transform: scale(.26); transform-origin: top left; box-shadow: none; }
.cart-item .t1 { left: 24%; top: 16%; }
.cart-item .t2 { left: 45%; top: 30%; }
.cart-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 5px; }
.cart-item .meta { color: var(--muted); font-size: 14px; }
.qty { display: flex; align-items: center; gap: 4px; background: var(--cream); border: 1.5px solid var(--border); border-radius: 999px; padding: 4px; margin-top: 12px; width: max-content; }
.qty button {
  width: 30px; height: 30px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--surface); color: var(--ink); font-size: 17px; font-weight: 700;
  font-family: inherit; transition: all .15s;
}
.qty button:hover { background: var(--accent); color: #fff; }
.qty span { min-width: 34px; text-align: center; font-weight: 700; font-size: 15px; }
.item-right { text-align: right; display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.item-right .price { font-size: 21px; }
.remove { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 14px; font-family: inherit; }
.remove:hover { color: var(--accent); }

.summary {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 30px; position: sticky; top: 100px;
  box-shadow: var(--shadow);
}
.summary h3 { font-size: 22px; font-weight: 800; margin-bottom: 22px; }
.sum-row { display: flex; justify-content: space-between; font-size: 15.5px; padding: 9px 0; color: var(--muted); }
.sum-row b { color: var(--ink); font-weight: 600; }
.sum-row.total { border-top: 1.5px dashed var(--border); margin-top: 12px; padding-top: 18px; color: var(--ink); font-size: 17px; }
.sum-row.total b { font-size: 26px; font-weight: 800; color: var(--accent); }
.promo { display: flex; gap: 10px; margin: 16px 0 6px; }
.promo input {
  flex: 1; border: 1.5px solid var(--border); background: var(--cream);
  border-radius: var(--r-sm); padding: 12px 16px; font: inherit; font-size: 15px; color: var(--ink);
}
.promo input:focus { outline: 2px solid var(--accent-2); border-color: transparent; }
.free-hint { background: var(--warm); border-radius: var(--r-sm); padding: 14px 16px; font-size: 14px; color: var(--muted); margin-top: 16px; }
.free-hint b { color: var(--ink); }
.note { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin-top: 16px; }

/* ---------- Checkout ---------- */
.steps { display: flex; gap: 12px; margin: 26px 0 6px; flex-wrap: wrap; }
.step {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 999px; padding: 10px 22px; font-size: 15px; font-weight: 600; color: var(--muted);
}
.step i {
  font-style: normal; width: 24px; height: 24px; border-radius: 50%;
  background: var(--warm); display: grid; place-items: center; font-size: 13px; font-weight: 800;
}
.step.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.step.active i { background: rgba(255,255,255,.25); }
.step.done i { background: var(--fresh); color: #fff; }
.form-block {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 30px; margin-bottom: 22px;
}
.form-block h3 { font-size: 20px; font-weight: 800; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.form-block h3 i { font-style: normal; font-size: 22px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.field input, .field textarea {
  border: 1.5px solid var(--border); background: var(--cream);
  border-radius: var(--r-sm); padding: 13px 16px; font: inherit; font-size: 15px; color: var(--ink);
  transition: border-color .15s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-2); background: var(--surface); }
.field input::placeholder, .field textarea::placeholder { color: #c4b3a6; }
.opt-row { display: flex; gap: 14px; flex-wrap: wrap; }
.opt {
  flex: 1; min-width: 200px; cursor: pointer;
  border: 1.5px solid var(--border); background: var(--cream);
  border-radius: var(--r-md); padding: 18px 20px; transition: all .2s;
  display: flex; gap: 14px; align-items: flex-start;
}
.opt:hover { border-color: var(--accent-2); }
.opt.sel { border-color: var(--accent); background: #fff2ed; }
.opt input { accent-color: var(--accent); margin-top: 3px; }
.opt b { display: block; font-size: 15.5px; margin-bottom: 3px; }
.opt span { color: var(--muted); font-size: 13.5px; }
.opt .radio-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border); flex-shrink: 0; margin-top: 2px; }
.opt.sel .radio-dot { border: 5px solid var(--accent); }

/* Обязательные поля и сообщения об ошибках/статусе заказа */
.req { color: var(--accent); font-weight: 800; }
.form-error {
  margin-top: 14px; padding: 13px 16px; border-radius: var(--r-sm);
  background: rgba(255, 106, 66, .1); border: 1.5px solid rgba(255, 133, 95, .55);
  color: #ffb59d; font-size: 14.5px; line-height: 1.5; text-align: left;
}
.track-note {
  max-width: 560px; margin: 0 auto 34px; padding: 14px 20px;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-md); color: var(--muted); font-size: 15.5px; line-height: 1.5;
}
.track-note.warn { border-color: rgba(255, 201, 120, .5); color: var(--honey); }

/* ---------- Success ---------- */
.success-wrap { text-align: center; padding: 70px 0 40px; max-width: 720px; margin: 0 auto; }
.check {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 28px;
  background: linear-gradient(135deg, var(--fresh), #7fa64f);
  display: grid; place-items: center; font-size: 46px; color: #fff;
  box-shadow: 0 20px 44px rgba(159,187,96,.45);
  animation: pop .5s cubic-bezier(.2,1.6,.4,1);
}
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.success-wrap h1 { font-size: 48px; margin: 0 0 14px; }
.order-no { display: inline-block; background: var(--surface); border: 1.5px dashed var(--border); border-radius: 999px; padding: 10px 24px; font-weight: 700; margin-bottom: 12px; }
.eta { color: var(--muted); font-size: 17px; margin-bottom: 40px; }
.eta b { color: var(--accent); }
.timeline {
  display: flex; justify-content: space-between; background: var(--surface);
  border: 1.5px solid var(--border); border-radius: var(--r-lg);
  padding: 30px 36px; margin-bottom: 34px; position: relative;
}
.tl-step { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 33.34%; position: relative; z-index: 2; }
.tl-dot {
  width: 44px; height: 44px; border-radius: 50%; background: var(--warm);
  border: 2px solid var(--border); display: grid; place-items: center; font-size: 20px;
}
.tl-step.done .tl-dot { background: var(--fresh); border-color: var(--fresh); color: #fff; }
.tl-step.now .tl-dot { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 6px rgba(232,93,61,.18); }
.tl-step b { font-size: 15px; text-align: center; }
.tl-step span { font-size: 13px; color: var(--muted); }
.timeline::before {
  content: ""; position: absolute; top: 52px; left: 16%; right: 16%;
  height: 3px; background: var(--border); border-radius: 2px;
}
.order-card {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r-lg);
  padding: 28px 32px; text-align: left; margin-bottom: 34px; box-shadow: var(--shadow);
}
.order-card .line { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15.5px; color: var(--muted); }
.order-card .line b { color: var(--ink); }
.order-card .line.total { border-top: 1.5px dashed var(--border); margin-top: 10px; padding-top: 16px; }
.order-card .line.total b { font-size: 22px; color: var(--accent); font-weight: 800; }
.success-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .plate { order: -1; width: min(360px, 90%); }
  .phone { display: none; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; top: auto; }
  .fields { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  .timeline { flex-wrap: wrap; gap: 20px; }
  .timeline::before { display: none; }
  .tl-step { width: 100%; }

  /* Поле ввода 16px — iOS не зумит страницу при фокусе */
  .field input, .field textarea, .promo input { font-size: 16px; }
  .field input, .field textarea { min-height: 48px; box-sizing: border-box; }

  /* Бургер вместо пунктов навигации */
  .burger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 6px 0;
    background: var(--surface); border-bottom: 1.5px solid var(--border);
    box-shadow: var(--shadow); z-index: 30;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; padding: 16px 40px; font-size: 16.5px;
    border-bottom: 1px solid rgba(61, 44, 31, .45);
  }
  .nav-links li:last-child a { border-bottom: none; }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .nav { padding: 14px 0; }
  h1, .page-head h1, .success-wrap h1 { font-size: 30px; }
  h2 { font-size: 25px; }
  .hero { padding-top: 34px; }
  .stats { gap: 18px; }
  .cta-row { flex-direction: column; gap: 12px; }
  .cta-row .btn { width: 100%; }
  .btn.big { padding: 15px 22px; }

  .form-block, .summary { padding: 22px 18px; }
  .steps { gap: 8px; }
  .step { padding: 9px 15px; font-size: 13.5px; gap: 8px; }

  .promo { flex-wrap: wrap; }
  .promo input { flex: 1 1 150px; min-width: 0; }

  .cart-item { grid-template-columns: 84px 1fr; gap: 14px; padding: 16px; }
  .cart-item .thumb { width: 84px; height: 76px; }
  .item-right {
    grid-column: 1 / -1; flex-direction: row; justify-content: space-between;
    align-items: center; width: 100%;
  }

  .success-wrap { padding-top: 44px; }
  .quotes { padding-top: 52px; }
  .quote-card { padding: 34px 20px 28px; }
  .quote-text { font-size: 19px; min-height: 84px; }
  .quote-mark { font-size: 70px; height: 30px; }
  .rate-block { margin-top: 30px; }
  .rate-row { gap: 12px; }
  .star { font-size: 28px; }
  .review-form { max-width: none; }
  .success-cta { flex-direction: column; }
  .success-cta .btn { width: 100%; }
  .order-card { padding: 20px 18px; }
  .timeline { padding: 24px 14px; }
  .tl-step { width: 100%; }
  .foot-top { grid-template-columns: 1fr; gap: 26px; }
}

/* Тач-интерфейсы: зоны нажатия не меньше 44–48px */
@media (pointer: coarse) {
  .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
  .qty button { width: 44px; height: 44px; font-size: 19px; }
  .remove { padding: 14px 10px; margin: -14px -10px; }
  .nav-links a { min-height: 48px; box-sizing: border-box; display: flex; align-items: center; }
}

/* ============ ТЁМНАЯ ТЕМА + АНИМАЦИИ ============ */
:root {
  --cream: #171009;
  --surface: #1f1610;
  --warm: #33241a;
  --warm-2: #3d2c1f;
  --deep: #0f0a06;
  --accent: #ff6a42;
  --accent-dark: #ff855f;
  --accent-2: #f4a259;
  --honey: #ffc978;
  --fresh: #a4cf66;
  --ink: #fdf1e4;
  --muted: #b7a394;
  --border: #3d2c1f;
  --shadow: 0 14px 44px rgba(0, 0, 0, .45);
  --shadow-hover: 0 22px 56px rgba(0, 0, 0, .6);
}
body { background: var(--cream); color: var(--ink); }
footer .logo { color: var(--ink); }
header { background: rgba(23, 16, 9, .88); border-bottom-color: var(--border); }
main { position: relative; z-index: 1; }
footer { position: relative; z-index: 1; background: var(--deep); }

section.block { background: rgba(31, 22, 16, .88); }
section.block.warm { background: rgba(51, 36, 26, .92); }

.card, .summary, .form-block, .cart-item, .order-card, .timeline,
.adv-card, .badge, .chip, .step, .order-no, .opt { background: #241a11; }
.opt.sel { background: rgba(255, 106, 66, .12); }
.btn.ghost { background: rgba(36, 26, 17, .65); }
.field input, .field textarea, .promo input, .qty { background: #171009; }
.field input, .field textarea, .promo input { color: var(--ink); }
.qty button { background: #2e2117; color: var(--ink); }
.free-hint { background: #2e2117; }
.step i, .tl-dot { background: #33241a; color: var(--ink); }
.step.done i, .tl-step.done .tl-dot { background: var(--fresh); color: #0f0a06; }
.step.active i { background: rgba(255, 255, 255, .22); }
.card-img, .cart-item .thumb { background: #171009; }
.card-img .dish, .cart-item .thumb .dish { background: #33241a; box-shadow: inset 0 0 0 2px var(--border); }
.tag, .sale-chip { color: #3a2a20; }
.plate {
  background: radial-gradient(circle at 42% 38%, #3a2a1e 0 54%, #241a11 55% 100%);
  box-shadow: 0 34px 70px rgba(0, 0, 0, .55), inset 0 0 0 2px #4a3627;
}
.roll {
  background: #0d0906;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 247, 240, .07);
}
.card:hover { box-shadow: var(--shadow-hover); }

/* --- фоновое свечение (ambient glow) --- */
body::before, body::after {
  content: ""; position: fixed; z-index: 0; pointer-events: none;
  border-radius: 50%; filter: blur(90px); will-change: transform;
}
body::before {
  width: 55vw; height: 55vw; left: -15vw; top: -20vw;
  background: radial-gradient(circle, rgba(255, 106, 66, .22), transparent 70%);
  animation: drift1 18s ease-in-out infinite alternate;
}
body::after {
  width: 50vw; height: 50vw; right: -15vw; bottom: -18vw;
  background: radial-gradient(circle, rgba(255, 201, 120, .15), transparent 70%);
  animation: drift2 22s ease-in-out infinite alternate;
}
@keyframes drift1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(7vw, 9vh) scale(1.18); }
}
@keyframes drift2 {
  from { transform: translate(0, 0) scale(1.1); }
  to   { transform: translate(-6vw, -8vh) scale(.95); }
}

/* --- парящая тарелка и роллы --- */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.plate { animation: floaty 7s ease-in-out infinite; }
.price-chip { animation: floaty 4.5s ease-in-out infinite; }
.sale-chip { animation: floaty 4.5s ease-in-out infinite; animation-delay: 1.2s; }
@keyframes rollWiggle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(5deg); }
}
.plate .roll { animation: rollWiggle 5s ease-in-out infinite; }
.plate .roll:nth-of-type(2) { animation-delay: .5s; }
.plate .roll:nth-of-type(3) { animation-delay: 1s; }
.plate .roll:nth-of-type(4) { animation-delay: 1.5s; }
.plate .roll:nth-of-type(5) { animation-delay: 2s; }
.plate .roll:nth-of-type(6) { animation-delay: 2.5s; }

/* --- градиентный заголовок --- */
h1 em {
  background: linear-gradient(90deg, var(--accent), var(--honey), var(--accent));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 5s linear infinite;
}
@keyframes gradientShift { to { background-position: 200% 0; } }

/* --- пульс бейджа --- */
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(164, 207, 102, .55); }
  50% { box-shadow: 0 0 0 7px rgba(164, 207, 102, 0); opacity: .7; }
}
.badge::before { animation: dotPulse 2s ease-in-out infinite; }

/* --- блик по кнопкам --- */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: -2px; bottom: -2px; left: -60%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .4), transparent);
  transform: skewX(-18deg);
}
.btn:hover::after { animation: shine .75s ease forwards; }
@keyframes shine { to { left: 120%; } }

/* --- успешный заказ --- */
.check { position: relative; }
.check::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid rgba(164, 207, 102, .55);
  animation: ringPulse 2.2s ease-out infinite;
}
@keyframes ringPulse {
  from { transform: scale(1); opacity: .7; }
  to   { transform: scale(1.6); opacity: 0; }
}
@keyframes nowPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(255, 106, 66, .2); }
  50% { box-shadow: 0 0 0 13px rgba(255, 106, 66, .04); }
}
.tl-step.now .tl-dot { animation: nowPulse 2s ease-in-out infinite; }

/* --- появление блоков при скролле --- */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.in {
  opacity: 1; transform: translateY(0);
  transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1);
}

/* ============ ФОТОГРАФИИ ИЗ ПРОЕКТА unagi_rools ============ */
img.roll { background: none; box-shadow: 0 14px 30px rgba(0, 0, 0, .5); object-fit: contain; display: block; }
.card-img .dish-photo {
  position: absolute; inset: 0; margin: auto;
  max-width: 90%; max-height: 90%; object-fit: contain;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .55));
  transition: transform .35s ease;
}
.card:hover .dish-photo { transform: scale(1.07) rotate(-2deg); }
.cart-item .thumb img {
  position: absolute; inset: 0; margin: auto;
  max-width: 86%; max-height: 86%; object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .5));
}
.item-img {
  width: 36px; height: 36px; object-fit: contain; flex-shrink: 0;
  background: #33241a; border: 1px solid var(--border);
  border-radius: 10px; padding: 3px;
}
.sum-row.with-img, .order-card .line.with-img { align-items: center; }
.sum-row.with-img span, .order-card .line.with-img span { flex-grow: 1; padding-left: 11px; }

/* ---------- Личный кабинет клиента ---------- */
.acc-sec { padding: 30px 0 4px; }
.acc-sec h2 {
  font-size: 26px; font-weight: 800; margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.acc-sec h2 small { font-size: 14px; font-weight: 600; color: var(--muted); }
.acc-list { display: grid; gap: 16px; }
.acc-order {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 22px 26px;
  display: grid; grid-template-columns: 1fr auto; gap: 8px 18px;
  align-items: center;
}
.acc-order .acc-no { font-weight: 800; font-size: 17px; }
.acc-order .acc-date { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.acc-order .acc-items {
  grid-column: 1 / -1; color: var(--muted); font-size: 14.5px;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.acc-order .acc-foot {
  grid-column: 1 / -1; display: flex; justify-content: space-between;
  align-items: center; gap: 14px; flex-wrap: wrap;
  border-top: 1.5px dashed var(--border); padding-top: 14px;
}
.acc-acts { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.acc-order .acc-sum { font-size: 20px; font-weight: 800; color: var(--accent); }
.acc-status {
  display: inline-flex; align-items: center; gap: 7px;
  border-radius: 999px; padding: 7px 15px; font-size: 13.5px; font-weight: 700;
  background: var(--warm); color: var(--muted); white-space: nowrap;
}
.acc-status.new { background: #fff2ed; color: var(--accent-dark); }
.acc-status.accepted { background: #f2f7e6; color: #5f7d2e; }
.acc-status.ready { background: #e7f3d4; color: #46631b; }
.acc-empty {
  text-align: center; padding: 44px 24px; color: var(--muted);
  background: var(--surface); border: 1.5px dashed var(--border);
  border-radius: var(--r-lg); font-size: 15.5px;
}
.acc-empty .btn { margin-top: 16px; }
.acc-actions { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.acc-ok { color: #5f7d2e; font-weight: 700; font-size: 14.5px; }
.acc-actions .btn:disabled { opacity: .7; cursor: default; }
@media (max-width: 720px) {
  .acc-order { grid-template-columns: 1fr; padding: 18px 18px; }
  .acc-status { justify-self: start; }
  .acc-foot .acc-acts { width: 100%; }
  .acc-foot .acc-acts .btn { flex: 1; padding-left: 12px; padding-right: 12px; }
  .acc-sec h2 { font-size: 22px; }
}

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