/* ===== «Барака» — основные стили ===== */
:root {
  --coal: #14100e; --coal-2: #1c1714; --coal-3: #27201b; --coal-4: #332a23;
  --line: rgba(243, 234, 217, .12); --line-2: rgba(243, 234, 217, .22);
  --cream: #f3ead9; --muted: rgba(243, 234, 217, .64);
  --gold: #c9a15a; --gold-l: #ecd39b; --gold-d: #9c7437;
  --red: #8e1b26; --meat: #a3202c;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --caps: 'Oswald', 'Arial Narrow', sans-serif;
  --r: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--coal); color: var(--cream); font: 400 16px/1.6 var(--sans); overflow-x: clip; }
body.is-loading { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ol, ul { margin: 0; }
::selection { background: var(--gold); color: var(--coal); }
.wrap { width: min(1240px, 100%); margin: 0 auto; padding: 0 28px; }
.anchor { position: absolute; }

/* ---------- типографика ---------- */
.eyebrow { font: 500 12.5px/1 var(--caps); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.h-hero { font: 800 clamp(44px, 6vw, 100px)/.98 var(--serif); letter-spacing: -.01em; }
.h2 { font: 800 clamp(34px, 4.6vw, 66px)/1.02 var(--serif); }
.h2.big { font-size: clamp(40px, 6.2vw, 92px); }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 700; color: var(--gold-l);
  background: linear-gradient(100deg, #f6e2b0, #c9a15a 55%, #f1d79c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .06em; }
.lead { font-size: clamp(16px, 1.35vw, 19px); color: var(--muted); max-width: 520px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- кнопки ---------- */
.btn { --h: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 28px;
  border-radius: 999px; border: 1px solid transparent; font: 600 15px/1 var(--sans); letter-spacing: .01em; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), border-color .3s, color .3s; }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); border-radius: inherit; transition: transform .5s var(--ease); }
.btn:hover::after { transform: none; }
.btn:active { transform: scale(.97); }
.btn-gold { background: linear-gradient(100deg, #f1d79c, #c9a15a 60%, #b48b47); color: #1a120c; }
.btn-gold::after { background: var(--cream); }
.btn-ghost { border-color: var(--line-2); color: var(--cream); background: rgba(20, 16, 14, .25); backdrop-filter: blur(6px); }
.btn-ghost::after { background: var(--cream); }
.btn-ghost:hover { color: var(--coal); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn-wide { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---------- шапка ---------- */
.top { position: fixed; z-index: 50; inset: 0 0 auto; height: 74px; display: flex; align-items: center; gap: 28px; padding: 0 28px;
  transition: background .4s, border-color .4s, transform .5s var(--ease); border-bottom: 1px solid transparent; }
.top.scrolled { background: rgba(20, 16, 14, .78); backdrop-filter: blur(14px); border-color: var(--line); }
.top.hide { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--gold); }
.brand-mark { width: 38px; height: 38px; color: var(--gold); }
.brand-word { font: 800 21px/1 var(--serif); letter-spacing: .16em; color: var(--cream); }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font: 500 13px/1 var(--caps); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transition: color .3s; position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease); }
.nav a:hover { color: var(--cream); } .nav a:hover::after { transform: none; }
.top-phone { font: 600 15px/1 var(--sans); white-space: nowrap; }
.cart-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(20,16,14,.35); display: grid; place-items: center; }
.cart-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--cream); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: var(--coal);
  font: 700 11px/20px var(--sans); text-align: center; transform: scale(0); transition: transform .4s var(--ease); }
.has-cart .cart-count { transform: scale(1); }
.cart-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.18); } }

/* ---------- общие секции ---------- */
section { position: relative; }
.halal, .shop, .delivery, .special, .final { padding: 150px 0; }

