/* Фарш — цвета и материалы павильона: синяя вывеска, деревянные ламели,
   кремовые стены, коричневые панели, графитовая корова с подсветкой */
:root {
  --navy: #1E2B3F;
  --navy-deep: #152031;
  --steel: #8FA4BC;
  --wall: #EFE4D2;
  --paper: #FBF7F0;
  --wood: #C29E74;
  --panel: #6B4126;
  --char: #262628;
  --ink: #221E1A;
  --muted: #6E655B;
  --amber: #FFB54D;
  --amber-deep: #E8962A;
  --line: rgba(34, 30, 26, .14);

  --board-h: 112px;
  --bar-h: 52px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);

  --f-mark: 'Russo One', 'Arial Black', sans-serif;
  --f-head: 'Oswald', 'Arial Narrow', sans-serif;
  --f-body: 'PT Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 12px); }
body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font: 400 17px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--amber-deep); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 600; line-height: 1.05; margin: 0; letter-spacing: .01em; }

/* ---------- Вывеска ---------- */
.sign {
  position: sticky;
  top: calc(-1 * var(--board-h));
  z-index: 30;
  background: var(--navy);
  box-shadow: 0 6px 24px rgba(21, 32, 49, .25);
}
.sign__board {
  height: var(--board-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 0 0;
  border-top: 8px solid var(--wood);
}
.slats {
  height: 58%;
  background: repeating-linear-gradient(to bottom, var(--wood) 0 9px, transparent 9px 17px);
  opacity: .92;
}
.slats--left { margin-right: 8px; }
.slats--right { margin-left: 8px; }
.wordmark {
  font: 400 clamp(46px, 7vw, 76px)/1 var(--f-mark);
  letter-spacing: .14em;
  margin-right: -.14em;
  color: #F4FAFF;
  text-decoration: none;
  display: flex;
}
.wordmark span {
  display: inline-block;
  text-shadow: -3px 4px 0 var(--steel), -6px 8px 0 #5D7491;
  animation: power-on 1.4s steps(1, end) both;
}
.wordmark span:nth-child(1) { animation-delay: .15s; }
.wordmark span:nth-child(2) { animation-delay: .45s; }
.wordmark span:nth-child(3) { animation-delay: .7s; }
.wordmark span:nth-child(4) { animation-delay: .95s; }
/* Буквы вывески включаются по одной, с перемигиванием, как неон */
@keyframes power-on {
  0%   { opacity: .12; text-shadow: none; }
  8%   { opacity: 1; text-shadow: -3px 4px 0 var(--steel), -6px 8px 0 #5D7491, 0 0 22px rgba(220, 238, 255, .8); }
  14%  { opacity: .2; text-shadow: none; }
  22%  { opacity: 1; text-shadow: -3px 4px 0 var(--steel), -6px 8px 0 #5D7491, 0 0 22px rgba(220, 238, 255, .8); }
  30%  { opacity: .45; }
  36%, 100% { opacity: 1; text-shadow: -3px 4px 0 var(--steel), -6px 8px 0 #5D7491, 0 0 16px rgba(220, 238, 255, .35); }
}

.bar {
  height: var(--bar-h);
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 max(16px, calc((100vw - 1200px) / 2));
  overflow-x: auto;
  scrollbar-width: none;
}
.bar::-webkit-scrollbar { display: none; }
.bar a {
  color: #DCE4EE;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: nowrap;
}
.bar a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.cart-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: var(--amber);
  color: var(--char);
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn__count {
  position: absolute;
  top: -6px; right: -6px;
  min-width: 22px; height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--char);
  color: #fff;
  font-size: 12px;
  line-height: 22px;
  text-align: center;
}
.cart-btn.bump { animation: bump .45s var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.14); } 60% { transform: scale(.96); } }

/* ---------- Стена с коровой ---------- */
.wall {
  position: relative;
  padding: clamp(28px, 5vw, 56px) 16px 0;
  background:
    radial-gradient(ellipse 40% 26% at 22% 0%, rgba(255, 246, 228, .9), transparent 70%),
    radial-gradient(ellipse 40% 26% at 78% 0%, rgba(255, 246, 228, .9), transparent 70%),
    var(--wall);
  overflow: hidden;
}
.wall__intro {
  max-width: 1200px;
  margin: 0 auto;
}
.wall h1 {
  font-size: clamp(36px, 6vw, 72px);
  color: var(--char);
  max-width: 13ch;
}
.wall__intro p {
  max-width: 52ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
}
@media (min-width: 900px) {
  .wall__intro { display: grid; grid-template-columns: auto minmax(0, 46ch); justify-content: space-between; align-items: end; gap: 48px; }
  .wall h1 { max-width: none; }
  .wall__intro p { margin: 0 0 6px; }
}

.stage {
  position: relative;
  /* корова целиком помещается в экран под вывеской и заголовком */
  max-width: min(1120px, calc((100svh - 290px) * 1.636));
  min-width: min(100%, 560px);
  margin: clamp(8px, 2vw, 20px) auto 0;
  z-index: 2;
}
.stage__inner {
  position: relative;
  transform-origin: 0 0;
  transition: transform .9s var(--ease-out);
  will-change: transform;
}
.cow-img {
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  /* Подсветка по контуру, как светодиодная лента за табличкой */
  filter: drop-shadow(0 0 2px rgba(255, 200, 120, .9)) drop-shadow(0 0 22px rgba(255, 170, 70, .75)) drop-shadow(0 0 60px rgba(255, 160, 60, .35));
  animation: backlight 2.2s 1.2s ease-out both;
}
@keyframes backlight {
  0%   { filter: drop-shadow(0 0 0 rgba(255, 170, 70, 0)); }
  12%  { filter: drop-shadow(0 0 2px rgba(255, 200, 120, .9)) drop-shadow(0 0 22px rgba(255, 170, 70, .75)); }
  18%  { filter: drop-shadow(0 0 0 rgba(255, 170, 70, 0)); }
  30%  { filter: drop-shadow(0 0 2px rgba(255, 200, 120, .9)) drop-shadow(0 0 22px rgba(255, 170, 70, .75)); }
  36%  { filter: drop-shadow(0 0 2px rgba(255, 200, 120, .4)) drop-shadow(0 0 10px rgba(255, 170, 70, .3)); }
  100% { filter: drop-shadow(0 0 2px rgba(255, 200, 120, .9)) drop-shadow(0 0 22px rgba(255, 170, 70, .75)) drop-shadow(0 0 60px rgba(255, 160, 60, .35)); }
}

.cow-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cut {
  fill: var(--amber);
  fill-opacity: 0;
  fill-rule: evenodd;
  stroke: #FFE2B0;
  stroke-opacity: 0;
  stroke-width: 4;
  mix-blend-mode: screen;
  cursor: pointer;
  transition: fill-opacity .25s ease, stroke-opacity .25s ease;
  outline: none;
}
.cut:hover, .cut.is-hover, .cut:focus-visible { fill-opacity: .42; stroke-opacity: .9; }
.cut.is-active { fill-opacity: .62; stroke-opacity: 1; }
/* Когда выбран отруб, остальные гаснут */
.cow-map.has-active .cut:not(.is-active):not(:hover) {
  fill: #000;
  fill-opacity: .45;
  mix-blend-mode: normal;
}

.tip {
  position: absolute;
  left: 0; top: 0;
  pointer-events: none;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px 9px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, calc(-100% - 18px)) scale(.92);
  transition: opacity .15s ease, transform .15s ease;
  z-index: 3;
  box-shadow: 0 8px 20px rgba(21, 32, 49, .3);
}
.tip b { font: 600 18px/1.1 var(--f-head); display: block; letter-spacing: .02em; }
.tip.is-on { opacity: 1; transform: translate(-50%, calc(-100% - 18px)) scale(1); }

