:root {
  --hero: #F4845F;             /* цвет активного товара на первом экране, меняется из JS */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --bg: #f5f1ec;
  --surface: #ffffff;
  --text: #141414;
  --muted: #6b6660;
  --line: #e6e0d8;
  --ink: #141414;
  --ink-text: #ffffff;
  --wa: #25d366;
  --display: "Anton", "Oswald", Impact, sans-serif;
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 10px 30px rgba(0, 0, 0, .07);
}
:root.dark {
  color-scheme: dark;
  --bg: #121212;
  --surface: #1c1c1c;
  --text: #f2f2f2;
  --muted: #a3a3a3;
  --line: #2c2c2c;
  --ink: #f2f2f2;
  --ink-text: #141414;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; cursor: pointer; }
button, a, input { -webkit-tap-highlight-color: transparent; }
svg { display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }

/* Шапка: прозрачная над первым экраном, цветная при прокрутке */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  color: #fff;
  background: rgba(0, 0, 0, .1);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .25);
  transition: background-color 650ms var(--ease), box-shadow .2s;
}
header.solid { background: var(--hero); box-shadow: 0 6px 24px rgba(0, 0, 0, .12); }
.bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 72px; padding: 0 16px;
}
.logo {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; opacity: .95;
}
.logo img { display: block; height: 48px; width: auto; filter: drop-shadow(0 0 1px rgba(10, 30, 70, .7)); }
.bar-actions { display: flex; align-items: center; gap: 8px; }
.theme-btn, .cart-btn {
  height: 42px; border-radius: 999px; border: 2px solid #fff;
  background: transparent; color: #fff;
  transition: transform 150ms, background-color 150ms;
}
.theme-btn {
  width: 42px; display: inline-grid; place-items: center;
  background: #fff; border-color: #fff; color: var(--hero);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
  transition: transform 150ms, box-shadow 150ms, color 650ms var(--ease);
}
.theme-icon { grid-area: 1 / 1; width: 20px; height: 20px; transition: opacity .25s, transform .35s var(--ease); }
.icon-sun, :root.dark .icon-moon { opacity: 0; transform: rotate(-90deg) scale(.5); }
:root.dark .icon-sun { opacity: 1; transform: none; }
.cart-btn {
  position: relative; height: 50px;
  display: inline-flex; align-items: center; gap: 10px; padding: 0 6px 0 16px;
  background: #141414; border: 0; color: #fff;
  font-size: 16px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 0 0 3px #fff, 0 8px 22px rgba(0, 0, 0, .3);
  transition: transform 150ms, box-shadow 150ms;
}
.cart-btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
}
.cart-btn.has-items::before { animation: discover-pulse 1.8s ease-out infinite; }
.cart-icon { width: 24px; height: 24px; color: var(--hero); transition: color 650ms var(--ease); }
.cart-count {
  min-width: 38px; height: 38px; padding: 0 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .16); color: #fff; font-size: 16px; font-weight: 800;
  display: inline-grid; place-items: center;
  transition: background-color 650ms var(--ease), color .2s;
}
.cart-btn.has-items .cart-count { background: var(--hero); color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.cart-btn.bump { animation: cart-bump 450ms var(--ease); }
@keyframes cart-bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.12) rotate(-3deg); }
  65% { transform: scale(.96) rotate(1deg); }
  100% { transform: scale(1); }
}

/* Первый экран */
.hero {
  position: relative; isolation: isolate; width: 100%; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden;
  background: var(--hero); color: #fff;
  transition: background-color 650ms var(--ease);
}
:root.dark .hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .28); pointer-events: none; z-index: 4; }
.grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 50; opacity: .4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 200px 200px; background-repeat: repeat;
}
.ghost {
  position: absolute; left: 0; right: 0; top: 18%; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; user-select: none;
  font-family: var(--display); font-size: clamp(90px, 28vw, 380px); font-weight: 400;
  line-height: 1; letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap;
}

