/* ==========================================================================
   Мельница — пекарня и кофейня
   Палитра: тёплая бумага, терракота, олива, мёд
   Шрифты: Cormorant Infant (заголовки) + Golos Text (текст), локально
   ========================================================================== */

:root {
  --paper: #f7f0e4;
  --paper-2: #efe3cf;
  --paper-3: #e7d7bd;
  --ink: #231a12;
  --ink-soft: #5b4b3c;
  --clay: #b4431f;
  --clay-dark: #8d3116;
  --olive: #5f6b49;
  --honey: #e0a94c;

  --display: 'Cormorant Infant', 'Times New Roman', serif;
  --text: 'Golos Text', -apple-system, 'Segoe UI', sans-serif;

  --pad: clamp(20px, 5vw, 64px);
  --max: 1280px;
  --hair: rgba(35, 26, 18, 0.18);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* бумажная фактура */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.28;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--clay); color: var(--paper); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  z-index: 10000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- кнопки ---------- */
.btn {
  --btn-bg: var(--clay);
  --btn-fg: var(--paper);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  font-family: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.4s var(--ease);
  z-index: -1;
}
.btn:hover::after { transform: translateY(0); }
.btn:hover { color: var(--paper); border-color: var(--ink); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--ink);
}
.btn--small { padding: 10px 18px; font-size: 11px; }
.btn--wide { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: gap 0.3s var(--ease), color 0.3s;
}
.link-arrow:hover { gap: 18px; color: var(--clay); border-color: var(--clay); }

/* ---------- шапка ---------- */
.header { position: relative; z-index: 60; }

.header__top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px var(--pad);
  border-bottom: 1px solid var(--hair);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--paper-2);
}
.header__phone {
  margin-left: auto;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.header__phone:hover { color: var(--clay); }

.header__bar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px var(--pad);
  background: rgba(247, 240, 228, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
}

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 30px; height: 30px; color: var(--clay); flex: none; }
.logo__text {
  font-family: var(--display);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}

.nav { display: flex; gap: 30px; margin-left: auto; font-size: 14px; }
.nav a {
  position: relative;
  padding: 4px 0;
  color: var(--ink-soft);
  transition: color 0.25s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header__cta { margin-left: 8px; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  background: none;
  border: 1px solid var(--ink);
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 24px; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* ---------- герой ---------- */
.hero { padding: clamp(36px, 6vw, 80px) var(--pad) clamp(30px, 5vw, 64px); }

.hero__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 26px;
}
.eyebrow__line { width: 46px; height: 1px; background: var(--clay); }

.hero__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(52px, 7.6vw, 108px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-left: -0.04em;
}
.hero__title em {
  font-style: italic;
  color: var(--clay);
  position: relative;
}
.hero__title em::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.06em;
  background: var(--honey);
}

.hero__lead {
  max-width: 46ch;
  margin-top: 28px;
  font-size: clamp(15px, 1.15vw, 18px);
  color: var(--ink-soft);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 48px);
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--hair);
}
.hero__facts dt {
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
  color: var(--clay);
}
.hero__facts dd {
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  max-width: 16ch;
}

.hero__media {
  position: relative;
  align-self: stretch;
}
.hero__media::before {
  content: '';
  position: absolute;
  inset: auto -18px -18px auto;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--honey);
  opacity: 0.35;
  z-index: 0;
}
.hero__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(380px, 58vw, 620px);
  object-fit: cover;
  filter: saturate(1.02) contrast(1.04);
}
.hero__media figcaption {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.hero__stamp {
  position: absolute;
  z-index: 2;
  top: -26px;
  left: -26px;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 50%;
  background: var(--olive);
  color: var(--paper);
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: rotate(-8deg);
}

/* ---------- бегущая строка ---------- */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper-2);
  padding: 12px 0;
}
.ticker__track {
  display: flex;
  gap: 34px;
  width: max-content;
  animation: ticker 38s linear infinite;
  font-family: var(--display);
  font-style: italic;
  font-size: 21px;
  color: var(--ink);
  white-space: nowrap;
}
.ticker__track span:nth-child(even) { color: var(--clay); }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- секции ---------- */
.section { padding: clamp(56px, 8vw, 110px) var(--pad); }
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: clamp(30px, 4vw, 54px);
}
.section__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.015em;
}
.section__title em { font-style: italic; color: var(--honey); }
.section__note {
  max-width: 38ch;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ---------- меню ---------- */
.menu__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}
.menu__col { background: var(--paper); padding: clamp(22px, 2.6vw, 36px); }