/* ---------- халяль ---------- */
.halal { background: radial-gradient(80% 60% at 80% 20%, rgba(142, 27, 38, .25), transparent 70%), var(--coal); overflow: hidden; }
.halal .h2 { max-width: 900px; }
.halal-stamp { position: absolute; right: max(4vw, 20px); top: 110px; width: clamp(170px, 22vw, 300px); aspect-ratio: 1; color: var(--gold); pointer-events: none; }
.halal-stamp svg { width: 100%; height: 100%; }
.st-o { fill: none; stroke: currentColor; stroke-width: 5; }
.st-i { fill: none; stroke: currentColor; stroke-width: 2; stroke-dasharray: 4 6; }
.st-ring { font: 500 15px var(--caps); letter-spacing: 4px; fill: currentColor; }
.st-ar { font: 700 86px var(--serif); font-family: Amiri, serif; fill: currentColor; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 80px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pr { background: var(--coal); padding: 34px 28px 40px; min-height: 260px; display: flex; flex-direction: column; gap: 14px; transition: background .5s; }
.pr:hover { background: var(--coal-2); }
.pr-n { font: 500 13px/1 var(--caps); letter-spacing: .2em; color: var(--gold); }
.pr h3 { font: 700 24px/1.15 var(--serif); margin-top: auto; }
.pr p { color: var(--muted); font-size: 15px; }

/* ---------- день лавки ---------- */
.day { height: 340vh; background: var(--coal-2); }
.day-stage { position: sticky; top: 0; height: 100vh; display: grid; align-items: center; overflow: hidden; }
.day-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 70px; align-items: center; }
.clock { position: relative; width: min(100%, 440px); justify-self: center; }
.clock svg { width: 100%; overflow: visible; }
.c-face { fill: var(--coal); stroke: var(--line-2); stroke-width: 1; }
.c-ticks line { stroke: var(--muted); stroke-width: 1; }
.c-ticks line.major { stroke: var(--gold); stroke-width: 2; }
.c-prog { fill: none; stroke: var(--gold); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: 100px 100px; }
.c-h, .c-m { stroke: var(--cream); stroke-linecap: round; }
.c-h { stroke-width: 5; } .c-m { stroke-width: 2.5; stroke: var(--gold-l); }
.c-dot { fill: var(--gold); }
.clock-time { position: absolute; left: 0; right: 0; bottom: 21%; text-align: center; font: 500 clamp(22px, 2.4vw, 32px)/1 var(--caps); letter-spacing: .12em; color: var(--gold-l); }
.steps { list-style: none; padding: 0; margin-top: 44px; display: grid; gap: 6px; }
.steps li { display: grid; grid-template-columns: 76px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); opacity: .32; transition: opacity .5s, transform .6s var(--ease); }
.steps li.on { opacity: .75; }
.steps li.cur { opacity: 1; transform: translateX(10px); }
.steps b { font: 500 19px/1.3 var(--caps); letter-spacing: .08em; color: var(--gold); }
.steps strong { display: block; font: 700 21px/1.25 var(--serif); margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: 15px; }
.steps strong { color: var(--cream); }

/* ---------- каталог ---------- */
.shop-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.shop-note { max-width: 340px; font-size: 15px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 54px 0 30px; }
.tab { height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font: 600 14px/1 var(--sans); color: var(--muted); transition: all .35s var(--ease); }
.tab:hover { color: var(--cream); border-color: var(--gold); }
.tab[aria-selected="true"] { background: var(--cream); color: var(--coal); border-color: var(--cream); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 18px; }
.card { background: var(--coal-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .4s, transform .6s var(--ease), box-shadow .6s; transform-style: preserve-3d; }
.card:hover { border-color: rgba(201, 161, 90, .45); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.card.flash { animation: flash 1.4s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: none; } 30% { box-shadow: 0 0 0 2px var(--gold), 0 0 60px rgba(201, 161, 90, .35); } }
.art { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(70% 70% at 50% 45%, #3a2a22, #1b1512 75%); display: grid; place-items: center; overflow: hidden; }
.art svg { width: 82%; height: 82%; transition: transform .8s var(--ease); filter: drop-shadow(0 18px 18px rgba(0,0,0,.55)); }
.card:hover .art svg { transform: scale(1.06) rotate(-2deg); }
.art .tag { position: absolute; left: 14px; top: 14px; padding: 6px 11px; border-radius: 99px; background: rgba(20,16,14,.7); border: 1px solid rgba(201,161,90,.5);
  font: 500 11px/1 var(--caps); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-l); backdrop-filter: blur(6px); }
.cbody { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cbody h3 { font: 700 21px/1.2 var(--serif); }
.cbody .use { color: var(--muted); font-size: 14px; }
.crow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: auto; padding-top: 16px; }
.price { font: 700 20px/1 var(--sans); white-space: nowrap; width: 100%; }
.price small { font-size: 13px; color: var(--muted); font-weight: 500; }
.step { display: flex; align-items: center; justify-content: space-between; flex: 1; border: 1px solid var(--line-2); border-radius: 99px; height: 42px; }
.step button { width: 34px; height: 38px; background: none; border: 0; font-size: 18px; color: var(--cream); }
.step output { min-width: 48px; text-align: center; font: 600 14px/1 var(--sans); white-space: nowrap; }
.add { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--gold); color: var(--coal); font-size: 22px; line-height: 1; flex: none; transition: transform .3s var(--ease), background .3s; }
.add:hover { transform: rotate(90deg); background: var(--cream); }

/* ---------- доставка ---------- */
.delivery { background: var(--coal-2); }
.del-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 70px; align-items: center; }
.map { border-radius: var(--r); border: 1px solid var(--line); background: var(--coal); overflow: hidden; }
.map svg { width: 100%; }
.streets path { stroke: rgba(243,234,217,.12); stroke-width: 8; fill: none; }
.streets .thin { stroke-width: 2; stroke: rgba(243,234,217,.07); }
.river { fill: none; stroke: rgba(80, 110, 130, .35); stroke-width: 22; stroke-linecap: round; }
.route { fill: none; stroke: var(--gold); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pin-shop circle, .pin-home circle { fill: var(--coal); stroke: var(--gold); stroke-width: 2; }
.pin-shop svg { color: var(--gold); }
.pin-home path { fill: var(--gold); }
.courier circle { fill: var(--cream); stroke: var(--gold); stroke-width: 3; }
.facts { list-style: none; padding: 0; margin: 34px 0 36px; display: grid; gap: 0; }
.facts li { display: flex; gap: 16px; align-items: baseline; padding: 15px 0; border-top: 1px solid var(--line); }
.facts b { font: 500 13px/1.4 var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); min-width: 130px; }

