/* ==========================================================================
   СТРЕЛА — Light Lime. Светлая база, графит + лаймовый акцент.
   Чёткая сепарация секций (чередование фонов). Все текущие блоки сохранены.
   Шрифты: Unbounded (заголовки) + Manrope (текст).
   ========================================================================== */
:root {
  --bg:        #F1F2F5;   /* фон страницы / обычные секции */
  --bg-alt:    #E8EAEE;   /* фон чередующихся секций */
  --surface:   #FFFFFF;   /* карточки */
  --surface-2: #EDEFF3;   /* внутренние плитки/датчики */
  --media:     #EFF0F4;   /* светлая плитка под фото товара */
  --ink:       #101728;   /* основной текст / заголовки (графит) */
  --ink-2:     #566072;   /* вторичный текст */
  --line:      #DDE0E6;   /* границы */
  --line-2:    #CFD3DA;   /* границы поярче */
  --lime:      #CBFF48;   /* лаймовый акцент */
  --lime-700:  #B4EE2C;
  --lime-050:  #F1FFD0;   /* лаймовый тинт */
  --lime-ink:  #4E6B00;   /* тёмно-лаймовый (для текста-акцента) */
  --ok:        #12A150;
  --warn:      #C2620A;
  --danger:    #E5484D;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-1: 0 3px 8px rgba(16,23,40,.06), 0 16px 36px rgba(16,23,40,.10);
  --shadow-2: 0 24px 60px rgba(16,23,40,.18);
  --maxw: 1240px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body);
  background: var(--bg); color: var(--ink);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; margin: 0; color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 8px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--font-body); font-weight: 800; font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface-2); padding: 7px 14px; border-radius: 999px;
}
.eyebrow::before { content:""; width: 9px; height: 9px; border-radius:3px; background: var(--lime); transform: rotate(45deg); }
.muted { color: var(--ink-2); }
.section { padding: 92px 0; position: relative; }
.section.band-alt { background: var(--bg-alt); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 50px); }

/* ---------- Кнопки ---------- */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  border:1.5px solid transparent; border-radius: 999px; padding: 13px 26px; min-height:48px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing:-.01em;
  transition: transform .18s var(--ease), box-shadow .2s, background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--ink); color:#fff; }