.menu__caption {
  font-family: var(--text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 22px;
}

.price li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 13px 0;
  border-bottom: 1px solid var(--hair);
  font-size: 14.5px;
}
.price li:last-child { border-bottom: 0; }
.price__name { display: flex; flex-direction: column; }
.price__name em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-top: 3px;
}
.price__dots {
  flex: 1;
  height: 1px;
  border-bottom: 1px dotted rgba(35, 26, 18, 0.35);
  margin-bottom: 4px;
}
.price__value { font-weight: 600; white-space: nowrap; }

.menu__col--dark { background: var(--ink); color: var(--paper); }
.menu__col--dark .menu__caption { color: var(--honey); }
.menu__col--dark .price li { border-color: rgba(247, 240, 228, 0.18); }
.menu__col--dark .price__name em { color: rgba(247, 240, 228, 0.6); }
.menu__col--dark .price__dots { border-color: rgba(247, 240, 228, 0.35); }
.menu__foot {
  margin-top: 22px;
  font-size: 12px;
  color: rgba(247, 240, 228, 0.65);
}

/* ---------- утро ---------- */
.morning {
  background: var(--olive);
  color: var(--paper);
}
.morning__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
}
.section__title--light { color: var(--paper); }
.morning__lead {
  margin-top: 26px;
  max-width: 34ch;
  font-size: 15px;
  color: rgba(247, 240, 228, 0.82);
}
.morning__list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(247, 240, 228, 0.25);
  font-family: var(--display);
  font-size: clamp(21px, 2.2vw, 29px);
}
.morning__list li:first-child { border-top: 1px solid rgba(247, 240, 228, 0.25); }
.morning__name { flex: 1; }
.morning__price { font-family: var(--text); font-size: 15px; font-weight: 600; white-space: nowrap; }

/* ---------- о пекарне ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(34px, 6vw, 90px);
}
.about__text p {
  margin-top: 22px;
  max-width: 52ch;
  color: var(--ink-soft);
}
.about__numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
  align-self: start;
}
.num {
  background: var(--paper);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.num__value {
  font-family: var(--display);
  font-size: clamp(44px, 5vw, 64px);
  line-height: 0.9;
  color: var(--clay);
}
.num__label { font-size: 12px; line-height: 1.45; color: var(--ink-soft); }

/* ---------- отзывы ---------- */
.reviews { background: var(--paper-2); }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
}
.review {
  background: var(--paper);
  border: 1px solid var(--hair);
  padding: clamp(22px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.review::before {
  content: '«';
  position: absolute;
  top: 10px;
  right: 20px;
  font-family: var(--display);
  font-size: 64px;
  line-height: 1;
  color: var(--honey);
  opacity: 0.55;
}
.review p {
  font-family: var(--display);
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.35;
  position: relative;
  z-index: 1;
}
.review footer {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-top: auto;
}
.review footer span { color: var(--clay); }

/* ---------- форма ---------- */
.order__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(34px, 6vw, 90px);
}
.order__text p { margin-top: 22px; max-width: 40ch; color: var(--ink-soft); }
.order__hint { font-size: 14px; }
.order__hint a { border-bottom: 1px solid var(--clay); color: var(--clay); }

.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input {
  width: 100%;
  padding: 12px 2px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  font-family: var(--text);
  font-size: 17px;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.3s;
}
.field input::placeholder { color: rgba(35, 26, 18, 0.35); }
.field input:focus { outline: none; border-color: var(--clay); }
.field input:user-invalid { border-color: var(--clay); }

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  cursor: pointer;
}
.check input {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  border: 1px solid var(--ink);
  flex: none;
  position: relative;
  cursor: pointer;
}
.check input:checked { background: var(--clay); border-color: var(--clay); }
.check input:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid var(--paper);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.check a { border-bottom: 1px solid var(--clay); color: var(--clay); }