/* ---------- курбан и опт ---------- */
.sp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sp-card { border-radius: calc(var(--r) + 6px); padding: 46px 42px; min-height: 420px; display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; border: 1px solid var(--line); }
.sp-card h3 { font: 800 clamp(30px, 3.4vw, 48px)/1.05 var(--serif); }
.sp-card p:not(.eyebrow) { color: var(--muted); max-width: 440px; }
.sp-card .btn { margin-top: auto; align-self: flex-start; }
.sp-kurban { background: radial-gradient(90% 80% at 100% 0%, rgba(142,27,38,.55), transparent 70%), var(--coal-2); }
.sp-opt { background: radial-gradient(90% 80% at 100% 0%, rgba(201,161,90,.18), transparent 70%), var(--coal-2); }
.sp-card::before { content: ''; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(201,161,90,.25); }
.sp-card::after { content: ''; position: absolute; right: -20px; bottom: -20px; width: 160px; height: 160px; border-radius: 50%; border: 1px dashed rgba(201,161,90,.25); }

/* ---------- финал и формы ---------- */
.final { background: radial-gradient(60% 70% at 15% 100%, rgba(142,27,38,.35), transparent 70%), var(--coal); }
.final-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 70px; align-items: end; }
.final .muted { margin-top: 26px; max-width: 520px; }
.quick, .dr-form, .modal form { display: grid; gap: 14px; }
.quick { background: var(--coal-2); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; }
.fld { display: grid; gap: 7px; }
.fld > span, .lbl { font: 500 12px/1 var(--caps); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--coal); font-size: 16px;
  transition: border-color .3s, box-shadow .3s; outline: none; resize: vertical; }
.fld select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,161,90,.15); }
.fld input.bad { border-color: #e0525e; box-shadow: 0 0 0 4px rgba(224,82,94,.15); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { font-size: 14px; min-height: 0; }
.form-msg.err { color: #f08a93; }
.form-msg a { color: var(--gold-l); text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: transparent; font-size: 14px; color: var(--muted); transition: all .25s; }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--coal); font-weight: 600; }

