:root {
  --ink: #15171c;
  --ink-2: #23262d;
  --accent: #c8f23a;
  --accent-press: #b6e021;
  --text: #15171c;
  --muted: #6b7079;
  --line: #e6e6e1;
  --gray: #f4f4f0;
  --white: #ffffff;
  --star: #f5a524;
  --radius: 999px;
  --card-radius: 22px;
  --wrap: 1240px;
  --display: 'Unbounded', 'Onest', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: 'Onest', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select {
  font-family: inherit;
  font-size: 16px;
  color: inherit;
}
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-arrow { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px;
  border: 0; border-radius: var(--radius);
  background: var(--accent); color: var(--ink);
  font-weight: 600; font-size: 16px; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s, box-shadow .15s, color .15s;
}
.btn:hover { background: var(--accent-press); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .6; cursor: default; }
.btn:focus-visible, .icon-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 17px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #f1f1ec; }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--gray); }
.btn-line-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); }
.btn-line-light:hover { background: rgba(255,255,255,.08); }
.btn-block { width: 100%; }

.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0; flex: none;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer;
  transition: background .15s;
}
.icon-btn:hover { background: var(--gray); }
.icon-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.badge {
  position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 10px; background: var(--accent); color: var(--ink); box-shadow: 0 0 0 2px #fff;
  font-size: 11px; font-weight: 700; line-height: 19px; text-align: center;
}