.form__note { font-size: 11.5px; color: var(--ink-soft); }
.form__note a { text-decoration: underline; }
.form__status { font-size: 13px; color: var(--olive); min-height: 20px; }
.form__status.is-error { color: var(--clay); }

/* ---------- контакты ---------- */
.contacts { border-top: 1px solid var(--ink); }
.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}
.contacts__address {
  margin-top: 24px;
  font-family: var(--display);
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.35;
  font-style: normal;
}
.contacts__address span {
  display: block;
  margin-top: 8px;
  font-family: var(--text);
  font-size: 13px;
  color: var(--ink-soft);
}
.contacts__list { margin-top: 34px; display: grid; gap: 0; }
.contacts__list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--hair);
  font-size: 14px;
}
.contacts__list dt { color: var(--ink-soft); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; align-self: center; }
.contacts__list dd { margin: 0; font-weight: 500; }
.contacts__list a:hover { color: var(--clay); }

.map-card {
  position: relative;
  padding: clamp(26px, 3vw, 40px);
  border: 1px dashed rgba(35, 26, 18, 0.4);
  background:
    radial-gradient(circle at 20% 20%, rgba(224, 169, 76, 0.22), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(95, 107, 73, 0.16), transparent 50%),
    var(--paper-2);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}
.map-card__pin {
  position: absolute;
  top: 34%;
  left: 42%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 8px rgba(180, 67, 31, 0.18), 0 0 0 18px rgba(180, 67, 31, 0.08);
}
.map-card__title { font-weight: 600; font-size: 15px; }
.map-card__sub { font-size: 13px; color: var(--ink-soft); }
.map-card .btn { align-self: flex-start; margin-top: 8px; }
.map-card__note { font-size: 11px; line-height: 1.5; color: var(--ink-soft); margin-top: 6px; }