.hint {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin: 10px 0 0;
  position: relative;
  z-index: 2;
}
.hint::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--amber-deep);
  vertical-align: 1px;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.6); opacity: .4; } }

.chips {
  list-style: none;
  margin: 18px auto 0;
  padding: 0 0 36px;
  max-width: 1120px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 2;
}
.chips button {
  border: 1.5px solid rgba(38, 38, 40, .35);
  background: rgba(251, 247, 240, .7);
  border-radius: 999px;
  padding: 6px 14px 7px;
  font: 500 15px/1 var(--f-head);
  letter-spacing: .02em;
  transition: background .2s, color .2s, border-color .2s;
}
.chips button:hover { border-color: var(--char); }
.chips button[aria-pressed="true"] { background: var(--char); color: var(--paper); border-color: var(--char); }

.wainscot {
  height: 64px;
  margin: 0 -16px;
  background: linear-gradient(to bottom, var(--wood) 0 6px, var(--panel) 6px);
}

/* ---------- Секции ---------- */
.section {
  padding: clamp(56px, 8vw, 96px) 16px;
}
.section > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.section__head { margin-bottom: 32px; }
.section__head h2 { font-size: clamp(34px, 4.6vw, 56px); }
.section__head p { color: var(--muted); max-width: 56ch; margin: 10px 0 0; }
.section--dark { background: var(--char); color: var(--paper); }
.section--dark .section__head p { color: #B9B0A4; }

/* Карточки товаров: полка стейков, сетка мяса, субпродукты */
.section--wall { background: var(--wall); }
.shelf {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 1fr);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  max-width: 1200px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 16px;
}
.card {
  scroll-snap-align: start;
  background: var(--paper);
  color: var(--ink);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
}
.card[hidden] { display: none; }
.section--dark .card { border-color: rgba(239, 228, 210, .08); }
.card__pic {
  aspect-ratio: 4 / 3;
  background: var(--char);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.card__crop { position: absolute; max-width: none; height: auto; }
.card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.card:hover .card__photo { transform: scale(1.05); }
.card__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  font: 600 28px/1.05 var(--f-head);
  text-transform: uppercase;
  color: rgba(239, 228, 210, .5);
  background: repeating-linear-gradient(135deg, #2c2c2f 0 14px, #262628 14px 28px);
}
.card__pic small {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 181, 77, .95);
  color: var(--char);
}
.card__pic small.is-order { background: var(--paper); color: var(--panel); }
.card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__body h3 { font-size: 22px; }
.card__body p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.4; flex: 1; }
.card__body > div:last-child { margin-top: 6px; }
.price { font-weight: 700; font-variant-numeric: tabular-nums; }
.price small { font-weight: 400; color: var(--muted); }
.price .price__sub { display: block; font-size: 13px; line-height: 1.3; }
.price__sub span { white-space: nowrap; }

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filter button {
  border: 1.5px solid rgba(38, 38, 40, .3);
  background: transparent;
  border-radius: 999px;
  padding: 6px 14px 7px;
  font: 500 15px/1 var(--f-head);
  letter-spacing: .02em;
}
.filter button:hover { border-color: var(--char); }
.filter button[aria-pressed="true"] { background: var(--char); color: var(--paper); border-color: var(--char); }

