/* NK-HOT-TODAY v1.3 — «Домашний обед с доставкой сегодня». Local design build.
   Brand tokens, type, buttons, header, fields, statuses, footer and the production-video module come from the approved donor
   NK-SKLAD v1.4 (itself NK-STROYKA v2.1.2). v1.1 reworked the hero, cards, process, delivery, trust band and summary;
   v1.2 (UX + visual pass): one process line in the hero, no separate steps band, cards as complete sets, compact delivery terms at the menu.
   v1.3 (marketing pass): «Готовим в день доставки» as the first line of the hero subtitle; the buying occasion heads the menu while orders are open.
   v1.4 (photos + typography): one appetizing advertising photo per card instead of the catalogue mosaic; no 900 weight on the page —
   headings, titles, price and statuses use the real 700 face, text/composition/labels the 500 face; synthetic bold is disabled.
   v1.5: three independent advertising scenes (hero, meal 1, meal 2); hero positions via CSS variables, narrower text fade over the hero photo.
   v1.6: card heading «Обед 1 / Обед 2» (700, 30/28/26 px), composition in the regular brand face; card photos on light grey stone; DEMO card-payment path (payflow). */

@font-face { font-family: "Museo Sans Cyrl"; src: url("assets/fonts/MuseoSansCyrl-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Museo Sans Cyrl"; src: url("assets/fonts/MuseoSansCyrl-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #FBF3E8; --bg-deep: #F4E6D4; --paper: #FFFFFF;
  --ink: #1F1715; --ink-2: #3F3431; --muted: #6A5C56; --line: #E4D3BF; --line-soft: #EFE3D3;
  --brand: #BE152C; --brand-hover: #A31024; --brand-press: #860B1C; --brand-soft: #FBE7EA; --brand-tint: #FFF6F2; --brand-ink: #FFFFFF;
  --band: #40171A; --band-ink: #FBEFE6; --band-muted: #E3C9BF;
  --error: #B3121F; --error-bg: #FDECEC; --ok: #2F7D3A; --ok-bg: #EEF6EC; --ok-ink: #24502A; --warn: #B7791F; --warn-bg: #FFF4DE;
  --focus: #1F1715;
  --radius-media: 24px; --radius-card: 20px; --radius-btn: 12px;
  --wrap: 1248px; --pad: 24px; --header-h: 80px;
  --font: "Museo Sans Cyrl", "Museo Sans", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink-2); font-family: var(--font); font-weight: 500; font-size: 18px; line-height: 1.5; -webkit-font-smoothing: antialiased; font-synthesis: none; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.nowrap { white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.ico { width: 28px; height: 28px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico--sm { width: 22px; height: 22px; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.kitchen :focus-visible, .bar :focus-visible, .sticky :focus-visible { outline-color: #FFE2B8; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- buttons (donor) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: var(--radius-btn); border: 2px solid transparent; font: 700 17px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .1s ease; -webkit-tap-highlight-color: transparent; text-align: center; }
.btn--lg { min-height: 60px; padding: 16px 32px; font-size: 19px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 6px 18px -10px rgba(190, 21, 44, .7); }
.btn--primary:hover { background: var(--brand-hover); }
.btn--primary:active { background: var(--brand-press); transform: translateY(1px); box-shadow: none; }
.btn--outline { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn--outline:hover { background: var(--brand-soft); }
.btn[disabled], .btn[aria-disabled="true"] { background: #D9CBC6; color: #4F423D; box-shadow: none; cursor: not-allowed; transform: none; border-color: transparent; }
.iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); cursor: pointer; flex: none; }
.iconbtn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.iconbtn--brand { background: var(--brand); color: #fff; }
.iconbtn--brand svg { fill: currentColor; stroke: none; }
.linkbtn { background: none; border: 0; padding: 10px 0; min-height: 44px; font: 700 17px/1.3 var(--font); color: var(--brand); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; display: inline-flex; align-items: center; }
.eyebrow { font-size: 15px; font-weight: 700; color: var(--brand); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.eyebrow--band { color: #F4AAB4; }
.chip { display: inline-block; font-size: 14px; line-height: 1.35; font-weight: 700; border-radius: 999px; padding: 6px 12px; margin: 0; }

/* ---------- ribbon (always visible in this design build) ---------- */
.ribbon { background: #2B2B2B; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.35; padding: 8px 16px; text-align: center; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 14px; }
.ribbon__main { letter-spacing: .02em; }
.ribbon__extra { color: #FFD7A8; font-weight: 500; }

/* ---------- header (donor) ---------- */
.header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(31, 23, 21, .35); }
.header__in { max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.header__logo { display: flex; align-items: center; min-height: 48px; flex: none; }
.header__logo img { width: 214px; height: auto; margin: -22px 0 -22px -2px; }
.header__nav { display: flex; gap: 28px; margin-left: auto; }
.header__nav a, .header__phone { text-decoration: none; font-weight: 700; font-size: 17px; color: var(--ink); padding: 12px 2px; }
.header__nav a { font-weight: 500; }
.header__nav a:hover, .header__phone:hover { color: var(--brand); }
.header__phone { font-size: 18px; white-space: nowrap; }
.header__cta { min-height: 48px; padding: 10px 22px; }
.header__call, .header__menu { display: none; }
.menu { border-top: 1px solid var(--line); background: #fff; padding: 8px var(--pad) 20px; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { text-decoration: none; font-weight: 500; font-size: 20px; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); }
.menu__phone { display: block; font-weight: 700; font-size: 22px; color: var(--ink); text-decoration: none; padding: 18px 0 14px; }

/* ---------- availability indicator ---------- */
.avail { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 7px 16px 7px 12px; border-radius: 22px; background: #fff; border: 1.5px solid var(--line); color: var(--ink); font-weight: 700; font-size: 17px; line-height: 1.3; }
.avail__dot { width: 12px; height: 12px; border-radius: 50%; background: #B9AAA2; flex: none; }
.hero .avail { border-radius: 18px; }
.avail[data-state="open"] .avail__dot, .avail[data-state="open_partial"] .avail__dot { background: #2F9B45; box-shadow: 0 0 0 4px rgba(47, 155, 69, .18); }
.avail[data-state="open"], .avail[data-state="open_partial"] { border-color: #BFDCC4; }
.avail[data-state="before_open"] .avail__dot, .avail[data-state="manual_closed"] .avail__dot, .avail[data-state="none_available"] .avail__dot { background: var(--warn); }
.avail[data-state="after_cutoff"] .avail__dot, .avail[data-state="day_off"] .avail__dot, .avail[data-state="load_error"] .avail__dot { background: var(--brand); }
.avail[data-state="loading"] .avail__dot { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- B01 hero: one scene (photo + offer) ---------- */
.hero { position: relative; min-height: 680px; display: flex; align-items: center; overflow: hidden; background: var(--bg); }
.hero__media { position: absolute; top: 0; bottom: 0; right: 0; left: 30%; background: #E7D7C2; }
.hero__media picture { position: absolute; inset: 0; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos-desktop, 100% 45%); } /* v1.5: positions per breakpoint come from CSS defaults or the data (pageMedia.hero.position) */
.hero__media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--bg) 0%, rgba(251, 243, 232, .9) 10%, rgba(251, 243, 232, .5) 20%, rgba(251, 243, 232, 0) 30%); } /* v1.5: text overlaps ≤17% of the photo box; the main dish starts right after the fade */
.hero__in { position: relative; z-index: 2; width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 48px var(--pad) 44px; }
.hero__copy { max-width: 560px; display: flex; flex-direction: column; }
.hero__eyebrow { font-size: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.hero h1 { font-size: clamp(42px, 3.9vw, 58px); line-height: 1.03; letter-spacing: -.015em; margin-top: 12px; }
.hero__lead { font-size: 20px; line-height: 1.45; color: var(--ink-2); margin-top: 18px; max-width: 30em; }
.hero__fact { display: flex; align-items: center; gap: 10px; font-size: 25px; line-height: 1.2; font-weight: 700; color: var(--ink); }
.hero__fact-ico { width: 32px; height: 32px; flex: none; fill: none; stroke: var(--brand); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hero__offer { display: block; margin-top: 8px; }
.hero__status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 24px; }
.hero__hours { font-size: 17px; font-weight: 500; color: var(--ink-2); }
.hero__countdown, .today__countdown { font-size: 17px; font-weight: 700; color: var(--brand-press); background: var(--brand-tint); border-radius: 10px; padding: 4px 10px; }
.hero__next { flex-basis: 100%; font-size: 17px; font-weight: 700; color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 26px; }
.hero__phone { display: inline-flex; flex-direction: column; text-decoration: none; font-weight: 700; font-size: 19px; color: var(--ink); white-space: nowrap; padding: 2px 0; min-height: 44px; justify-content: center; }
.hero__phone span { font-size: 15px; font-weight: 500; color: var(--muted); }
.hero__phone:hover { color: var(--brand); }
/* v1.10 phone mode (public page): the call button, the menu link, compact steps */
.hero__call { gap: 10px; }
.hero__call .ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.hero__more { display: inline-block; padding: 11px 0; font-weight: 700; color: var(--brand); text-underline-offset: 4px; }
.steps.steps--line { display: block; counter-reset: none; line-height: 1.5; }   /* .steps.steps--line: the base .steps rules come later in this file */
.steps.steps--line li { display: inline-block; white-space: nowrap; }   /* atomic items: the line wraps only BETWEEN steps (no whitespace between the <li>) */
.steps.steps--line li::before { content: none; }
.steps.steps--line li:not(:last-child)::after { content: "·"; margin: 0 8px; color: var(--muted); }
.preorder { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; margin-top: 12px; }
.preorder a { font-weight: 700; color: var(--brand); text-underline-offset: 4px; display: inline-block; padding: 11px 0; }
.preorder a::after { content: " ↗"; text-decoration: none; white-space: pre; }
.preorder span { font-size: 15px; color: var(--muted); }
.steps { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; font-size: 16px; font-weight: 500; color: var(--ink-2); counter-reset: st; }
.steps li { counter-increment: st; display: inline-flex; align-items: center; }
.steps li::before { content: counter(st); display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; margin-right: 8px; }
.hero__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 26px; padding-top: 20px; border-top: 1.5px solid var(--line); }
.since { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 10px; border-radius: 999px; background: #fff; border: 1.5px solid #ECC6CC; color: var(--brand); font-weight: 700; font-size: 16px; line-height: 1.2; }
.since__logo { height: 24px; width: auto; flex: none; }

/* ---------- B02 menu: two complete sets; delivery terms and the summary right at the choice ---------- */
.today { padding: 64px 0 88px; }
.today__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: end; margin-bottom: 28px; }
h2 { font-size: 46px; line-height: 1.06; letter-spacing: -.012em; }
h2[tabindex="-1"] { scroll-margin-top: calc(var(--header-h) + 24px); }
.today__intro { font-size: 20px; margin-top: 12px; color: var(--ink-2); max-width: 44em; }
.today__intro b { color: var(--ink); font-weight: 700; }
@media (min-width: 900px) { .today__who { display: block; } }
.today__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.today__date { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; color: var(--ink); }
.today__date .ico { color: var(--brand); }
.avail--sm { font-size: 16px; }

.notices { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.notices:empty { display: none; }
.note { display: flex; gap: 12px; align-items: flex-start; border-radius: 14px; padding: 12px 16px; background: #F3F1FC; border: 1.5px dashed #7C6CC4; font-size: 16px; }
.note__tag { flex: none; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: #4B3FA0; color: #fff; border-radius: 6px; padding: 3px 8px; margin-top: 1px; }
.note--change { border: 0; border-left: 5px solid var(--warn); background: var(--warn-bg); flex-direction: column; gap: 4px; }
.note__title { font-weight: 700; color: var(--ink); font-size: 17px; }
.note__body { font-size: 16px; color: var(--ink-2); }
.note--change ul { margin: 2px 0 0 18px; list-style: disc; font-size: 16px; }
.note__actions { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 6px; }
.note__actions .btn { min-height: 44px; padding: 8px 18px; font-size: 16px; }

.closed { display: flex; gap: 16px; align-items: flex-start; border-radius: var(--radius-card); padding: 20px 24px; margin-bottom: 20px; background: var(--warn-bg); border-left: 6px solid var(--warn); }
.closed[data-kind="end"] { background: #FBEDEE; border-left-color: var(--brand); }
.closed[data-kind="info"] { background: var(--paper); border-left-color: #B9AAA2; }
.closed__ico { width: 34px; height: 34px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--ink); margin-top: 2px; }
.closed__title { font-weight: 700; font-size: 22px; line-height: 1.25; color: var(--ink); }
.closed__body { font-size: 17px; margin-top: 4px; }
.closed__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; margin-top: 6px; }
.closed__phone { font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; padding: 10px 0; }
.closed .preorder { margin-top: 0; }
.closed__noscript { padding: 20px; background: #fff; border-radius: 14px; }

/* a card = one complete set: one advertising photo → label + name → what is inside → price + action → full composition on demand */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.cards:empty { display: none; }
.card { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius-card); overflow: hidden; }
.card > * { background: var(--paper); }
.card__media { position: relative; aspect-ratio: 3 / 2; background: #E9DCCB; overflow: hidden; }   /* v1.4: the full 3:2 frame of the photo, nothing cut */
.card__photo { position: absolute; inset: 0; }
.card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__media .chip { position: absolute; z-index: 2; }
.chip--tech { right: 12px; top: 12px; background: #4B3FA0; color: #fff; }
.card__nophoto { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-weight: 500; font-size: 16px; }
.card__head { padding: 24px 28px 0; }
.card__slot { font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card__title { font-size: 30px; line-height: 1.12; font-weight: 700; overflow-wrap: anywhere; }   /* v1.6: «Обед 1 / Обед 2» is the card heading */
.card__comp { margin: 0; padding: 16px 28px 12px; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 9px 18px; align-content: start; }
.card__comp dt { font-size: 16px; font-weight: 500; color: var(--muted); line-height: 1.4; }
.card__comp dd { margin: 0; font-size: 18px; line-height: 1.35; color: var(--ink); overflow-wrap: anywhere; }
.card__incl { margin: 0; padding: 0 28px 20px; font-size: 16px; line-height: 1.4; color: var(--ink-2); }   /* v1.9: «Хлеб и столовые приборы — в комплекте» */
.card__foot { padding: 18px 28px; border-top: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: 14px 18px; flex-wrap: wrap; transition: background-color .15s ease; }
.card.is-selected .card__foot { background: var(--brand-tint); }
.price { display: flex; flex-direction: column; gap: 4px; }
.price__value { font-size: 38px; line-height: 1; font-weight: 700; color: var(--ink); white-space: nowrap; letter-spacing: -.01em; }
.price--none .price__value { color: #8A7B74; }
.price__unit { font-size: 16px; color: var(--muted); font-weight: 500; }
.add { min-width: 176px; min-height: 54px; }
.add svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; fill: none; }
.qty { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; justify-content: flex-end; }
.stepper { display: inline-flex; align-items: center; gap: 2px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; flex: none; }
.stepper__btn { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; cursor: pointer; padding: 0; }
.stepper__btn svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; fill: none; }
.stepper__btn:hover { background: #F6D3D8; }
.stepper__btn--inc { background: var(--brand); color: #fff; }
.stepper__btn--inc:hover { background: var(--brand-hover); }
.stepper__btn:disabled { background: #F3ECE4; color: #8E7F78; cursor: not-allowed; }
.stepper input.stepper__input { width: 64px; height: 46px; min-height: 46px; border: 0; border-radius: 10px; background: transparent; box-shadow: none; text-align: center; font: 700 22px/1 var(--font); color: var(--ink); padding: 0; -moz-appearance: textfield; }
.stepper__input:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; }
.plus10 { min-height: 46px; min-width: 58px; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--brand); font: 700 16px/1 var(--font); cursor: pointer; }
.plus10:hover { background: var(--brand-soft); }
.plus10:disabled { color: #8E7F78; cursor: not-allowed; }
.card__off { flex: 1 1 100%; font-size: 17px; font-weight: 500; color: var(--ink); background: var(--warn-bg); border-radius: 10px; padding: 10px 14px; }
.card.is-off .card__photo img { filter: grayscale(.85); opacity: .7; }
.card.is-off .card__media::after { content: attr(data-off); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(31, 23, 21, .82); color: #fff; font-weight: 700; font-size: 18px; padding: 10px 18px; border-radius: 999px; white-space: nowrap; z-index: 3; }
.card.is-off .card__title, .card.is-off .card__comp dd { color: #6F625C; }
.card__more { border-top: 1px solid var(--line-soft); }
.more__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 10px 28px; background: none; border: 0; font: 500 16px/1.3 var(--font); color: var(--ink-2); cursor: pointer; text-align: left; }
.more__btn:hover { color: var(--brand); }
.more__btn::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .15s ease; }
.more__btn[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-1px); }
.more__btn:focus-visible { outline-offset: -3px; border-radius: 0 0 var(--radius-card) var(--radius-card); }
.more__panel { padding: 0 28px 20px; }
.more__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 9px 0; border-top: 1px dashed var(--line); font-size: 16px; line-height: 1.4; }
.more__name { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.more__details { grid-column: 1; color: var(--ink-2); overflow-wrap: anywhere; }
.more__amt { grid-column: 2; grid-row: 1; color: var(--ink-2); white-space: nowrap; text-align: right; }
.more__meta { margin-top: 8px; font-size: 16px; color: var(--ink-2); }
.card--skeleton .card__media { background: linear-gradient(100deg, #EFE3D4 30%, #F7EEE3 50%, #EFE3D4 70%); background-size: 300% 100%; animation: shimmer 1.4s linear infinite; }
.card--skeleton .card__head, .card--skeleton .card__comp, .card--skeleton .card__foot { display: flex; flex-direction: column; gap: 10px; }
.sk { display: block; border-radius: 8px; background: #EFE3D4; }
.sk--slot { width: 70px; height: 16px; } .sk--title { width: 70%; height: 32px; } .sk--line { width: 88%; height: 18px; } .sk--line2 { width: 60%; height: 18px; } .sk--foot { width: 100%; height: 54px; }
@keyframes shimmer { to { background-position: -100% 0; } }
/* two columns: rows of both cards share one grid (subgrid) → names, composition, price and action sit on common lines;
   «Полный состав и вес» opens only its own card (no empty tail in the neighbour) */
@media (min-width: 900px) {
  @supports (grid-template-rows: subgrid) {
    .cards { grid-template-rows: repeat(6, auto); row-gap: 0; align-items: stretch; }   /* v1.9: + the «в комплекте» row */
    .card { display: grid; grid-row: span 6; grid-template-rows: subgrid; background: none; border-radius: 0; overflow: visible; }
    .card__media { border-radius: var(--radius-card) var(--radius-card) 0 0; overflow: hidden; }
    .card__more { align-self: start; border-radius: 0 0 var(--radius-card) var(--radius-card); }
    .card--skeleton .card__more { min-height: 52px; }
  }
}

/* compact delivery terms: one full explanation, next to the choice */
.terms { display: grid; grid-template-columns: auto minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 10px 26px; margin-top: 24px; padding: 18px 26px; border-radius: 18px; background: var(--bg-deep); }
.terms__ico { width: 46px; height: 46px; padding: 10px; border-radius: 50%; background: #fff; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.terms p { font-size: 17px; line-height: 1.4; color: var(--ink-2); }
.terms b { color: var(--ink); font-weight: 700; }
.terms__free { padding-left: 26px; border-left: 1.5px solid var(--line); }
.terms a { font-weight: 700; color: var(--ink); white-space: nowrap; }

/* summary after a selection (≥900px; on phones the sticky bar plays this role) */
.bar { margin-top: 16px; display: flex; align-items: center; gap: 10px 30px; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: var(--radius-card); padding: 14px 14px 14px 28px; }
.bar__count { font-size: 20px; font-weight: 700; }
.bar__sum { display: flex; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; margin-right: auto; }
.bar__label { font-size: 16px; color: #E6D8D2; }
.bar__value { font-size: 30px; line-height: 1.1; font-weight: 700; color: #fff; white-space: nowrap; }
.bar__note { font-size: 16px; color: #E6D8D2; }
.bar .btn { min-height: 58px; padding-inline: 28px; font-size: 19px; }
.bar .btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- B04 kitchen / trust band ---------- */
.kitchen { background: var(--band); color: var(--band-ink); padding: 80px 0; }
.kitchen__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.kitchen h2 { color: #fff; }
.kitchen__lead { font-size: 20px; line-height: 1.45; margin-top: 14px; color: var(--band-ink); max-width: 34ch; }
.proofs { display: flex; flex-direction: column; margin-top: 24px; }
.proofs li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.proofs__ico { width: 36px; height: 36px; flex: none; fill: none; stroke: #F4AAB4; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.proofs h3 { color: #fff; font-size: 22px; line-height: 1.25; }
.proofs p { color: var(--band-muted); font-size: 16px; margin-top: 4px; }
.proofs__line { display: flex; gap: 12px; align-items: center; padding: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); color: var(--band-muted); font-size: 16px; line-height: 1.4; }   /* v1.10 */
.proofs__line .proofs__ico { width: 26px; height: 26px; }
.video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-card); overflow: hidden; background: #2A0E11; box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .7); }
.video__frame picture, .video__cover { position: absolute; inset: 0; width: 100%; height: 100%; }
.video__cover { object-fit: cover; }
.video__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 6, 8, .35) 0%, rgba(20, 6, 8, 0) 28%, rgba(20, 6, 8, 0) 58%, rgba(20, 6, 8, .55) 100%); pointer-events: none; }
.video__title { position: absolute; z-index: 2; left: 16px; top: 14px; padding: 7px 14px; border-radius: 999px; background: rgba(31, 23, 21, .72); color: #fff; font-size: 15px; font-weight: 700; line-height: 1.3; pointer-events: none; }
.video__play { position: absolute; z-index: 3; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 22px 8px 8px; border: 0; border-radius: 999px; background: #fff; color: var(--brand); font: 700 18px/1.2 var(--font); cursor: pointer; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6); }
.video__play::before { content: ""; position: absolute; inset: -2000px; }
.video__play:hover { background: #FFF0F2; }
.video__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); flex: none; }
.video__icon svg { width: 20px; height: 20px; fill: #fff; margin-left: 2px; }
.video__frame.is-playing > :not(iframe), .video__frame.is-playing::after { display: none; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__fail { margin-top: 10px; background: rgba(255, 255, 255, .1); border-radius: 12px; padding: 10px 14px; font-size: 16px; color: #fff; }
.video__alt { margin-top: 6px; font-size: 16px; }
.video__alt a { display: inline-flex; align-items: center; min-height: 44px; color: var(--band-ink); font-weight: 500; text-underline-offset: 4px; }
.video__alt a::after { content: " ↗"; white-space: pre; text-decoration: none; }

/* ---------- B05 checkout ---------- */
.checkout { padding: 88px 0 96px; background: var(--bg-deep); }
.checkout__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 580px); grid-template-areas: "head form" "order form"; grid-template-rows: auto 1fr; gap: 0 64px; align-items: start; }
.checkout__head { grid-area: head; }
.checkout__sub { font-size: 19px; margin-top: 12px; color: var(--ink-2); }
.order { grid-area: order; margin-top: 26px; position: sticky; top: calc(var(--header-h) + 20px); }
.form { grid-area: form; }
.order__card { background: var(--paper); border-radius: var(--radius-card); padding: 22px 24px; border: 1px solid var(--line-soft); }
.order__title { font-size: 21px; line-height: 1.25; }
.order details { margin-top: 10px; border-top: 1px solid var(--line-soft); }
.order summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 500; color: var(--ink); list-style: none; }
.order summary::-webkit-details-marker { display: none; }
.order summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg) translateY(-3px); }
.order details[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.order summary .order__count { color: var(--muted); font-weight: 500; margin-left: auto; }
.order__lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 8px 0; border-top: 1px dashed var(--line-soft); }
.order__name { font-weight: 500; color: var(--ink); font-size: 16px; overflow-wrap: anywhere; }
.order__qty { font-size: 15px; color: var(--muted); grid-column: 1; }
.order__sum { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 700; color: var(--ink); white-space: nowrap; }
.order__totals { margin: 6px 0 0; border-top: 1px solid var(--line-soft); padding-top: 8px; }
.order__totals > div { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; font-size: 17px; }
.order__totals dt { color: var(--ink-2); }
.order__totals dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
.order__totals dd.is-soft { font-weight: 500; color: var(--ink-2); }
.order__totals .is-total { border-top: 2px solid var(--line); margin-top: 6px; padding-top: 10px; font-size: 20px; }
.order__empty { font-size: 17px; color: var(--ink-2); margin-top: 8px; }
.form { background: #fff; border-radius: var(--radius-card); padding: 26px 28px; box-shadow: 0 24px 60px -40px rgba(64, 23, 26, .5); display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
/* v1.7 public mode: order by phone instead of the form (same place and card as the form) */
.callblock { grid-area: form; background: #fff; border-radius: var(--radius-card); padding: 26px 28px; box-shadow: 0 24px 60px -40px rgba(64, 23, 26, .5); display: flex; flex-direction: column; gap: 14px; }
.callblock__text { font-size: 17px; line-height: 1.45; color: var(--ink-2); }
.callblock__btn { gap: 10px; }
.callblock__num { align-self: center; padding: 2px 0; font-weight: 700; font-size: 22px; color: var(--ink); text-decoration: none; white-space: nowrap; }   /* v1.10: the number stays visible next to the call button */
.callblock__btn .ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.callblock__hours { font-size: 16px; color: var(--ink-2); }
.price--public .price__value { font-size: 17px; line-height: 1.3; font-weight: 700; color: var(--ink-2); }
.form__note { font-size: 16px; color: var(--ink-2); text-align: center; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label:first-child { font-weight: 500; font-size: 16px; color: var(--ink); }
.req { font-size: 14px; font-weight: 500; color: var(--brand); margin-left: 6px; }
input[type="tel"], input[type="text"] { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid #CDBBA8; border-radius: 12px; background: #fff; color: var(--ink); font: 500 17px/1.35 var(--font); transition: border-color .15s ease, box-shadow .15s ease; }
input::placeholder { color: #8E7F78; opacity: 1; }
input:hover { border-color: #A8927E; }
input:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(31, 23, 21, .18); }
input[readonly], input:disabled { background: #F6F1EC; color: #5E504B; }
.err { font-size: 15px; font-weight: 700; color: var(--error); display: flex; gap: 6px; align-items: flex-start; }
.err::before { content: "!"; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--error); color: #fff; font-size: 13px; line-height: 18px; text-align: center; margin-top: 1px; }
.err--block { background: var(--error-bg); border-radius: 10px; padding: 10px 12px; }
.field.is-invalid input { border-color: var(--error); background: #FFF9F9; box-shadow: 0 0 0 3px rgba(179, 18, 31, .12); }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 16px; color: var(--ink); min-height: 44px; padding: 10px 0; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; margin: 0; border: 2px solid #A8927E; border-radius: 6px; background: #fff; display: grid; place-content: center; cursor: pointer; }
.check input::before { content: ""; width: 12px; height: 7px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked { background: var(--brand); border-color: var(--brand); }
.check input:checked::before { opacity: 1; }
.check input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.field--consent.is-invalid .check input { border-color: var(--error); box-shadow: 0 0 0 3px rgba(179, 18, 31, .15); }
.legal { font-size: 14px; color: var(--muted); line-height: 1.45; }
.legal a { color: var(--ink-2); display: inline-flex; align-items: center; min-height: 44px; }
.form__submit.is-busy::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.status { border-radius: 14px; padding: 18px 18px 18px 20px; border-left: 5px solid var(--ink); background: var(--bg); display: flex; flex-direction: column; gap: 6px; }
.status:focus { outline: none; }
.status:focus-visible { outline: 2px solid rgba(31, 23, 21, .45); outline-offset: 3px; }
.status__title { font-weight: 700; font-size: 20px; color: var(--ink); }
.status__body { font-size: 16px; color: var(--ink-2); }
.status__phone a { font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; display: inline-block; padding: 8px 0; }
.status__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.status__actions:empty, .status__extra:empty { display: none; }
.status__demo { align-self: flex-start; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: #fff; background: #2B2B2B; border-radius: 6px; padding: 4px 8px; margin-bottom: 2px; }
.status[data-kind="error"] { background: var(--error-bg); border-left-color: var(--error); }
.status[data-kind="warn"] { background: var(--warn-bg); border-left-color: var(--warn); }
.status[data-kind="ok"] { background: var(--ok-bg); border-left-color: var(--ok); }
.status[data-kind="ok"] .status__title { color: var(--ok-ink); }
.quote { margin: 6px 0 2px; background: #fff; border-radius: 10px; padding: 8px 14px; }
.quote > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 16px; }
.quote dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
.quote .is-total { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 8px; font-size: 18px; }
.status__meta { font-size: 15px; color: var(--muted); }
.form[data-done="1"] > .field, .form[data-done="1"] > .form__row, .form[data-done="1"] > .form__submit, .form[data-done="1"] > .form__note, .form[data-done="1"] > .err--block { display: none; }

/* ---------- footer (donor) ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 40px 0 44px; }
.footer__in { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "logo nav contact" "logo copy contact"; gap: 8px 48px; align-items: center; }
.footer__logo { grid-area: logo; display: flex; align-items: center; min-height: 48px; }
.footer__logo img { width: 224px; height: auto; margin: -23px 0; }
.footer__nav { grid-area: nav; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.footer__nav a { text-decoration: none; font-weight: 500; font-size: 17px; color: var(--ink); padding: 12px 0; }
.footer__nav a:hover { color: var(--brand); }
.footer__contact { grid-area: contact; display: flex; flex-direction: column; align-items: flex-end; }
.footer__contact a { font-size: 15px; color: var(--ink-2); padding: 12px 0; min-height: 44px; }
.footer__mail { font-size: 17px !important; font-weight: 500; color: var(--ink) !important; text-decoration: none; }
.footer__phone { font-weight: 700; font-size: 22px !important; color: var(--ink) !important; text-decoration: none; }
.footer__copy { grid-area: copy; font-size: 14px; color: var(--muted); }

.sticky { display: none; }

/* ---------- DEMO panel (only with ?demo=1) ---------- */
.demo { position: fixed; right: 12px; bottom: 12px; z-index: 60; background: #2B2B2B; color: #fff; border-radius: 12px; padding: 10px 12px; font: 600 13px/1.3 var(--font); max-width: 360px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.6); }
.demo summary { cursor: pointer; font-weight: 700; letter-spacing: .06em; min-height: 32px; display: flex; align-items: center; }
.demo label { display: block; margin-top: 8px; color: #DDD; }
.demo select { width: 100%; margin-top: 3px; font: 600 13px var(--font); padding: 6px; border-radius: 6px; border: 0; }
.demo .demo__row { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.demo button, .demo a { font: 700 13px/1 var(--font); border: 0; border-radius: 8px; padding: 9px 12px; background: #fff; color: #2B2B2B; cursor: pointer; text-decoration: none; }
.demo .demo__clock { margin-top: 8px; color: #FFD7A8; }

/* ---------- v1.6 · DEMO of the future card-payment path (js/payflow.js, only with ?demo=1&flow=pay) ---------- */
.pq { border: 1.5px dashed var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; transition: border-color .2s ease, box-shadow .2s ease; }
.pq.is-attn { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.pq__line { font-size: 17px; line-height: 1.35; color: var(--ink); }
.pq__line b { font-weight: 700; }
.pq__line--warn b { color: var(--brand-press); }
.pq__line--busy { display: inline-flex; align-items: center; gap: 10px; }
.pq__meta, .pq__free, .pq__reason { font-size: 16px; line-height: 1.4; color: var(--ink-2); }
.pq__meta a { font-weight: 700; color: var(--ink); white-space: nowrap; }
.pq__reason { font-weight: 700; color: var(--brand-press); }
.pq__free { padding-top: 6px; border-top: 1px solid var(--line-soft); }
.pq .btn { min-height: 46px; padding: 10px 18px; font-size: 16px; }
.pq__demo { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .05em; line-height: 1.5; background: #4B3FA0; color: #fff; border-radius: 6px; padding: 0 6px; vertical-align: 2px; }
.spin { width: 18px; height: 18px; flex: none; border: 2.5px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: spin .9s linear infinite; }
.paybox { border-radius: 14px; background: var(--bg); padding: 12px 16px; }
.paybox__title { font-weight: 700; font-size: 17px; color: var(--ink); }
.paybox__text { font-size: 16px; color: var(--ink-2); }
.form__note--demo { font-weight: 700; color: #2F2770; background: #EEEAF8; border-radius: 10px; padding: 8px 12px; }
.form.is-done > .field, .form.is-done > .form__row, .form.is-done .pq, .form.is-done .paybox, .form.is-done .form__submit, .form.is-done .err--block { display: none; }
.pst__order { font-weight: 700; color: var(--ink); font-size: 16px; }
.ptl { display: flex; flex-direction: column; gap: 2px; margin: 6px 0 2px; }
.ptl li { position: relative; display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--muted); padding: 3px 0; }
.ptl li:not(:last-child)::after { content: ""; position: absolute; left: 7px; top: 22px; bottom: -8px; width: 2px; background: var(--line); }
.ptl__dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #B9AAA2; background: #fff; flex: none; position: relative; z-index: 1; }
.ptl .is-done { color: var(--ink); }
.ptl .is-done .ptl__dot { background: var(--ok); border-color: var(--ok); }
.ptl .is-now { color: var(--ink); font-weight: 700; }
.ptl .is-now .ptl__dot { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.ptl .is-fail { color: var(--brand-press); font-weight: 700; }
.ptl .is-fail .ptl__dot { background: var(--brand); border-color: var(--brand); }
.pst__demo { margin-top: 10px; padding: 12px; border: 1.5px dashed #B9AFE0; border-radius: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.pst__demo p { flex-basis: 100%; font-size: 16px; font-weight: 700; color: #3A3080; }
.btn--demo { background: #fff; color: #3A3080; border-color: #4B3FA0; min-height: 44px; padding: 8px 16px; font-size: 16px; }
.btn--demo:hover { background: #EEEAF8; }
.status[data-kind="busy"] { border-left-color: var(--brand); }
.status[data-kind="end"] { border-left-color: var(--brand); }
.pdlg { position: fixed; inset: 0; z-index: 90; background: rgba(31, 23, 21, .55); display: grid; place-items: center; padding: 16px; }
.pdlg__box { background: #fff; border-radius: 18px; width: 100%; max-width: 520px; padding: 22px 22px 18px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .5); }
.pdlg .pdlg__demo { display: inline-block; font-size: 14px; font-weight: 700; color: #fff; background: #4B3FA0; border-radius: 8px; padding: 4px 10px; }
.pdlg h3 { font-size: 24px; margin: 12px 0 6px; }
.pdlg p { font-size: 16px; color: var(--ink-2); }
.pdlg__sum { margin-top: 10px; font-size: 18px !important; color: var(--ink) !important; }
.pdlg__sum b { font-size: 22px; font-weight: 700; }
.pdlg__ask { margin-top: 12px; color: var(--muted) !important; }
.pdlg__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.pdlg__acts .btn { min-height: 48px; padding: 10px 14px; font-size: 16px; }
html.has-dialog { overflow: hidden; }
html.has-dialog .sticky { display: none !important; }
@media (max-width: 639px) {
  .pdlg { align-items: end; padding: 0; }
  .pdlg__box { border-radius: 18px 18px 0 0; padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
  .pdlg__acts { grid-template-columns: 1fr; }
}

/* =====================  responsive  ===================== */
@media (max-width: 1279px) {
  .hero__media { left: 34%; }
  .hero__media img { object-position: var(--hero-pos-desktop-narrow, 100% 50%); }
  .hero__copy { max-width: 500px; }
  .hero__lead { font-size: 19px; }
  h2 { font-size: 40px; }
  .card__title { font-size: 28px; }
  .card__head, .card__comp, .card__incl, .card__foot, .more__btn, .more__panel { padding-left: 24px; padding-right: 24px; }
  .checkout__in { grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 0 44px; }
}
@media (max-width: 1179px) { .header__phone { display: none; } .header__in { gap: 24px; } }
/* 1024–1199: same scene, narrower copy column */
@media (min-width: 1024px) and (max-width: 1199px) {
  .hero__media { left: 36%; }
  .hero__copy { max-width: 440px; }
  .hero h1 { font-size: 42px; }
  .hero__lead { font-size: 18px; }
  .hero__fact { font-size: 22px; }
  .price__value { font-size: 34px; }
}
/* stacked hero below 1024: the scene first, the offer under it */
@media (max-width: 1023px) {
  .hero { display: block; min-height: 0; }
  .hero__media { position: relative; left: 0; aspect-ratio: 2 / 1; }
  .hero__media img { object-position: var(--hero-pos-tablet, 100% 45%); }
  .hero__media::before { background: linear-gradient(0deg, rgba(251, 243, 232, .45) 0%, rgba(251, 243, 232, 0) 20%); }
  .hero__in { padding-top: 28px; padding-bottom: 40px; }
  .hero__copy { max-width: 720px; }
  .hero__lead { max-width: 46ch; }
}
@media (max-width: 1023px) {
  :root { --header-h: 68px; }
  .header__nav { display: none; }
  .header__cta { margin-left: auto; min-height: 44px; padding: 8px 18px; font-size: 16px; }
  .header__call, .header__menu { display: inline-flex; }
  .header__logo img { width: 176px; margin: -18px 0; }
  .today { padding: 48px 0 72px; }
  .today__head { grid-template-columns: 1fr; align-items: start; margin-bottom: 22px; }
  .today__meta { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
  .cards { gap: 18px; }
  .card__head, .card__comp, .card__incl, .card__foot, .more__btn, .more__panel { padding-left: 20px; padding-right: 20px; }
  .card__comp { gap: 8px 14px; }
  .price__value { font-size: 34px; }
  .terms { grid-template-columns: auto minmax(0, 1fr); gap: 8px 18px; padding: 16px 20px; }
  .terms__ico { grid-row: 1 / span 2; align-self: start; }
  .terms__free { padding-left: 0; border-left: 0; }
  .kitchen { padding: 64px 0; }
  .kitchen__grid { grid-template-columns: 1fr; gap: 32px; }
  .checkout { padding: 64px 0 72px; }
  .checkout__in { grid-template-columns: 1fr; grid-template-areas: "head" "order" "form"; max-width: 688px; }
  .order { position: static; }
  .form, .callblock { margin-top: 20px; }
  .footer__in { grid-template-columns: 1fr auto; grid-template-areas: "logo contact" "nav nav" "copy copy"; gap: 12px 32px; }
}
@media (max-width: 899px) {
  .cards { grid-template-columns: 1fr; max-width: 620px; }
  .terms { max-width: 620px; }
  .bar { display: none !important; }
  /* sticky selection bar on phones and small tablets: appears only after a selection */
  .sticky { display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--ink); color: #fff; box-shadow: 0 -10px 24px -18px rgba(31, 23, 21, .6); transform: translateY(110%); visibility: hidden; transition: transform .2s ease, visibility 0s linear .2s; }
  .sticky.is-visible { transform: none; visibility: visible; transition: transform .2s ease; }
  .sticky__sum { flex: 1; font-weight: 700; font-size: 18px; line-height: 1.25; }
  .sticky__sum span { display: block; font-weight: 500; font-size: 15px; color: #E6D8D2; }
  .sticky__cta { min-height: 52px; padding-inline: 24px; }
  .footer { padding-bottom: calc(44px + 76px); }
}
@media (max-width: 767px) {
  .footer__in { grid-template-columns: 1fr; grid-template-areas: "logo" "nav" "contact" "copy"; justify-items: start; gap: 12px; }
  .footer__contact { align-items: flex-start; }
  .footer__nav { display: grid; grid-template-columns: auto auto; gap: 0 32px; }
}
@media (max-width: 639px) {
  :root { --pad: 20px; --header-h: 64px; }
  body { font-size: 17px; }
  .ribbon { font-size: 14px; padding: 7px 12px; }
  .header__logo img { width: 158px; margin: -16px 0; }
  .header__cta { display: none; }
  .header__call { margin-left: auto; }
  .hero__media { aspect-ratio: 3 / 2; }
  .hero__media img { object-position: var(--hero-pos-mobile, 50% 50%); }
  .hero__in { padding: 16px var(--pad) 30px; }
  .hero__eyebrow { font-size: 14px; }
  .hero h1 { font-size: clamp(28px, 8vw, 34px); line-height: 1.06; margin-top: 6px; }
  .hero__lead { font-size: 16px; margin-top: 8px; line-height: 1.42; }
  .hero__fact { font-size: 19px; gap: 8px; }
  .hero__fact-ico { width: 24px; height: 24px; }
  .hero__offer { margin-top: 3px; }
  .hero__status { margin-top: 12px; gap: 6px 10px; }
  .avail { font-size: 16px; padding: 5px 12px 5px 10px; }
  .hero__hours { font-size: 16px; }
  .hero__actions { margin-top: 14px; gap: 6px; }
  .hero__actions .btn--lg { width: 100%; min-height: 54px; }
  .hero__phone { flex-direction: row; gap: 6px; align-items: center; font-size: 17px; }
  .steps { margin-top: 8px; gap: 4px 14px; }
  .hero__foot { margin-top: 18px; padding-top: 14px; }
  h2 { font-size: 31px; }
  .today { padding: 40px 0 64px; }
  .today__intro { font-size: 17px; margin-top: 8px; }
  .today__date { font-size: 19px; }
  .card__head { padding-top: 18px; }
  .card__head, .card__comp, .card__incl, .card__foot, .more__btn, .more__panel { padding-left: 18px; padding-right: 18px; }
  .card__title { font-size: 26px; }
  .card__comp { grid-template-columns: 1fr; gap: 1px; padding-top: 12px; padding-bottom: 10px; }
  .card__incl { padding-bottom: 18px; }
  .card__comp dd + dt { margin-top: 8px; }
  .card__comp dd { font-size: 17px; }
  .price__value { font-size: 32px; }
  .card__foot { gap: 14px; padding-top: 16px; padding-bottom: 16px; }
  .card__foot .add { flex: 1 1 150px; min-width: 0; }
  .qty { flex: 1 1 100%; justify-content: space-between; }
  .terms p { font-size: 16px; }
  .terms { padding: 14px 16px; gap: 6px 14px; }
  .terms__ico { width: 40px; height: 40px; padding: 8px; }
  .kitchen__lead { font-size: 18px; }
  .proofs h3 { font-size: 20px; }
  .video__title { left: 10px; top: 10px; font-size: 14px; padding: 6px 12px; }
  .video__play { left: 10px; bottom: 10px; min-height: 48px; font-size: 16px; padding: 6px 16px 6px 6px; gap: 10px; }
  .video__icon { width: 36px; height: 36px; }
  .checkout__sub { font-size: 17px; }
  .order__card { padding: 16px; }
  .form, .callblock { padding: 20px 16px 22px; gap: 16px; }
  .form__row { grid-template-columns: 1fr; gap: 16px; }
  .demo { left: 8px; right: auto; bottom: 8px; max-width: calc(100vw - 16px); }
}
@media (max-width: 359px) { .stepper input.stepper__input { width: 48px; } .card__foot .add { min-width: 0; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