/* ---------- подвал ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(40px, 5vw, 70px) var(--pad) 30px;
}
.footer__top {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(247, 240, 228, 0.18);
}
.footer__logo {
  display: block;
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
}
.footer__tag {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247, 240, 228, 0.55);
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; }
.footer__nav a { color: rgba(247, 240, 228, 0.8); }
.footer__nav a:hover { color: var(--honey); }

.footer__bottom {
  max-width: var(--max);
  margin: 26px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 26px;
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(247, 240, 228, 0.55);
}
.footer__legal p + p { margin-top: 4px; }
.footer__links { display: grid; gap: 8px; }
.footer__links a { color: rgba(247, 240, 228, 0.75); border-bottom: 1px solid rgba(247, 240, 228, 0.25); justify-self: start; }
.footer__links a:hover { color: var(--honey); }
.footer__credits {
  max-width: var(--max);
  margin: 24px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(247, 240, 228, 0.12);
  font-size: 10.5px;
  color: rgba(247, 240, 228, 0.35);
}

/* ---------- cookie ---------- */
.cookie {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  width: min(560px, calc(100vw - 40px));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 0 18px 40px rgba(35, 26, 18, 0.16);
}
.cookie[hidden] { display: none; }
.cookie p { font-size: 12.5px; line-height: 1.5; flex: 1 1 320px; }
.cookie a { border-bottom: 1px solid var(--clay); color: var(--clay); }
.cookie__actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- появление ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- адаптив ---------- */
@media (max-width: 1080px) {
  .menu__columns { grid-template-columns: 1fr 1fr; }
  .menu__col--dark { grid-column: 1 / -1; }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .review:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .header__top { display: none; }
  .header__bar { backdrop-filter: none; background: var(--paper); }
  .nav {
    position: fixed;
    inset: 0;
    margin: 0;
    padding: 100px var(--pad) 40px;
    background: var(--paper);
    flex-direction: column;
    gap: 6px;
    font-family: var(--display);
    font-size: 32px;
    transform: translateY(-100%);
    transition: transform 0.45s var(--ease);
    z-index: 55;
  }
  .nav a { border-bottom: 1px solid var(--hair); padding: 14px 0; }
  .nav.is-open { transform: translateY(0); }
  .header__cta { display: none; }
  .burger { display: block; }
  .header__bar { gap: 16px; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { margin-top: 8px; }
  .hero__media img { height: 56vw; min-height: 300px; }
  .hero__stamp { top: -18px; left: auto; right: -10px; width: 78px; height: 78px; font-size: 9px; }

  .morning__inner,
  .about__grid,
  .order__grid,
  .contacts__grid { grid-template-columns: 1fr; }
  .morning__list { margin-top: 8px; }
}

@media (max-width: 640px) {
  .menu__columns { grid-template-columns: 1fr; }
  .menu__col--dark { grid-column: auto; }
  .reviews__grid { grid-template-columns: 1fr; }
  .review:last-child { grid-column: auto; }
  .about__numbers { grid-template-columns: 1fr 1fr; }
  .hero__facts { gap: 18px; }
  .hero__facts dt { font-size: 28px; }
  .footer__bottom { flex-direction: column; }
  .ticker__track { font-size: 18px; }
  .cookie { padding: 12px 14px; gap: 10px; }
  .cookie p { font-size: 11.5px; }
  .cookie .btn { padding: 8px 14px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- предзаказ ---------- */
.preorder__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 3.5vw, 56px);
  align-items: start;
}
.picker { border-top: 1px solid var(--ink); }
.picker__row {
  display: grid;
  grid-template-columns: 1fr auto 150px;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--hair);
}
.picker__name { display: flex; flex-direction: column; font-size: 15px; }
.picker__name em { font-style: normal; font-size: 11px; color: var(--ink-soft); margin-top: 2px; }
.picker__price { font-weight: 600; font-size: 15px; white-space: nowrap; }
.stepper { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--ink); }
.stepper__btn {
  width: 44px; height: 40px;
  background: transparent;
  border: 0;
  font-size: 19px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.stepper__btn:hover { background: var(--ink); color: var(--paper); }
.stepper__value { min-width: 34px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

.total {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(22px, 2.6vw, 32px);
  display: grid;
  gap: 12px;
  position: sticky;
  top: 100px;
}
.total__label { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(247, 240, 228, 0.6); }
.total__sum { font-family: var(--display); font-size: clamp(38px, 4vw, 52px); line-height: 1; }
.total__list { display: grid; gap: 6px; margin: 6px 0 8px; }
.total__list li { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(247, 240, 228, 0.8); }
.total__empty { color: rgba(247, 240, 228, 0.45) !important; }
.total .btn { background: var(--clay); border-color: var(--clay); color: var(--paper); }
.total .btn::after { background: var(--paper); }
.total .btn:hover { color: var(--ink); border-color: var(--paper); }
.total__note { font-size: 11.5px; line-height: 1.5; color: rgba(247, 240, 228, 0.5); }

@media (max-width: 900px) {
  .preorder__grid { grid-template-columns: 1fr; }
  .total { position: static; }
}
@media (max-width: 520px) {
  .picker__row { grid-template-columns: 1fr auto; row-gap: 10px; }
  .stepper { grid-column: 1 / -1; justify-content: flex-start; gap: 0; width: fit-content; }
}
