/* ===========================================================
   За кэш (Zacash) - дизайн-система
   Чистый минимализм в стиле Kaspi: белый / чёрный / оранжевый
   =========================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-soft-2: #eef0f3;
  --ink: #16130f;
  --ink-2: #3a3631;
  --muted: #707783;
  --line: #e9eaee;
  --line-2: #dfe1e6;

  --orange: #ff6a00;
  --orange-dark: #e85d00;
  --orange-soft: #fff3ea;
  --orange-ring: rgba(255, 106, 0, 0.18);

  --green: #1fa463;
  --green-soft: #e8f7ef;
  --red: #e23b3b;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 19, 26, 0.06), 0 1px 3px rgba(16, 19, 26, 0.05);
  --shadow-md: 0 6px 24px rgba(16, 19, 26, 0.08);
  --shadow-lg: 0 18px 50px rgba(16, 19, 26, 0.14);

  --maxw: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 15px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: var(--radius-sm);
  padding: 12px 20px; font-size: 15px; font-weight: 600;
  transition: transform .04s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { background: var(--bg-soft); color: var(--ink); }
.btn-ghost:hover { background: var(--bg-soft-2); }
.btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-outline:hover { border-color: var(--ink); }
.btn-lg { padding: 15px 26px; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Бейджи ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
}
.badge-orange { background: var(--orange-soft); color: var(--orange-dark); }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-gray { background: var(--bg-soft-2); color: var(--ink-2); }
.badge-dark { background: var(--ink); color: #fff; }

/* ---------- Заголовки секций ---------- */
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.eyebrow { color: var(--orange-dark); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.h3 { font-size: 20px; font-weight: 700; margin: 0; }
.lead { font-size: 18px; color: var(--ink-2); }
.muted { color: var(--muted); }

/* =========================================================
   ШАПКА
   ========================================================= */
.appheader { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.appheader__row { display: flex; align-items: center; gap: 18px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.logo__mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--orange);
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 17px;
  box-shadow: 0 4px 10px var(--orange-ring);
}
.logo__cash { color: var(--orange); }

.search { flex: 1; position: relative; max-width: 620px; }
.search input {
  width: 100%; height: 44px; border: 1.5px solid var(--line-2); border-radius: 12px;
  padding: 0 44px 0 16px; font-size: 15px; background: var(--bg-soft); outline: none;
  transition: border .15s ease, background .15s ease, box-shadow .15s ease;
}
.search input:focus { border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px var(--orange-ring); }
.search__btn {
  position: absolute; right: 6px; top: 6px; width: 32px; height: 32px; border-radius: 8px;
  border: none; background: var(--orange); color: #fff; display: grid; place-items: center;
}
.header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.headbtn {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  background: none; border: none; color: var(--ink-2); font-size: 11px; font-weight: 600;
  padding: 6px 10px; border-radius: 10px;
}
.headbtn:hover { background: var(--bg-soft); color: var(--ink); }
.headbtn .ic { width: 22px; height: 22px; }
.cartcount {
  position: absolute; transform: translate(12px, -8px);
  background: var(--orange); color: #fff; font-size: 10px; font-weight: 700;
  min-width: 17px; height: 17px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px;
}
.city { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-2); font-weight: 600; font-size: 13px; background: none; border: none; padding: 6px 8px; border-radius: 8px; }
.city:hover { background: var(--bg-soft); }