/* Кнопки и счётчик */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, background .2s;
}
.btn:active { transform: scale(.97); }
.btn--amber { background: var(--amber); color: var(--char); }
.btn--amber:hover { background: #FFC46E; }
.btn--ghost { background: transparent; border: 1.5px solid currentColor; }
.btn--wide { width: 100%; }

.add {
  border: 0;
  background: var(--char);
  color: var(--paper);
  border-radius: 999px;
  height: 38px;
  padding: 0 16px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}
.add:hover { background: #000; }
.stepper {
  display: inline-flex;
  align-items: center;
  height: 38px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--char);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stepper button {
  width: 36px; height: 38px;
  border: 0;
  background: none;
  font-size: 20px;
  line-height: 1;
}
.stepper output { min-width: 56px; text-align: center; font-size: 15px; }

/* Как заказать */
.how {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 360px);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.steps li::before {
  content: counter(s);
  grid-row: span 2;
  font: 600 52px/1 var(--f-head);
  color: var(--panel);
}
.steps strong { font: 600 24px/1.2 var(--f-head); }
.steps span { color: var(--muted); }

.phone {
  background: #E7EBF0;
  border-radius: 28px;
  border: 8px solid var(--char);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(34, 30, 26, .22);
}
.phone__top {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  background: var(--navy);
  color: #fff;
  line-height: 1.2;
}
.phone__top small { color: #A9B8C9; display: block; }
.phone__ava {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--char);
  display: grid;
  place-items: center;
  font-family: var(--f-mark);
}
.phone__chat {
  height: 380px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  justify-content: flex-end;
}
.msg {
  max-width: 88%;
  padding: 8px 11px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.38;
  background: #fff;
  align-self: flex-start;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .08);
  animation: msg-in .35s var(--ease-out) both;
  white-space: pre-line;
}
.msg--me { align-self: flex-end; background: #DFF3C7; }
.msg__btns { display: flex; gap: 6px; margin-top: 6px; }
.msg__btns span {
  flex: 1;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  padding: 6px;
  border-radius: 8px;
  background: rgba(30, 43, 63, .08);
  color: var(--navy);
}
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9AA6B3; animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-4px); opacity: .5; } }
@keyframes msg-in { from { opacity: 0; transform: translateY(12px) scale(.96); } }