/* Товары в карусели: у всех один размер, роли отличаются положением, масштабом и размытием */
.stage { position: absolute; inset: 0; z-index: 3; }
.slide {
  position: absolute; left: 50%; bottom: 7%; height: 66%; aspect-ratio: 3 / 4;
  transform-origin: bottom center;
  transition: transform 650ms var(--ease), filter 650ms var(--ease), opacity 650ms var(--ease), left 650ms var(--ease);
  will-change: transform, filter, opacity;
}
.stage.init .slide { transition: none; }  /* без анимации при первой отрисовке */
.slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: 28px; background: #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .25), 0 8px 18px rgba(0, 0, 0, .12);
  user-select: none; -webkit-user-drag: none;
}
.slide[data-role="center"] { transform: translateX(-50%); z-index: 20; }
.slide[data-role="left"],
.slide[data-role="right"] { transform: translate(-50%, -26vh) scale(.42); filter: blur(2px); opacity: .85; z-index: 10; cursor: pointer; }
.slide[data-role="left"]  { left: 26%; }
.slide[data-role="right"] { left: 74%; }
.slide[data-role="left2"],
.slide[data-role="right2"] { transform: translate(-50%, -34vh) scale(.28); filter: blur(4px); opacity: .7; z-index: 6; cursor: pointer; }
.slide[data-role="left2"]  { left: 9%; }
.slide[data-role="right2"] { left: 91%; }
.slide[data-role="back"]  { transform: translate(-50%, -34vh) scale(.2); filter: blur(6px); opacity: 0; z-index: 1; }

.hero-text { position: absolute; left: 96px; bottom: 80px; z-index: 60; max-width: 340px; }
.hero-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; opacity: .9; }
.hero-title { margin: 0 0 20px; font-size: 22px; font-weight: 700; line-height: 1.2; text-transform: uppercase; letter-spacing: .02em; opacity: .95; }
.hero-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.round-btn {
  width: 64px; height: 64px; border-radius: 50%; border: 2px solid #fff;
  background: transparent; color: #fff; display: grid; place-items: center;
  transition: transform 150ms, background-color 150ms;
}
.round-btn svg, .discover svg { fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.round-btn svg { width: 26px; height: 26px; }
.hero-add {
  height: 64px; padding: 0 22px; border-radius: 999px; border: 0;
  background: #fff; color: #141414; font-weight: 700; white-space: nowrap;
  transition: transform 150ms;
}
.discover {
  position: absolute; right: 40px; bottom: 80px; z-index: 60;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px 18px 34px; border-radius: 999px;
  background: #141414; color: #fff;
  font-family: var(--display); font-size: clamp(22px, 3.2vw, 44px); font-weight: 700;
  line-height: 1; letter-spacing: .01em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 0 0 4px #fff, 0 14px 36px rgba(0, 0, 0, .35);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.discover::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, .85);
  animation: discover-pulse 1.8s ease-out infinite;
}
.discover svg {
  width: 1.1em; height: 1.1em; padding: .28em; box-sizing: content-box;
  border-radius: 50%; background: var(--hero); color: #fff;
  transition: background-color 400ms var(--ease);
  animation: discover-nudge 1.4s ease-in-out infinite;
}
@keyframes discover-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, .85); }
  70%  { box-shadow: 0 0 0 22px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
@keyframes discover-nudge {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* Подсказка «листайте вниз» */
.scroll-cue {
  position: absolute; left: 50%; bottom: 18px; z-index: 60; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: #fff; text-decoration: none;
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  transition: opacity 300ms var(--ease);
}
.scroll-cue svg {
  width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round;
  animation: cue-bounce 1.6s ease-in-out infinite;
}
.scroll-cue.hidden { opacity: 0; pointer-events: none; }
@keyframes cue-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(8px); opacity: .6; }
}

