/* =========================================================
   Don Salmón v2 — «рыбный прилавок»
   Ледяные светлые секции-витрины, тёмно-синие полосы-разделы,
   товары как ценники-бирки на льду. Один акцент — цвет лосося.
   ========================================================= */
:root {
  /* палитра брендбука Don Salmón */
  --ink: #0b1f5c;          /* тёмно-синий этикетки */
  --ink-2: #192e67;
  --sea: #083c9e;          /* синий логотипа */
  --sea-2: #6d90dc;        /* контурные линии */
  --ice: #faf6ec;          /* кремовый */
  --frost: #dee8f1;        /* бледно-голубой, как фон лотков */
  --paper: #ffffff;
  --salmon: #f16c4e;       /* коралл */
  --salmon-ink: #b93e24;   /* кирпичный подзаголовок этикетки */
  --mute: #46557f;
  --mute-light: #a9c4f5;
  --line: rgba(11, 31, 92, .12);
  --line-light: rgba(255, 255, 255, .14);
  --open: #2fbf77;
  --wa: #1fa855;

  --f-display: "Montserrat", "Arial Black", system-ui, sans-serif;
  --f-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "Montserrat", system-ui, sans-serif;
  --f-serif: "Lora", Georgia, serif;

  --r-lg: 28px;
  --r: 16px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 27, 51, .06), 0 12px 32px -16px rgba(11, 27, 51, .28);
  --shadow-lg: 0 40px 80px -30px rgba(11, 27, 51, .45);
  --wrap: 1280px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--ice); color: var(--ink); font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(28px, 3.6vw, 48px); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--sea-2); outline-offset: 3px; border-radius: 8px; }
.mono { font-family: var(--f-mono); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.ic { width: 20px; height: 20px; flex: none; }
.salmon { color: var(--salmon); }
[hidden] { display: none !important; }

.kicker { font-family: var(--f-serif); font-style: italic; font-size: 19px; font-weight: 500; letter-spacing: 0; color: var(--salmon-ink); margin-bottom: 12px; }
.kicker--light { color: var(--salmon); }

/* ---------- Кнопки ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg); text-decoration: none; font-weight: 600; font-size: 15.5px; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(11, 27, 51, .6); }
.btn:active { transform: none; }
.btn .ic { width: 18px; height: 18px; }
.btn--salmon { --bg: var(--salmon); --fg: var(--ink); }
.btn--salmon:hover { --bg: #f58a6a; }
.btn--ink { --bg: var(--ink); --fg: #fff; }
.btn--line { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px currentColor, 0 14px 28px -14px rgba(11, 27, 51, .4); }
.btn--wa { --bg: var(--wa); --fg: #fff; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.linkbtn { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 8px 4px; color: var(--mute); font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn .ic { width: 16px; height: 16px; }
.linkbtn:hover { color: var(--ink); }

/* ---------- Статус «открыто» ---------- */
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--mute-light); flex: none; }
.status.is-open i { background: var(--open); box-shadow: 0 0 0 0 rgba(47, 191, 119, .6); animation: pulse 2.4s infinite; }
.status.is-closed i { background: var(--salmon); }
.status--inline { margin-left: 8px; font-size: 14px; color: var(--mute-light); }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(47, 191, 119, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 191, 119, 0); } }