/* Контакты */
.contacts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(24px, 5vw, 64px);
  max-width: 1232px;
  margin: 0 auto;
}
.contacts h2 { font-size: clamp(34px, 4.6vw, 56px); margin-bottom: 18px; }
.contacts p { margin: 0 0 12px; }
.contacts__big { font: 600 clamp(28px, 3.4vw, 40px)/1.1 var(--f-head); }
.contacts__big a { text-decoration: none; }
.contacts__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px !important; }
.contacts__map { border-radius: 16px; overflow: hidden; min-height: 340px; background: #DDD3C3; }
.contacts__map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

.foot {
  background: var(--navy);
  color: #A9B8C9;
  padding: 28px max(16px, calc((100vw - 1200px) / 2));
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: baseline;
  font-size: 14px;
}
.foot__mark { font: 400 24px/1 var(--f-mark); color: #fff; letter-spacing: .12em; }
.foot__note { margin-left: auto; }

/* ---------- Панель отруба и корзина ---------- */
.panel, .cart {
  position: fixed;
  top: 0; right: 0;
  z-index: 50;
  width: min(440px, 100%);
  height: 100%;
  background: var(--paper);
  box-shadow: -20px 0 50px rgba(34, 30, 26, .2);
  padding: 28px 24px 32px;
  overflow-y: auto;
  transform: translateX(105%);
  transition: transform .55s var(--ease-out);
  visibility: hidden;
}
.panel.is-open, .cart.is-open { transform: none; visibility: visible; }
.panel__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(34, 30, 26, .07);
  font-size: 26px;
  line-height: 1;
}
.panel__title { font-size: clamp(34px, 4vw, 44px); padding-right: 44px; color: var(--char); }
.panel__cook { color: var(--muted); margin: 10px 0 18px; }
.items { list-style: none; margin: 0; padding: 0; }
.items li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  animation: item-in .5s var(--ease-out) both;
}
.items li > div { min-width: 0; }
.items h3 { font-size: 21px; font-weight: 500; letter-spacing: .02em; }
.items h3 em {
  font: 700 11px/1 var(--f-body);
  font-style: normal;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--wall);
  color: var(--panel);
  vertical-align: 3px;
  margin-left: 6px;
  white-space: nowrap;
}
.items p { margin: 2px 0 4px; color: var(--muted); font-size: 14px; line-height: 1.35; }
@keyframes item-in { from { opacity: 0; transform: translateX(24px); } }

.scrim {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(21, 32, 49, .45);
  animation: fade .3s ease both;
}
@keyframes fade { from { opacity: 0; } }

.cart h2 { font-size: 40px; margin-bottom: 16px; padding-right: 44px; }
.cart__list { list-style: none; margin: 0; padding: 0; }
.cart__list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.cart__list b { font-weight: 700; }
.cart__list small { color: var(--muted); grid-column: 1; }
.cart__list .stepper { grid-row: span 2; }
.cart__empty { color: var(--muted); }
.cart__total {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 14px 0 18px;
  border-top: 2px solid var(--char);
  margin-top: 4px;
}
.cart__total b { font: 600 28px/1 var(--f-head); }
.cart__total small { grid-column: 1 / -1; color: var(--muted); margin-top: 4px; }

.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 4px; font-size: 14px; font-weight: 700; }
.form input, .form select, .form textarea {
  font: inherit;
  font-weight: 400;
  padding: 11px 12px;
  border: 1.5px solid rgba(34, 30, 26, .25);
  border-radius: 10px;
  background: #fff;
  width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--amber-deep); box-shadow: 0 0 0 3px rgba(255, 181, 77, .35); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form .check { grid-template-columns: auto 1fr; align-items: start; gap: 10px; font-weight: 400; color: var(--muted); }
.form .check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--char); }
.form__error { color: #B3261E; margin: 0; min-height: 0; font-size: 14px; }
.form__error:empty { display: none; }
.cart__done h2 { margin-top: 8px; }
.cart__done p { color: var(--muted); }
.tg-msg {
  background: #E7EBF0;
  border-radius: 16px;
  padding: 14px;
  margin: 16px 0 20px;
}
.tg-msg .msg { max-width: 100%; animation-delay: .2s; }

/* Летящий в корзину кусочек */
.fly {
  position: fixed;
  z-index: 60;
  width: 22px; height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 40% 55% 45% 50%;
  background: radial-gradient(circle at 35% 35%, #F08A8A, #B3262E 70%);
  box-shadow: 0 0 0 3px #fff, 0 6px 14px rgba(0, 0, 0, .25);
  pointer-events: none;
}

/* ---------- Телефон ---------- */
@media (max-width: 860px) {
  .how { grid-template-columns: 1fr; }
  .phone { max-width: 360px; width: 100%; margin: 0 auto; }
  .contacts { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --board-h: 84px; }
  .sign__board { gap: 14px; }
  .panel, .cart {
    top: auto; bottom: 0;
    width: 100%;
    height: auto;
    max-height: 82vh;
    border-radius: 20px 20px 0 0;
  }
  /* панель отруба ниже, чтобы над ней оставалась видна подсвеченная корова */
  .panel { max-height: 58vh; }
  .panel, .cart {
    transform: translateY(105%);
    box-shadow: 0 -20px 50px rgba(34, 30, 26, .25);
    padding-top: 22px;
  }
  .panel::before, .cart::before {
    content: '';
    display: block;
    width: 44px; height: 5px;
    border-radius: 3px;
    background: rgba(34, 30, 26, .2);
    margin: -8px auto 14px;
  }
  .foot__note { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