/* ---------- подвал ---------- */
.foot { border-top: 1px solid var(--line); padding: 80px 0 30px; overflow: hidden; background: var(--coal); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-brand { display: flex; gap: 16px; align-items: center; }
.foot-brand .brand-mark { width: 56px; height: 56px; }
.foot-brand b { display: block; font: 800 26px/1 var(--serif); letter-spacing: .16em; }
.foot-brand span { font: 500 12px/1 var(--caps); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.foot-col { display: grid; gap: 8px; align-content: start; }
.foot-col span { font: 500 12px/1 var(--caps); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.foot-col a:hover { color: var(--gold-l); }
.foot-giant { font: 800 clamp(80px, 21vw, 330px)/.9 var(--serif); letter-spacing: .04em; text-align: center; margin: 70px 0 20px; white-space: nowrap;
  background: linear-gradient(180deg, #f1d79c, #9c7437 80%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.foot-giant span { display: inline-block; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }

/* ---------- плавающие кнопки ---------- */
.float-call { position: fixed; z-index: 40; right: 22px; bottom: 22px; height: 58px; padding: 0 24px 0 18px; display: flex; align-items: center; gap: 10px;
  border-radius: 99px; border: 0; background: var(--cream); color: var(--coal); font: 700 15px/1 var(--sans); box-shadow: 0 20px 40px -12px rgba(0,0,0,.6);
  transition: transform .5s var(--ease), bottom .5s var(--ease); }
.float-call svg { width: 22px; height: 22px; fill: var(--red); }
.float-call::before { content: ''; position: absolute; inset: -6px; border-radius: inherit; border: 2px solid var(--cream); opacity: 0; animation: ring 2.6s infinite; }
@keyframes ring { 0% { opacity: .55; transform: scale(.92); } 70%, 100% { opacity: 0; transform: scale(1.15); } }
.float-call:hover { transform: translateY(-3px); }
.cart-bar { position: fixed; z-index: 41; left: 50%; bottom: 22px; transform: translate(-50%, 140%); height: 58px; padding: 0 8px 0 24px; display: flex; align-items: center; gap: 18px;
  border-radius: 99px; border: 1px solid rgba(201,161,90,.5); background: rgba(28,23,20,.92); backdrop-filter: blur(12px); color: var(--cream);
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.7); transition: transform .6s var(--ease); }
.has-cart .cart-bar { transform: translate(-50%, 0); }
.cb-l { color: var(--muted); font-size: 14px; } .cb-l b { color: var(--cream); }
.cb-sum { font: 700 17px/1 var(--sans); }
.cb-go { height: 44px; padding: 0 18px; border-radius: 99px; background: var(--gold); color: var(--coal); display: grid; place-items: center; font-weight: 700; font-size: 14px; }

/* ---------- корзина ---------- */
.drawer, .modal { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer.open, .modal.open { visibility: visible; }
.drawer-bg { position: absolute; inset: 0; background: rgba(8, 6, 5, .6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .5s; }
.open .drawer-bg { opacity: 1; }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(480px, 100%); background: var(--coal-2); border-left: 1px solid var(--line);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .65s var(--ease); }
.drawer.open .drawer-panel { transform: none; }
.dr-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.dr-head h2 { font: 800 28px/1 var(--serif); }
.x { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: none; font-size: 24px; line-height: 1; color: var(--cream); transition: transform .4s var(--ease); }
.x:hover { transform: rotate(90deg); }
.dr-body { flex: 1; overflow-y: auto; padding: 20px 26px 40px; display: grid; gap: 22px; align-content: start; overscroll-behavior: contain; }
.dr-empty { display: grid; gap: 12px; justify-items: start; padding: 10px 0; }
.dr-items { list-style: none; padding: 0; display: grid; gap: 10px; }
.dr-items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px; border-radius: 16px; background: var(--coal); border: 1px solid var(--line); }
.dr-items .mini { width: 56px; height: 56px; border-radius: 12px; background: radial-gradient(circle, #3a2a22, #1b1512); display: grid; place-items: center; }
.dr-items .mini svg { width: 46px; height: 46px; }
.dr-items h4 { margin: 0; font: 600 15px/1.25 var(--sans); }
.dr-items .sub { font-size: 13px; color: var(--muted); }
.dr-items .step { height: 36px; margin: 0; }
.dr-items .step button { width: 30px; height: 34px; }
.dr-items .step output { min-width: 44px; font-size: 13px; }
.dr-sum { display: grid; gap: 8px; padding: 18px; border-radius: 16px; border: 1px dashed var(--line-2); }
.dr-sum div { display: flex; justify-content: space-between; color: var(--muted); font-size: 15px; }
.dr-sum .tot { color: var(--cream); font: 700 20px/1.2 var(--sans); padding-top: 8px; border-top: 1px solid var(--line); }
.dr-sum .warn { color: var(--gold-l); font-size: 13px; justify-content: flex-start; }
.dr-cut { display: grid; gap: 10px; }
.dr-done, .cm-done { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 60px 30px; align-content: center; flex: 1; }
.dr-done h3, .cm-done h3 { font: 800 32px/1.1 var(--serif); }
.dr-done p, .cm-done p { color: var(--muted); max-width: 320px; }
.done-ic { width: 110px; height: 110px; }
.done-ic circle { fill: none; stroke: var(--gold); stroke-width: 3; stroke-dasharray: 330; stroke-dashoffset: 330; }
.done-ic path { fill: none; stroke: var(--gold-l); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; }
.show .done-ic circle { animation: draw .8s var(--ease) forwards; }
.show .done-ic path { animation: draw .5s .55s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- окно «заказ по телефону» ---------- */
.modal { display: grid; place-items: center; padding: 16px; }
.modal-card { position: relative; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--coal-2); border: 1px solid rgba(201,161,90,.35);
  border-radius: 28px; padding: 38px 32px 30px; transform: translateY(30px) scale(.96); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }
.modal.open .modal-card { transform: none; opacity: 1; }
.modal-card .x { position: absolute; right: 16px; top: 16px; }
.modal-card h2 { font: 800 34px/1.05 var(--serif); margin-bottom: 12px; }
.modal-card .muted { margin-bottom: 22px; font-size: 15px; }
.cm-alt { display: flex; justify-content: center; gap: 26px; margin-top: 20px; font-size: 14px; color: var(--muted); }
.cm-alt a { border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.cm-alt a:hover { color: var(--gold-l); border-color: var(--gold); }

.toast { position: fixed; z-index: 90; left: 50%; bottom: 96px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 14px 20px; border-radius: 14px;
  background: var(--cream); color: var(--coal); font-weight: 600; font-size: 14px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); transition: all .45s var(--ease);
  width: max-content; max-width: calc(100vw - 32px); text-align: center; line-height: 1.35; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- тестовый режим ---------- */
.test-bar { position: fixed; z-index: 60; inset: 0 0 auto; height: 28px; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0 12px;
  background: repeating-linear-gradient(135deg, #c9a15a 0 14px, #b88f4b 14px 28px); color: #1a120c; font: 500 12px/1 var(--sans); white-space: nowrap; overflow: hidden; }
.test-bar b { font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.test-mode .top { top: 28px; }
.test-mode .cuts-copy { top: 124px; }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .top-phone { margin-left: auto; }
  .principles { grid-template-columns: 1fr 1fr; }
  .day-grid, .del-grid, .final-grid { grid-template-columns: 1fr; gap: 44px; }
  .clock { width: min(60vw, 300px); }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .top { height: 64px; padding: 0 16px; gap: 12px; }
  .brand-mark { width: 32px; height: 32px; } .brand-word { font-size: 18px; }
  .top-phone { font-size: 0; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; }
  .top-phone::before { content: '☎'; font-size: 18px; color: var(--gold); }
  .halal, .shop, .delivery, .special, .final { padding: 96px 0; }
  .halal-stamp { top: 40px; right: 10px; width: 120px; opacity: .9; }
  .halal .h2 { padding-right: 70px; }
  .principles { grid-template-columns: 1fr; margin-top: 50px; }
  .pr { min-height: 0; padding: 26px 22px; } .pr h3 { margin-top: 6px; }
  .day { height: 300vh; }
  .day-grid { gap: 26px; }
  .clock { width: 190px; }
  .steps { margin-top: 22px; } .steps li { grid-template-columns: 58px 1fr; padding: 12px 0; gap: 12px; }
  .steps strong { font-size: 18px; } .steps span { font-size: 14px; }
  .day-copy .h2 { font-size: 32px; }
  .shop-head { flex-direction: column; align-items: start; gap: 18px; }
  .tabs { margin: 34px 0 22px; flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .tab { flex: none; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cbody { padding: 14px 12px 14px; } .cbody h3 { font-size: 17px; } .cbody .use { font-size: 12.5px; line-height: 1.4; }
  .crow { flex-wrap: wrap; gap: 8px; padding-top: 10px; } .price { font-size: 16px; width: 100%; }
  .step { margin-left: 0; height: 38px; flex: 1; justify-content: space-between; } .step button { width: 26px; } .step output { min-width: 0; font-size: 12.5px; }
  .eyebrow { letter-spacing: .22em; font-size: 11.5px; }
  .test-bar span { display: none; }
  .test-bar::after { content: '· заказы не отправляются'; }
  .test-mode .hero-copy { top: 112px; }
  .test-mode .cuts-copy { top: 104px; }
  .test-mode .cow-target { top: 224px; }
  .add { width: 38px; height: 38px; font-size: 20px; }
  .art .tag { left: 8px; top: 8px; font-size: 9.5px; padding: 5px 8px; }
  .sp-grid { grid-template-columns: 1fr; } .sp-card { padding: 34px 24px; min-height: 0; } .sp-card .btn { margin-top: 18px; }
  .facts b { min-width: 104px; font-size: 11.5px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .float-call { right: 16px; bottom: 16px; height: 54px; padding: 0 18px 0 14px; font-size: 14px; }
  .has-cart .float-call { bottom: 84px; padding: 0; width: 54px; justify-content: center; } .has-cart .float-call span { display: none; }
  .cart-bar { left: 16px; right: 16px; bottom: 16px; transform: translateY(140%); justify-content: space-between; gap: 10px; }
  .has-cart .cart-bar { transform: none; }
  .btn { --h: 52px; padding: 0 22px; }
  .modal-card { padding: 34px 22px 24px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