/* ---------- Верхняя строка и шапка ---------- */
.topbar { background: var(--ink); color: #c6d3e6; font-size: 13.5px; }
.topbar__in { display: flex; align-items: center; gap: 24px; min-height: 40px; }
.topbar__phone { margin-left: auto; color: #fff; text-decoration: none; font-weight: 600; }

/* шапка — плавающая «жидкое стекло» */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; height: calc(var(--header-h) + 16px); padding-block: 8px; }
.header__in { position: relative; }
.header__in::before {
  content: ""; position: absolute; z-index: -1; inset: 0 calc(max(20px, env(safe-area-inset-right, 0px)) - 10px) 0 calc(max(20px, env(safe-area-inset-left, 0px)) - 10px);
  border-radius: 999px; background: rgba(255, 255, 255, .58);
  backdrop-filter: blur(18px) saturate(1.8); -webkit-backdrop-filter: blur(18px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(11, 27, 51, .04), 0 10px 30px -22px rgba(11, 27, 51, .5);
  transition: box-shadow .3s, background-color .3s;
}
.header.is-scrolled .header__in::before { background: rgba(255, 255, 255, .72); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 18px 40px -20px rgba(11, 27, 51, .45); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ice); }
.header__in { display: flex; align-items: center; gap: 20px; height: 100%; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 48px; height: 48px; }
.brand__name { font-family: var(--f-display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 9px 13px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 15px; transition: background-color .2s; }
.nav a:hover { background: var(--frost); }
.cartbtn {
  position: relative; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 14px;
  border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; transition: background-color .2s;
}
.cartbtn:hover { background: var(--sea); }
.cartbtn__sum { font-size: 14px; color: var(--salmon); }
.cartbtn__count { position: absolute; top: -5px; right: -5px; min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--salmon); color: var(--ink); font-size: 12px; font-weight: 700; border: 2px solid var(--ice); }
.cartbtn.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); } }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--frost); padding: 0; flex: none; }
.burger span { display: block; width: 18px; height: 2px; margin: 5px auto; background: var(--ink); border-radius: 2px; transition: transform .25s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Первый экран ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { min-width: 0; }
.hero__title { font-size: clamp(36px, 4.7vw, 70px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
.hero__lead { max-width: 30em; margin-top: 28px; font-size: clamp(17px, 1.5vw, 19px); color: var(--mute); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 40px; margin: 48px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__facts dt { font-size: clamp(20px, 2vw, 26px); font-weight: 600; color: var(--ink); }
.hero__facts dd { margin: 4px 0 0; font-size: 14px; color: var(--mute); }

.hero__media { position: relative; margin: 0; }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; max-height: 680px; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }

/* ценник «Хиты витрины» */
.ticket {
  position: absolute; left: -48px; bottom: 36px; width: min(320px, 82%);
  background: var(--paper); border-radius: 14px; padding: 18px 20px 16px; box-shadow: var(--shadow-lg);
  transform: rotate(-2.5deg); transform-origin: left bottom;
}
.ticket::before {
  content: ""; position: absolute; top: 14px; right: 16px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--ice); box-shadow: inset 0 1px 2px rgba(11, 27, 51, .35);
}
.ticket__head { display: flex; justify-content: space-between; padding-right: 22px; padding-bottom: 10px; border-bottom: 1.5px dashed var(--line); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--salmon-ink); }
.ticket__list { list-style: none; margin: 10px 0 8px; padding: 0; display: grid; gap: 7px; }
.ticket__list li { display: flex; align-items: baseline; gap: 8px; font-size: 14.5px; }
.ticket__list li::after { content: ""; order: 1; flex: 1; min-width: 12px; border-bottom: 1.5px dotted var(--mute-light); transform: translateY(-4px); }
.ticket__list .n { order: 0; font-weight: 600; }
.ticket__list .p { order: 2; font-family: var(--f-mono); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.ticket__foot { font-size: 11.5px; color: var(--mute); padding-top: 8px; border-top: 1.5px dashed var(--line); }
.ticket__foot a { color: var(--ink); }

/* ---------- Бегущая строка ---------- */
.ticker { background: var(--ink); color: #dfe7f3; overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: ticker 70s linear infinite; padding: 14px 0; font-size: 14px; font-weight: 500; }
.ticker__track span { padding: 0 22px; white-space: nowrap; }
.ticker__track b { color: var(--salmon); font-weight: 600; margin-left: 8px; }
.ticker__track span::before { content: "◆"; color: var(--sea-2); margin-right: 22px; font-size: 9px; vertical-align: 2px; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Секции ---------- */
.section { padding-block: clamp(72px, 9vw, 128px); }
.section--ink { background: var(--ink); color: #dfe7f3; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--frost { background: var(--frost); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head > p:not(.kicker) { margin-top: 18px; font-size: 17px; color: var(--mute); max-width: 36em; }
.section--ink .sec-head > p:not(.kicker) { color: var(--mute-light); }
.sec-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.sec-head__note { max-width: 26em; color: var(--mute); font-size: 15.5px; }

/* ---------- Витрина: фильтры ---------- */
.toolbar { display: grid; gap: 14px; margin-bottom: 28px; }
.toolbar__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px; margin: -2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 10px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); font-weight: 500; font-size: 14.5px; transition: .2s;
}
.chip svg { width: 30px; height: 20px; color: var(--sea); }
.chip--all { padding-left: 16px; }
.chip:hover { border-color: var(--ink); }
.chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-selected="true"] svg { color: var(--salmon); }
.chip small { font-family: var(--f-mono); font-size: 12px; opacity: .55; }
.seg { display: inline-grid; grid-auto-flow: column; gap: 4px; padding: 4px; border-radius: 999px; background: var(--frost); border: 0; margin: 0; }
.seg button, .seg span { display: grid; place-items: center; height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: none; font-size: 14px; font-weight: 500; color: var(--mute); transition: .2s; cursor: pointer; }
.seg button[aria-checked="true"], .seg input:checked + span { background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg input:focus-visible + span { outline: 3px solid var(--sea-2); }
.seg--full { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: row; }
.search input {
  width: min(320px, 100%); height: 46px; padding: 0 18px 0 44px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%2356677f' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='9' r='6'/%3E%3Cpath d='M14 14l4 4'/%3E%3C/svg%3E") 16px 50% no-repeat;
}
.search input:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 4px rgba(20, 70, 160, .12); }

/* ---------- Витрина: ценники ---------- */
.tags { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 16px; }
.tag {
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: var(--paper); border-radius: var(--r); padding: 18px 18px 0; box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s; animation: tagIn .4s var(--ease) both;
}
.tag:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tag.in-cart { box-shadow: 0 0 0 2px var(--salmon), var(--shadow); }
@keyframes tagIn { from { opacity: .4; transform: translateY(10px); } }
.tag::before { content: ""; position: absolute; top: 16px; right: 16px; width: 11px; height: 11px; border-radius: 50%; background: var(--ice); box-shadow: inset 0 1px 2px rgba(11, 27, 51, .35); }
.tag__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding-right: 22px; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--mute); }
.state { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 6px; }
.state--chilled { background: #e3eefc; color: var(--sea); }
.state--frozen { background: var(--frost); color: var(--ink-2); }
.state--live { background: #e2f6ec; color: #17784a; }
.state--ready { background: #fdeae4; color: var(--salmon-ink); }
.tag__art { position: absolute; right: -14px; top: 44px; width: 132px; height: 88px; color: var(--ink); opacity: .07; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.tag:hover .tag__art { opacity: .14; transform: translateX(-6px); }
.tag__name { margin-top: 18px; font-size: 19px; line-height: 1.15; }
.tag__sub { margin-top: 6px; font-size: 14.5px; color: var(--mute); }
.tag__cook { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 16px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.tag__cook .ic { width: 18px; height: 18px; color: var(--salmon-ink); margin-top: 1px; }
.tag__foot {
  margin: auto -18px 0; padding: 14px 18px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border-top: 2px dashed var(--line); background: #fbfcfd;
}
.tag__price { white-space: nowrap; }
.tag__price b { font-family: var(--f-display); font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.tag__price span { font-family: var(--f-mono); font-size: 12.5px; color: var(--mute); margin-left: 4px; }
.add { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; transition: background-color .2s, transform .2s; }
.add:hover { background: var(--sea); }
.add:active { transform: scale(.96); }
.stepper { display: inline-flex; align-items: center; height: 40px; border-radius: 999px; background: var(--salmon); color: var(--ink); }
.stepper button { width: 36px; height: 40px; border: 0; background: none; font-size: 20px; line-height: 1; border-radius: 999px; }
.stepper button:hover { background: rgba(11, 27, 51, .08); }
.stepper output { min-width: 56px; text-align: center; font-family: var(--f-mono); font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.empty { padding: 48px 0; text-align: center; color: var(--mute); }
.fineprint { margin-top: 28px; font-size: 13.5px; color: var(--mute); max-width: 52em; }

/* ---------- Разделка ---------- */
.cut { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.cut__figure { min-width: 0; }
.salmon-map { width: 100%; height: auto; display: block; overflow: visible; }
.salmon-map .zone { fill: rgba(255, 255, 255, .04); cursor: pointer; transition: fill .25s; }
.salmon-map .zone:hover { fill: rgba(242, 122, 87, .35); }
.salmon-map .zone.is-active { fill: var(--salmon); }
.salmon-lines { pointer-events: none; }
.salmon-lines .outline { stroke: #fff; stroke-width: 2.5; }
.salmon-lines .cutline { stroke: rgba(255, 255, 255, .5); stroke-width: 1.5; stroke-dasharray: 6 6; }
.salmon-lines .detail { stroke: rgba(255, 255, 255, .55); stroke-width: 1.8; }
.salmon-lines .eye { fill: #fff; stroke: none; }
.zone-labels text { fill: var(--mute-light); letter-spacing: .08em; font-weight: 600; }
.zone-labels text.is-active { fill: var(--salmon); }
.cut__buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.cut__buttons button { height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-light); background: none; color: #dfe7f3; font-weight: 500; font-size: 14px; transition: .2s; }
.cut__buttons button:hover { border-color: #fff; }
.cut__buttons button[aria-selected="true"] { background: var(--salmon); border-color: var(--salmon); color: var(--ink); }
.cut__panel { background: var(--ink-2); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); min-height: 300px; }
.cut__label { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--salmon); }
.cut__panel h3 { margin-top: 12px; font-size: clamp(22px, 2.2vw, 28px); }
.cut__panel > p:not(.cut__label) { margin-top: 14px; color: var(--mute-light); }
.cut__uses { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cut__uses li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); font-size: 13.5px; color: #fff; }
.cut__panel.swap > * { animation: swapIn .35s var(--ease); }
@keyframes swapIn { from { opacity: .3; transform: translateY(6px); } }
.services { list-style: none; padding: 0; margin: clamp(48px, 6vw, 80px) 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.services li { padding-top: 18px; border-top: 1px solid var(--line-light); }
.services b { display: block; color: #fff; font-weight: 600; }
.services span { display: block; margin-top: 4px; font-size: 14px; color: var(--mute-light); }

/* ---------- Как выбрать ---------- */
.signs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.sign { padding: 26px 26px 30px 0; }
.sign + .sign { padding-left: 26px; border-left: 1px solid var(--line); }
.sign__key { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--salmon-ink); }
.sign h3 { margin-top: 12px; font-size: 20px; }
.sign p:last-child { margin-top: 10px; color: var(--mute); font-size: 15px; }
.storage { margin-top: 40px; display: grid; grid-template-columns: auto 1fr; gap: 16px 40px; align-items: start; padding: 26px 30px; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); }
.storage__title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--sea); padding-top: 2px; }
.storage ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.storage li { font-size: 15px; color: var(--mute); }
.storage b { color: var(--ink); font-weight: 600; }

/* ---------- Кафе-бар ---------- */
.cafe { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.cafe__copy { min-width: 0; }
.cafe__copy > p:not(.kicker) { margin: 20px 0 32px; font-size: 17px; color: var(--mute); }
.mosaic { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(360px, 42vw, 560px); }
.mosaic figure { margin: 0; overflow: hidden; border-radius: var(--r); min-height: 0; }
.mosaic__a { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.mosaic figure:hover img { transform: scale(1.04); }

/* ---------- Доставка ---------- */
.terms { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.terms__list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.terms__list div { padding: 20px 0; border-top: 1px solid var(--line); }
.terms__list dt { font-weight: 600; }
.terms__list dd { margin: 6px 0 0; color: var(--mute); font-size: 15px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 12px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); }
.steps li::before { content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--salmon); font-family: var(--f-display); font-weight: 600; font-size: 20px; }
.steps b { font-weight: 600; }
.steps span { color: var(--mute); font-size: 14.5px; }

/* ---------- Контакты ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.contacts__copy { min-width: 0; }
.contacts h2 { font-size: clamp(36px, 5vw, 64px); }
.contacts__list { margin: 32px 0 0; display: grid; }
.contacts__list div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-light); }
.contacts__list dt { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute-light); padding-top: 3px; }
.contacts__list dd { margin: 0; color: #fff; font-size: 17px; }
.contacts__list a { text-decoration: none; }
.contacts__list a:hover { color: var(--salmon); }
.contacts .btn--line { color: #fff; }
.contacts__map { min-height: 400px; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); }
.contacts__map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; filter: grayscale(.25) contrast(1.05); }
.map-card { min-height: 400px; height: 100%; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px; text-align: center; text-decoration: none; color: #fff;
  background: radial-gradient(circle at 30% 25%, rgba(58, 120, 230, .35), transparent 55%), repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 22px), var(--ink-2); }
.map-card b { font-family: var(--f-display); font-size: 26px; font-weight: 600; }
.map-card span { color: var(--mute-light); }
.map-card:hover b { color: var(--salmon); }

/* ---------- Подвал ---------- */
.footer { background: #071640; color: var(--mute-light); padding-block: 32px calc(32px + env(safe-area-inset-bottom, 0px)); font-size: 14px; }
.footer__in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 32px; }
.brand--footer img { width: 40px; height: 40px; }
.brand--footer .brand__name { color: #fff; font-size: 17px; }
.footer__legal { font-size: 12.5px; text-align: right; }

/* ---------- Плашка заказа (телефон) ---------- */
.cartbar {
  position: fixed; z-index: 70; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: none; align-items: center; gap: 12px; height: 58px; padding: 0 22px; border: 0; border-radius: 18px;
  background: var(--ink); color: #fff; font-weight: 600; box-shadow: var(--shadow-lg);
}
.cartbar b { margin-left: auto; color: var(--salmon); }

/* ---------- Корзина ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(11, 27, 51, .55); opacity: 0; transition: opacity .3s; }
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(480px, 100%); display: flex; flex-direction: column;
  background: var(--ice); transform: translateX(100%); transition: transform .32s var(--ease); box-shadow: var(--shadow-lg);
  padding-top: env(safe-area-inset-top, 0px);
}
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 22px; }
.iconbtn { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--frost); display: grid; place-items: center; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; overscroll-behavior: contain; }
.drawer__empty { display: grid; justify-items: center; gap: 14px; padding: 56px 0; text-align: center; color: var(--mute); }
.drawer__empty svg { width: 120px; height: 80px; color: var(--mute-light); }
.lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line__name { font-weight: 600; line-height: 1.3; }
.line__meta { font-size: 13px; color: var(--mute); margin-top: 2px; }
.line__sum { text-align: right; font-family: var(--f-mono); font-weight: 600; white-space: nowrap; }
.line__controls { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.line__controls .stepper { height: 36px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); }
.line__controls .stepper button { height: 36px; }
.line__controls select { height: 36px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-size: 13.5px; max-width: 100%; }
.line__remove { margin-left: auto; border: 0; background: none; color: var(--salmon-ink); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; }
.order { display: grid; gap: 14px; margin-top: 22px; }
.order__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-size: 13px; font-weight: 600; color: var(--mute); }
.field input, .field textarea, .field select { width: 100%; min-height: 46px; padding: 11px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--paper); resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 4px rgba(20, 70, 160, .12); }
.field.is-error input { border-color: var(--salmon-ink); box-shadow: 0 0 0 4px rgba(180, 71, 42, .14); }
.drawer__foot { padding: 16px 24px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--paper); display: grid; gap: 8px; }
.sum { margin: 0 0 6px; display: grid; gap: 4px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; color: var(--mute); }
.sum dd { margin: 0; }
.sum__total { margin-top: 4px; padding-top: 8px; border-top: 1px dashed var(--line); color: var(--ink) !important; font-weight: 600; align-items: baseline; }
.sum__total dd { font-size: 22px; }
.drawer__foot .linkbtn { justify-self: center; }
.drawer__note { font-size: 12px; color: var(--mute); text-align: center; }

.toast {
  position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 120; transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; text-align: center;
  box-shadow: var(--shadow-lg); transition: .25s var(--ease);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Движение ---------- */
/* косяк рыбок на первом экране (рисует motion.js) */
.hero { position: relative; isolation: isolate; }
.school { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* заголовок «всплывает» по словам — текст виден сразу, лишь сдвинут и размыт */
.hero__title .w { display: inline-block; animation: wordIn 1s var(--ease) both; }
.hero__title .w:nth-of-type(2) { animation-delay: .12s; }
.hero__title .w:nth-of-type(3) { animation-delay: .3s; }
@keyframes wordIn { from { transform: translateY(.3em); filter: blur(10px); } }

/* ценник «Хиты» висит на шпажке и чуть покачивается */
.ticket { animation: sway 7s ease-in-out infinite; transform-origin: 85% 0; }
@keyframes sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(-1deg); } }

/* ценники: наклон за курсором и ледяной блик */
@media (hover: hover) and (pointer: fine) {
  .tags { perspective: 1100px; }
  .tag { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); transition: transform .6s var(--ease), box-shadow .25s; }
  .tag:hover { --lift: -4px; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift)); }
  .tag.is-tilting { transition: transform .1s linear, box-shadow .25s; }
  .tag::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
    background:
      radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .9), transparent 55%),
      radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(58, 120, 230, .08), transparent 60%);
    mix-blend-mode: soft-light;
  }
  .tag.is-tilting::after { opacity: 1; }
}

/* точка, которая «летит» в корзину */
.fly { position: fixed; left: 0; top: 0; z-index: 150; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--salmon); box-shadow: 0 0 0 5px rgba(242, 122, 87, .25); pointer-events: none; }