.btn-primary:hover { background:#000; box-shadow: 0 10px 26px rgba(16,23,40,.24); transform: translateY(-2px); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color:#fff; }
.btn-dark:hover { background:#000; }
.btn-charge { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn-charge:hover { background: var(--lime-700); box-shadow: 0 10px 26px rgba(180,238,44,.45); transform: translateY(-2px); }
.btn-block { width:100%; }
.btn-lg { padding: 16px 32px; font-size: 16px; min-height:56px; }
.btn-sm { padding: 9px 16px; font-size: 14px; min-height:40px; }

/* ---------- Хедер ---------- */
.hdr { position: sticky; top:0; z-index: 50; background: rgba(241,242,245,.82); backdrop-filter: blur(16px); border-bottom:1px solid var(--line); }
.hdr-in { display:flex; align-items:center; gap: 22px; height: 72px; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing:-.02em; display:inline-flex; align-items:center; gap:10px; color: var(--ink); }
.logo-mark { color: var(--ink); flex-shrink:0; }
.hdr .logo-mark { transition: transform .2s var(--ease); }
.hdr .logo:hover .logo-mark { transform: translateX(4px); }
.nav { display:flex; gap: 2px; margin-left: 10px; }
.nav a { padding: 8px 13px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: color .15s, background .15s; }
.nav a:hover, .nav a.active { color: var(--ink); background: var(--surface); }
.hdr-right { margin-left:auto; display:flex; align-items:center; gap: 10px; }
.hdr-phone { font-weight:700; font-size:15px; }
.hdr-phone span { display:block; font-size:11px; font-weight:600; color:var(--ink-2); letter-spacing:.02em; }
.icon-btn { position:relative; width:46px; height:46px; border-radius:14px; background:var(--surface); border:1.5px solid var(--line); display:grid; place-items:center; color:var(--ink); transition: border-color .15s, background .15s; }
.icon-btn:hover { border-color: var(--ink); }
.cart-count { position:absolute; top:-7px; right:-7px; min-width:22px; height:22px; padding:0 6px; border-radius:999px; background: var(--lime); color:var(--ink); font-size:12px; font-weight:800; display:grid; place-items:center; border:2px solid var(--bg); }
.cart-count:empty, .cart-count[data-n="0"] { display:none; }
.burger { display:none; }
.mobile-nav { display:none; }
.mobile-nav.open { display:flex; flex-direction:column; padding:8px 24px 16px; gap:2px; background:var(--surface); border-bottom:1px solid var(--line); }
.mobile-nav a { padding:13px 10px; font-weight:800; border-radius:12px; color:var(--ink); }
.mobile-nav a:hover { background:var(--surface-2); }
@media (min-width:861px) { .mobile-nav { display:none !important; } }

/* ---------- Hero (баннер во всю ширину, без обрезки) ---------- */
.hero { padding: 0; }
.hero-banner { position: relative; overflow: hidden; background:#d8d1c7; }
.hero-bg-img { display:block; width:100%; height:auto; }  /* всё фото, во всю ширину, без обрезки */
.hero-scrim { position:absolute; inset:0; z-index:1; pointer-events:none;
  background: linear-gradient(90deg, rgba(246,247,249,.82) 0%, rgba(246,247,249,.5) 24%, rgba(246,247,249,.12) 42%, transparent 56%); }
.hero-overlay { position:absolute; top:0; bottom:0; left:0; right:0; margin:0 auto; z-index:2; display:flex; align-items:center; }
.hero-copy { max-width: 44%; display:flex; flex-direction:column; align-items:flex-start; }
.hero h1 { font-size: clamp(24px, 3.1vw, 52px); letter-spacing:-.03em; margin: 16px 0 0; }
.grad-word { position:relative; display:inline-block; }
.grad-word::after { content:""; position:absolute; left:-2px; right:-2px; bottom:.08em; height:.34em; z-index:-1;
  background: var(--lime); border-radius:6px; transform-origin:left; transform: scaleX(0); animation: charge 1s .35s var(--ease) forwards; }
@keyframes charge { to { transform: scaleX(1); } }
.hero .lead { font-size: clamp(14px, 1.3vw, 18px); color: var(--ink-2); max-width: 30em; margin: 16px 0 24px; }
.hero-cta { display:flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display:flex; gap: clamp(20px, 2.4vw, 36px); margin-top: clamp(20px, 2.6vw, 36px); flex-wrap:wrap; }
.hero-stats .st b { font-family: var(--font-display); font-weight:800; font-size: clamp(24px, 2.4vw, 32px); display:block; letter-spacing:-.03em; color: var(--ink); }
.hero-stats .st span { font-size: 13px; color: var(--ink-2); }
.hero-usp { list-style:none; padding:0; margin: 6px 0 26px; display:flex; flex-direction:column; gap:10px; }
.hero-usp li { display:flex; align-items:center; gap:10px; font-family: var(--font-body); font-weight:700; font-size:15px; color: var(--ink); }
.hero-usp li::before { content:"✓"; flex-shrink:0; width:22px; height:22px; border-radius:999px; background: var(--lime); color: var(--ink); display:grid; place-items:center; font-size:13px; font-weight:800; }

/* ---------- Бренды (кликабельные плашки) ---------- */
.brand-grid { display:flex; flex-wrap:wrap; gap:12px; }
.brand-chip { display:inline-flex; align-items:center; gap:10px; padding:13px 22px; border-radius:999px; border:1.5px solid var(--line-2); background: var(--surface); transition: border-color .15s, background .15s, transform .15s, box-shadow .2s; }
.brand-chip:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.brand-chip .bc-name { font-family: var(--font-display); font-weight:800; font-size:16px; letter-spacing:-.01em; color:var(--ink); }
.brand-chip .bc-count { font-family: var(--font-body); font-weight:700; font-size:12px; color: var(--lime-ink); background: var(--lime-050); padding:2px 9px; border-radius:999px; min-width:26px; text-align:center; }

/* ---------- Категории ---------- */
.cat-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card { position:relative; display:flex; flex-direction:column; background: var(--surface); border:1.5px solid var(--line); border-radius: var(--radius); overflow:hidden; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-1); border-color: var(--ink); }
.cat-media { position:relative; aspect-ratio: 16/12; overflow:hidden; background: linear-gradient(165deg, #E7EAF0 0%, #F6F7FA 52%, #EAEDF2 100%); }
.cat-media::before { content:""; position:absolute; inset:0; background: radial-gradient(58% 56% at 50% 42%, rgba(203,255,72,.22), transparent 72%); }
.cat-media::after { content:""; position:absolute; left:0; right:0; bottom:0; height:15%; background: linear-gradient(0deg, var(--surface) 6%, transparent); z-index:2; pointer-events:none; }
.cat-media img { position:relative; z-index:1; width:100%; height:100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; transform: scale(1.32); transition: transform .4s var(--ease); }
.cat-card:hover .cat-media img { transform: scale(1.4); }
.cat-info { padding: 18px 22px 22px; }
.cat-info h3 { font-size: 19px; }
.cat-info .cnt { color: var(--ink-2); font-size: 14px; font-weight:700; margin-top: 4px; }
.cat-card .arr { position:absolute; top:14px; right:14px; z-index:3; width:34px; height:34px; border-radius:999px; background: rgba(255,255,255,.7); backdrop-filter: blur(4px); border:1px solid var(--line); display:grid; place-items:center; opacity:0; transform: translateX(-6px); transition:.2s var(--ease); color:var(--ink); font-size:18px; }
.cat-card:hover .arr { opacity:1; transform: translateX(0); }
.cat-card.tall { grid-row: span 2; border-color: var(--lime-700); }
.cat-card.tall .cat-media { flex:1; aspect-ratio: auto; min-height: 240px; }
.cat-card.tall .cat-info h3 { font-size: 22px; }

/* ---------- Карточка товара ---------- */
.prod-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard { background: var(--surface); border:1.5px solid var(--line); border-radius: var(--radius); overflow:hidden; display:flex; flex-direction:column; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-1); border-color: var(--ink); }
.pcard-media { position:relative; aspect-ratio: 1/1; background: var(--media); overflow:hidden; }
.pcard-media img { width:100%; height:100%; object-fit: contain; padding: 12px; transition: transform .35s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.05); }
.pcard-badges { position:absolute; top:12px; left:12px; display:flex; flex-direction:column; gap:6px; align-items:flex-start; }
.badge { font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing:.02em; text-transform:uppercase; padding: 5px 10px; border-radius: 999px; }
.badge.hit { background: var(--ink); color:#fff; }
.badge.sale { background: var(--lime); color: var(--ink); }
.badge.new { background: var(--ink); color: var(--lime); }
.badge.low { background: #fff; color: var(--warn); border:1.5px solid var(--warn); }
.pcard-body { padding: 18px 20px 20px; display:flex; flex-direction:column; flex:1; }
.pcard-cat { display:inline-block; align-self:flex-start; max-width:100%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-family: var(--font-display); font-size: 11px; font-weight:700; color: var(--ink); letter-spacing:.03em; text-transform:uppercase; background: var(--lime-050); padding:5px 11px; border-radius:999px; }
.pcard h3 { font-family: var(--font-body); font-weight: 800; font-size: 17px; line-height:1.25; margin: 12px 0 16px; letter-spacing:-.01em; color:var(--ink); }
.pcard h3 a:hover { color: var(--ink-2); }
.gauges { display:flex; gap: 7px; margin-top:auto; }
.gauge { flex:1; background: var(--surface-2); border-radius: 12px; padding: 10px 8px; text-align:center; }
.gauge b { display:block; font-family: var(--font-display); font-size: 16px; font-weight: 800; letter-spacing:-.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.gauge span { display:block; font-size: 10px; color: var(--ink-2); text-transform:uppercase; letter-spacing:.04em; margin-top:2px; }
.pcard-foot { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top: 18px; }
.price { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing:-.02em; color:var(--ink); }
.price .old { display:block; font-family:var(--font-body); font-size: 13px; color: var(--ink-2); text-decoration: line-through; font-weight:700; letter-spacing:0; }
.pcard .btn-add { flex-shrink:0; }

/* ---------- Каталог (страница) ---------- */
.catalog { display:grid; grid-template-columns: 280px 1fr; gap: 32px; align-items:start; }
.filters { background: var(--surface); border:1.5px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 92px; }
.filters h4 { font-family: var(--font-body); font-weight:800; font-size:12px; text-transform:uppercase; letter-spacing:.1em; color: var(--ink-2); margin: 24px 0 10px; }
.filters h4:first-child { margin-top:0; }
.fopt { display:flex; align-items:center; gap:10px; padding: 6px 0; font-size: 15px; cursor:pointer; min-height:36px; }
.fopt input { width:19px; height:19px; accent-color: var(--ink); cursor:pointer; }
.frange { display:flex; gap:8px; }
.frange input { width:100%; padding: 11px 12px; border:1.5px solid var(--line); border-radius: 12px; font: inherit; font-size:14px; background:var(--surface); }
.frange input:focus { border-color: var(--ink); outline:none; }
.filters .btn { margin-top: 18px; }
.catalog-top { display:flex; align-items:center; gap: 12px; margin-bottom: 20px; flex-wrap:wrap; }
.search { flex:1; min-width: 200px; position:relative; }
.search input { width:100%; padding: 14px 16px 14px 46px; border:1.5px solid var(--line); border-radius: 999px; font: inherit; background: var(--surface); }
.search input:focus { border-color: var(--ink); outline:none; }
.search svg { position:absolute; left:17px; top:50%; transform: translateY(-50%); color: var(--ink-2); }
.sort { padding: 13px 16px; border:1.5px solid var(--line); border-radius: 999px; font: inherit; font-weight:600; background: var(--surface); }
.found { font-family:var(--font-display); font-size:14px; color: var(--ink-2); font-weight:700; }
.filter-toggle { display:none; }
.empty { text-align:center; padding: 60px 20px; color: var(--ink-2); }
.empty h3 { font-family:var(--font-body); margin-bottom:6px; }

/* Табы витрины каталога */
.cat-tabs { display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 28px; }
.cat-tab { font-family: var(--font-display); font-weight:700; font-size:14px; padding: 10px 18px; border-radius:999px; border:1.5px solid var(--line-2); background: var(--surface); color: var(--ink-2); transition: background .15s, color .15s, border-color .15s; }
.cat-tab:hover { border-color: var(--ink); color:var(--ink); }
.cat-tab.active { background: var(--ink); color:#fff; border-color: var(--ink); }

/* ---------- Страница товара ---------- */
.pdp { display:grid; grid-template-columns: 1.1fr 1fr; gap: 52px; align-items:start; padding-top: 20px; }
.breadcrumbs { font-size:14px; color: var(--ink-2); margin: 16px 0 10px; display:flex; gap:8px; flex-wrap:wrap; }
.breadcrumbs a:hover { color: var(--ink); }
.gallery-main { background: var(--media); border:1.5px solid var(--line); border-radius: var(--radius); aspect-ratio: 1/1; overflow:hidden; position:sticky; top:92px; }
.gallery-main img { width:100%; height:100%; object-fit: contain; padding: 30px; }
.gallery-thumbs { display:flex; gap:10px; margin-top:12px; flex-wrap:wrap; }
.gallery-thumbs img { width:68px; height:68px; object-fit:contain; border-radius:14px; border:2px solid var(--line); cursor:pointer; background: var(--media); padding:5px; }
.gallery-thumbs img.active { border-color: var(--ink); }
.pdp-info h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.6vw, 42px); letter-spacing:-.02em; margin: 6px 0 12px; }
.pdp-meta { display:flex; align-items:center; gap: 14px; flex-wrap:wrap; font-size:14px; color: var(--ink-2); }
.stars { color: #F5A623; letter-spacing:1px; }
.pdp-price { display:flex; align-items:baseline; gap:14px; margin: 24px 0 8px; }
.pdp-price .now { font-family: var(--font-display); font-weight:800; font-size: 44px; letter-spacing:-.03em; color:var(--ink); }
.pdp-price .old { font-size:20px; color: var(--ink-2); text-decoration: line-through; }
.stock { display:inline-flex; align-items:center; gap:7px; font-family:var(--font-display); font-weight:700; font-size:14px; color: var(--ok); }
.stock.low { color: var(--warn); }
.stock i { width:9px; height:9px; border-radius:999px; background: currentColor; }
.pdp-actions { display:flex; gap:12px; margin: 28px 0 14px; flex-wrap:wrap; }
.pdp-actions .btn { flex:1; min-width: 170px; }
.pdp-msg { display:flex; gap:12px; }
.pdp-msg a { flex:1; }
.pdp-trust { list-style:none; padding: 22px 0 0; margin: 22px 0 0; border-top:1.5px solid var(--line); display:grid; grid-template-columns: 1fr 1fr; gap: 14px; font-size:14px; }
.pdp-trust li { display:flex; gap:10px; align-items:center; color: var(--ink-2); }
.pdp-trust li b { color:var(--ink); font-weight:800; font-family:var(--font-display); }
.spec-gauges { display:grid; grid-template-columns: repeat(4,1fr); gap:12px; margin: 28px 0; }
.spec-gauges .gauge { background: var(--lime-050); padding: 16px; }
.spec-gauges .gauge b { font-size:24px; color:var(--ink); }
.pdp-block { margin-top: 64px; }
.pdp-block h2 { font-size: 30px; margin-bottom: 22px; }
.spec-table { width:100%; border-collapse: collapse; background: var(--surface); border:1.5px solid var(--line); border-radius: var(--radius); overflow:hidden; }
.spec-table tr { border-bottom:1px solid var(--line); }
.spec-table tr:last-child { border-bottom:none; }
.spec-table td { padding: 15px 20px; font-size:15px; }
.spec-table td:first-child { color: var(--ink-2); width: 45%; }
.spec-table td:last-child { font-weight:800; text-align:right; font-family:var(--font-display); }
.spec-table tr:nth-child(even) { background: var(--surface-2); }
.desc { font-size:16px; color: var(--ink-2); line-height:1.75; max-width: 60ch; }

.acc { border:1.5px solid var(--line); border-radius: var(--radius); overflow:hidden; background: var(--surface); }
.acc details { border-bottom:1px solid var(--line); }
.acc details:last-child { border-bottom:none; }
.acc summary { padding: 20px 24px; font-family:var(--font-display); font-weight:700; cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:12px; color:var(--ink); }
.acc summary::-webkit-details-marker { display:none; }
.acc summary::after { content:"+"; font-size:26px; color: var(--ink); transition: transform .2s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .acc-body { padding: 0 24px 20px; color: var(--ink-2); }

/* ---------- Доверие / шаги ---------- */
.trust-bar { display:grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.trust-item { background: var(--surface); border:1.5px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .2s, transform .2s; }
.trust-item:hover { border-color: var(--ink); transform: translateY(-4px); }
.trust-item .ico { width:52px; height:52px; border-radius:16px; background: var(--lime-050); color: var(--ink); display:grid; place-items:center; margin-bottom:18px; font-size:24px; }
.trust-item b { display:block; font-family:var(--font-display); font-weight:800; font-size:18px; margin-bottom:6px; }
.trust-item span { font-size:14px; color: var(--ink-2); }
.steps { display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.step { position:relative; }
.step .n { font-family:var(--font-display); font-size: 18px; font-weight:800; color:var(--ink); width:52px; height:52px; border-radius:18px; display:grid; place-items:center; margin-bottom:18px; background: var(--lime); }
.step b { display:block; font-family:var(--font-display); font-size:19px; margin-bottom:6px; }
.step span { color: var(--ink-2); font-size:14px; }

/* отзывы */
.reviews-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:18px; }
.review { background: var(--surface); border:1.5px solid var(--line); border-radius: var(--radius); padding: 26px; }
.review .stars { margin-bottom: 12px; }
.review p { margin:0 0 16px; font-size:15px; color: var(--ink); }
.review .who { display:flex; align-items:center; gap:10px; }
.review .av { width:42px; height:42px; border-radius:999px; background: var(--lime); color:var(--ink); display:grid; place-items:center; font-family:var(--font-display); font-weight:800; }
.review .who b { font-family:var(--font-display); font-size:14px; }
.review .who span { font-size:12px; color: var(--ink-2); }
.verified { font-size:12px; color: var(--ok); font-weight:700; margin-top:8px; display:inline-flex; gap:5px; }
.rating-summary { display:inline-flex; align-items:center; gap:8px; font-size:15px; color: var(--ink-2); }
.rating-summary b { font-family: var(--font-display); font-size:22px; color:var(--ink); }

/* ---------- Корзина ---------- */
.cart-layout { display:grid; grid-template-columns: 1fr 400px; gap: 32px; align-items:start; padding-top: 16px; }
.cart-items { display:flex; flex-direction:column; gap: 14px; }
.citem { display:grid; grid-template-columns: 100px 1fr auto; gap:18px; background: var(--surface); border:1.5px solid var(--line); border-radius: var(--radius); padding: 18px; align-items:center; }
.citem img { width:100px; height:100px; object-fit:contain; background: var(--media); border-radius:16px; padding:8px; }
.citem h4 { font-family:var(--font-display); font-weight:700; font-size:16px; margin:0 0 4px; }
.citem .c-cat { font-family:var(--font-display); font-size:12px; color:var(--ink-2); font-weight:700; }
.citem .c-price { font-family:var(--font-display); font-weight:800; font-size:20px; margin-top:6px; }
.citem-side { display:flex; flex-direction:column; align-items:flex-end; gap:12px; }
.qty { display:flex; align-items:center; border:1.5px solid var(--line); border-radius:999px; overflow:hidden; }
.qty button { width:40px; height:40px; background: var(--surface); border:none; font-size:20px; color:var(--ink); }
.qty button:hover { background: var(--surface-2); }
.qty span { min-width:40px; text-align:center; font-family:var(--font-display); font-weight:800; font-variant-numeric:tabular-nums; }
.c-remove { background:none; border:none; color:var(--ink-2); font-size:13px; font-weight:700; }
.c-remove:hover { color: var(--danger); }
.summary { background: var(--ink); color:#fff; border-radius: var(--radius); padding: 28px; position:sticky; top:92px; }
.summary h3 { font-family:var(--font-display); font-weight:800; font-size:22px; margin-bottom:18px; color:#fff; }
.sum-row { display:flex; justify-content:space-between; padding:9px 0; color:rgba(255,255,255,.6); font-size:15px; }
.sum-row.total { border-top:1px solid rgba(255,255,255,.15); margin-top:8px; padding-top:16px; color:#fff; font-size:16px; }
.sum-row.total b { font-family:var(--font-display); font-weight:800; font-size:30px; letter-spacing:-.02em; color:var(--lime); }
.summary .field label { color:rgba(255,255,255,.85); }
.summary .field input, .summary .field textarea { background:rgba(255,255,255,.07); border-color:rgba(255,255,255,.18); color:#fff; }
.summary .field input::placeholder, .summary .field textarea::placeholder { color:rgba(255,255,255,.45); }
.summary .field input:focus, .summary .field textarea:focus { border-color:var(--lime); }
.summary .muted { color:rgba(255,255,255,.5) !important; }
.summary .btn-primary { background: var(--lime); color: var(--ink); }
.summary .btn-primary:hover { background: var(--lime-700); box-shadow: 0 10px 26px rgba(203,255,72,.25); }
.field { margin-bottom:14px; }
.field label { display:block; font-family:var(--font-display); font-size:13px; font-weight:700; margin-bottom:6px; }
.field input, .field textarea, .field select { width:100%; padding:13px 15px; border:1.5px solid var(--line); border-radius:14px; font:inherit; background: var(--surface); min-height:48px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color:var(--ink); outline:none; }
.cart-empty { text-align:center; padding: 90px 20px; }
.cart-empty .big { font-size:68px; margin-bottom:16px; }

/* ---------- Модалка ---------- */
.modal-back { position:fixed; inset:0; background: rgba(16,23,40,.55); backdrop-filter: blur(4px); z-index:100; display:grid; place-items:center; padding:20px; opacity:0; pointer-events:none; transition:opacity .2s; }
.modal-back.open { opacity:1; pointer-events:auto; }
.modal { background: var(--surface); border-radius: 24px; padding: 34px; width: 100%; max-width: 456px; box-shadow: var(--shadow-2); transform: translateY(12px) scale(.98); transition: transform .25s var(--ease); }
.modal-back.open .modal { transform: none; }
.modal h3 { font-family:var(--font-display); font-weight:800; font-size:24px; margin-bottom:6px; }
.modal .m-prod { display:flex; gap:12px; align-items:center; background: var(--surface-2); border-radius:16px; padding:12px; margin:18px 0; }
.modal .m-prod img { width:60px; height:60px; object-fit:contain; }
.modal .m-prod b { font-family:var(--font-display); font-size:15px; } .modal .m-prod .price { font-size:20px; }
.m-x { float:right; background:none; border:none; font-size:28px; color:var(--ink-2); line-height:1; }

/* ---------- Toast ---------- */
.toast-wrap { position:fixed; left:50%; bottom:26px; transform:translateX(-50%); z-index:200; display:flex; flex-direction:column; gap:10px; align-items:center; }
.toast { background: var(--ink); color:#fff; padding: 15px 24px; border-radius: 999px; font-family:var(--font-display); font-weight:700; font-size:15px; box-shadow: var(--shadow-2); display:flex; align-items:center; gap:10px; animation: toastin .3s var(--ease); }
.toast .dot { width:9px; height:9px; border-radius:999px; background: var(--lime); }
@keyframes toastin { from { transform: translateY(16px); opacity:0; } }

/* ---------- Добавление в корзину: полёт, счётчик, мини-попап ---------- */
.fly-img { width:100%; height:100%; object-fit:contain; border-radius:14px; background:var(--surface); box-shadow:var(--shadow-2); }
@keyframes cartBump { 0% { transform:scale(1); } 45% { transform:scale(1.4); } 100% { transform:scale(1); } }
.cart-count.bump { animation: cartBump .45s var(--ease); }
.added-pop { position:fixed; top:80px; right:20px; width:330px; z-index:90;
  background:var(--surface); border:1.5px solid var(--line); border-radius:var(--radius);
  padding:18px; box-shadow:var(--shadow-2);
  opacity:0; transform:translateY(-8px) scale(.98); pointer-events:none;
  transition:opacity .25s var(--ease), transform .25s var(--ease); }
.added-pop.open { opacity:1; transform:none; pointer-events:auto; }
.added-pop .ap-x { position:absolute; top:10px; right:14px; background:none; border:none; font-size:24px; color:var(--ink-2); cursor:pointer; line-height:1; }
.added-pop .ap-head { font-family:var(--font-display); font-weight:800; font-size:15px; display:flex; gap:8px; align-items:center; margin-bottom:12px; }
.added-pop .ap-dot { width:10px; height:10px; border-radius:999px; background:var(--lime); flex:none; }
.added-pop .ap-prod { display:flex; gap:12px; align-items:center; background:var(--surface-2); border-radius:14px; padding:10px; }
.added-pop .ap-prod img { width:56px; height:56px; object-fit:contain; flex:none; }
.added-pop .ap-name { font-family:var(--font-display); font-size:14px; display:block; }
.added-pop .ap-price { font-family:var(--font-display); font-weight:800; font-size:17px; margin-top:2px; }
.added-pop .ap-total { font-size:13px; color:var(--ink-2); margin:10px 0 12px; }
.added-pop .ap-actions { display:flex; gap:8px; }
.added-pop .ap-actions .btn { flex:1; white-space:nowrap; padding-left:10px; padding-right:10px; }
@media (max-width: 560px) {
  .added-pop { top:auto; right:10px; left:10px; width:auto;
    bottom:calc(12px + env(safe-area-inset-bottom)); transform:translateY(12px) scale(.98); }
  .added-pop.open { transform:none; }
}

/* ---------- Сегмент-контрол «Способ связи» (форма заказа) ---------- */
.seg { display:flex; gap:4px; background:var(--surface-2); border:1.5px solid var(--line); border-radius:14px; padding:4px; }
.seg-opt { flex:1; position:relative; }
.seg-opt input { position:absolute; opacity:0; pointer-events:none; }
.seg-opt span { display:flex; align-items:center; justify-content:center; gap:7px; min-height:40px; border-radius:10px; font-family:var(--font-display); font-weight:700; font-size:14px; color:var(--ink-2); cursor:pointer; transition:background .15s, color .15s; }
.seg-opt input:checked + span { background:var(--lime); color:var(--ink); }
.seg-opt input:focus-visible + span { outline:2px solid var(--lime-700); outline-offset:2px; }
.summary .seg { background:rgba(255,255,255,.07); border-color:rgba(255,255,255,.18); }
.summary .seg-opt span { color:rgba(255,255,255,.65); }
.summary .seg-opt input:checked + span { color:var(--ink); }
.modal { max-height: calc(100dvh - 40px); overflow:auto; }

/* ---------- Плавающая связь ---------- */
.fab { position:fixed; right:20px; bottom:20px; z-index:40; display:flex; flex-direction:column; gap:12px; }
.fab a { width:58px; height:58px; border-radius:20px; display:grid; place-items:center; box-shadow: var(--shadow-2); color:#fff; font-family:var(--font-display); font-weight:800; transition: transform .15s; }
.fab a:hover { transform: scale(1.08); }
.fab .tg { background:#2AABEE; }
.fab .mx { background: var(--ink); color: var(--lime); }

/* двухколоночный вариант трастовых плиток; на мобиле складывается в одну колонку */
@media (min-width: 561px) { .trust-2col { grid-template-columns: 1fr 1fr; } }

/* ---------- Официальные иконки мессенджеров ---------- */
.hdr-msgr img { width:26px; height:26px; display:block; }
.mi { width:18px; height:18px; flex:none; vertical-align:-4px; }
.mi-lg { width:28px; height:28px; }
.seg-opt span { display:flex; align-items:center; justify-content:center; gap:7px; }
.fab a, .fab .tg, .fab .mx { background:none; box-shadow:none; }
.fab a img { width:100%; height:100%; filter: drop-shadow(0 8px 18px rgba(16,23,40,.35)); }

/* ---------- CTA ---------- */
.cta-section { padding-bottom: 96px; }
.cta-band { background: var(--ink); color:#fff; border-radius: 30px; padding: 62px; display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap; position:relative; overflow:hidden; }
.cta-band h2 { font-size: clamp(30px,4vw,46px); max-width: 15ch; color:#fff; }
.cta-band p { color: rgba(255,255,255,.72); margin:12px 0 0; }
.cta-band .spark-grid { position:absolute; inset:0; background-image: radial-gradient(rgba(203,255,72,.35) 2px, transparent 2.2px); background-size: 30px 30px; opacity:.35; }
.cta-band .btn-charge { background: var(--lime); color: var(--ink); }
.cta-band .cta-ghost { background: rgba(255,255,255,.1) !important; color:#fff !important; border-color: rgba(255,255,255,.4) !important; }
.cta-band .cta-ghost:hover { background: rgba(255,255,255,.2) !important; }

/* ---------- Подвал ---------- */
.ftr { background: var(--ink); color: #B9BEC7; padding: 76px 0 34px; }
.ftr-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 34px; }
.ftr .logo { color:#fff; margin-bottom:14px; }
.ftr .logo-mark { color: var(--lime); }
.ftr h5 { color:#fff; font-family:var(--font-display); font-weight:800; font-size:13px; text-transform:uppercase; letter-spacing:.08em; margin:0 0 16px; }
.ftr a { display:block; padding:6px 0; color:#B9BEC7; font-size:15px; }
.ftr a:hover { color:#fff; }
.ftr-msg { display:flex; gap:10px; margin-top:18px; }
.ftr-msg a { width:auto; padding:10px 18px; border-radius:999px; border:1px solid rgba(255,255,255,.2); font-family:var(--font-display); font-weight:700; }
.ftr-msg a:hover { border-color: var(--lime); }
.ftr-bottom { border-top:1px solid rgba(255,255,255,.12); margin-top:50px; padding-top:28px; font-size:13px; color:#7C828C; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; }

/* ---------- Страницы документов (оферта, политика и т.п.) ---------- */
.crumbs { font-size:13px; color:var(--ink-2); margin:26px 0 14px; }
.crumbs a { color:var(--ink-2); }
.crumbs a:hover { color:var(--ink); }
.doc { background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:42px 48px; margin-bottom:44px; }
.doc h1 { font-family:var(--font-display); font-size:clamp(23px, 3.4vw, 31px); line-height:1.22; letter-spacing:-.01em; margin:10px 0 6px; }
.doc .upd { color:var(--ink-2); font-size:13.5px; margin-bottom:26px; }
.doc h2 { font-size:18px; margin:28px 0 10px; }
.doc h2 .n { color:var(--lime-ink); font-weight:800; margin-right:8px; }
.doc p, .doc li { font-size:15px; color:#3A4458; line-height:1.65; }
.doc p { margin:0 0 10px; }
.doc ul, .doc ol { padding-left:22px; margin:10px 0; }
.doc li { margin-bottom:7px; }
.doc a { color:var(--lime-ink); text-decoration:underline; }
.doc a:hover { text-decoration:none; }
.req { width:100%; border-collapse:collapse; margin-top:6px; font-size:15px; }
.req td { padding:12px 15px; border:1px solid var(--line); vertical-align:top; color:#3A4458; }
.req td:first-child { width:40%; color:var(--ink-2); background:var(--surface-2); font-weight:600; }
.doc .note { margin-top:28px; padding:14px 17px; background:var(--lime-050); border:1px solid var(--line); border-left:3px solid var(--lime-700); border-radius:10px; color:#3A4458; font-size:13.5px; }
@media (max-width: 680px) { .doc { padding:26px 20px; } }

/* ---------- Reveal ---------- */
.reveal { opacity:0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity:1; transform:none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .cat-grid, .spec-gauges { grid-template-columns: repeat(3,1fr); }
  .prod-grid { grid-template-columns: repeat(2,1fr); }
  .trust-bar, .steps { grid-template-columns: repeat(2,1fr); }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav, .hdr-phone { display:none; }
  .burger { display:grid; }
  .pdp { grid-template-columns: minmax(0, 1fr); }
  .gallery-main, .filters, .summary { position: static; }
  .catalog { grid-template-columns: 1fr; }
  .filters { display:none; }
  .filters.open { display:block; position:fixed; inset:0; z-index:90; overflow:auto; border-radius:0; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .filter-toggle { display:inline-flex; }
  .cart-layout { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 30px; }
  .hero { padding: 0; }
  .hero-banner { border-radius: 0; }
  /* мобильный герой: фото — фон, текст поверх светлой шторки */
  .hero-bg-img { position:absolute; top:0; left:0; width:100%; height:clamp(320px, 95vw, 430px); object-fit:cover; object-position: 100% center; }
  .hero-scrim { display:block; background: linear-gradient(180deg,
    rgba(246,247,249,.08) 0px, rgba(246,247,249,.14) 130px, rgba(246,247,249,.82) 270px, rgba(246,247,249,.97) 390px, rgba(246,247,249,.97) 100%); }
  .hero-overlay { position:relative; display:block; padding:0; }
  .hero-copy { max-width:none; padding: clamp(210px, 56vw, 280px) 20px 34px; background: transparent; align-items:flex-start; }
  .cta-band { padding: 36px; flex-direction: column; align-items: flex-start; }
  .cta-band .pdp-msg { width: 100%; }
  .pdp-actions .btn { flex: 1 1 100%; }
}
@media (max-width: 560px) {
  .hdr-msgr { display:none; } /* в шапке тесно — мессенджеры остаются в плавающих кнопках */
  .btn { white-space: normal; } /* длинные подписи кнопок переносятся, а не распирают страницу */
  .wrap { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 22px; }
  .section-head h2 { font-size: clamp(24px, 7vw, 34px); overflow-wrap: break-word; }
  .cat-grid, .prod-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .cat-card.tall { grid-row: span 1; }
  .cat-card.tall .cat-media { min-height: 0; }
  .cat-info { padding: 12px 12px 14px; }
  .cat-info h3, .cat-card.tall .cat-info h3 { font-size: 13.5px; hyphens: auto; overflow-wrap: break-word; }
  .cat-info .cnt { font-size: 12px; }
  .spec-gauges { grid-template-columns: repeat(2,1fr); }
  .trust-bar, .steps { grid-template-columns: 1fr; }
  .pdp-trust { grid-template-columns: 1fr; }
  .citem { grid-template-columns: 76px 1fr; }
  .citem-side { grid-column: 1 / -1; flex-direction:row; justify-content:space-between; }
  .ftr-grid { grid-template-columns: 1fr; }
  .cat-tabs { flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch; margin: 0 -16px 22px; padding: 0 16px 4px; }
  .cat-tab { flex:none; }
  .hero { padding: 20px 0; }
  .hero h1 { font-size: clamp(22px, 6.8vw, 40px); }
  .hero .lead { font-size: 16.5px; margin: 18px 0 26px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: .1em; padding: 6px 12px; }
  .hero-stats { gap: 22px; margin-top: 34px; }
  .hero-stats .st b { font-size: 28px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; white-space: normal; }
  .pcard-body { padding: 14px 14px 16px; }
  .pcard-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .pcard .btn-add { width: 100%; }
  .brand-chip { padding: 11px 16px; }
  .brand-chip .bc-name { font-size: 15px; }
  .pdp-price .now { font-size: 36px; }
  .pdp-block h2 { font-size: 24px; }
  .pdp-msg { flex-direction: column; }
  .fab { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); gap: 10px; }
  .fab a { width: 52px; height: 52px; }
  .toast-wrap { bottom: calc(20px + env(safe-area-inset-bottom)); }
}
@media (max-width: 380px) {
  .gauge b { font-size: 14px; }
  .gauge span { font-size: 9px; }
  .brand-chip .bc-name { font-size: 14px; }
  .section-head h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.001ms !important; transition-duration:.001ms !important; }
  .reveal { opacity:1; transform:none; }
  .hero .grad-word::after { transform: scaleX(1); }
}

/* Фото товаров: светло-серый студийный фон растворяется в подложке */
.cat-media img, .pcard-media img, .gallery-main img, .citem img, .modal .m-prod img {
  mix-blend-mode: multiply;
  filter: brightness(1.12) contrast(1.03);
}