/* ---------- логотип ---------- */
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.logo-mark { display: block; width: 42px; height: 42px; flex: none; border-radius: 11px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text b { font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
.logo-text small { margin-top: 3px; font-size: 12px; color: var(--muted); white-space: nowrap; }

/* ---------- шапка ---------- */
.hdr { position: sticky; top: -38px; z-index: 50; }
.topbar { background: var(--ink); color: #b9bdc4; font-size: 13px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 38px; }
.topbar-perks { display: flex; gap: 26px; }
.topbar-perks span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar-perks i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.topbar-nav { display: flex; gap: 22px; }
.topbar-nav a { color: #d9dce1; text-decoration: none; white-space: nowrap; }
.topbar-nav a:hover { color: #fff; }
.topbar-nav a.on { color: var(--accent); }

.hdr-main { background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 16px; min-height: 78px; }
.cat-btn { min-height: 50px; padding: 0 22px 0 18px; flex: none; }
.cat-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cat-btn[aria-expanded="true"], .cat-btn.on { background: var(--accent); color: var(--ink); }

.search {
  position: relative; flex: 1; min-width: 0; display: flex; align-items: center;
  height: 50px; padding-left: 18px; border-radius: var(--radius); background: var(--gray);
  transition: box-shadow .15s, background .15s;
}
.search:focus-within { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.search > svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; }
.search input { flex: 1; min-width: 0; height: 100%; padding: 0 12px; border: 0; background: transparent; font-size: 15px; outline: none; }
.search input::-webkit-search-cancel-button { display: none; }
.search button { height: 40px; margin-right: 5px; padding: 0 18px; border: 0; border-radius: var(--radius); background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; cursor: pointer; }
.search button:hover { background: var(--ink-2); }

.hdr-phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; flex: none; }
.hdr-phone a { font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; }
.hdr-phone button { padding: 0; border: 0; background: none; color: var(--muted); font-size: 13px; cursor: pointer; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
.hdr-phone button:hover { color: var(--ink); }
.hdr-act { display: flex; align-items: center; gap: 2px; flex: none; }
.burger { display: none; }

/* меню каталога */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(21,23,28,.18); }
.mega-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 26px; padding-bottom: 30px; }
.mega-sec { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; background: var(--gray); text-decoration: none; transition: background .15s; }
.mega-sec:hover { background: #ebebe5; }
.mega-thumb { width: 54px; height: 54px; flex: none; border-radius: 12px; background: #fff; }
.mega-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.mega-sec b { display: block; font-size: 15px; line-height: 1.25; }
.mega-sec small { color: var(--muted); font-size: 13px; }
.mega ul { margin: 10px 0 0; padding: 0; list-style: none; }
.mega li a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 10px; color: #33363c; font-size: 15px; text-decoration: none; }
.mega li a:hover { background: var(--gray); color: var(--ink); }
.mega li span { color: var(--muted); font-size: 13px; }

@media (max-width: 1180px) {
  .hdr-phone { display: none; }
  .topbar-perks span:nth-child(2) { display: none; }
}
@media (max-width: 980px) {
  .hdr { top: 0; }
  .topbar, .cat-btn, .mega { display: none !important; }
  .hdr-in { flex-wrap: wrap; gap: 10px 8px; min-height: 0; padding-top: 10px; padding-bottom: 12px; }
  .burger { display: inline-flex; margin-left: -8px; }
  .logo { margin-right: auto; }
  .logo-mark { width: 36px; height: 36px; }
  .logo-text b { font-size: 15px; }
  .search { order: 3; flex: 1 0 100%; height: 46px; }
  .search button { height: 36px; padding: 0 14px; }
}
@media (max-width: 400px) { .logo-text small { display: none; } }

/* мобильное меню */
.drawer { position: fixed; inset: 0; z-index: 95; }
.drawer-bg { position: absolute; inset: 0; background: rgba(21,23,28,.5); }
.drawer-panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(360px, 88vw); overflow-y: auto; padding: 14px 20px 30px; background: #fff; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-title { margin: 22px 0 4px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary { display: flex; justify-content: space-between; padding: 14px 0; font-weight: 600; font-size: 16px; cursor: pointer; list-style: none; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: '+'; color: var(--muted); font-size: 20px; line-height: 1; }
.drawer details[open] summary::after { content: '−'; }
.drawer details a { display: block; padding: 9px 0 9px 12px; color: #3a3d44; text-decoration: none; }
.drawer details a:last-child { padding-bottom: 16px; }
.drawer-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; text-decoration: none; }
.drawer-contact { margin-top: 24px; }
.drawer-contact a { font-family: var(--display); font-weight: 600; font-size: 18px; text-decoration: none; }
.drawer-contact span { display: block; margin: 2px 0 14px; color: var(--muted); font-size: 14px; }

/* ---------- общие секции ---------- */
.sec { padding: 88px 0; }
.sec-gray { background: var(--gray); }
.sec-dark { background: var(--ink); color: #fff; }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 24px; margin-bottom: 36px; }
.sec-title { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3vw, 40px); line-height: 1.12; letter-spacing: -.02em; }
.sec-head .sec-sub { grid-column: 1; margin: 10px 0 0; color: var(--muted); font-size: 17px; }
.sec-link { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: 8px; padding-bottom: 6px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.sec-link:hover .i-arrow { transform: translateX(3px); }
@media (max-width: 640px) {
  .sec { padding: 56px 0; }
  .sec-head { margin-bottom: 24px; }
  .sec-head .sec-sub { font-size: 15px; }
  .sec-link { font-size: 14px; }
}

/* ---------- первый экран ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; z-index: -1; right: -10%; top: -30%; width: 70%; height: 130%;
  background: radial-gradient(closest-side, rgba(200,242,58,.20), rgba(200,242,58,0));
}
.hero::after {
  content: ''; position: absolute; z-index: -1; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 76px; padding-bottom: 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: #d9dce1; font-size: 14px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(200,242,58,.18); }
.hero h1 { margin: 24px 0 20px; font-family: var(--display); font-weight: 600; font-size: clamp(32px, 3.9vw, 54px); line-height: 1.08; letter-spacing: -.025em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { max-width: 540px; margin: 0; color: #aeb2ba; font-size: 18px; line-height: 1.55; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 0; }
.hero-cats { padding-bottom: 64px; }
.hero-cats-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.hero-cats-head span { color: #8d929b; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hero-cats-head a { display: inline-flex; align-items: center; gap: 6px; color: #d9dce1; font-size: 14px; font-weight: 600; text-decoration: none; }
.hero-cats-head a:hover { color: var(--accent); }
.hero-cats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hero-cat {
  display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; min-width: 0;
  border-radius: 20px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  color: #fff; text-decoration: none; transition: background .2s, box-shadow .2s;
}
.hero-cat:hover { background: rgba(255,255,255,.09); box-shadow: inset 0 0 0 1px rgba(200,242,58,.45); }
.hero-cat-img { width: 64px; height: 64px; flex: none; border-radius: 14px; background: #fff; overflow: hidden; }
.hero-cat-img img { width: 100%; height: 100%; object-fit: contain; padding: 7px; transition: transform .25s; }
.hero-cat:hover .hero-cat-img img { transform: scale(1.08); }
.hero-cat-text { display: flex; flex-direction: column; min-width: 0; }
.hero-cat-text b { font-size: 16px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-cat-text small { color: #8d929b; font-size: 13px; }
.hero-cat .i-arrow { margin-left: auto; flex: none; color: #8d929b; }
.hero-cat:hover .i-arrow { color: var(--accent); transform: translateX(3px); }

.hero-visual { position: relative; }
.hero-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 32px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -30px rgba(0,0,0,.6); }
.hero-collage { display: none; }
.hero-visual.no-img .hero-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 32px; }
.hero-collage a { display: block; aspect-ratio: 1 / 1; border-radius: 26px; background: #fff; transition: transform .25s; }
.hero-collage a:nth-child(even) { transform: translateY(32px); }
.hero-collage a:hover { transform: translateY(-4px); }
.hero-collage a:nth-child(even):hover { transform: translateY(28px); }
.hero-collage img { width: 100%; height: 100%; object-fit: contain; padding: 13%; }
.hero-float {
  position: absolute; left: -26px; bottom: 56px; display: flex; align-items: center; gap: 12px;
  padding: 14px 20px 14px 14px; border-radius: 18px; background: #fff; color: var(--ink);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.35);
}
.hero-float .i { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--accent); }
.hero-float b { display: block; font-size: 15px; line-height: 1.25; }
.hero-float span { color: var(--muted); font-size: 13px; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 44px; padding-bottom: 36px; }
  .hero-visual { max-width: 520px; }
  .hero-float { left: 12px; bottom: 24px; }
  .hero-cats { padding-bottom: 48px; }
  .hero-cats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 30px; margin-top: 18px; }
  .hero-lead { font-size: 16px; }
  .hero-cta { margin: 26px 0 0; }
  .hero-cta .btn { width: 100%; }
  .hero-cats-grid { gap: 8px; }
  .hero-cat { flex-direction: column; align-items: flex-start; gap: 10px; padding: 10px 10px 12px; border-radius: 16px; }
  .hero-cat-img { width: 100%; height: 88px; border-radius: 12px; }
  .hero-cat-text b { font-size: 15px; }
  .hero-cat .i-arrow { display: none; }
  .hero-visual.no-img .hero-collage { gap: 10px; padding-bottom: 20px; }
  .hero-collage a { border-radius: 18px; }
  .hero-collage a:nth-child(even) { transform: translateY(20px); }
  .hero-float { padding: 10px 14px 10px 10px; }
  .hero-float .i { width: 38px; height: 38px; padding: 8px; }
}

/* ---------- преимущества ---------- */
.chip-ic { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; flex: none; border-radius: 15px; background: #fff; color: var(--ink); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bento-card { display: flex; flex-direction: column; min-height: 300px; padding: 28px; border-radius: 26px; background: var(--gray); }
.bento-card .big { margin-top: auto; padding-top: 34px; font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 1.1; letter-spacing: -.02em; }
.bento-card h3 { margin: 10px 0 8px; font-size: 18px; line-height: 1.3; }
.bento-card p { margin: 0; color: var(--muted); font-size: 15px; }
.bento-card.dark { background: var(--ink); color: #fff; }
.bento-card.dark .chip-ic { background: var(--accent); }
.bento-card.dark .big { color: var(--accent); }
.bento-card.dark p { color: #a9adb5; }
@media (max-width: 1080px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento-card { min-height: 260px; } }
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; gap: 12px; }
  .bento-card { min-height: 0; padding: 22px; }
  .bento-card .big { padding-top: 22px; font-size: 26px; }
}

/* ---------- разделы каталога ---------- */
.sections { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.section-card {
  position: relative; display: flex; min-height: 250px; padding: 30px; overflow: hidden;
  border-radius: 26px; background: #fff; text-decoration: none; color: var(--ink);
  transition: box-shadow .2s, transform .2s;
}
.section-card:hover { box-shadow: 0 20px 40px -20px rgba(21,23,28,.25); transform: translateY(-2px); }
.section-card .sc-text { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; max-width: 55%; }
.section-card h3 { margin: 0 0 10px; font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.2; letter-spacing: -.01em; }
.section-card .sc-subs { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.section-card .sc-count { margin-top: auto; padding: 7px 14px; border-radius: 20px; background: var(--gray); font-size: 14px; font-weight: 600; }
.section-card img {
  position: absolute; right: 20px; top: 20px; bottom: 20px; width: 40%; height: calc(100% - 40px);
  object-fit: contain; padding: 10px; transition: transform .25s;
}
.section-card:hover img { transform: scale(1.04); }
@media (max-width: 760px) {
  .sections { grid-template-columns: 1fr; }
  .section-card { min-height: 190px; padding: 22px; }
  .section-card h3 { font-size: 19px; }
}

/* ---------- карточки товаров ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 20px; }
@media (max-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; } }

.card { position: relative; display: flex; flex-direction: column; text-align: center; }
.card-img {
  position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line);
}
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 10%; transition: transform .25s; }
.card:hover .card-img img { transform: scale(1.05); }
.fav {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.9); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.fav svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.8; }
.fav.on svg { fill: #ff4d4d; stroke: #ff4d4d; }
.card-name { margin: 18px 0 8px; font-size: 17px; line-height: 1.3; font-weight: 700; text-decoration: none; }
.card-name:hover { text-decoration: underline; }
.card-specs { margin: 0 0 12px; color: #5a5f68; font-size: 13px; line-height: 1.45; }
.card-bottom { margin-top: auto; }
.card-price { margin: 4px 0 14px; font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.card .btn { min-height: 44px; padding: 0 24px; font-size: 14px; }
@media (max-width: 760px) {
  .card-name { font-size: 14px; margin-top: 12px; }
  .card-specs { display: none; }
  .card-price { font-size: 17px; margin-bottom: 10px; }
  .card .btn { padding: 0 14px; min-height: 40px; font-size: 13px; }
  .fav { width: 32px; height: 32px; top: 6px; right: 6px; }
}

.more { margin-top: 44px; text-align: center; }

/* ---------- шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.step { position: relative; padding: 28px; border-radius: 26px; background: #fff; }
.step .chip-ic { background: var(--accent); }
.step-n {
  position: absolute; top: 18px; right: 26px;
  font-family: var(--display); font-weight: 600; font-size: 56px; line-height: 1; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1.5px #d7d8d2;
}
.step h3 { margin: 30px 0 8px; font-size: 20px; line-height: 1.25; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.step:not(:last-child)::after {
  content: ''; position: absolute; z-index: 1; top: 50%; right: -21px; width: 26px; height: 26px; margin-top: -13px;
  border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23c8f23a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  box-shadow: 0 0 0 5px var(--gray);
}
.steps-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 16px 16px 16px 26px; border-radius: 22px; background: #fff; }
.steps-cta span { color: var(--muted); }
.steps-cta a { color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step:not(:last-child)::after { display: none; }
  .step h3 { margin-top: 22px; }
  .step-n { font-size: 44px; }
  .steps-cta { flex-direction: column; align-items: stretch; padding: 20px; text-align: center; }
}

/* ---------- форма заявки ---------- */
.lead { text-align: center; }
.lead h2 { margin: 0 0 14px; font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3vw, 40px); line-height: 1.15; letter-spacing: -.02em; }
.lead p { max-width: 560px; margin: 0 auto 34px; color: #aeb2ba; font-size: 17px; }
.lead-form { display: flex; justify-content: center; gap: 10px; max-width: 620px; margin: 0 auto; }
.lead-form input { flex: 1; min-width: 0; }
.lead-agree { margin-top: 14px; color: #8d929b; font-size: 13px; }
.lead-agree a { color: #d9dce1; }
@media (max-width: 640px) { .lead-form { flex-direction: column; } }

/* ---------- поля ---------- */
.field {
  width: 100%; height: 56px; padding: 0 22px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  font-size: 17px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.field:focus { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
textarea.field { height: 90px; padding: 14px 22px; border-radius: 22px; resize: vertical; }
.field.err { border-color: #e53935; box-shadow: inset 0 0 0 1px #e53935; }
.lead .field { border: 0; }
.form-row { margin-bottom: 12px; }
.form-row label { display: block; margin: 0 0 6px 14px; font-size: 14px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.agree { margin: 12px 0 0; color: var(--muted); font-size: 13px; text-align: center; }

/* ---------- о нас ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-img { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-img div { aspect-ratio: 1; border-radius: 24px; display: flex; align-items: center; justify-content: center; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.about-img img { width: 76%; height: 76%; object-fit: contain; }
.about h2 { margin: 0 0 6px; font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3vw, 40px); line-height: 1.12; letter-spacing: -.02em; }
.about .org { margin: 0 0 18px; color: var(--muted); font-weight: 600; }
.about p { margin: 0 0 14px; color: #3d4047; }
.about ul { margin: 0 0 18px; padding: 0; list-style: none; color: #3d4047; }
.about li { margin-bottom: 6px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- отзывы ---------- */
.reviews-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.reviews-head h2 { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3vw, 40px); letter-spacing: -.02em; }
.arrows { display: flex; gap: 8px; }
.arrow { width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; cursor: pointer; font-size: 22px; line-height: 1; transition: background .15s; }
.arrow:hover { background: var(--accent); }
.reviews { display: flex; align-items: flex-start; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.reviews::-webkit-scrollbar { display: none; }
.review { flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; padding: 26px; border-radius: 22px; background: #fff; }
.review b { display: block; margin-bottom: 4px; font-size: 18px; }
.review .stars { color: var(--star); letter-spacing: 2px; margin-bottom: 12px; }
.review p { margin: 0 0 12px; }
.review a { color: var(--muted); font-size: 13px; }
@media (max-width: 860px) { .review { flex-basis: 82%; } }

/* ---------- контакты ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.contacts h2 { margin: 0 0 22px; font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.02em; }
.contacts p { margin: 0 0 8px; }
.contacts a { text-decoration: none; font-weight: 600; }
.map { min-height: 320px; border-radius: 24px; overflow: hidden; background: #e6e6e3; }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }
@media (max-width: 760px) { .contacts { grid-template-columns: 1fr; } }

/* ---------- футер ---------- */
.ftr { background: var(--ink); color: #aeb2ba; padding: 64px 0 28px; font-size: 15px; }
.ftr-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px 40px; }
.ftr .logo-text b { color: #fff; }
.ftr .logo-text small { color: #8d929b; }
.ftr-brand p { max-width: 300px; margin: 16px 0 0; color: #8d929b; font-size: 14px; }
.ftr-h { margin-bottom: 14px; color: #7f848d; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ftr-links { display: grid; gap: 9px; }
.ftr-links a { color: #d5d8dd; text-decoration: none; }
.ftr-links a:hover { color: var(--accent); }
.ftr-phone { font-family: var(--display); font-weight: 600; font-size: 18px; color: #fff; text-decoration: none; white-space: nowrap; }
.ftr-muted { margin: 2px 0 12px; color: #7f848d; font-size: 14px; }
.ftr-mail { color: #d5d8dd; word-break: break-word; }
.ftr-legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 16px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #7f848d; font-size: 13px; }
@media (max-width: 900px) { .ftr-in { grid-template-columns: 1fr 1fr; } .ftr-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ftr { padding-top: 44px; } .ftr-in { grid-template-columns: 1fr; } }

/* ---------- каталог ---------- */
.page-head { padding: 40px 0 10px; }
.crumbs { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page-head h1 { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3vw, 40px); line-height: 1.15; letter-spacing: -.02em; }
@media (max-width: 640px) { .page-head { padding-top: 24px; } }

.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin: 26px 0 18px; }
.tabs a { padding: 4px 0; color: #9a9da3; font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; }
.tabs a.on, .tabs a:hover { color: var(--ink); border-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 22px; }
.chip { padding: 8px 16px; border-radius: 20px; background: var(--gray); color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.chip.on { background: var(--ink); color: #fff; }
.chip:hover:not(.on) { background: #e9e9e3; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 30px; }
.toolbar .found { color: var(--muted); font-size: 14px; }
.toolbar-r { display: flex; gap: 10px; }
.select, .mini-search {
  height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 21px; background: #fff; font-size: 14px; outline: none;
}
.mini-search { width: 220px; }
@media (max-width: 640px) {
  .toolbar { flex-direction: column; align-items: stretch; }
  .toolbar-r { flex-direction: column; }
  .mini-search { width: 100%; }
  .tabs { gap: 6px 16px; justify-content: flex-start; }
  .chips { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .chip { white-space: nowrap; }
}
.empty { padding: 60px 0; text-align: center; color: var(--muted); }
.empty .btn { margin-top: 16px; }

/* ---------- товар ---------- */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; padding: 20px 0 40px; }
.gallery-main { position: relative; aspect-ratio: 1; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.thumb { flex: 0 0 76px; height: 76px; padding: 6px; border: 2px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; }
.thumb.on { border-color: var(--ink); }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.p-info h1 { margin: 0 0 10px; font-size: 30px; line-height: 1.2; letter-spacing: -.01em; }
.p-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 22px; color: var(--muted); font-size: 14px; }
.p-meta .stars { color: var(--star); letter-spacing: 1px; }
.p-box { padding: 26px; border-radius: var(--card-radius); background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -28px rgba(21,23,28,.25); }
.pb-price { font-size: 44px; line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
.pb-price small { font-size: 20px; font-weight: 700; letter-spacing: 0; }
.pb-note { margin: 4px 0 16px; color: var(--muted); font-size: 14px; }
.pb-parts {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px;
  border: 0; border-radius: 14px; background: var(--gray); color: var(--ink);
  font-size: 15px; text-align: left; cursor: pointer; transition: background .15s, box-shadow .15s;
}
.pb-parts:hover { background: #ebebe5; }
.pb-parts.on { box-shadow: inset 0 0 0 1.5px var(--ink); }
.pb-parts b { font-weight: 700; }
.pb-dot { width: 18px; height: 18px; flex: none; border-radius: 50%; background: conic-gradient(var(--ink) 0 25%, var(--accent) 0 100%); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--ink); }
.i-chev { width: 18px; height: 18px; margin-left: auto; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pb-label { margin: 20px 0 8px; font-weight: 600; font-size: 15px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: var(--radius); background: var(--gray); }
.seg button { height: 44px; padding: 0 12px; border: 0; border-radius: var(--radius); background: transparent; color: var(--muted); font-weight: 600; font-size: 15px; cursor: pointer; transition: background .15s, color .15s; white-space: nowrap; }
.seg button:hover { color: var(--ink); }
.seg button.on { background: var(--ink); color: #fff; }
.seg-sm { display: inline-grid; padding: 3px; }
.seg-sm button { height: 32px; padding: 0 12px; font-size: 13px; }
.pb-terms .pb-label { margin-top: 16px; }
.terms { display: flex; gap: 6px; margin: 0; }
.term { flex: 1; height: 42px; border: 0; border-radius: 21px; background: var(--gray); font-weight: 600; cursor: pointer; }
.term:hover { background: #ebebe5; }
.term.on { background: var(--ink); color: #fff; }
.pb-sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 15px; }
.pb-sum b { color: var(--ink); font-size: 20px; white-space: nowrap; }
.pb-hint { display: flex; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #f7fbe6; color: #4a4f57; font-size: 13px; line-height: 1.45; }
.i-info { width: 18px; height: 18px; flex: none; fill: none; stroke: #7a9a0c; stroke-width: 2; stroke-linecap: round; }
.p-btns { display: grid; gap: 10px; margin-top: 20px; }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.pb-foot { display: flex; justify-content: center; margin-top: 14px; color: var(--muted); font-size: 13px; }
.pb-foot span { display: inline-flex; align-items: center; gap: 6px; }
.pb-foot .i { width: 18px; height: 18px; }
.p-perks { margin: 20px 0 0; padding: 0; list-style: none; font-size: 15px; }
.p-perks li { padding: 6px 0; }
.p-short { margin: 18px 0 0; color: #3d4047; }
@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; gap: 24px; padding-top: 6px; }
  .p-info h1 { font-size: 24px; }
  .p-box { padding: 20px; }
  .pb-price { font-size: 36px; }
  .terms { gap: 4px; }
  .term { height: 42px; font-size: 15px; }
  .seg button { font-size: 14px; padding: 0 8px; }
}

.p-tabs { display: flex; gap: 28px; margin: 10px 0 24px; border-bottom: 1px solid var(--line); }
.p-tabs button { padding: 0 0 12px; border: 0; border-bottom: 2px solid transparent; background: none; font-weight: 600; font-size: 18px; color: #9a9da3; cursor: pointer; margin-bottom: -1px; }
.p-tabs button.on { color: var(--ink); border-color: var(--ink); }
.specs { max-width: 860px; }
.specs h3 { margin: 26px 0 8px; font-size: 19px; }
.specs h3:first-child { margin-top: 0; }
.spec-row { display: flex; gap: 20px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.spec-row span:first-child { flex: 0 0 45%; color: var(--muted); }
.spec-raw { max-width: 860px; font-size: 15px; color: #333; }
.spec-raw p { margin: 0 0 6px; }
.spec-legal { margin-top: 24px; padding: 16px 20px; border-radius: 14px; background: var(--gray); color: var(--muted); font-size: 13px; }
@media (max-width: 640px) {
  .spec-row { flex-direction: column; gap: 2px; }
  .spec-row span:first-child { flex: none; }
}
.rev-list { display: grid; gap: 14px; max-width: 860px; }
.rev-list .review { flex: none; background: var(--gray); }

/* ---------- корзина ---------- */
.cart { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; padding: 20px 0 60px; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item .ci-img { width: 96px; height: 96px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.cart-item .ci-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.ci-name { font-weight: 600; text-decoration: none; }
.ci-sub { margin-top: 4px; color: var(--muted); font-size: 14px; }
.ci-ctrl { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.ci-ctrl select { height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 18px; background: #fff; font-size: 14px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 18px; }
.qty button { width: 34px; height: 34px; border: 0; background: none; font-size: 18px; cursor: pointer; }
.qty span { min-width: 22px; text-align: center; font-weight: 600; }
.ci-right { text-align: right; }
.ci-pay { font-weight: 700; font-size: 18px; white-space: nowrap; }
.ci-pay-sub { color: var(--muted); font-size: 13px; white-space: nowrap; }
.cb-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.cb-head span { color: var(--muted); font-size: 14px; }
.cb-rows { margin-bottom: 16px; }
.cb-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 15px; }
.cb-row span { color: #3d4047; }
.cb-row b { white-space: nowrap; }
.cb-row:first-child b { font-size: 20px; }
.cart-box .pb-hint { margin: -4px 0 16px; }
.ci-del { margin-top: 8px; border: 0; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; cursor: pointer; }
.cart-box { position: sticky; top: 100px; padding: 26px; border-radius: var(--card-radius); background: var(--gray); }
.cart-box h3 { margin: 0; font-size: 22px; }
@media (max-width: 900px) {
  .cart { grid-template-columns: 1fr; }
  .cart-box { position: static; }
  .cart-item { grid-template-columns: 72px minmax(0, 1fr); align-items: start; }
  .cart-item .ci-img { width: 72px; height: 72px; }
  .ci-body { min-width: 0; }
  .ci-ctrl .seg-sm { display: grid; width: 100%; }
  .ci-right { grid-column: 2; text-align: left; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
  .ci-del { margin-top: 0; }
}

/* ---------- текстовые страницы ---------- */
.doc { max-width: 860px; padding: 10px 0 70px; font-size: 16px; color: #2f3238; }
.doc h2 { margin: 30px 0 10px; font-size: 22px; color: var(--ink); }
.doc h3 { margin: 22px 0 8px; font-size: 18px; color: var(--ink); }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 0 0 12px; padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .req { padding: 20px 24px; border-radius: var(--card-radius); background: var(--gray); }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 10px 0 30px; }
.contact-card { padding: 24px; border-radius: var(--card-radius); background: var(--gray); }
.contact-card:nth-child(1) { background: var(--accent); }
.contact-card small { display: block; color: #555a62; margin-bottom: 4px; }
.contact-card:nth-child(1) small { color: #3a4214; }
.contact-card a, .contact-card b { font-size: 18px; font-weight: 700; color: var(--ink); text-decoration: none; word-break: break-word; }
@media (max-width: 760px) { .contact-cards { grid-template-columns: 1fr; } }

/* ---------- модалка ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-bg { position: absolute; inset: 0; background: rgba(21,23,28,.6); }
.modal-box { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow: auto; padding: 34px 30px 28px; border-radius: 26px; background: #fff; }
.modal-x { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; color: #888; }
.modal h3 { margin: 0 0 6px; font-size: 24px; line-height: 1.2; text-align: center; }
.modal .m-sub { margin: 0 0 20px; color: var(--muted); text-align: center; font-size: 15px; }
.m-prod { display: flex; gap: 14px; align-items: center; margin: 0 0 18px; padding: 12px; border-radius: 16px; background: var(--gray); }
.m-prod img { width: 60px; height: 60px; padding: 4px; border-radius: 10px; background: #fff; object-fit: contain; }
.m-prod b { display: block; font-size: 14px; line-height: 1.3; }
.m-prod span { font-size: 14px; color: var(--muted); }
.done { text-align: center; }
.done-ic { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.done-ic svg { width: 36px; height: 36px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- cookie / toast ---------- */
.cookie {
  position: fixed; left: 16px; bottom: 16px; z-index: 90; max-width: 380px;
  padding: 18px 20px; border-radius: 18px; background: var(--ink); color: #fff; font-size: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.cookie p { margin: 0 0 12px; }
.cookie a { color: var(--accent); }
.cookie-btns { display: flex; gap: 8px; }
.cookie .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px #3a3d44; }
.cookie .btn-ghost:hover { background: var(--ink-2); }
@media (max-width: 640px) { .cookie { left: 10px; right: 10px; bottom: 10px; max-width: none; } }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 110; transform: translateX(-50%);
  padding: 14px 22px; border-radius: 30px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,.25); white-space: nowrap;
}
.toast a { color: var(--accent); margin-left: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
