:root {
  --night: #101319;
  --night-2: #191d25;
  --surface: #ffffff;
  --bg: #f7f7f8;
  --bg-2: #f1f2f5;
  --ink: #14171c;
  --ink-2: #565e6a;
  --ink-3: #8d949f;
  --line: #e6e8ec;
  --line-soft: #eff1f4;
  --brand: #14171c;
  --brand-hover: #2b313a;
  --accent: #ffb62e;
  --accent-strong: #925200;
  --accent-soft: #fff4e0;
  --success: #0f9d6e;
  --success-soft: #e6f7f1;
  --danger: #dc4540;
  --danger-soft: #fdecea;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-xs: 0 1px 2px rgba(17, 20, 26, .05);
  --shadow: 0 1px 3px rgba(17, 20, 26, .06), 0 10px 24px -14px rgba(17, 20, 26, .3);
  --shadow-lg: 0 28px 60px -24px rgba(17, 20, 26, .35);
  --ring: 0 0 0 4px rgba(255, 182, 46, .35);
  --ease: cubic-bezier(.2, .6, .3, 1);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { flex: none; }
[hidden] { display: none !important; }

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius-xs);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

h1, h2, h3 { margin: 0; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.35rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.06; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.028em; line-height: 1.14; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }
p { line-height: 1.65; color: var(--ink-2); }

