:root {
  --bg: #0b0d10;
  --bg-2: #0f1216;
  --surface: #13171d;
  --surface-2: #191e25;
  --line: #222932;
  --line-2: #2e3641;
  --text: #e8ebf0;
  --muted: #8b95a5;
  --dim: #5f6877;
  --acc: #ffa62b;
  --acc-2: #ff6a1a;
  --ok: #3ddc84;
  --err: #ff5a4e;
  --radius: 16px;
  --font: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --top-h: 100px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 70px); }
html.lock { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

/* ---------- top: SBP bar + header ---------- */
.top { position: sticky; top: 0; z-index: 50; }

.paybar {
  background: linear-gradient(90deg, #1a1206 0%, #2b1a05 50%, #1a1206 100%);
  border-bottom: 1px solid rgba(255, 166, 43, .28);
  color: #ffd9a3;
  font-size: 13.5px;
}
.paybar-in { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 36px; padding-top: 6px; padding-bottom: 6px; text-align: center; }
.paybar b { color: #fff1dc; font-weight: 700; }

.sbp-badge {
  display: inline-flex; align-items: center; flex: none;
  padding: 2px 8px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffb23e, var(--acc-2));
  color: #1a1206;
  font: 700 11.5px/1.4 var(--mono);
  letter-spacing: .06em;
}
.sbp-badge.sm { font-size: 10px; padding: 1px 6px; }

.header {
  background: rgba(11, 13, 16, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; gap: 20px; height: 64px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { display: block; }
.brand-name { font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.brand-name b {
  font-weight: 800;
  background: linear-gradient(135deg, #ffc24b, var(--acc-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.city { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.city svg { color: var(--acc); }

.header-phone {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text); text-decoration: none;
  font: 600 15.5px var(--mono); letter-spacing: .01em;
  white-space: nowrap;
  transition: color .15s;
}
.header-phone svg { color: var(--acc); }
.header-phone:hover { color: var(--acc); }

.cart-btn {
  display: inline-flex; align-items: center; gap: 9px;
  height: 42px; padding: 0 14px 0 13px;
  border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--surface);
  font-weight: 600; font-size: 14px;
  transition: border-color .15s, background .15s;
}
.cart-btn:hover { border-color: #3d4653; background: var(--surface-2); }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px;
  display: inline-grid; place-items: center;
  border-radius: 11px;
  background: var(--line-2); color: var(--muted);
  font: 700 12px/1 var(--mono);
  transition: background .2s, color .2s;
}
.cart-count.has { background: linear-gradient(135deg, #ffb23e, var(--acc-2)); color: #1a1206; }
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.3); } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 360px at 85% 10%, rgba(255, 122, 26, .13), transparent 70%),
    radial-gradient(500px 300px at 10% 110%, rgba(79, 140, 255, .07), transparent 70%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero-in { position: relative; padding-top: 64px; padding-bottom: 56px; }
.hero-text { max-width: 720px; }
.eyebrow { margin: 0 0 14px; color: var(--acc); font: 600 12.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(34px, 5vw, 58px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; }
.hero h1 span { color: var(--muted); }
.hero-sub { max-width: 560px; margin: 20px 0 0; color: var(--muted); font-size: 16px; }

.hero-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.hero-points li { position: relative; padding-left: 30px; color: var(--muted); font-size: 15.5px; }
.hero-points li b { color: var(--text); font-weight: 700; }
.hero-points li::before {
  content: "✓";
  position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border-radius: 6px;
  background: color-mix(in srgb, var(--acc) 18%, transparent);
  color: var(--acc); font: 700 12px/1 var(--mono);
}

/* ---------- toolbar ---------- */
.toolbar {
  position: sticky; top: var(--top-h); z-index: 40;
  background: rgba(11, 13, 16, .88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.toolbar-in { display: flex; align-items: center; gap: 16px; min-height: 62px; }
.chips { flex: 1 1 auto; display: flex; gap: 8px; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 10px 0; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  display: inline-flex; align-items: center; gap: 7px;
  height: 36px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: transparent;
  color: var(--muted); font-size: 13.5px; font-weight: 600; white-space: nowrap;
  transition: color .15s, border-color .15s, background .15s;
}
.chip span { color: var(--dim); font: 600 12px var(--mono); }
.chip:hover { color: var(--text); border-color: #3d4653; }
.chip.active { color: #1a1206; background: linear-gradient(135deg, #ffb23e, var(--acc-2)); border-color: transparent; }
.chip.active span { color: rgba(26, 18, 6, .6); }

.sort { flex: none; display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.sort select {
  height: 36px; padding: 0 32px 0 12px;
  border: 1px solid var(--line-2); border-radius: 10px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238b95a5' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none; -webkit-appearance: none;
  font-size: 13.5px; color: var(--text);
}

/* ---------- catalog ---------- */
.catalog { padding-top: 12px; padding-bottom: 72px; }
.group { padding-top: 36px; }
.group-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 18px; }
.group-head h2 { margin: 0; font-size: 24px; letter-spacing: -.02em; }
.group-head p { margin: 0; color: var(--dim); font: 500 12.5px var(--mono); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }

.card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .8); }
.card.in-cart { border-color: color-mix(in srgb, var(--b) 45%, var(--line)); }

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid; place-items: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(90% 70% at 50% 100%, color-mix(in srgb, var(--b) 16%, transparent), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 22px 22px,
    var(--bg-2);
}
.card-media.has-photo {
  background:
    radial-gradient(120% 90% at 50% 0%, #ffffff, #eef1f4 62%, #dfe4ea);
}
.photo {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 16px;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .22));
  transition: transform .25s ease;
}
.card:hover .photo { transform: scale(1.035); }
.illo { width: 88%; height: auto; overflow: visible; }
.illo-t { fill: #7d8794; font: 600 8px var(--mono); letter-spacing: .08em; }
.illo-d { font: 700 11px var(--mono); }
.illo-d.sm { font-size: 9px; }
.spin { transform-box: fill-box; transform-origin: center; }
.card:hover .spin { animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.stock {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px 4px 9px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(11, 13, 16, .75);
  backdrop-filter: blur(6px);
  font-size: 12px; font-weight: 600; color: var(--muted);
}
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.stock.in::before { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.stock.order::before { background: var(--acc); }

.card-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.maker { color: var(--b); font: 700 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.year { color: var(--dim); font: 500 12px var(--mono); }
.card-title { margin: 4px 0 10px; font-size: 20px; line-height: 1.2; letter-spacing: -.02em; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tag {
  padding: 3px 8px;
  border: 1px solid var(--line-2); border-radius: 6px;
  background: var(--surface-2);
  color: var(--muted); font: 500 11.5px var(--mono);
}

.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.specs > div { padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); }
.specs dt { color: var(--dim); font-size: 11.5px; }
.specs dd { margin: 2px 0 0; font: 600 16px/1.25 var(--mono); letter-spacing: -.01em; white-space: nowrap; }
.specs dd small { margin-left: 4px; color: var(--muted); font-size: 11px; font-weight: 500; }

.more { margin-top: 12px; border-top: 1px dashed var(--line-2); }
.more summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0 4px;
  color: var(--muted); font-size: 13px; font-weight: 600;
  cursor: pointer; list-style: none;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.more[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.more summary:hover { color: var(--text); }
.more table { width: 100%; margin-top: 6px; border-collapse: collapse; font-size: 13px; }
.more th, .more td { padding: 6px 0; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.more th { width: 44%; padding-right: 10px; color: var(--dim); font-weight: 500; }
.more td { font-family: var(--mono); font-size: 12.5px; }
.more tr:last-child th, .more tr:last-child td { border-bottom: 0; }

.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.price { font: 700 22px/1 var(--mono); letter-spacing: -.03em; white-space: nowrap; }

/* ---------- buttons & controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px;
  border: 1px solid transparent; border-radius: 11px;
  font-weight: 700; font-size: 14px;
  transition: filter .15s, background .15s, border-color .15s, opacity .15s;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-add, .btn-primary { background: linear-gradient(135deg, #ffb23e, var(--acc-2)); color: #1a1206; }
.btn-add:hover, .btn-primary:hover:not(:disabled) { filter: brightness(1.08); }
.btn-ghost { background: var(--surface-2); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: #3d4653; }
.btn.wide { width: 100%; height: 50px; font-size: 15px; }

.stepper { display: inline-flex; align-items: center; height: 42px; border: 1px solid color-mix(in srgb, var(--b, var(--acc)) 55%, var(--line-2)); border-radius: 11px; background: var(--bg-2); }
.stepper button { width: 38px; height: 100%; border: 0; background: transparent; color: var(--text); font-size: 18px; line-height: 1; }
.stepper button:hover { color: var(--acc); }
.stepper .q { min-width: 26px; text-align: center; font: 700 15px var(--mono); }
.stepper.sm { height: 34px; border-radius: 9px; }
.stepper.sm button { width: 30px; font-size: 16px; }
.stepper.sm .q { min-width: 22px; font-size: 13.5px; }

.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: 10px; background: transparent; color: var(--muted); }
.icon-btn:hover { color: var(--text); border-color: #3d4653; }
.link-btn { border: 0; background: none; padding: 0; color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--text); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; padding-top: 40px; padding-bottom: 28px; }
.footer h4 { margin: 4px 0 10px; font-size: 12px; color: var(--dim); font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.footer p { margin: 0 0 6px; font-size: 14px; }
.footer .brand { margin-bottom: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--acc); }
.contact-note { margin-top: 10px !important; padding-top: 10px; border-top: 1px dashed var(--line-2); color: var(--dim); font-size: 12.5px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12.5px; }

/* ---------- drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; overflow: hidden; }
.drawer.open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column;
  width: min(460px, 100%);
  background: #101318;
  border-left: 1px solid var(--line-2);
  box-shadow: -30px 0 60px -20px rgba(0, 0, 0, .7);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px 20px; overscroll-behavior: contain; }
.drawer-foot { padding: 16px 20px 18px; border-top: 1px solid var(--line); background: #0d1014; }

.cart-empty { margin: 48px 0; text-align: center; color: var(--dim); }
.cart-list { list-style: none; margin: 0; padding: 0; }
.ci { display: grid; grid-template-columns: 4px 1fr auto; gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ci-bar { grid-row: span 2; border-radius: 2px; background: var(--b); }
.ci-name { font-weight: 700; font-size: 14.5px; line-height: 1.3; }
.ci-spec { color: var(--dim); font: 500 12px var(--mono); }
.ci-sum { align-self: start; font: 700 15px var(--mono); white-space: nowrap; text-align: right; }
.ci-ctrl { grid-column: 2 / 4; display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.ci-unit { color: var(--dim); font: 500 12px var(--mono); }
.ci-ctrl-r { display: flex; align-items: center; gap: 12px; }
.ci-del { border: 0; background: none; color: var(--dim); font-size: 12.5px; padding: 4px; }
.ci-del:hover { color: var(--err); }

.block { padding-top: 18px; }
.block h3 { margin: 0 0 10px; color: var(--dim); font: 600 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.block h3:not(:first-child) { margin-top: 18px; }

.promo-row { display: flex; gap: 8px; }
.promo-row input { flex: 1; min-width: 0; font-family: var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.promo-applied {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border: 1px dashed rgba(61, 220, 132, .45); border-radius: 11px;
  background: rgba(61, 220, 132, .06);
}
.promo-code { font: 700 14px var(--mono); letter-spacing: .04em; }
.promo-amount { color: var(--ok); font: 600 13.5px var(--mono); margin-right: auto; }

input[type="text"], input[type="tel"], textarea {
  width: 100%;
  height: 44px; padding: 0 13px;
  border: 1px solid var(--line-2); border-radius: 11px;
  background: var(--bg-2);
  font-size: 14.5px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
textarea { height: auto; padding: 10px 13px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(255, 166, 43, .15); }
input.invalid { border-color: var(--err); }

.field { display: block; margin-bottom: 10px; }
.field > span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 13px; }
.field em { color: var(--dim); font-style: normal; font-size: 12px; margin-left: 4px; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 10px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-2); }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: grid; place-items: center; height: 38px; padding: 0 8px; border-radius: 9px; color: var(--muted); font-size: 13px; font-weight: 600; text-align: center; cursor: pointer; transition: background .15s, color .15s; }
.segmented input:checked + span { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.segmented input:focus-visible + span { outline: 2px solid var(--acc); }

.form-msg { min-height: 0; margin: 8px 0 0; font-size: 13px; }
.form-msg:empty { display: none; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--err); }
.drawer-foot .form-msg { margin: 0 0 10px; }

.summary { margin: 0 0 14px; }
.summary > div { display: flex; justify-content: space-between; align-items: baseline; padding: 3px 0; }
.summary dt { color: var(--muted); font-size: 14px; }
.summary dd { margin: 0; font: 600 15px var(--mono); }
.summary .minus { color: var(--ok); }
.summary .total { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.summary .total dt { color: var(--text); font-weight: 700; font-size: 16px; }
.summary .total dd { font-size: 24px; font-weight: 700; letter-spacing: -.03em; }

.pay-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0; color: var(--dim); font-size: 12.5px; }

.done { padding: 24px 0 8px; text-align: center; }
.done-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(135deg, #ffb23e, var(--acc-2)); color: #1a1206; box-shadow: 0 0 40px -6px rgba(255, 122, 26, .6); }
.done h3 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.done-id { margin: 6px 0 8px; color: var(--acc); font: 700 20px var(--mono); letter-spacing: .04em; }
.done-note { margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.done-lines { list-style: none; margin: 0 0 12px; padding: 0; text-align: left; }
.done-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.done-lines li span:last-child { font-family: var(--mono); white-space: nowrap; }
.done .summary { text-align: left; }
.done-steps { margin: 18px 0 22px; padding: 14px 16px 14px 34px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); text-align: left; color: var(--muted); font-size: 13.5px; }
.done-steps li + li { margin-top: 6px; }
.done-contact { margin: 18px 0 22px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); color: var(--muted); font-size: 13.5px; }

/* ---------- оплата ---------- */
.pay { padding: 22px 0 8px; text-align: center; }
.pay-head { margin: 0 0 6px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.pay-id { margin: 0 0 18px; color: var(--acc); font: 700 15px var(--mono); letter-spacing: .04em; }
.pay-qr {
  width: 224px; max-width: 72vw; margin: 0 auto;
  padding: 16px; border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 44px -14px rgba(0, 0, 0, .65);
}
.pay-qr svg { display: block; width: 100%; height: auto; }
.pay-amount { margin: 18px 0 0; font: 700 22px var(--mono); letter-spacing: -.01em; }
.pay-hint { max-width: 360px; margin: 10px auto 18px; color: var(--muted); font-size: 13.5px; }
.pay .pay-note { margin-top: 12px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120;
  width: max-content; max-width: calc(100vw - 32px);
  padding: 11px 16px;
  text-align: center;
  border: 1px solid var(--line-2); border-radius: 12px;
  background: rgba(25, 30, 37, .96);
  box-shadow: 0 14px 40px -10px rgba(0, 0, 0, .7);
  font-size: 14px; font-weight: 600;
  opacity: 0; transform: translate(-50%, 12px);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.pickup-note {
  display: flex; align-items: center; gap: 7px;
  margin: 10px 0 0; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg-2);
  color: var(--muted); font-size: 13px;
}
.pickup-note svg { color: var(--acc); flex: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-in { padding-top: 44px; padding-bottom: 40px; }
}
@media (max-width: 720px) {
  :root { --top-h: 116px; }
  .wrap { padding: 0 16px; }
  .paybar { font-size: 12.5px; }
  .paybar-in { justify-content: flex-start; text-align: left; }
  .header-in { height: 60px; gap: 12px; }
  .city { display: none; }
  .cart-label { display: none; }
  .toolbar-in { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 10px; }
  .sort { justify-content: space-between; }
  .sort select { flex: 1; max-width: 240px; }
  .header-phone { font-size: 13px; gap: 6px; }
  .grid { grid-template-columns: 1fr; }
  .group-head h2 { font-size: 21px; }
  .toolbar { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
