/* Стили приложения. Базовые (кнопки, поля, цвета) — в ../styles.css */

[hidden] { display: none !important; }
.app { min-height: 100vh; }
.app section { padding: 0; }

/* Полоса демо сверху */
.demobar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 4px; height: 44px;
  padding: 0 12px; background: var(--sand); color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: 13px; overflow-x: auto; white-space: nowrap;
}
.demobar__tag {
  margin-right: 6px; padding: 2px 8px; border-radius: 6px;
  background: var(--orange); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .05em;
}
.demobar a { padding: 5px 10px; border-radius: 999px; color: var(--muted); font-weight: 600; text-decoration: none; }
.demobar a:hover { color: var(--ink); }
.demobar a.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(27, 59, 43, .08); }
.demobar button {
  margin-left: auto; padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 12px; cursor: pointer;
}

/* Покупатель */
.appwrap { width: min(560px, 100%); margin-inline: auto; padding: 0 16px 110px; }
.ico { width: 20px; height: 20px; flex-shrink: 0; }

.topbar { position: sticky; top: 44px; z-index: 25; background: rgba(246, 248, 244, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar .appwrap.topbar__inner { display: flex; align-items: center; gap: 12px; padding: 10px 16px; }
.topbar .logo { font-size: 18px; gap: 8px; flex-shrink: 0; }
.topbar .logo__mark { width: 30px; height: 30px; }
.search {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px;
  padding: 0 14px; height: 42px; border-radius: 999px; background: var(--bg); color: var(--muted);
}
.search:focus-within { outline: 2px solid var(--ink); }
.search input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 15px; color: var(--ink); outline: none; }

.cats { display: flex; gap: 4px; overflow-x: auto; margin: 16px -16px 0; padding: 0 16px 4px; scrollbar-width: none; }
.cats::-webkit-scrollbar, .pills::-webkit-scrollbar, .partners-row::-webkit-scrollbar { display: none; }
.cat {
  flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 78px;
  padding: 4px 0; border: 0; background: none; cursor: pointer; color: var(--ink);
}
.cat__icon {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--pista); color: var(--ink); transition: background-color .15s ease, color .15s ease;
}
.cat__icon .ico { width: 28px; height: 28px; }
.cat__label { font-size: 12px; font-weight: 600; white-space: nowrap; }
.cat__text { display: contents; }
.cat__count { display: none; }
.cat:hover .cat__icon { background: var(--pista-dark); }
.cat.is-active .cat__icon { background: var(--green); color: #fff; }

.pills { display: flex; gap: 8px; overflow-x: auto; margin: 12px -16px 0; padding: 0 16px 4px; scrollbar-width: none; }
.pills .chip { flex-shrink: 0; font-size: 14px; }

.intro { padding: 28px 0 8px; }
.intro__label { display: flex; align-items: center; gap: 4px; color: var(--green-dark); font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.intro__label .ico { width: 16px; height: 16px; }
.intro__title { font-size: clamp(32px, 9vw, 42px); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; margin-bottom: 10px; }

.sechead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 28px 0 14px; }
.sechead h2 { font-size: 22px; margin: 0; }
.sechead__count { font-size: 13px; color: var(--muted); font-weight: 600; }

.ocards { display: grid; gap: 14px; }
.ocard {
  display: flex; flex-direction: column; width: 100%; overflow: hidden; padding: 0; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  font: inherit; color: inherit; cursor: pointer;
  transition: box-shadow .15s ease, transform .1s ease;
}
.ocard:hover { box-shadow: var(--shadow); }
.ocard:active { transform: scale(.99); }
.ocard > span { display: block; }
.ocard__img { position: relative; height: 132px; display: grid !important; place-items: center; }
.ocard__img--bakery { background: linear-gradient(135deg, #fff4e8, #ffe2c4); }
.ocard__img--meals { background: linear-gradient(135deg, #eef3ea, #d6e3d2); }
.ocard__img--sweets { background: linear-gradient(135deg, #fdf0f4, #f8d9e5); }
.ocard__img--mixed { background: linear-gradient(135deg, #f4eefb, #e4d8f6); }
.ocard__emoji { font-size: 60px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .12)); }
.ocard__badge, .ocard__left {
  position: absolute; top: 12px; padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 800;
}
.ocard__badge { left: 12px; background: var(--orange); color: #fff; }
.ocard__left { right: 12px; background: #fff; color: var(--olive); }
.ocard__left.is-hot { background: var(--green-soft); color: var(--green-dark); }
.ocard__body { display: grid !important; gap: 4px; padding: 14px 16px 16px; }
.ocard__body > span { display: flex; align-items: center; gap: 6px; }
.ocard__logo { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); font-size: 14px; flex-shrink: 0; }
.ocard__vname { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ocard__rating { display: inline-flex; align-items: center; gap: 2px; margin-left: auto; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.ocard__rating .ico { width: 14px; height: 14px; fill: #f5b301; stroke: #f5b301; }
.ocard__title { font-size: 17px; font-weight: 800; letter-spacing: -.01em; margin-top: 4px; }
.ocard__meta { font-size: 13px; color: var(--muted); }
.ocard__meta .ico { width: 15px; height: 15px; }
.ocard__price { margin-top: 6px; font-size: 20px; font-weight: 800; color: var(--green); align-items: baseline !important; }
.ocard__price s { font-size: 14px; font-weight: 500; color: var(--muted); }
.ocard.is-soldout { opacity: .5; }

/* Время выдачи на фото пакета */
.ocard__when {
  position: absolute; left: 12px; bottom: 12px; z-index: 1;
  display: inline-flex !important; align-items: center; gap: 5px; padding: 5px 10px;
  border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--ink);
  font-size: 12.5px; font-weight: 800; box-shadow: 0 2px 8px rgba(27, 59, 43, .1);
}
.ocard__when .ico { width: 14px; height: 14px; color: var(--green); }
.ocard__when.is-now { background: var(--ink); color: #fff; }
.ocard__when.is-ended { background: var(--line); color: var(--muted); box-shadow: none; }
.ocard__when i, .slot__dot, .today__dot {
  width: 8px; height: 8px; border-radius: 50%; background: #7fd07a; flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(127, 208, 122, .6); animation: live-dot 1.8s ease-out infinite;
}
@keyframes live-dot { to { box-shadow: 0 0 0 7px rgba(127, 208, 122, 0); } }
@media (prefers-reduced-motion: reduce) { .ocard__when i, .slot__dot, .today__dot { animation: none; } }

/* Заголовки ленты по времени */
.slot { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 8px; }
.slot:first-child { margin-top: 0; }
.slot h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 17px; letter-spacing: -.01em; }
.slot span { font-size: 13px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.slot.is-ended h3 { color: var(--muted); }
.slot__dot { background: var(--green); box-shadow: 0 0 0 0 rgba(230, 92, 58, .5); animation-name: live-dot-red; }
@keyframes live-dot-red { to { box-shadow: 0 0 0 7px rgba(230, 92, 58, 0); } }

/* Крафт-пакет вместо эмодзи */
.bagart { position: relative; display: block; width: 112px; height: 112px; }
.bagart svg { width: 100%; height: 100%; display: block; }
.bagart__sticker {
  position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--green); color: #fff; box-shadow: 0 0 0 3px #f4cf9e, 0 0 0 5px #1b3b2b;
}
.bagart__sticker .ico { width: 22px; height: 22px; }
.sheet__hero .bagart { width: 100px; height: 100px; }

/* Плашка «сегодня» — только на телефоне */
.today {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 8px;
  margin-top: 12px; padding: 14px 0 14px 16px; border-radius: 20px; background: var(--sand);
}
.today__text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.today__label { display: flex; align-items: center; gap: 4px; color: var(--green-dark); font-size: 12px; font-weight: 700; }
.today__label .ico { width: 14px; height: 14px; }
.today__title { font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.today__sub { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; line-height: 1.3; }
.today__dot { background: var(--green); animation-name: live-dot-red; }
.today__art { width: 96px; height: 80px; flex-shrink: 0; align-self: flex-end; margin: 0 0 -14px; }

/* Сердце «в избранное» */
.fav {
  display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 50%; background: #fff; color: var(--muted); cursor: pointer;
  box-shadow: 0 2px 8px rgba(27, 59, 43, .12); transition: color .15s ease, transform .15s ease;
}
.fav .ico { width: 18px; height: 18px; }
.fav:hover { color: var(--green); }
.fav:active { transform: scale(.88); }
.fav:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.fav.is-on { color: var(--green); }
.fav.is-on .ico { fill: currentColor; }
.ocard__img .fav { position: absolute; right: 12px; bottom: 12px; z-index: 1; }
.vitem .fav { box-shadow: none; background: var(--bg); }
.empty .ico { width: 16px; height: 16px; vertical-align: -3px; color: var(--green); }
.ocard.is-soldout .ocard__img { filter: grayscale(1); }

.partners-row { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
.partner {
  flex-shrink: 0; display: flex; flex-direction: column; gap: 3px; width: 150px; padding: 14px;
  text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  font: inherit; color: inherit; cursor: pointer;
}
.partner:hover { border-color: var(--ink); }
.partner__logo { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); font-size: 22px; margin-bottom: 6px; }
.partner__name { font-weight: 700; font-size: 14px; line-height: 1.25; }
.partner__meta { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.partner__meta .ico { width: 13px; height: 13px; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.fact { padding: 16px; border: 1px solid var(--line); border-radius: 18px; }
.fact b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.fact span { font-size: 12px; color: var(--muted); }
/* Для заведений */
.biz {
  position: relative; overflow: hidden; display: grid; margin-top: 28px;
  padding: 26px 22px 150px; border-radius: 26px; background: var(--ink); color: #fff;
}
.biz__label { color: var(--pista); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.biz__title { color: #fff; font-size: 26px; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 10px; }
.biz__sub { color: rgba(255, 255, 255, .78); font-size: 15px; margin-bottom: 18px; }
.biz__btn { justify-self: start; background: var(--green); color: #fff; }
.biz__btn:hover { background: var(--green-dark); }
.biz__art { position: absolute; right: -10px; bottom: -14px; width: 210px; height: auto; }

/* Вопросы и ответы */
.faq { margin-top: 36px; scroll-margin-top: 90px; }
.faq__head h2 { font-size: 22px; margin: 0 0 4px; }
.faq__head p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.faq__list { display: grid; gap: 8px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.faq details[open] { border-color: var(--pista-dark); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 16px; font-weight: 700; font-size: 15px; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; display: grid; place-items: center; width: 26px; height: 26px; flex-shrink: 0;
  border-radius: 50%; background: var(--pista); font-size: 18px; font-weight: 600; line-height: 1;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 16px 16px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.faq details a { color: var(--green-dark); font-weight: 700; }

/* Подвал */
.appfoot {
  display: grid; gap: 14px; margin-top: 40px; padding: 22px 20px;
  border-radius: 22px; background: var(--sand);
}
.appfoot__brand { display: flex; align-items: center; gap: 12px; }
.appfoot__brand div { display: grid; }
.appfoot__brand b { font-size: 17px; }
.appfoot__brand span { color: var(--muted); font-size: 13px; }
.appfoot__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.appfoot__links a { color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.appfoot__links a:hover { color: var(--green-dark); text-decoration: underline; }
.appfoot__copy { color: var(--muted); font-size: 12px; }

/* Кнопка «Сообщить в Telegram» */
.tgbtn {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 16px; background: #fff;
  color: var(--ink); text-decoration: none; transition: border-color .15s ease;
}
.tgbtn:hover { border-color: #2aabee; }
.tgbtn__ico { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: #2aabee; color: #fff; }
.tgbtn__ico .ico { width: 21px; height: 21px; }
.tgbtn__text { display: grid; gap: 1px; min-width: 0; }
.tgbtn__text b { font-size: 14px; line-height: 1.3; }
.tgbtn__text small { font-size: 12px; color: var(--muted); line-height: 1.3; }
.tgbtn--wide { margin-bottom: 12px; background: #eef8fd; border-color: #cfe9f7; }
#map-card .tgbtn { margin-top: 10px; }
.today__tg { display: inline-flex; align-items: center; gap: 5px; color: #1d8fcf; font-weight: 700; text-decoration: none; }
.today__tg .ico { width: 15px; height: 15px; }

.appbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
.appbar__city { font-size: 14px; font-weight: 600; color: var(--muted); }
.apptitle { font-size: 26px; line-height: 1.2; letter-spacing: -.01em; margin: 6px 0 4px; }
.appsub { margin-bottom: 16px; font-size: 15px; color: var(--muted); }
.app .chips.vchips { flex-wrap: wrap; overflow: visible; }
.vchips__sep { width: 1px; align-self: stretch; margin: 4px 2px; background: var(--line); }
.chip.chip--line { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.chip.chip--line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip.chip--line.is-active { background: var(--ink); color: #fff; box-shadow: none; }
.chip.chip--line small { margin-left: 2px; font-size: 12px; font-weight: 800; opacity: .55; }
.vchips .chip small { margin-left: 2px; font-size: 12px; font-weight: 800; opacity: .55; }
.sechead__link { padding: 0; border: 0; background: none; color: var(--green-dark); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.sechead__link:hover { text-decoration: underline; }
.app .chips { flex-wrap: nowrap; overflow-x: auto; margin-bottom: 16px; padding-bottom: 2px; scrollbar-width: none; }
.app .chip { white-space: nowrap; }

.offer {
  display: flex; align-items: center; gap: 12px; width: 100%;
  margin-bottom: 10px; padding: 12px; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  font: inherit; color: inherit; cursor: pointer;
  transition: box-shadow .15s ease, transform .1s ease;
}
.offer:hover { box-shadow: var(--shadow); }
.offer:active { transform: scale(.99); }
.offer.is-soldout { opacity: .55; }
.offer__emoji {
  flex-shrink: 0; display: grid; place-items: center; width: 64px; height: 64px;
  border-radius: 14px; font-size: 34px;
  background: linear-gradient(135deg, var(--orange-soft), var(--green-soft));
}
.offer__body { flex: 1; min-width: 0; }
.offer__body > span, .offer__side > span { display: block; }
.offer__name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.offer__meta { font-size: 13px; color: var(--muted); }
.offer__side { flex-shrink: 0; text-align: right; }
.offer__price { font-size: 17px; font-weight: 800; color: var(--green-dark); white-space: nowrap; }
.offer__old { font-size: 12px; color: var(--muted); text-decoration: line-through; margin-bottom: 4px; }

.pill {
  display: inline-block; padding: 3px 8px; border-radius: 999px;
  background: var(--green-soft); color: var(--green-dark);
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.pill--warn { background: var(--orange-soft); color: var(--green-dark); }
.pill--muted { background: var(--line); color: var(--muted); }
.pill--done { background: var(--olive-soft); color: var(--olive); }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; justify-content: center; gap: 8px;
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 251, 245, .96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.tabbar button {
  position: relative; flex: 1; max-width: 200px;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px; border: 0; border-radius: 12px; background: none;
  color: var(--muted); cursor: pointer;
}
.tabbar button .ico { width: 22px; height: 22px; }
.tabbar button span { font-size: 12px; font-weight: 700; }
.tabbar { gap: 2px; padding-inline: 8px; }
.tabbar button.is-active { color: var(--ink); }
.tabbar button.is-active .ico { color: var(--green); }
.tabbar__badge {
  position: absolute; top: 2px; left: calc(50% + 8px);
  display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--orange); color: #fff; font-size: 11px;
}

/* Нижняя шторка / окно */
.sheet {
  width: min(560px, 100%); max-width: 100%; max-height: 92vh; margin: auto auto 0;
  padding: 0; border: 0; border-radius: 24px 24px 0 0; background: #fff; overflow: auto;
}
.sheet--center { margin: auto; border-radius: 24px; width: min(480px, calc(100% - 24px)); }
@media (min-width: 600px) { .sheet { margin: auto; border-radius: 24px; } }
.sheet::backdrop { background: rgba(27, 59, 43, .5); }
.sheet__inner { position: relative; display: grid; gap: 14px; padding: 20px 20px 24px; }
.sheet__close {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: var(--bg); color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer;
}
.sheet__hero {
  display: grid; place-items: center; height: 110px; border-radius: 16px; font-size: 60px;
  background: linear-gradient(135deg, var(--orange-soft), var(--green-soft));
}
.sheet h2 { font-size: 22px; margin: 0; padding-right: 40px; }
.sheet .form { padding: 0; box-shadow: none; }

.kv { display: grid; gap: 10px; padding: 14px; border-radius: 14px; background: var(--bg); }
.kv div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.kv span { color: var(--muted); flex-shrink: 0; }
.kv b { font-weight: 600; text-align: right; }
.bigprice { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; font-size: 28px; font-weight: 800; color: var(--green); }
.bigprice s { font-size: 16px; font-weight: 400; color: var(--muted); }
.hint { font-size: 13px; color: var(--muted); }
.code {
  padding: 16px; border: 2px dashed var(--green); border-radius: 16px;
  background: var(--green-soft); color: var(--green-dark);
  font-size: 44px; font-weight: 800; letter-spacing: .08em; text-align: center;
}
.center { text-align: center; }
.big-emoji { font-size: 48px; line-height: 1.1; }
.empty { padding: 40px 16px; text-align: center; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: 16px; }

.ticket { display: grid; gap: 6px; margin-bottom: 10px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.ticket__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ticket__code { font-size: 20px; font-weight: 800; letter-spacing: .05em; }
.ticket.is-past { opacity: .6; }

.btn--block { width: 100%; }
.btn--tiny { padding: 7px 12px; font-size: 13px; }
.btn--danger { background: none; color: #b3402f; box-shadow: inset 0 0 0 1px #e3b4ac; }
.btn--danger:hover { background: #fdf1ef; }
.btn--light { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--light:hover { background: var(--line); }
.error-text { color: #b3402f; font-size: 14px; }
.error-text:empty { display: none; }

.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 14px; transform: translateX(-50%); opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.toast.is-on { opacity: 1; }

/* Панель заведения */
.panel { width: min(920px, 100%); margin-inline: auto; padding: 16px 16px 60px; }
.login { width: min(440px, 100%); margin: 32px auto; padding: 0 16px 40px; display: grid; gap: 16px; }
.login h1 { font-size: 28px; margin: 0; }
.venuebar { display: flex; align-items: center; gap: 12px; margin: 8px 0 16px; }
.venuebar__emoji {
  flex-shrink: 0; display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 14px; font-size: 28px; background: var(--orange-soft);
}
.venuebar h1 { font-size: 22px; line-height: 1.2; margin: 0; }
.venuebar p { font-size: 14px; color: var(--muted); }
.venuebar .btn { margin-left: auto; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.stat { padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.stat b { display: block; font-size: 24px; line-height: 1.2; }
.stat span { font-size: 13px; color: var(--muted); }
.stat small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }

.box { margin-bottom: 16px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.box__head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
.box__head h2 { font-size: 20px; margin: 0; }
.box > p.hint { margin-bottom: 10px; }

.lookup { display: flex; gap: 8px; }
.lookup input {
  flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); font: inherit; font-size: 22px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.lookup input:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: transparent; }
.lookup-result { margin-top: 12px; }
.lookup-result:empty { display: none; }
.result { display: grid; gap: 10px; padding: 16px; border-radius: 14px; background: var(--bg); }
.result--ok { background: var(--green-soft); }
.result--bad { background: #fdf1ef; }

.rowitem { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.rowitem:first-child { border-top: 0; }
.rowitem__main { min-width: 0; }
.rowitem__title { font-weight: 600; }
.rowitem__meta { font-size: 13px; color: var(--muted); }
.rowitem__actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; font-size: 20px; cursor: pointer;
}
.field .stepper input { width: 80px; text-align: center; }

@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .rowitem { flex-wrap: wrap; }
}

/* Страница для заведений */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.calc .field { margin-bottom: 18px; }
.calc .field label { display: flex; justify-content: space-between; }
.calc .field label output { color: var(--green); font-weight: 800; }
.calc input[type="range"] { width: 100%; accent-color: var(--green); padding: 0; background: none; border: 0; }
.calc__result { display: grid; gap: 12px; align-content: start; padding: 22px; border-radius: 16px; background: var(--green-soft); }
.calc__line { display: flex; justify-content: space-between; gap: 12px; }
.calc__line span { color: var(--muted); }
.calc__total { padding-top: 12px; border-top: 1px solid rgba(173, 87, 51, .2); font-size: 20px; }
.calc__total b { font-size: 30px; color: var(--green); }
.terms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.term { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.term p { color: var(--muted); }
@media (max-width: 760px) {
  .calc, .terms { grid-template-columns: 1fr; }
}

/* ===== Рабочий режим (сервер) ===== */
.is-live .demobar { display: none; }
.is-live .topbar { top: 0; }
.result--warn { background: #fff4e5; margin-bottom: 16px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--muted, #5b6660); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--ink); }
.consent a { color: inherit; }
.btn:disabled { opacity: .55; cursor: default; }

/* ===== Фото заведений и пакетов ===== */
.ocard__photo, .sheet__hero img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.ocard__img { overflow: hidden; }
.ocard__badge, .ocard__left { z-index: 1; }
.sheet__hero { position: relative; overflow: hidden; height: 180px; }
.ocard__logo, .partner__logo { overflow: hidden; }
.ocard__logo img, .partner__logo img { width: 100%; height: 100%; object-fit: cover; }

.venuebar__photo { position: relative; cursor: pointer; overflow: visible; }
.venuebar__photo #vb-pic { display: grid; place-items: center; width: 100%; height: 100%; border-radius: inherit; overflow: hidden; }
.venuebar__photo img { width: 100%; height: 100%; object-fit: cover; }
.venuebar__cam {
  position: absolute; right: -6px; bottom: -6px; display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%; background: #fff; font-size: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
}
.result--tip { background: var(--green-soft); margin-bottom: 16px; }
.photo-tip__btn { justify-self: start; }

.field__label { font-weight: 600; font-size: 14px; }
.photo-field { display: flex; gap: 12px; align-items: center; }
.photo-field__pic {
  flex-shrink: 0; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 14px;
  background: var(--bg); font-size: 26px; overflow: hidden;
}
.photo-field__pic img { width: 100%; height: 100%; object-fit: cover; }
.photo-field__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.photo-field__actions .hint { flex-basis: 100%; margin: 0; font-size: 12px; }
.photo-field__actions label.btn { font-weight: 700; }

/* Кнопка WhatsApp на плашке «ожидает подтверждения» */
.btn--wa { justify-self: start; background: #25d366; color: #fff; }
.btn--wa:hover { background: #1ebe5b; }

/* ===== Стиль «Каспий»: баннер с морем на закате ===== */
.sea {
  position: relative; overflow: hidden; margin-top: 14px;
  border-radius: 26px; background: var(--sand);
}
.sea__text { position: relative; z-index: 1; padding: 22px 22px 0; }
.sea__label { display: flex; align-items: center; gap: 4px; color: var(--green-dark); font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.sea__label .ico { width: 16px; height: 16px; }
.sea__title { font-size: clamp(28px, 8vw, 38px); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; margin-bottom: 8px; }
.sea__sub { font-size: 14px; color: var(--muted); max-width: 300px; }
.sea__art { display: block; width: 100%; height: 110px; margin-top: -18px; }
.cats { margin-top: 18px; }

/* Список заведений */
.vlist { display: grid; gap: 8px; }
.vitem {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px;
  text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  font: inherit; color: inherit; cursor: pointer;
}
.vitem:hover { border-color: var(--green); }
.vitem__logo { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--bg); font-size: 24px; flex-shrink: 0; overflow: hidden; }
.vitem__logo img { width: 100%; height: 100%; object-fit: cover; }
.vitem__body { flex: 1; min-width: 0; display: grid; gap: 1px; }
.vitem__name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vitem__meta { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vitem__side { flex-shrink: 0; display: grid; justify-items: end; line-height: 1.15; }
.vitem__side b { font-size: 20px; color: var(--green); }
.vitem__side small { font-size: 11px; color: var(--muted); }
.vitem.is-empty .vitem__side b { color: var(--muted); }

/* Карта */
.mapbox { position: relative; margin-bottom: 8px; }
.map { height: min(58vh, 460px); min-height: 300px; border-radius: 22px; overflow: hidden; background: #e9f0da; border: 1px solid var(--line); z-index: 0; }
.map__me {
  position: absolute; right: 12px; bottom: 12px; z-index: 500;
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px;
  border: 0; border-radius: 999px; background: #fff; color: var(--ink);
  font-size: 13px; font-weight: 700; box-shadow: 0 2px 10px rgba(27, 59, 43, .2); cursor: pointer;
}
.map__me .ico { width: 16px; height: 16px; color: var(--green); }
.pin {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg); background: var(--green); border: 3px solid #fff;
  box-shadow: 0 3px 10px rgba(27, 59, 43, .3);
}
.pin > span { transform: rotate(45deg); color: #fff; font-weight: 800; font-size: 15px; }
.pin.is-empty { background: #9fb0b5; }
.pin.is-approx { border-style: dashed; }
.pin.is-active { background: var(--orange); }
.pin.is-active > span { color: #fff; }
.me-dot { width: 16px; height: 16px; border-radius: 50%; background: #2f7bf6; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(47, 123, 246, .2); }
#map-card { display: grid; gap: 12px; margin-top: 12px; }
#map-card .vitem { cursor: default; }
.leaflet-container { font: inherit; }

/* Мой вклад */
.impact-hero {
  position: relative; overflow: hidden; padding: 22px; border-radius: 26px;
  background: var(--ink); color: #fff;
}
.impact-hero__num { font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.impact-hero__label { margin-top: 6px; font-size: 15px; color: rgba(255, 255, 255, .8); }
.impact-hero__wave { position: absolute; right: -10px; bottom: -6px; width: 180px; opacity: .9; }
.impact-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.impact-stat { padding: 14px 12px; border-radius: 18px; background: var(--sand); }
.impact-stat b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.impact-stat span { font-size: 12px; color: var(--muted); }
.level { margin-top: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.level__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 10px; }
.level__name { font-weight: 800; }
.level__next { font-size: 13px; color: var(--muted); }
.level__bar { height: 10px; margin-top: 10px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.level__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--olive), var(--pista)); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.badge-item { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--olive-soft); color: var(--olive); font-size: 13px; font-weight: 700; }
.badge-item.is-locked { background: var(--bg); color: var(--muted); }
.impact-note { margin-top: 14px; font-size: 12px; color: var(--muted); }
@media (max-width: 340px) { .impact-stats { grid-template-columns: 1fr 1fr; } }
.impact-stat b { font-size: clamp(17px, 5vw, 22px); }

/* Панель: выбор точки на карте */
.map--pick { height: 340px; }
.result--tip .map-tip__btn { justify-self: start; }
.vb-maplink { margin-top: 2px; padding: 0; border: 0; background: none; color: var(--green-dark); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.vitem__meta .ico { width: 13px; height: 13px; vertical-align: -2px; margin-right: 3px; }

/* ===== Покупатель на компьютере (широкий экран) ===== */
.topnav { display: none; }
.sea__art--wide { display: none; }
.sea__how, .ocard-more, .vitem-more, .slot-more { display: none; }
/* Телефон: все категории и фильтры видны сразу, без прокрутки вбок */
@media (max-width: 959px) {
  .cats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; overflow: visible; }
  .cat { width: auto; min-width: 0; }
  .cat__icon { width: clamp(46px, 14vw, 58px); height: clamp(46px, 14vw, 58px); }
  .cat__label { font-size: 11.5px; line-height: 1.2; white-space: normal; text-align: center; }
  .pills { flex-wrap: wrap; gap: 6px; overflow: visible; }
  .buyer .sea { display: none; }
  .buyer .cats { margin-top: 12px; }
  .pills .chip { gap: 5px; padding: 7px 11px; font-size: 13px; }
  .pills .chip svg { width: 15px; height: 15px; }
}

@media (min-width: 960px) {
  .today { display: none; }
  .buyer .slot { margin-top: 14px; }
  .buyer .slot:first-child { margin-top: 0; }
  .buyer .slot h3 { font-size: 20px; }
  .buyer .appwrap { width: min(1200px, 100%); padding: 0 28px 64px; }
  .buyer .topbar .appwrap.topbar__inner { padding: 12px 28px; gap: 20px; }
  .buyer .topbar .logo { font-size: 20px; }
  .buyer .topbar .logo__mark { width: 36px; height: 36px; }
  .buyer .search { flex: 0 1 400px; }

  /* Разделы — в шапке, нижняя панель не нужна */
  .topnav { display: flex; gap: 4px; margin-left: auto; }
  .topnav button {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
    border: 0; border-radius: 999px; background: none; color: var(--muted);
    font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap;
  }
  .topnav button .ico { width: 20px; height: 20px; }
  .topnav button:hover { background: var(--bg); color: var(--ink); }
  .topnav button.is-active { background: var(--green-soft); color: var(--green-dark); }
  .topnav .tabbar__badge { position: static; margin-left: 2px; }
  .buyer .tabbar { display: none; }
  .buyer .toast { bottom: 32px; }

  /* Баннер: текст сверху, широкое море с закатом снизу */
  .sea { margin-top: 24px; }
  .sea__text { padding: 40px 48px 156px; }
  .sea__label { font-size: 14px; }
  .sea__title { font-size: 52px; }
  .sea__sub { max-width: 460px; font-size: 16px; }
  .sea__art { display: none; }
  .sea__art--wide { display: block; position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 140px; margin: 0; }

  /* Справа в баннере — «Как это работает» */
  .sea__text { max-width: 60%; }
  .sea__how {
    display: grid; gap: 10px; position: absolute; z-index: 1; top: 36px; right: 40px;
    width: min(340px, 34%); margin: 0; padding: 0; list-style: none;
  }
  .sea__how li {
    display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px;
    background: rgba(255, 255, 255, .72); backdrop-filter: blur(4px);
  }
  .sea__how b {
    display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0;
    border-radius: 50%; background: var(--ink); color: #fff; font-size: 15px;
  }
  .sea__how span { display: grid; font-size: 13px; color: var(--muted); line-height: 1.35; }
  .sea__how strong { font-size: 15px; color: var(--ink); }

  /* Категории — плитки на всю ширину со счётчиком пакетов, фильтры — колонкой справа */
  .buyer .filters { display: grid; gap: 12px; margin-top: 22px; }
  .buyer .cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; overflow: visible; }
  .buyer .cat {
    width: auto; min-width: 0; justify-content: center; gap: 10px; padding: 16px 8px 14px;
    background: #fff; border: 1px solid var(--line); border-radius: 20px;
    transition: border-color .15s ease, box-shadow .15s ease;
  }
  .buyer .cat:hover { border-color: var(--pista-dark); }
  .buyer .cat.is-active { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
  .buyer .cat__icon { width: 60px; height: 60px; }
  .buyer .cat__text { display: grid; justify-items: center; gap: 2px; min-width: 0; }
  .buyer .cat__label { font-size: 15px; font-weight: 700; }
  .buyer .cat__count { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; }
  .buyer .pills { flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; overflow: visible; }

  .buyer .sechead { margin-top: 36px; }
  .buyer .sechead h2 { font-size: 26px; }

  /* Пакеты — в три колонки, заведения — в три колонки */
  .buyer .ocards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .buyer .ocard__img { height: 150px; }
  .buyer .ocards > .empty { grid-column: 1 / -1; }
  .buyer .ocard-more {
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px;
    grid-column: span var(--span, 1); min-height: 260px; padding: 28px 32px;
    border: 1.5px dashed var(--pista-dark); border-radius: 20px; background: var(--sand);
  }
  .buyer .ocard-more b { display: block; font-size: 20px; margin-bottom: 6px; }
  .buyer .slot-more {
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px;
    grid-column: span var(--span, 1); padding: 24px 28px; text-align: left;
    border: 1.5px dashed var(--line); border-radius: 20px; background: transparent;
    font: inherit; color: var(--muted); font-size: 14px; cursor: pointer; transition: border-color .15s ease;
  }
  .buyer .slot-more:hover { border-color: var(--pista-dark); }
  .buyer .slot-more b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 4px; }
  .buyer .slot-more__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--pista); color: var(--ink); }
  .buyer .slot-more__ico .ico { width: 22px; height: 22px; }
  .buyer .ocard-more p { max-width: 420px; color: var(--muted); font-size: 15px; }
  .buyer .ocard-more__ico {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
    background: var(--pista); color: var(--ink);
  }
  .buyer .ocard-more__ico .ico { width: 24px; height: 24px; }
  .buyer .ocard-more .btn .ico { width: 18px; height: 18px; }
  .buyer .vlist { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .buyer .vlist > .empty { grid-column: 1 / -1; }
  .buyer .vitem-more {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; grid-column: span var(--span, 1);
    padding: 14px 18px; border: 1.5px dashed var(--pista-dark); border-radius: 18px;
    background: var(--sand); color: var(--muted); font-size: 13px; text-decoration: none;
    transition: border-color .15s ease;
  }
  .buyer .vitem-more:hover { border-color: var(--ink); }
  .buyer .vitem-more b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
  .buyer .vitem-more__ico {
    display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0;
    border-radius: 14px; background: var(--pista); color: var(--ink);
  }
  .buyer .vitem-more__ico .ico { width: 24px; height: 24px; }
  .buyer .vitem-more > span:nth-child(2) { flex: 1 1 180px; min-width: 0; }
  .buyer .vitem-more__go { margin-left: auto; color: var(--green-dark); font-weight: 700; font-size: 14px; white-space: nowrap; }
  .buyer .facts { grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }

  /* Для заведений: текст слева, рисунок справа */
  .buyer .biz { margin-top: 36px; padding: 44px 48px; grid-template-columns: minmax(0, 620px); }
  .buyer .biz__title { font-size: 36px; }
  .buyer .biz__sub { font-size: 16px; }
  .buyer .biz__art { right: 6%; top: 50%; bottom: auto; width: 280px; transform: translateY(-50%); }

  /* Вопросы: заголовок слева, ответы справа в две колонки */
  .buyer .faq { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; margin-top: 48px; }
  .buyer .faq__head h2 { font-size: 26px; }
  .buyer .faq__list { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 10px; }

  /* Подвал строкой */
  .buyer .appfoot { grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; margin-top: 56px; padding: 24px 32px; }
  .buyer .appfoot__links { justify-content: center; gap: 8px 28px; }

  .buyer .apptitle { font-size: 34px; margin-top: 28px; }

  /* Карта слева, карточка заведения справа */
  .buyer [data-view="map"]:not([hidden]) {
    display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(320px, 1fr);
    column-gap: 24px; align-items: start;
  }
  .buyer [data-view="map"] > .apptitle,
  .buyer [data-view="map"] > .appsub { grid-column: 1 / -1; }
  .buyer [data-view="map"] .mapbox { grid-column: 1; grid-row: 3; }
  .buyer [data-view="map"] #map-note { grid-column: 1; grid-row: 4; }
  .buyer [data-view="map"] .map { height: calc(100vh - 260px); min-height: 460px; max-height: 760px; }
  .buyer #map-card {
    grid-column: 2; grid-row: 3 / span 2; margin-top: 0;
    max-height: calc(100vh - 230px); overflow-y: auto; padding-right: 4px;
  }
  .buyer #map-card:empty {
    display: grid; place-items: center; min-height: 240px; padding: 24px;
    border: 1px dashed var(--line); border-radius: 22px; color: var(--muted); text-align: center;
  }
  .buyer #map-card:empty::before { content: "Выберите заведение на карте — здесь появятся его пакеты"; }

  /* Брони — в две колонки */
  .buyer #my-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .buyer #my-list .ticket { margin: 0; }
  .buyer #my-list > .empty { grid-column: 1 / -1; }

  /* Вклад: большая цифра слева, цифры и значки справа */
  .buyer #impact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 0 20px; align-items: start; }
  .buyer .impact-hero { grid-row: span 3; min-height: 260px; padding: 32px; }
  .buyer .impact-hero__num { font-size: 96px; }
  .buyer .impact-hero__wave { width: 260px; }
  .buyer .impact-stats { margin-top: 0; }
  .buyer #impact > .btn, .buyer .impact-note { grid-column: 1 / -1; }
}
/* Широкий экран (от 1400px): контент шире, пакеты и заведения — в 4 колонки, чтобы по бокам не было пустоты */
@media (min-width: 1400px) {
  .buyer .appwrap { width: min(1480px, 100%); padding-inline: 40px; }
  .buyer .topbar .appwrap.topbar__inner { padding-inline: 40px; }
  .buyer .search { flex-basis: 460px; }
  .sea__text { padding: 48px 56px 168px; }
  .sea__title { font-size: 60px; }
  .sea__sub { font-size: 17px; }
  .sea__how { top: 44px; right: 48px; width: min(380px, 32%); }
  .buyer .ocards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .buyer .vlist { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
}
@media (min-width: 960px) and (max-width: 1100px) {
  .topnav button { padding: 10px 12px; }
  .sea__title { font-size: 44px; }
  .sea__how { right: 28px; }
  .sea__how span { font-size: 12px; }
  .buyer .cats { gap: 8px; }
  .buyer .biz__art { width: 220px; right: 3%; }
  .buyer .faq { grid-template-columns: 1fr; gap: 4px; }
  .buyer .cat__label { font-size: 13px; }
}