/* ------------------------------- buttons ------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border: 1px solid transparent; border-radius: var(--radius-sm); cursor: pointer;
  font-weight: 700; font-size: .94rem; letter-spacing: -.01em; white-space: nowrap;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s, transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-xs); }
.btn--primary:hover { background: var(--brand-hover); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--primary:active { transform: translateY(0); box-shadow: var(--shadow-xs); }
.btn--ghost { background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(255, 255, 255, .26); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .45); }
.btn--soft { background: var(--accent-soft); color: var(--accent-strong); }
.btn--soft:hover { background: #ffe9c1; }
.btn--lg { padding: 15px 26px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.icon-btn {
  width: 36px; height: 36px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--surface); cursor: pointer; color: var(--ink-3); font-size: .95rem;
  transition: background .18s var(--ease), color .18s, border-color .18s;
}
.icon-btn:hover { background: var(--bg-2); color: var(--ink); border-color: #d9dce2; }

.badge-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 11px;
  border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: -.01em;
  background: rgba(255, 182, 46, .1); color: #ffca6e; border: 1px solid rgba(255, 182, 46, .26);
}
.badge-pill::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px rgba(255, 182, 46, .22);
}

.section-tag {
  display: inline-block; font-size: .73rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent-strong); margin-bottom: 10px;
}

/* -------------------------------- header ------------------------------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(16, 19, 25, .94);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.header__inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; color: #fff; }
.logo__text { white-space: nowrap; }
.logo__mark {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px;
  background: var(--accent); color: #2a1c02;
}
.logo__mark svg { width: 17px; height: 17px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  color: rgba(255, 255, 255, .7); font-weight: 600; font-size: .92rem; letter-spacing: -.01em;
  padding: 8px 12px; border-radius: var(--radius-sm); transition: color .18s, background .18s;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header__phone { color: #fff; font-weight: 700; font-size: .93rem; white-space: nowrap; letter-spacing: -.01em; transition: color .18s; }
.header__phone:hover { color: var(--accent); }

.cart-btn {
  position: relative; width: 42px; height: 42px; border-radius: 12px; cursor: pointer;
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .15); color: #fff;
  display: grid; place-items: center; transition: background .18s var(--ease), border-color .18s;
}
.cart-btn:hover { background: rgba(255, 255, 255, .17); border-color: rgba(255, 255, 255, .28); }
.cart-btn__count {
  position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--accent); color: #2a1c02; font-size: .71rem; font-weight: 800;
  display: grid; place-items: center; border: 2px solid var(--night); font-variant-numeric: tabular-nums;
}

.lang {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06);
}
.lang__btn {
  border: 0; background: none; color: rgba(255, 255, 255, .62); font: inherit; font-size: .76rem;
  font-weight: 700; padding: 6px 9px; border-radius: 7px; cursor: pointer; transition: color .18s, background .18s;
}
.lang__btn:hover { color: #fff; }
.lang__btn.is-active { background: rgba(255, 255, 255, .95); color: var(--ink); }

.burger { display: none; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; padding: 9px 8px; }
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; margin: 4px 0; transition: .2s; }

/* --------------------------------- hero -------------------------------- */
.hero { position: relative; background: var(--night); color: #fff; overflow: hidden; padding: 54px 0 100px; }
.hero::after {
  content: ''; position: absolute; width: 560px; height: 560px; right: -160px; top: -240px;
  background: radial-gradient(circle, rgba(255, 182, 46, .15), transparent 62%); pointer-events: none;
}
.hero__glow {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(120% 85% at 72% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 85% at 72% 0%, #000 0%, transparent 72%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .7fr; gap: 44px; align-items: center; }
.hero h1 { margin: 20px 0 16px; }
.hero p { color: rgba(255, 255, 255, .66); font-size: 1.05rem; max-width: 50ch; }
.hero__cta { display: flex; gap: 12px; margin: 26px 0 32px; flex-wrap: wrap; }
/* На тёмном экране чёрная кнопка сливается — главное действие делаем акцентным. */
.hero .btn--primary { background: var(--accent); color: #2a1c02; box-shadow: 0 10px 26px -10px rgba(255, 182, 46, .55); }
.hero .btn--primary:hover { background: #ffc356; }
.hero__stats {
  display: flex; list-style: none; margin: 0; padding: 22px 0 0; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.hero__stats li {
  display: flex; flex-direction: column; gap: 3px;
  padding-right: 26px; margin-right: 26px; border-right: 1px solid rgba(255, 255, 255, .1);
}
.hero__stats li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero__stats strong { font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hero__stats span { font-size: .8rem; color: rgba(255, 255, 255, .5); }

.hero__card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius-lg); padding: 16px; backdrop-filter: blur(10px);
}
.hero__card-inner { display: grid; gap: 16px; }
.hero__battery {
  position: relative; height: 158px; border-radius: var(--radius);
  background: radial-gradient(120% 100% at 50% 0%, rgba(255, 182, 46, .22), rgba(255, 255, 255, .03) 70%);
  border: 1px solid rgba(255, 255, 255, .08);
  display: grid; place-items: center; overflow: hidden;
}
.hero__bolt { position: relative; z-index: 2; color: var(--accent); filter: drop-shadow(0 10px 26px rgba(255, 182, 46, .45)); animation: pulse 3.4s ease-in-out infinite; }
.hero__bolt svg { width: 46px; height: 46px; }
@keyframes pulse { 0%, 100% { opacity: .9; transform: translateY(0) } 50% { opacity: 1; transform: translateY(-3px) } }
.hero__level { position: absolute; inset: auto 16px 16px; height: 54%; display: flex; gap: 8px; align-items: flex-end; }
.hero__level i {
  flex: 1; height: var(--h); border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, rgba(255, 182, 46, .22), rgba(255, 182, 46, .02));
}
.hero__card-text { display: grid; gap: 5px; padding: 0 4px 4px; }
.hero__card-text strong { font-size: 1rem; letter-spacing: -.015em; }
.hero__card-text span { color: rgba(255, 255, 255, .55); font-size: .87rem; line-height: 1.5; }

/* ------------------------------ advantages ----------------------------- */
.advantages { padding: 42px 0 66px; position: relative; z-index: 5; background: var(--surface); }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.adv {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.adv:hover { transform: translateY(-3px); border-color: #d9dce2; box-shadow: var(--shadow); }
.adv__ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-strong); margin-bottom: 16px;
}
.adv__ico svg { width: 22px; height: 22px; }
.adv h3 { margin-bottom: 7px; font-size: 1rem; }
.adv p { margin: 0; font-size: .89rem; line-height: 1.6; }

/* -------------------------------- catalog ------------------------------ */
.catalog { position: relative; z-index: 8; margin-top: -58px; padding: 0 0 46px; }
.catalog .container {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 26px;
}
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }

.search { position: relative; min-width: 300px; flex: 0 1 360px; }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.search input {
  width: 100%; padding: 13px 16px 13px 43px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--bg); font: inherit; font-size: .94rem; color: var(--ink); outline: none;
  transition: background .18s, border-color .18s, box-shadow .18s;
}
.search input::placeholder { color: var(--ink-3); }
.search input:hover { border-color: #d9dce2; }
.search input:focus { background: var(--surface); border-color: var(--ink); box-shadow: var(--ring); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.chip {
  padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  cursor: pointer; font-weight: 600; font-size: .88rem; letter-spacing: -.01em; color: var(--ink-2);
  transition: border-color .18s, color .18s, background .18s;
}
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip span { opacity: .5; margin-left: 6px; font-size: .78rem; font-variant-numeric: tabular-nums; }

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

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; position: relative;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.card:hover { transform: translateY(-3px); border-color: #d9dce2; box-shadow: var(--shadow); }
.card__media {
  position: relative; aspect-ratio: 5 / 3; background: linear-gradient(165deg, var(--bg-2), #e4e6ea);
  display: grid; place-items: center; cursor: pointer; overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__ph { width: 104px; height: 54px; border: 2.5px solid #aeb5bf; border-radius: 6px; position: relative; }
.card__ph::before { content: ''; position: absolute; right: -11px; top: 15px; width: 8px; height: 19px; border-radius: 0 3px 3px 0; background: #aeb5bf; }
.card__ph::after { content: ''; position: absolute; inset: 8px 12px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) 0 68%, rgba(174, 181, 191, .3) 68%); }
.card__badge {
  position: absolute; top: 11px; left: 11px; padding: 5px 10px; border-radius: 7px;
  background: var(--accent); color: #2a1c02; font-size: .72rem; font-weight: 800; letter-spacing: -.005em;
}
.card__sale {
  position: absolute; top: 11px; right: 11px; padding: 5px 9px; border-radius: 7px;
  background: var(--danger); color: #fff; font-size: .72rem; font-weight: 800; font-variant-numeric: tabular-nums;
}
.card__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__cat { font-size: .69rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.card__title { font-size: 1rem; font-weight: 700; line-height: 1.34; letter-spacing: -.015em; cursor: pointer; transition: color .18s; }
.card__title:hover { color: var(--accent-strong); }
.card__desc { font-size: .85rem; color: var(--ink-2); margin: 0; line-height: 1.55; }
.card__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { display: flex; flex-direction: column; gap: 1px; }
.price__now { font-size: 1.24rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price__old { font-size: .82rem; color: var(--ink-3); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.stock { font-size: .73rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.stock--in { color: var(--success); background: var(--success-soft); }
.stock--low { color: var(--accent-strong); background: var(--accent-soft); }
.stock--out { color: var(--ink-3); background: var(--bg-2); }

.empty { text-align: center; padding: 56px 0; color: var(--ink-3); font-weight: 600; }

/* --------------------------------- steps ------------------------------- */
.delivery { padding: 76px 0; background: var(--bg); border-top: 1px solid var(--line); }
.steps__head { text-align: center; margin-bottom: 38px; }
.steps__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0; margin: 0; }
.steps__list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.steps__list span {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 800; font-size: .86rem; margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.steps__list h3 { font-size: .98rem; margin-bottom: 6px; }
.steps__list p { margin: 0; font-size: .87rem; line-height: 1.6; }

/* ------------------------------- contacts ------------------------------ */
.contacts { padding: 82px 0; background: var(--surface); border-top: 1px solid var(--line); }
.contacts__inner { display: grid; grid-template-columns: 1fr .85fr; gap: 52px; align-items: start; }
.contacts__info ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.contacts__info li { display: grid; gap: 5px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.contacts__info b { font-size: .71rem; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-3); font-weight: 800; }
.contacts__info a { transition: color .18s; }
.contacts__info a:hover { color: var(--accent-strong); }

.contacts__info ul.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.socials li { padding: 0; border: 0; }
.socials a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-2); color: var(--ink-2); border: 1px solid var(--line);
  transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.socials a:hover { background: var(--night); color: var(--accent); transform: translateY(-2px); }
.socials a:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }

.callback {
  background: var(--night); color: #fff; border-radius: var(--radius-lg); padding: 32px;
  display: grid; gap: 13px; box-shadow: var(--shadow-lg);
}
.callback h3 { font-size: 1.3rem; letter-spacing: -.025em; }
.callback p { color: rgba(255, 255, 255, .58); margin: 0; font-size: .9rem; }
.callback input {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06); color: #fff; outline: none; font: inherit; font-size: .94rem;
  transition: border-color .18s, background .18s;
}
.callback input::placeholder { color: rgba(255, 255, 255, .38); }
.callback input:focus { border-color: var(--accent); background: rgba(255, 255, 255, .1); }
.callback small { color: rgba(255, 255, 255, .4); font-size: .75rem; line-height: 1.5; }

/* -------------------------------- footer ------------------------------- */
.footer { background: var(--night); color: rgba(255, 255, 255, .62); padding: 52px 0 26px; }
.footer__inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer p { color: rgba(255, 255, 255, .45); margin: 12px 0 0; max-width: 40ch; font-size: .89rem; }
.footer__links { display: grid; gap: 10px; font-size: .9rem; }
.footer__links a { transition: color .18s; }
.footer__links a:hover { color: #fff; }
.footer__bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; color: rgba(255, 255, 255, .38); }

/* --------------------------------- cart -------------------------------- */
.overlay { position: fixed; inset: 0; background: rgba(12, 15, 20, .5); backdrop-filter: blur(3px); z-index: 90; animation: fade .2s; }
@keyframes fade { from { opacity: 0 } }

.cart {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(420px, 100%); background: var(--surface);
  z-index: 100; display: flex; flex-direction: column; transform: translateX(105%);
  transition: transform .34s var(--ease); box-shadow: var(--shadow-lg);
}
.cart.is-open { transform: none; }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 16px; border-bottom: 1px solid var(--line); }
.cart__body { flex: 1; overflow-y: auto; padding: 18px 22px; display: grid; gap: 14px; align-content: start; }
.cart__foot { padding: 18px 22px 24px; border-top: 1px solid var(--line); display: grid; gap: 13px; background: var(--surface); }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; font-size: .95rem; color: var(--ink-2); }
.cart__total strong { font-size: 1.45rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cart__note { font-size: .83rem; color: var(--accent-strong); background: var(--accent-soft); padding: 10px 13px; border-radius: var(--radius-sm); }
.cart__empty { text-align: center; color: var(--ink-3); padding: 56px 20px; }
.cart__empty div { color: var(--ink-3); margin-bottom: 12px; display: grid; place-items: center; }
.cart__empty svg { width: 38px; height: 38px; }
.cart__empty p { font-size: .9rem; }

.citem { display: grid; grid-template-columns: 62px 1fr auto; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.citem__img { width: 62px; height: 62px; border-radius: var(--radius-sm); object-fit: cover; background: var(--bg-2); display: grid; place-items: center; overflow: hidden; }
.citem__img .card__ph { transform: scale(.42); }
.citem__title { font-size: .89rem; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
.citem__price { font-size: .82rem; color: var(--ink-2); margin-top: 4px; font-variant-numeric: tabular-nums; }
.citem__right { display: grid; gap: 8px; justify-items: end; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.qty button { width: 28px; height: 28px; border: 0; background: var(--surface); cursor: pointer; color: var(--ink-2); font-weight: 700; transition: background .18s; }
.qty button:hover { background: var(--bg-2); color: var(--ink); }
.qty span { min-width: 28px; text-align: center; font-size: .86rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.citem__del { background: none; border: 0; color: var(--ink-3); cursor: pointer; font-size: .77rem; transition: color .18s; }
.citem__del:hover { color: var(--danger); }

/* -------------------------------- modals ------------------------------- */
.modal { position: fixed; inset: 0; z-index: 110; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(12, 15, 20, .55); backdrop-filter: blur(4px); overflow-y: auto; }
.modal.is-open { display: flex; }
.modal__box {
  background: var(--surface); border-radius: var(--radius-lg); width: min(560px, 100%); padding: 30px;
  position: relative; box-shadow: var(--shadow-lg); animation: pop .26s var(--ease);
  max-height: calc(100dvh - 40px); overflow-y: auto;
}
.modal__box--wide { width: min(880px, 100%); }
.modal__box--sm { width: min(420px, 100%); text-align: center; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98) } }
.modal__close { position: absolute; top: 16px; right: 16px; z-index: 2; }
.modal__title { margin-bottom: 22px; font-size: 1.4rem; letter-spacing: -.028em; }

.pv { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.pv__media { border-radius: var(--radius); overflow: hidden; background: linear-gradient(165deg, var(--bg-2), #e4e6ea); aspect-ratio: 1; display: grid; place-items: center; }
.pv__media img { width: 100%; height: 100%; object-fit: cover; }
.pv__thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pv__thumbs img { width: 54px; height: 54px; border-radius: 8px; object-fit: cover; cursor: pointer; border: 2px solid transparent; transition: border-color .18s; }
.pv__thumbs img:hover { border-color: var(--line); }
.pv__thumbs img.is-active { border-color: var(--ink); }
.pv h3 { font-size: 1.45rem; margin-bottom: 10px; letter-spacing: -.028em; }
.pv__sku { font-size: .79rem; color: var(--ink-3); }
.pv__price { display: flex; align-items: center; gap: 12px; margin: 16px 0; flex-wrap: wrap; }
.pv__price .price__now { font-size: 1.8rem; }
.pv__desc { font-size: .91rem; }
.specs { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 0; }
.specs li { display: flex; justify-content: space-between; gap: 14px; font-size: .87rem; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.specs li:last-child { border-bottom: 0; }
.specs b { color: var(--ink-3); font-weight: 600; }

.field { margin-bottom: 15px; }
.field label { display: block; font-size: .83rem; font-weight: 700; margin-bottom: 7px; letter-spacing: -.01em; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: .94rem; outline: none; background: var(--surface); color: var(--ink);
  transition: border-color .18s, box-shadow .18s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:hover, .field textarea:hover { border-color: #d9dce2; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); box-shadow: var(--ring); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field .err { display: none; color: var(--danger); font-size: .77rem; margin-top: 5px; }
.field.has-error .err { display: block; }

.radio-row { display: flex; gap: 8px; flex-wrap: wrap; }
.radio { flex: 1; min-width: 108px; }
.radio input { position: absolute; opacity: 0; pointer-events: none; }
.radio span {
  display: block; text-align: center; padding: 11px 10px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); cursor: pointer; font-size: .87rem; font-weight: 600;
  transition: border-color .18s, background .18s, color .18s;
}
.radio span:hover { border-color: var(--ink-3); }
.radio input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.radio input:focus-visible + span { box-shadow: var(--ring); }

.summary { background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 15px; margin: 6px 0 16px; font-size: .88rem; display: grid; gap: 8px; }
.summary__row { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.summary__total { border-top: 1px solid var(--line); padding-top: 10px; font-weight: 800; font-size: 1.02rem; color: var(--ink); }
.form-error { background: var(--danger-soft); color: var(--danger); padding: 11px 13px; border-radius: var(--radius-sm); font-size: .87rem; margin: 0 0 14px; }
.consent { display: block; text-align: center; color: var(--ink-3); font-size: .75rem; margin-top: 12px; line-height: 1.5; }

.success__ico { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--success-soft); color: var(--success); display: grid; place-items: center; font-size: 1.9rem; font-weight: 800; }
.success h3 { margin-bottom: 10px; letter-spacing: -.025em; }
.success p { margin-bottom: 22px; }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--radius-sm);
  font-size: .88rem; font-weight: 600; box-shadow: var(--shadow-lg); animation: up .25s var(--ease);
}
@keyframes up { from { opacity: 0; transform: translate(-50%, 12px) } }

body.is-locked { overflow: hidden; }

/* ------------------------------ responsive ----------------------------- */
@media (max-width: 1024px) {
  .adv-grid, .steps__list { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { display: none; }
  .contacts__inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav {
    position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--night-2); padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height .3s var(--ease), padding .3s var(--ease);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .nav.is-open { max-height: 320px; padding: 10px 20px 16px; }
  .nav a { padding: 12px 10px; border-radius: 8px; }
  .burger { display: block; }
  .header__phone { display: none; }
  .lang__btn { padding: 6px 7px; font-size: .73rem; }
  .adv-grid, .steps__list { grid-template-columns: 1fr; }
  .advantages { padding: 32px 0 48px; }
  .delivery, .contacts { padding: 56px 0; }
  .catalog { margin-top: -40px; padding: 0 0 34px; }
  .catalog .container { width: min(100% - 24px, var(--container)); padding: 16px; border-radius: var(--radius); }
  .section-head { margin-bottom: 18px; gap: 16px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin-bottom: 18px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; }
  .products { grid-template-columns: 1fr; gap: 12px; }
  .card { display: grid; grid-template-columns: 116px 1fr; min-height: 172px; }
  .card__media { aspect-ratio: auto; height: 100%; min-height: 172px; }
  .card__body { padding: 14px; }
  .card__desc { display: none; }
  .card__badge { top: 8px; left: 8px; padding: 4px 8px; font-size: .68rem; }
  .card__sale { top: 8px; right: 8px; padding: 4px 7px; font-size: .68rem; }
  .card__foot { align-items: flex-start; flex-direction: column; gap: 6px; padding-top: 6px; }
  .price__now { font-size: 1.08rem; }
  .search { min-width: 100%; }
  .pv { grid-template-columns: 1fr; }
  .modal__box { padding: 24px 18px; }
  .hero { padding: 28px 0 62px; }
  .hero p { font-size: .97rem; }
  .hero__cta { margin: 20px 0 0; }
  .hero__stats { display: none; }
  .card__ph { transform: scale(.7); }
  .callback { padding: 24px 20px; }
}

@media (max-width: 420px) {
  .container { width: min(100% - 28px, var(--container)); }
  .hero__cta .btn { width: 100%; }
  .card { grid-template-columns: 100px 1fr; }
}