/* разделка: «нож» прорисовывает линии разреза */
.salmon-lines .knife { stroke: var(--salmon); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s cubic-bezier(.65, 0, .35, 1); }
.cut.pre-cut .knife { stroke-dashoffset: 1; }

/* лёгкий параллакс фото и «подъезд» блоков при прокрутке (только там, где браузер умеет scroll-driven анимации) */
@supports (animation-timeline: view()) {
  .mosaic img { transform: scale(1.12); animation: drift linear both; animation-timeline: view(); animation-range: cover; }
  .mosaic figure:hover img { transform: scale(1.12); }
  @keyframes drift { from { transform: translateY(-4%) scale(1.12); } to { transform: translateY(4%) scale(1.12); } }
  .sec-head, .sign, .steps li, .services li, .storage, .cut__panel { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  @keyframes rise { from { transform: translateY(32px); } }
}

/* ---------- Категории (полоса под шапкой) ---------- */
.catbar { background: var(--ink); color: #fff; }
.catbar__in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.catbar__in::-webkit-scrollbar { display: none; }
.catbar a { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 104px; padding: 10px 6px; border-radius: 14px; text-decoration: none; text-align: center; font-size: 12.5px; font-weight: 600; line-height: 1.2; color: #dfe7f3; transition: background-color .2s, color .2s; }
.catbar a svg { width: 46px; height: 32px; color: var(--mute-light); transition: color .2s; }
.catbar a:hover, .catbar a.is-active { background: rgba(255, 255, 255, .08); color: #fff; }
.catbar a:hover svg, .catbar a.is-active svg { color: var(--salmon); }

/* ---------- Картинка товара на ценнике ---------- */
.tag:has(.tag__pic) { overflow: visible; }
.tag:hover, .tag:focus-within { z-index: 4; }
.tag__pic { position: absolute; z-index: 2; right: 16px; top: 44px; width: 88px; height: 88px; object-fit: cover; border-radius: 14px; background: var(--frost); box-shadow: 0 0 0 1px var(--line); cursor: zoom-in; transform-origin: 100% 0; transition: transform .35s var(--ease), box-shadow .35s; }
.tag__pic:hover, .tag__pic:focus-visible { transform: scale(2.7); box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); }
.add { white-space: nowrap; flex: none; }
.tag__price { min-width: 0; line-height: 1.1; }
.tag__price s { display: block; margin: 0 0 2px; }
.tag__price s, .ticket__list s { font-family: var(--f-body); font-weight: 500; font-size: .8em; color: var(--mute); margin-right: 6px; }

/* ---------- Хиты витрины (карусель) ---------- */
.deals-sec { position: relative; padding-top: clamp(48px, 6vw, 80px); background: var(--paper); }
.deals-sec .sec-head { margin-bottom: 24px; }
.deals-wrap { position: relative; }
.deals__arrow { position: absolute; z-index: 3; top: 38%; transform: translateY(-50%); width: 52px; height: 52px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 10px 24px -10px rgba(11, 31, 92, .45); transition: background-color .2s, color .2s, opacity .25s, transform .2s var(--ease); }
.deals__arrow:hover { background: var(--ink); color: #fff; }
.deals__arrow:active { transform: translateY(-50%) scale(.94); }
.deals__arrow--prev { left: -22px; }
.deals__arrow--prev .ic { transform: scaleX(-1); }
.deals__arrow--next { right: -22px; }
.deals__arrow[disabled] { opacity: 0; pointer-events: none; }
/* волна между хитами и витриной */
.wave-sep { display: block; width: 100%; height: clamp(56px, 7vw, 110px); margin-top: clamp(24px, 3vw, 40px); }
.wave-sep .w3 { fill: var(--frost); }
.wave-sep .w2 { fill: #eef3f9; }
.wave-sep .w1 { fill: var(--ice); }
.wave-sep .wl { fill: none; stroke: #8db8f5; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
#vitrina { padding-top: clamp(24px, 3vw, 48px); }

/* волны на всех сменах цвета между разделами: сверху — цвет предыдущего, снизу — цвет следующего */
:root {
  --wave-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V36C1290 70 1110 72 920 44S560 6 380 30 120 70 0 46Z'/%3E%3C/svg%3E");
  --wave-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 80H1440V40C1290 8 1110 6 920 34S560 74 380 50 120 8 0 32Z'/%3E%3C/svg%3E");
  --wave-h: clamp(48px, 6.5vw, 100px);
}
/* бегущая строка — волнистая лента: синяя полоса с волной по краям, под ней кремовый верх и белый низ */
.ticker { position: relative; isolation: isolate; background: linear-gradient(var(--ice) 50%, var(--paper) 50%); padding-block: 14px; }
.ticker__svg { display: none !important; }
.ticker [data-ticker] { visibility: visible !important; }
.ticker::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 14C180 2 360 2 540 12S900 26 1080 14 1320 2 1440 10V88C1290 98 1110 100 920 88S560 74 380 86 120 98 0 90Z'/%3E%3C/svg%3E") 0 0 / 100% 100%;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 14C180 2 360 2 540 12S900 26 1080 14 1320 2 1440 10V88C1290 98 1110 100 920 88S560 74 380 86 120 98 0 90Z'/%3E%3C/svg%3E") 0 0 / 100% 100%; }
.ticker__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ticker__text { font-family: var(--f-body); font-size: 14px; font-weight: 600; letter-spacing: .02em; fill: #dfe7f3; }
.ticker__text .p { fill: var(--salmon); }
.ticker__text .d { fill: var(--sea-2); font-size: 10px; }
/* верхняя строка: телефон всегда в одну строку, статус сокращается */
.topbar__phone { white-space: nowrap; flex: none; }
.topbar .status { min-width: 0; }
.topbar [data-status-text] { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 600px) {
  .topbar { font-size: 12.5px; }
  .topbar__in { gap: 12px; min-height: 36px; }
}
/* маленькая лупа на фото упаковки: подсказка, что фото увеличивается */
.zoomhint { position: absolute; z-index: 3; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 1px 4px rgba(11, 31, 92, .25); pointer-events: none; transition: opacity .25s; }
.zoomhint svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.tag__zoomhint { top: 112px; right: 22px; }
.tag__pic:hover + .tag__zoomhint, .tag__pic:focus-visible + .tag__zoomhint { opacity: 0; }
.deal__picwrap { position: relative; }
.deal__picwrap .zoomhint { right: 8px; bottom: 8px; width: 28px; height: 28px; }
.deal__picwrap .zoomhint svg { width: 16px; height: 16px; }
#razdelka, #cafe, #kontakty { position: relative; }
#razdelka::before, #cafe::before, #kontakty::before,
#razdelka::after, #cafe::after, #kontakty::after {
  content: ""; position: absolute; left: 0; right: 0; height: var(--wave-h); pointer-events: none; z-index: 1;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
}
#razdelka::before, #cafe::before, #kontakty::before { top: -1px; -webkit-mask-image: var(--wave-top); mask-image: var(--wave-top); background: var(--ice); }
#razdelka::after, #cafe::after, #kontakty::after { bottom: -1px; -webkit-mask-image: var(--wave-bottom); mask-image: var(--wave-bottom); background: var(--ice); }
#kontakty::after { background: #071640; }
#razdelka, #cafe, #kontakty { padding-top: calc(clamp(72px, 9vw, 128px) + var(--wave-h) * .4); padding-bottom: calc(clamp(72px, 9vw, 128px) + var(--wave-h) * .4); }
.deals { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, calc((100% - 60px) / 4)); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 18px; }
.deals::-webkit-scrollbar { display: none; }
.deal { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; background: var(--ice); border-radius: var(--r); padding: 16px 18px 18px; transition: transform .25s var(--ease), box-shadow .25s; }
.deal:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.deal__badge { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 6px 10px; border-radius: 8px; background: var(--salmon-ink); color: #fff; font-weight: 700; font-size: 14px; }
.deal__pic { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 12px; background: var(--frost); cursor: zoom-in; transition: transform .45s var(--ease); }
.deal:hover .deal__pic { transform: scale(1.06); }
.deal__name { margin-top: 16px; font-size: 18px; line-height: 1.2; }
.deal__sub { margin-top: 6px; font-size: 14px; color: var(--mute); flex: 1; }
.deal__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.deal__unit { font-size: 13px; color: var(--mute); }
.deal__price { display: grid; justify-items: end; line-height: 1.15; }
.deal__price b { font-size: 21px; font-weight: 800; white-space: nowrap; }
.deal__price s { font-size: 14px; color: var(--mute); white-space: nowrap; }
.deal__add { margin-top: 14px; justify-content: center; width: 100%; height: 44px; }

/* ---------- Упаковка крупно ---------- */
.lightbox { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 24px; background: rgba(11, 31, 92, .72); cursor: zoom-out; }
.lightbox figure { margin: 0; max-width: min(960px, 100%); cursor: default; }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: 18px; background: var(--frost); box-shadow: var(--shadow-lg); }
.lightbox figcaption { margin-top: 12px; color: #fff; font-weight: 600; text-align: center; }
.lightbox__close { position: absolute; top: 16px; right: 16px; background: #fff; }
.tag:has(.tag__pic) .tag__name, .tag:has(.tag__pic) .tag__sub { padding-right: 100px; }
.tag:has(.tag__pic) .tag__sub { min-height: 3em; }

/* ---------- Корзина-сачок ---------- */
.cartbtn .net { width: 30px; height: 30px; flex: none; color: var(--mute-light); }
.cartbtn .net .fish { opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .35s var(--ease); }
.cartbtn.full .net .fish { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1140px) {
  .nav { position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-top, var(--header-h)); flex-direction: column; gap: 0; margin: 0;
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) 40px max(20px, env(safe-area-inset-left, 0px));
    background: var(--ice); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: .25s var(--ease); overflow-y: auto; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav a { font-family: var(--f-display); font-size: 26px; font-weight: 600; letter-spacing: -.02em; padding: 18px 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a:hover { background: none; color: var(--sea); }
  .burger { display: block; }
  .cartbtn { margin-left: auto; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .signs { grid-template-columns: 1fr 1fr; }
  .sign:nth-child(3) { padding-left: 0; border-left: 0; }
  .sign:nth-child(n+3) { border-top: 1px solid var(--line); }
  .storage { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .topbar__addr { display: none; }
  .hero__grid, .cut, .cafe, .terms, .contacts { grid-template-columns: 1fr; }
  .hero__media { max-width: 560px; }
  .hero__media img { aspect-ratio: 5 / 4; }
  .ticket { left: auto; right: 12px; bottom: -28px; transform: rotate(-2deg); }
  .hero { padding-bottom: 80px; }
  .storage ul { grid-template-columns: 1fr; gap: 12px; }
  .mosaic { height: 420px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .deals { grid-auto-columns: 78%; }
  .deals__arrow { display: none; }
  .tag__pic:hover, .tag__pic:focus-visible { transform: none; }
  .catbar a { width: 84px; font-size: 11.5px; }
  .catbar a svg { width: 38px; height: 26px; }
  .cartbtn__label { display: none; }
  .cartbtn { padding: 0 14px; }
  .brand img { width: 42px; height: 42px; }
  .brand__name { font-size: 17px; }
  .hero__title { font-size: clamp(30px, 9.4vw, 44px); }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__facts { grid-template-columns: repeat(3, 1fr); gap: 8px 14px; }
  .hero__facts dt { font-size: 18px; }
  .hero__facts dd { font-size: 12.5px; }
  .hero__media img { aspect-ratio: 4 / 4.2; }
  .ticket { width: calc(100% - 40px); right: 20px; }
  .toolbar__row { flex-direction: column; align-items: stretch; }
  .seg { width: 100%; grid-auto-columns: 1fr; }
  .seg button { padding: 0 8px; }
  .search input { width: 100%; }
  .tags { grid-template-columns: 1fr; gap: 12px; }
  .services { grid-template-columns: 1fr 1fr; }
  .signs { grid-template-columns: 1fr; }
  .sign, .sign + .sign { padding: 22px 0; border-left: 0; }
  .sign + .sign { border-top: 1px solid var(--line); }
  .storage { padding: 22px; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 150px; height: auto; }
  .mosaic__a { grid-row: auto; grid-column: span 2; }
  .terms__list { grid-template-columns: 1fr; }
  .contacts__list div { grid-template-columns: 1fr; gap: 4px; }
  .contacts .hero__cta .btn { flex: 1 1 100%; }
  .footer__in { grid-template-columns: 1fr; }
  .footer__legal { text-align: left; }
  .cartbar:not([hidden]) { display: flex; }
  .order__row { grid-template-columns: 1fr; }
}
/* «Уменьшить движение» в системе (в Windows — выключено «Показывать анимацию»):
   спокойный режим — убираем то, от чего может укачать, оставляем мягкие эффекты */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__title .w, .tag, .status.is-open i, .cut__panel.swap > * { animation: none; }
  .ticket { animation: none; transform: rotate(-2deg); }
  .ticker__track { animation-duration: 110s; }
  .mosaic img, .sec-head, .sign, .steps li, .services li, .storage, .cut__panel { animation: none !important; }
  .mosaic img, .mosaic figure:hover img { transform: none; }
}