/* строка категорий под шапкой */
.catbar { border-bottom: 1px solid var(--line); background: #fff; }
.catbar__row { display: flex; gap: 4px; height: 46px; align-items: center; overflow-x: auto; }
.catbar a { padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.catbar a:hover { background: var(--orange-soft); color: var(--orange-dark); }
.catbar a.is-active { color: var(--orange-dark); }

/* =========================================================
   ЛЕНДИНГ
   ========================================================= */
.promo-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.promo-nav__row { display: flex; align-items: center; height: 66px; gap: 24px; }
.promo-nav__links { display: flex; gap: 22px; margin-left: 10px; }
.promo-nav__links a { color: var(--ink-2); font-weight: 600; font-size: 14px; }
.promo-nav__links a:hover { color: var(--orange-dark); }
.promo-nav__cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }

.hero { position: relative; overflow: hidden; background:
  radial-gradient(1100px 480px at 85% -10%, var(--orange-soft), transparent 60%),
  linear-gradient(180deg, #fff, #fff); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 70px 0 80px; }
.hero__title { margin: 14px 0 0; }
.hero__title .accent { color: var(--orange); }
.hero__sub { margin: 22px 0 0; max-width: 520px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__stats { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.stat__num { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.stat__lbl { color: var(--muted); font-size: 13px; }

/* карточка-демо цены в hero */
.pricecard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 22px; }
.pricecard__top { display: flex; align-items: center; gap: 14px; }
.pricecard__img { width: 84px; height: 84px; border-radius: 14px; background: var(--bg-soft); display: grid; place-items: center; font-size: 42px; }
.pricerow { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line-2); }
.pricerow:last-child { border-bottom: none; }
.price-old { color: var(--muted); text-decoration: line-through; }
.price-cash { font-size: 22px; font-weight: 800; color: var(--ink); }
.price-cash .cur { font-size: 14px; font-weight: 600; color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: box-shadow .2s, transform .2s; }
.feature:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature__ic { width: 46px; height: 46px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; margin-bottom: 14px; }
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 26px 20px 22px; background: var(--bg-soft); border-radius: var(--radius); }
.step__n { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 12px; }
.step h3 { font-size: 16px; margin: 0 0 6px; }
.step p { margin: 0; font-size: 14px; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.econ { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.econ__row { display: flex; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.econ__row:last-child { border-bottom: none; }
.econ__row.head { background: var(--bg-soft); font-weight: 700; }
.econ__row.total { background: var(--orange-soft); font-weight: 800; color: var(--orange-dark); }

.cta-band { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 54px; text-align: center; }
.cta-band .h2 { color: #fff; }
.cta-band p { color: #c9cdd6; max-width: 560px; margin: 14px auto 28px; }

.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.aud { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.aud__emoji { font-size: 34px; }

/* =========================================================
   КАТАЛОГ / ВИТРИНА
   ========================================================= */
.crumbs { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; padding: 16px 0; flex-wrap: wrap; }
.crumbs a:hover { color: var(--orange-dark); }
.crumbs .sep { color: var(--line-2); }

.catalog { display: grid; grid-template-columns: 248px 1fr; gap: 26px; align-items: start; padding-bottom: 60px; }
.filters { position: sticky; top: 130px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 18px 18px; }
.filters__group { padding: 16px 0; border-bottom: 1px solid var(--line); }
.filters__group:last-child { border-bottom: none; }
.filters__title { font-weight: 700; font-size: 14px; margin: 0 0 12px; }
.checkrow { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.checkrow input { accent-color: var(--orange); width: 16px; height: 16px; }
.checkrow:hover { color: var(--ink); }
.pricefilter { display: flex; gap: 8px; }
.pricefilter input { width: 100%; height: 38px; border: 1.5px solid var(--line-2); border-radius: 8px; padding: 0 10px; font-size: 14px; }
.pricefilter input:focus { outline: none; border-color: var(--orange); }

.catalog__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.sortbtns { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { background: var(--bg-soft); border: 1px solid transparent; border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.chip:hover { background: var(--bg-soft-2); }
.chip.is-active { background: var(--ink); color: #fff; }

.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; transition: box-shadow .18s, border-color .18s; height: 100%; }
.pcard:hover { box-shadow: var(--shadow-md); border-color: var(--line-2); }
.pcard__imgwrap { position: relative; }
.pcard__img { aspect-ratio: 1/1; border-radius: 10px; background: var(--bg-soft); display: grid; place-items: center; font-size: 64px; margin-bottom: 12px; }
.pcard__save { position: absolute; left: 8px; top: 8px; }
.pcard__fast { position: absolute; right: 8px; top: 8px; }
.pcard__title { font-size: 14px; font-weight: 600; line-height: 1.35; min-height: 38px; margin: 0 0 8px; color: var(--ink); }
.pcard__title:hover { color: var(--orange-dark); }
.pcard__rating { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.pcard__prices { margin-top: auto; }
.pcard__cash { font-size: 19px; font-weight: 800; }
.pcard__old { font-size: 13px; }
.pcard__foot { display: flex; gap: 8px; margin-top: 12px; }

/* звёзды */
.stars { display: inline-flex; gap: 1px; color: #ffb020; }
.stars .ic { width: 14px; height: 14px; }
.stars--lg .ic { width: 18px; height: 18px; }

/* =========================================================
   КАРТОЧКА ТОВАРА
   ========================================================= */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; padding: 10px 0 30px; }
.gallery__main { aspect-ratio: 1/1; background: var(--bg-soft); border-radius: var(--radius); display: grid; place-items: center; font-size: 150px; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery__thumb { width: 66px; height: 66px; border-radius: 10px; background: var(--bg-soft); display: grid; place-items: center; font-size: 30px; border: 1.5px solid transparent; }
.gallery__thumb.is-active { border-color: var(--orange); }

.pinfo h1 { font-size: 26px; font-weight: 800; letter-spacing: -.01em; margin: 8px 0 12px; line-height: 1.2; }
.pinfo__meta { display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: 13px; margin-bottom: 18px; flex-wrap: wrap; }
.buybox { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 18px 0; box-shadow: var(--shadow-sm); }
.buybox__cash { font-size: 30px; font-weight: 800; }
.buybox__old { color: var(--muted); }
.buybox__old .price-old { text-decoration: line-through; }
.buybox__save { margin-left: 8px; }
.buybox__row { display: flex; gap: 10px; margin-top: 16px; }
.escrow-note { display: flex; gap: 10px; align-items: flex-start; background: var(--green-soft); color: #14613c; border-radius: 10px; padding: 12px 14px; font-size: 13px; margin-top: 14px; }

.specs { width: 100%; border-collapse: collapse; }
.specs td { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.specs td:first-child { color: var(--muted); width: 46%; }
.specs td:last-child { font-weight: 600; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.tab { padding: 12px 16px; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; background: none; border-top: none; border-left: none; border-right: none; font-size: 15px; }
.tab.is-active { color: var(--ink); border-bottom-color: var(--orange); }

.review { padding: 18px 0; border-bottom: 1px solid var(--line); }
.review__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; font-weight: 700; }

.ratingsum { display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: center; background: var(--bg-soft); border-radius: var(--radius); padding: 24px; margin-bottom: 22px; }
.ratingsum__score { font-size: 54px; font-weight: 800; line-height: 1; }
.bar { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.bar__track { flex: 1; height: 8px; background: var(--bg-soft-2); border-radius: 4px; overflow: hidden; }
.bar__fill { height: 100%; background: #ffb020; }

.seller-card { display: flex; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.seller-card__logo { width: 56px; height: 56px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 22px; }

.youtube { display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-top: 14px; }
.youtube__play { width: 46px; height: 46px; border-radius: 12px; background: #ff0000; color: #fff; display: grid; place-items: center; flex: none; }

/* =========================================================
   КОРЗИНА / CHECKOUT
   ========================================================= */
.cart { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; padding-bottom: 60px; }
.cart__item { display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart__img { width: 92px; height: 92px; border-radius: 12px; background: var(--bg-soft); display: grid; place-items: center; font-size: 44px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.qty button { width: 34px; height: 34px; border: none; background: #fff; font-size: 18px; color: var(--ink-2); }
.qty button:hover { background: var(--bg-soft); }
.qty span { width: 38px; text-align: center; font-weight: 700; }
.summary { position: sticky; top: 130px; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.summary__row { display: flex; justify-content: space-between; padding: 8px 0; color: var(--ink-2); }
.summary__row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 19px; font-weight: 800; color: var(--ink); }

.checkout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; padding-bottom: 60px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select { width: 100%; height: 44px; border: 1.5px solid var(--line-2); border-radius: 10px; padding: 0 14px; font-size: 15px; background: #fff; }
.field input:focus, .field select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-ring); }
.radio-card { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; transition: border .15s; }
.radio-card.is-active { border-color: var(--orange); background: var(--orange-soft); }
.radio-card input { accent-color: var(--orange); margin-top: 3px; }
.card-block { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.card-block h3 { margin: 0 0 16px; }

.qr-pay { text-align: center; padding: 10px; }
.qr-box { width: 200px; height: 200px; margin: 0 auto 14px; border-radius: 14px; border: 1px solid var(--line); padding: 12px; background: #fff; }
.escrow-steps { display: grid; gap: 10px; margin-top: 16px; }
.escrow-step { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.escrow-step .dot { width: 24px; height: 24px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex: none; font-weight: 700; font-size: 12px; }

/* =========================================================
   ТРЕКИНГ ЗАКАЗА
   ========================================================= */
.stepper { display: flex; gap: 0; margin: 30px 0; }
.stepper__node { flex: 1; text-align: center; position: relative; }
.stepper__dot { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-soft-2); color: var(--muted); display: grid; place-items: center; margin: 0 auto 10px; font-weight: 700; position: relative; z-index: 2; transition: .2s; }
.stepper__node.done .stepper__dot { background: var(--green); color: #fff; }
.stepper__node.active .stepper__dot { background: var(--orange); color: #fff; box-shadow: 0 0 0 6px var(--orange-ring); }
.stepper__line { position: absolute; top: 20px; left: -50%; width: 100%; height: 3px; background: var(--bg-soft-2); z-index: 1; }
.stepper__node.done .stepper__line, .stepper__node.active .stepper__line { background: var(--green); }
.stepper__node:first-child .stepper__line { display: none; }
.stepper__lbl { font-size: 13px; font-weight: 600; }
.stepper__time { font-size: 11px; color: var(--muted); }

.sim-panel { background: var(--bg-soft); border-radius: var(--radius); padding: 20px; margin-top: 20px; }
.sim-panel h4 { margin: 0 0 4px; }

/* =========================================================
   КАБИНЕТЫ
   ========================================================= */
.cab { display: grid; grid-template-columns: 230px 1fr; gap: 26px; align-items: start; padding-bottom: 60px; }
.cab__nav { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; position: sticky; top: 130px; }
.cab__nav button { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; background: none; border: none; padding: 11px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.cab__nav button:hover { background: var(--bg-soft); }
.cab__nav button.is-active { background: var(--orange-soft); color: var(--orange-dark); }
.tile-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.tile__num { font-size: 26px; font-weight: 800; }
.tile__lbl { color: var(--muted); font-size: 13px; }

.datatable { width: 100%; border-collapse: collapse; }
.datatable th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.datatable td { padding: 14px 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.statuspill { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.statuspill.green { background: var(--green-soft); color: var(--green); }
.statuspill.orange { background: var(--orange-soft); color: var(--orange-dark); }
.statuspill.gray { background: var(--bg-soft-2); color: var(--ink-2); }

.login-card { max-width: 420px; margin: 60px auto; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); text-align: center; }

/* =========================================================
   ФУТЕР
   ========================================================= */
.footer { background: var(--ink); color: #cfd3da; padding: 54px 0 30px; margin-top: 40px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.footer h4 { color: #fff; font-size: 14px; margin: 0 0 14px; }
.footer a { display: block; padding: 5px 0; font-size: 14px; color: #aeb4bf; }
.footer a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid #2a2722; margin-top: 36px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #888e99; }
.footer .logo { color: #fff; }

/* утилиты */
.row { display: flex; gap: 12px; align-items: center; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.center { text-align: center; }
.grow { flex: 1; }
.hide { display: none !important; }
.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty__emoji { font-size: 56px; margin-bottom: 14px; }
.link-orange { color: var(--orange-dark); font-weight: 600; }
.divider { height: 1px; background: var(--line); margin: 22px 0; }

/* ===== адаптив ===== */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split, .audience { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; }
  .cart, .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .cab { grid-template-columns: 1fr; }
  .cab__nav { position: static; display: flex; flex-wrap: wrap; }
  .cab__nav button { width: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .feature-grid, .steps, .tile-row { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr 1fr; }
  .promo-nav__links { display: none; }
  .header__actions .headbtn span { display: none; }
  .stepper__lbl { font-size: 11px; }
  .cta-band { padding: 32px 20px; }
}

/* ---------- Доп. правила для SSR-версии (ссылки вместо кнопок) ---------- */
.cab__nav a { display: flex; gap: 10px; align-items: center; width: 100%; padding: 11px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.cab__nav a:hover { background: var(--bg-soft); }
.cab__nav a.is-active { background: var(--orange-soft); color: var(--orange-dark); }
.qty a { width: 34px; height: 34px; display: grid; place-items: center; font-size: 18px; color: var(--ink-2); }
.qty a:hover { background: var(--bg-soft); }
