/* Чебоко × Yankee Sierra — витрина стенда */
:root {
  --orange: #ff9015;
  --orange-2: #ff6a1f;
  --orange-soft: #fff1e0;
  --ink: #241a12;          /* обжаренное зерно */
  --ink-2: #5e5048;
  --line: #ece4dc;
  --bg: #ffffff;
  --bg-2: #f7f4f1;
  --sky: #2d5bb5;          /* синий ложемент Panama Box */
  --ok: #1e8e5a;
  --err: #c8341b;
  --r-lg: 22px; --r-md: 14px; --r-sm: 10px;
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --grad: linear-gradient(120deg, #ffb000 0%, #ff9015 45%, #ff5e2b 100%);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 500 16px/1.55 var(--body); color: var(--ink); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:hover { color: var(--orange-2); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 .5em; }
h2 { font-size: clamp(22px, 3vw, 30px); }
p { margin: 0 0 .8em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--ink-2); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 13px 22px; font-weight: 800; font-size: 15px; text-decoration: none; transition: transform .12s, background .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -10px #ff6a1f; }
.btn--primary:hover { color: #fff; box-shadow: 0 12px 26px -10px #ff6a1f; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { color: #fff; background: #3a2b20; }
.btn--ghost { background: transparent; border: 2px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--orange); color: var(--ink); }
.btn--wide { width: 100%; }
.btn--add { background: var(--orange-soft); color: var(--orange-2); padding: 10px 16px; font-size: 14px; }
.btn--add:hover { background: var(--orange); color: #fff; }
.btn--add.is-in { background: var(--ink); color: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.linkbtn { background: none; border: 0; padding: 0; text-decoration: underline; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 16px; min-width: 0; }
.logo__plane { width: 30px; height: 30px; color: #fff; background: var(--grad); border-radius: 50%; padding: 5px; flex: none; }
.logo__txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top__gate { margin-left: auto; font-weight: 700; font-size: 14px; color: var(--ink-2); padding: 6px 12px; border: 1.5px dashed var(--line); border-radius: 999px; white-space: nowrap; }
.cartbtn { position: relative; display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 800; font-size: 14px; }
.cartbtn:hover { color: #fff; background: #3a2b20; }
.cartbtn svg { width: 20px; height: 20px; }
.cartbtn__count { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--orange); color: #fff; font-size: 12px; display: grid; place-items: center; border: 2px solid #fff; }
.cartbtn.bump { animation: bump .4s; }
@keyframes bump { 40% { transform: scale(1.12); } }

/* ---------- hero: boarding pass ---------- */
.hero { padding: 28px 0 8px; }
.pass { display: grid; grid-template-columns: 1fr 300px; border-radius: var(--r-lg); overflow: hidden; background: var(--grad); color: #fff; position: relative; box-shadow: 0 30px 60px -40px #ff5e2b; }
.pass__main { padding: clamp(24px, 4vw, 48px); }
.pass__lbl { font-weight: 800; font-size: 14px; opacity: .85; margin-bottom: 14px; }
.pass__h { font-size: clamp(30px, 4.6vw, 58px); font-weight: 800; max-width: 15ch; margin-bottom: 18px; }
.pass__lead { font-size: 17px; max-width: 46ch; opacity: .95; margin-bottom: 22px; }
.pass__route { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.pass__route span { display: flex; flex-direction: column; font-size: 12px; font-weight: 700; opacity: .9; }
.pass__route b { font-family: var(--display); font-size: 26px; line-height: 1; }
.pass__route svg { width: min(160px, 30vw); height: 12px; color: #fff; }
.pass__stub { position: relative; background: #fff; color: var(--ink); padding: 32px 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.pass__stub::before { content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; border-left: 3px dotted #ffb46b; }
.pass::before, .pass::after { content: ""; position: absolute; right: 300px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); transform: translateX(50%); z-index: 2; }
.pass::before { top: -14px; } .pass::after { bottom: -14px; }
.pass__stub dl { margin: 0; display: grid; gap: 16px; }
.pass__stub dt { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.pass__stub dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.2; }
.pass__barcode { height: 54px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 9px, var(--ink) 9px 10px, transparent 10px 13px); border-radius: 4px; opacity: .9; }

.rafflebar { width: 100%; margin-top: 14px; display: flex; align-items: center; gap: 16px; text-align: left; padding: 10px 20px 10px 10px; border: 0; border-radius: var(--r-lg); background: var(--sky); color: #fff; }
.rafflebar img { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; flex: none; }
.rafflebar b { display: block; font-family: var(--display); font-size: 18px; margin-bottom: 2px; }
.rafflebar span { font-size: 15px; line-height: 1.35; }
.rafflebar:hover { background: #244c99; }

/* ---------- catalog ---------- */
.catalog { padding: 44px 0 24px; }
.catalog__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 22px; }
.catalog__head h2 { margin: 0 auto 0 0; }
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; max-width: 100%; }
.filters::-webkit-scrollbar { display: none; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.chip:hover { border-color: var(--orange); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.sort { font-size: 14px; font-weight: 700; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.sort select { font: inherit; color: var(--ink); border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 12px; background: #fff; }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; }
.card { display: flex; flex-direction: column; min-width: 0; }
.card[hidden] { display: none; }
.card__media { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: var(--bg-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__code { position: absolute; left: 10px; top: 10px; font-family: var(--display); font-weight: 700; font-size: 12px; padding: 4px 8px; border-radius: 6px; background: #fff; }
.card__score { position: absolute; right: 10px; top: 10px; font-weight: 800; font-size: 12px; padding: 4px 8px; border-radius: 6px; background: var(--ink); color: #fff; }
.card__ph { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--display); font-weight: 800; font-size: 44px; color: #fff; background: var(--grad); }
.card__ph--big { font-size: 90px; aspect-ratio: 1; border-radius: var(--r-lg); }
.card__body { display: flex; flex-direction: column; flex: 1; padding-top: 12px; }
.card__title { font-size: 16px; margin: 0 0 4px; }
.card__title a { text-decoration: none; }
.card__meta { font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.card__notes { font-size: 14px; line-height: 1.45; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__buy { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card__left { font-size: 12px; font-weight: 700; color: var(--orange-2); margin: 6px 0 0; }
.card--out .card__media img { filter: grayscale(1); opacity: .6; }
.price { font-family: var(--display); font-weight: 700; font-size: 18px; white-space: nowrap; }
.price--big { font-size: 32px; }
.soldout { font-size: 13px; font-weight: 800; color: var(--ink-2); }

.how { padding: 40px 0 60px; }
.how__in { background: var(--bg-2); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); }
.how ol { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how li { counter-increment: s; display: flex; flex-direction: column; gap: 4px; }
.how li::before { content: counter(s); font-family: var(--display); font-weight: 800; font-size: 20px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; margin-bottom: 8px; }
.how li span { color: var(--ink-2); }

/* ---------- product page ---------- */
.pp { padding: 20px 0 60px; }
.crumbs { font-size: 14px; color: var(--ink-2); margin-bottom: 18px; }
.crumbs a { font-weight: 700; }
.pp__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.gallery { position: sticky; top: 84px; }
.gallery__main { aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 10px; }
.gallery__thumbs button { width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; background: var(--bg-2); }
.gallery__thumbs button.is-on { border-color: var(--orange); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pp__code { font-family: var(--display); font-weight: 800; font-size: 14px; margin-bottom: 8px; }
.pp__code span { font-family: var(--body); font-weight: 700; color: var(--ink-2); margin-left: 6px; }
.pp__h { font-size: clamp(28px, 3.6vw, 44px); }
.pp__notes { font-size: 18px; color: var(--ink-2); max-width: 44ch; }
.pp__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 18px 0; margin-top: 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pp__buy > div:first-child { margin-right: auto; }
.pp__w { display: block; font-size: 13px; color: var(--ink-2); font-weight: 700; }
.pp__stock { font-size: 14px; font-weight: 700; color: var(--ok); margin: 10px 0 0; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 40px; height: 44px; border: 0; background: none; font-size: 20px; font-weight: 700; }
.qty button:hover { color: var(--orange-2); }
.qty input { width: 40px; border: 0; text-align: center; font: 800 16px var(--body); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.profile { margin-top: 26px; }
.profile h2 { font-size: 18px; }
.scale { display: grid; grid-template-columns: 110px 1fr 120px; align-items: center; gap: 12px; padding: 6px 0; font-size: 14px; }
.scale__l { font-weight: 700; }
.scale__bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.scale__bar i { height: 10px; border-radius: 5px; background: var(--line); }
.scale__bar i.on { background: var(--orange); }
.scale__v { color: var(--ink-2); font-size: 13px; }
.facts { margin: 24px 0 0; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.facts dt { color: var(--ink-2); font-weight: 600; }
.facts dd { margin: 0; font-weight: 700; }
.pp__desc { max-width: 70ch; margin-top: 48px; font-size: 17px; line-height: 1.65; }
.more { margin-top: 56px; }

/* ---------- cart ---------- */
.cart { padding: 28px 0 60px; }
.cart h1 { font-size: clamp(28px, 4vw, 40px); }
.cart__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img, .line .line__ph { width: 84px; height: 84px; border-radius: var(--r-sm); object-fit: cover; background: var(--grad); }
.line__t { font-weight: 800; text-decoration: none; display: block; }
.line__m { font-size: 13px; color: var(--ink-2); }
.line__warn { font-size: 13px; font-weight: 700; color: var(--err); }
.line__r { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.line__del { border: 0; background: none; font-size: 13px; color: var(--ink-2); text-decoration: underline; padding: 0; }
.line .qty button { width: 34px; height: 36px; font-size: 18px; }
.line .qty input { width: 32px; font-size: 15px; }
.empty { padding: 40px 0; }
.empty p { font-size: 18px; }
.progress { margin-top: 20px; padding: 18px 20px; border-radius: var(--r-md); background: #eef3fc; color: var(--sky); }
.progress.is-done { background: var(--sky); color: #fff; }
.progress__txt { font-weight: 700; margin-bottom: 10px; }
.progress__bar { height: 8px; border-radius: 4px; background: rgba(45, 91, 181, .18); overflow: hidden; }
.progress.is-done .progress__bar { background: rgba(255,255,255,.3); }
.progress__bar i { display: block; height: 100%; width: 0; background: currentColor; border-radius: 4px; transition: width .4s; }
.checkout { position: sticky; top: 84px; padding: 24px; border-radius: var(--r-lg); background: var(--bg-2); display: grid; gap: 14px; }
.checkout h2 { font-size: 22px; margin: 0; }
.pickup { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r-md); background: #fff; border: 1.5px dashed #ffc58a; }
.pickup svg { width: 26px; height: 26px; color: var(--orange-2); flex: none; }
.pickup b { display: block; }
.pickup span { font-size: 14px; color: var(--ink-2); }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 700; }
.field i { font-style: normal; font-weight: 500; color: var(--ink-2); }
.field input, .field textarea { font: 600 16px var(--body); color: var(--ink); width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.field input:focus, .field textarea:focus { border-color: var(--orange); outline: none; }
.field.is-err input { border-color: var(--err); }
.hint { font-size: 13px; color: var(--ink-2); margin: -6px 0 0; }
.pay { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.pay legend { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.pay__opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm); cursor: pointer; }
.pay__opt:has(input:checked) { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.pay__opt input { margin-top: 4px; accent-color: var(--orange-2); }
.pay__opt b { display: block; }
.pay__opt span { font-size: 14px; color: var(--ink-2); }
.pay__opt span b { color: var(--ink); font-size: 15px; }
.pay__opt.is-off { opacity: .55; cursor: not-allowed; }
.consent { display: flex; gap: 10px; font-size: 13px; color: var(--ink-2); align-items: flex-start; }
.consent input { margin-top: 3px; accent-color: var(--orange-2); }
.checkout__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 8px; border-top: 1px solid var(--line); }
.checkout__total b { font-family: var(--display); font-size: 26px; }
.form-err { color: var(--err); font-weight: 700; font-size: 14px; margin: 0; }

/* ---------- order done: ticket ---------- */
.done { padding: 32px 0 60px; display: grid; place-items: center; }
.ticket { width: min(560px, 100%); background: #fff; border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgba(36,26,18,.35), 0 0 0 1px var(--line); overflow: hidden; padding-bottom: 24px; display: grid; gap: 14px; }
.ticket > *:not(.ticket__top) { margin-inline: 24px; }
.ticket__top { background: var(--grad); color: #fff; padding: 26px 24px 22px; text-align: center; }
.ticket__lbl { font-weight: 800; margin-bottom: 4px; }
.ticket__top h1 { font-size: clamp(44px, 10vw, 64px); margin: 0; }
.ticket__st { display: inline-block; margin: 8px 0 0; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.22); font-weight: 800; }
.ticket__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; }
.ticket__grid dt { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.ticket__grid dd { margin: 0; font-weight: 800; }
.ticket__items { list-style: none; padding: 12px 0 0; margin: 0; border-top: 2px dotted var(--line); }
.ticket__items li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 15px; }
.ticket__raffle { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r-md); background: #eef3fc; color: var(--sky); font-size: 14px; }
.ticket__raffle img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.ticket__raffle p { margin: 0; }

/* ---------- modal ---------- */
.modal { border: 0; padding: 0; border-radius: var(--r-lg); width: min(860px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow: auto; color: var(--ink); }
.modal::backdrop { background: rgba(36, 26, 18, .55); backdrop-filter: blur(3px); }
.modal[open] { animation: pop .28s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes pop { from { transform: translateY(16px) scale(.97); opacity: 0; } }
.modal__close-f { position: absolute; right: 10px; top: 10px; z-index: 2; margin: 0; }
.modal__close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; font-size: 26px; line-height: 1; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.raffle { display: grid; grid-template-columns: 1fr 1fr; }
.raffle__img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.raffle__body { padding: 32px 28px; display: flex; flex-direction: column; }
.raffle__kicker { display: inline-block; align-self: flex-start; background: var(--sky); color: #fff; font-weight: 800; font-size: 13px; padding: 4px 10px; border-radius: 6px; }
.raffle h2 { font-size: clamp(22px, 3vw, 28px); }
.raffle__list { padding-left: 18px; margin: 0 0 20px; font-size: 15px; display: grid; gap: 6px; }
.raffle__body form { margin-top: auto; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 700; z-index: 60; transition: transform .3s, visibility .3s; visibility: hidden; display: flex; gap: 14px; align-items: center; max-width: calc(100% - 32px); }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }
.toast a { color: var(--orange); white-space: nowrap; }

/* ---------- footer, text ---------- */
.foot { border-top: 1px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--ink-2); }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.foot b { color: var(--ink); }
.foot__links { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.foot__seller { flex-basis: 100%; font-size: 12px; }
.prose { max-width: 72ch; padding: 32px 0 60px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cart__grid { grid-template-columns: 1fr 360px; }
}
@media (max-width: 820px) {
  .pass { grid-template-columns: 1fr; }
  .pass::before, .pass::after { display: none; }
  .pass__stub { padding: 22px 24px; }
  .pass__stub::before { left: 14px; right: 14px; top: -1px; bottom: auto; border-left: 0; border-top: 3px dotted #ffb46b; }
  .pass__stub dl { grid-template-columns: repeat(3, auto); gap: 12px 18px; }
  .pass__stub dd { font-size: 16px; }
  .pass__barcode { display: none; }
  .pp__grid, .cart__grid { grid-template-columns: 1fr; }
  .gallery, .checkout { position: static; }
  .raffle { grid-template-columns: 1fr; }
  .raffle__img { aspect-ratio: 16 / 10; }
  .how ol { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .top__in { height: 56px; gap: 10px; }
  .top__gate { display: none; }
  .logo { font-size: 14px; }
  .logo__txt { max-width: 46vw; }
  .cartbtn { margin-left: auto; padding: 9px 12px; }
  .hero { padding-top: 16px; }
  .pass__main { padding: 24px 20px; }
  .pass__lead { font-size: 15px; }
  .pass__stub dl { grid-template-columns: 1fr 1fr; }
  .pass__stub dl div:first-child { grid-column: 1 / -1; }
  .rafflebar img { width: 56px; height: 56px; }
  .rafflebar b { font-size: 16px; }
  .rafflebar span { font-size: 13px; }
  .catalog { padding-top: 32px; }
  .catalog__head h2 { flex-basis: 100%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .card__title { font-size: 14px; }
  .card__notes { font-size: 13px; -webkit-line-clamp: 2; }
  .card__meta { display: none; }
  .card__buy { flex-direction: column; align-items: stretch; }
  .price { font-size: 16px; }
  .btn--add { width: 100%; }
  .grid--row { grid-auto-flow: column; grid-auto-columns: 46%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .grid--row > * { scroll-snap-align: start; }
  .scale { grid-template-columns: 96px 1fr; }
  .scale__v { display: none; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .pp__buy .btn--primary { flex: 1; }
  .price--big { font-size: 26px; }
  .line { grid-template-columns: 64px 1fr; }
  .line img, .line .line__ph { width: 64px; height: 64px; }
  .line__r { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
  .checkout { padding: 20px 16px; margin-inline: -4px; }
  .ticket__grid { grid-template-columns: 1fr; }
  .raffle__body { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.cartbtn__count[hidden] { display: none; }
.ticket > .btn--wide { width: auto; }
.toast { width: max-content; }
/* hero без корешка талона */
.pass { grid-template-columns: 1fr; }
.pass::before, .pass::after { display: none; }
.pass__h { margin-bottom: 28px; }
.promo { border-top: 1px solid var(--line); padding-top: 10px; }
.promo summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.promo__row { display: flex; gap: 8px; margin-top: 10px; }
.promo__row input { flex: 1; min-width: 0; font: 700 16px var(--body); text-transform: uppercase; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); }
.promo__row .btn { padding: 10px 16px; }
.promo .hint { margin: 8px 0 0; }
.promo.is-ok .hint { color: var(--ok); font-weight: 700; }
.checkout.is-writeoff { background: #eef3fc; }
.checkout.is-writeoff [data-sale-only] { display: none; }
/* brands, roast, search */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.search input { font: 600 15px var(--body); padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; width: min(320px, 100%); background: #fff; }
.search input:focus { outline: none; border-color: var(--orange); }
.catalog__head .search { margin-left: auto; }
.filterbar { display: grid; gap: 10px; margin-bottom: 22px; }
.card__brand { font-size: 12px; font-weight: 800; color: var(--orange-2); margin: 0 0 2px; }
.card__meta { display: flex; align-items: center; gap: 8px; }
.roast { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 6px; }
.roast--e { background: #2a1c12; color: #fff; }
.roast--f { background: #e6eefb; color: var(--sky); }
.empty-filter { padding: 30px 0; color: var(--ink-2); font-weight: 700; }
@media (max-width: 640px) {
  .catalog__head .search { margin-left: 0; width: 100%; }
  .search input { width: 100%; }
  .card__meta { display: flex; }
  .filterbar .filters { flex-wrap: nowrap; }
}