/* Каталог */
#catalog { padding-top: 56px; scroll-margin-top: 24px; }
h2 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(44px, 8vw, 96px); line-height: 1; letter-spacing: -.01em; margin: 0 0 8px;
}
.catalog-head { display: flex; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; margin-bottom: 8px; }
.catalog-head h2 { margin: 0; }
.catalog-desc { margin: 0 0 6px; max-width: 46ch; font-size: 18px; line-height: 1.6; color: var(--muted); }
.controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 16px 0 26px; }
.search {
  flex: 1 1 260px; padding: 13px 20px; border-radius: 999px; font: inherit; font-size: 16px;
  border: 2px solid var(--ink); background: var(--surface); color: var(--text);
}
.search:focus { outline: none; border-color: var(--hero); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px; border-radius: 999px; border: 2px solid var(--ink);
  background: transparent; color: var(--text); font-weight: 600; font-size: 14px;
}
.chip[aria-pressed="true"] { background: var(--hero); border-color: var(--hero); color: #fff; transition: background-color 650ms var(--ease), border-color 650ms var(--ease); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; padding-bottom: 64px; }
.card {
  background: var(--surface); border-radius: 24px;
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.photo { aspect-ratio: 3 / 4; background: #fff; display: grid; place-items: center; overflow: hidden; }
.photo img, .photo svg { width: 100%; height: 100%; display: block; }
.photo img { object-fit: contain; background: #fff; cursor: zoom-in; }
.info { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.brand { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.name { font-weight: 700; font-size: 16px; line-height: 1.3; }
.row { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-family: "Oswald", var(--display); font-size: 26px; font-weight: 500; line-height: 1; }
.add {
  border: 2px solid var(--ink); border-radius: 999px; padding: 9px 16px; font-weight: 700;
  background: var(--ink); color: var(--ink-text);
}
.add.added { background: transparent; color: var(--text); }
.empty { color: var(--muted); padding: 24px 0 60px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 0;
}
.btn-wa { background: var(--wa); color: #07220f; }

/* Корзина */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: .2s; z-index: 40; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; height: 100dvh; width: min(420px, 100%);
  background: var(--surface); z-index: 50; transform: translateX(100%); transition: transform .3s var(--ease);
  display: flex; flex-direction: column;
}
.drawer.open { transform: none; }
.drawer-head {
  display: flex; justify-content: space-between; align-items: center; padding: 18px 20px;
  background: var(--hero); color: #fff; transition: background-color 650ms var(--ease);
}
.drawer-head h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1; text-transform: uppercase; }
.close { border: 0; background: none; font-size: 30px; color: inherit; line-height: 1; }
.items { flex: 1; overflow-y: auto; padding: 8px 20px; }
.item { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.item-name { font-weight: 600; font-size: 15px; }
.item-sum { font-weight: 500; text-align: right; }
.qty { display: inline-flex; align-items: center; gap: 4px; }
.qty button {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--ink);
  background: transparent; color: var(--text); font-weight: 700; line-height: 1;
}
.qty span { min-width: 26px; text-align: center; font-weight: 600; }
.remove { border: 0; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; justify-self: end; }
.drawer-foot {
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); display: grid; gap: 12px;
}
.checkout-label { font-weight: 600; font-size: 14px; color: var(--muted); }
.total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--display); font-weight: 700; font-size: 28px; text-transform: uppercase; }
#total { font-family: "Oswald", var(--display); font-weight: 500; }
.drawer-foot input {
  padding: 12px 18px; border-radius: 999px; border: 2px solid var(--line);
  background: var(--bg); color: var(--text); font: inherit; font-size: 16px;
}
.checkout {
  position: relative; overflow: hidden; width: 100%; justify-content: flex-start; gap: 14px;
  padding: 10px 18px 10px 10px; border-radius: 20px; text-align: left; cursor: pointer;
  background: linear-gradient(135deg, #2ee27a 0%, #25d366 45%, #128c7e 100%); color: #fff;
  box-shadow: 0 10px 24px -8px rgba(18, 140, 126, .6), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .2s, box-shadow .2s;
}
.checkout::after {
  content: ""; position: absolute; inset: 0 auto 0 -60%; width: 50%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .6s;
}
.checkout:disabled { cursor: not-allowed; box-shadow: none; }
.checkout-avatar {
  position: relative; flex: none; display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 50%; background: #fff; color: #128c7e;
  font-family: "Oswald", var(--display); font-size: 17px; font-weight: 600; letter-spacing: .02em;
  box-shadow: 0 0 0 3px rgba(255,255,255,.3);
}
.checkout-avatar svg {
  position: absolute; right: -3px; bottom: -3px; width: 20px; height: 20px; padding: 3px;
  border-radius: 50%; background: #25d366; box-shadow: 0 0 0 2px #fff;
}
.checkout-text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.checkout-name { font-size: 17px; font-weight: 700; line-height: 1.15; }
.checkout-sub { font-size: 13px; font-weight: 500; opacity: .85; }
.checkout-arrow {
  flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 50%;
  background: rgba(255,255,255,.2); transition: transform .2s, background .2s;
}
@media (hover: hover) and (pointer: fine) {
  .checkout:not(:disabled):hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(18, 140, 126, .7), inset 0 1px 0 rgba(255,255,255,.35); }
  .checkout:not(:disabled):hover::after { left: 120%; }
  .checkout:not(:disabled):hover .checkout-arrow { transform: translateX(3px); background: rgba(255,255,255,.3); }
}
.checkout:not(:disabled):active { transform: scale(.98); }

/* Просмотр фото */
.lightbox {
  position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.88);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: calc(16px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));
  opacity: 0; pointer-events: none; transition: opacity .2s; cursor: zoom-out;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: min(100%, 900px); max-height: calc(100% - 48px); object-fit: contain;
  background: #fff; border-radius: 20px; transform: scale(.96); transition: transform .2s;
}
.lightbox.open img { transform: none; }
.lightbox-caption { color: #fff; font-weight: 700; text-align: center; }
.lightbox .close { position: absolute; top: calc(10px + env(safe-area-inset-top)); right: 14px; color: #fff; font-size: 36px; padding: 6px 10px; }

/* Подвал в цвете активного товара */
footer {
  background: var(--hero); color: #fff; transition: background-color 650ms var(--ease);
  padding: 40px 0 calc(96px + env(safe-area-inset-bottom));
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; font-weight: 500; }
footer a { font-weight: 700; text-decoration: none; border-bottom: 2px solid rgba(255,255,255,.6); }

.wa-float {
  position: fixed; right: calc(16px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 30; width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.wa-float svg { width: 30px; height: 30px; }

/* Компьютер: эффекты при наведении */
@media (hover: hover) and (pointer: fine) {
  .round-btn:hover { transform: scale(1.08); background: rgba(255, 255, 255, .12); }
  .theme-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 0, 0, .22); }
  .cart-btn:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 0 0 3px #fff, 0 14px 30px rgba(0, 0, 0, .4); }
  .hero-add:hover { transform: scale(1.04); }
  .discover:hover { transform: scale(1.06); box-shadow: 0 0 0 4px #fff, 0 20px 44px rgba(0, 0, 0, .45); }
  .card { transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
  .card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 20px 40px rgba(0,0,0,.12); }
  .add, .chip { transition: transform .15s, background-color .15s, color .15s; }
  .add:hover { transform: scale(1.04); }
  .chip:hover { border-color: var(--hero); }
  .wa-float { transition: transform .15s; }
  .wa-float:hover { transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .slide, .hero, header, .chip, .drawer-head, footer { transition: none; }
  .cart-btn.bump, .cart-btn.has-items::before { animation: none; }
  .theme-icon { transition: none; }
  .discover::before, .discover svg, .scroll-cue svg { animation: none; }
}

@media (min-width: 1024px) {
  .grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .bar { padding: 0 32px; }
}
@media (min-width: 640px) and (max-width: 1365px) {
  .hero-text { left: 40px; }
}
@media (min-width: 521px) and (max-width: 1023px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}

/* Телефон */
@media (max-width: 639px) {
  .bar { height: 64px; }
  .logo img { height: 40px; }
  .logo span { display: none; }
  .cart-btn { height: 46px; padding: 0 5px 0 12px; gap: 7px; font-size: 14px; letter-spacing: .02em; }
  .cart-icon { width: 22px; height: 22px; }
  .cart-count { min-width: 34px; height: 34px; font-size: 15px; }
  .ghost { top: 16%; font-size: clamp(60px, 23vw, 380px); }
  .slide { bottom: 24%; height: 50%; }
  .slide[data-role="left"],
  .slide[data-role="right"] { transform: translate(-50%, -10vh) scale(.4); }
  .slide[data-role="left"]  { left: 14%; }
  .slide[data-role="right"] { left: 86%; }
  .slide[data-role="left2"],
  .slide[data-role="right2"] { transform: translate(-50%, -12vh) scale(.28); opacity: 0; }
  .slide[data-role="left2"]  { left: -10%; }
  .slide[data-role="right2"] { left: 110%; }
  .slide[data-role="back"]  { transform: translate(-50%, -14vh) scale(.2); }
  .slide img { border-radius: 20px; }
  .hero-text { left: 16px; right: 16px; bottom: 64px; max-width: none; }
  .scroll-cue { bottom: 10px; }
  .hero-title { font-size: 18px; margin-bottom: 14px; }
  .round-btn { width: 48px; height: 48px; }
  .round-btn svg { width: 22px; height: 22px; }
  .hero-add { height: 48px; padding: 0 18px; }
  .discover { right: 16px; top: 80px; bottom: auto; font-size: 22px; gap: 10px; padding: 10px 10px 10px 20px; box-shadow: 0 0 0 3px #fff, 0 10px 24px rgba(0, 0, 0, .3); }
}

@media (max-width: 520px) {
  #catalog { padding-top: 40px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card { border-radius: 18px; }
  .info { padding: 10px 12px 12px; }
  .name { font-size: 14px; }
  .price { font-size: 22px; }
  .row { flex-direction: column; align-items: stretch; }
  .add { width: 100%; padding: 10px; }
  .qty button { width: 38px; height: 38px; }
  .drawer { width: 100%; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
}

/* Очень узкие телефоны: оставляем иконку и счётчик */
@media (max-width: 359px) {
  .cart-label { display: none; }
}
