:root {
  --bg: #fbf9f6;
  --card: #f3efe9;
  --ink: #1d1f23;
  --ink-2: #5d6168;
  --ink-3: #8b8f96;
  --line: #e6e1d9;
  --accent: #215740;
  --sale: #c2412d;
  --honey: #f2c14e;
  --r: 14px;
  --gut: clamp(16px, 3vw, 40px);
  --max: 1360px;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; }
s { color: var(--ink-3); font-weight: 400; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; transition: background .2s, transform .1s; }
.btn:hover { background: var(--accent); }
.btn:active { transform: scale(.98); }
.btn-wide { width: 100%; }
.btn-line { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; font-weight: 600; font-size: 15px; transition: background .2s, color .2s; }
.btn-line:hover { background: var(--ink); color: #fff; }
.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 500; color: var(--accent); letter-spacing: .02em; }

/* ---------- top strip ---------- */
.strip { display: flex; justify-content: center; gap: 48px; background: var(--ink); color: #f3efe9; font-size: 13px; padding: 9px var(--gut); }
.strip p { margin: 0; }

/* ---------- header ---------- */
.head { position: sticky; top: 0; z-index: 40; background: rgba(251,249,246,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 28px; max-width: var(--max); margin: 0 auto; padding: 14px var(--gut); }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { width: 40px; height: auto; }
.logo-word { display: flex; flex-direction: column; font-weight: 600; font-size: 15px; line-height: 1; letter-spacing: -0.01em; color: var(--accent); }
.logo-word b { font-weight: 700; font-size: 21px; margin-top: 2px; letter-spacing: -0.03em; }
.search { flex: 1; max-width: 520px; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.search svg { width: 18px; fill: none; stroke: var(--ink-3); stroke-width: 2; }
.search input { flex: 1; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; min-width: 0; }
.head-phone { margin-left: auto; display: flex; flex-direction: column; text-align: right; line-height: 1.2; }
.head-phone b { font-weight: 600; font-size: 16px; }
.head-phone span { font-size: 12px; color: var(--ink-3); }
.head-icons { display: flex; gap: 6px; }
.ico { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; }
.ico:hover { background: var(--card); }
.ico svg { width: 24px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; }
.ico i { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--sale); color: #fff; font: 600 11px/18px var(--font); font-style: normal; }
.cats { display: flex; gap: 4px; max-width: var(--max); margin: 0 auto; padding: 0 calc(var(--gut) - 12px) 8px; overflow-x: auto; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats a { flex: none; padding: 8px 12px; border-radius: 999px; font-size: 15px; font-weight: 500; }
.cats a:hover { background: var(--card); }
.cats .cats-muted { color: var(--ink-3); margin-left: auto; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; max-width: var(--max); margin: 0 auto; padding: 20px var(--gut) 0; }
.hero-copy { background: var(--card); border-radius: var(--r); padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; }
.hero h1 { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.05; letter-spacing: -0.035em; }
.hero-sub { color: var(--ink-2); font-size: 17px; margin: 18px 0 26px; max-width: 30em; }
.kids p { margin: 0 0 10px; font-weight: 600; font-size: 15px; }
.kids-row { display: flex; flex-wrap: wrap; gap: 8px; }
.kids-row button { height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; font-weight: 600; font-size: 15px; transition: background .15s, color .15s; }
.kids-row button:hover { background: var(--ink); color: #fff; }
.hero-trust { list-style: none; margin: auto 0 0; padding: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid rgba(29,31,35,.12); }
.kids + .hero-trust { margin-top: 32px; }
.hero-trust li { font-size: 13px; color: var(--ink-2); line-height: 1.3; }
.hero-trust b { display: block; font-size: 19px; color: var(--ink); margin-bottom: 2px; }
.hero-media { position: relative; border-radius: var(--r); overflow: hidden; background: var(--card); min-height: 540px; }
.slides, .slides img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slides img { opacity: 0; transition: opacity 1s ease; transform: scale(1.03); }
.slides img.on { opacity: 1; animation: kb 7s ease-out forwards; }
@keyframes kb { from { transform: scale(1.03); } to { transform: scale(1.09); } }
.price-tag { position: absolute; left: 20px; bottom: 20px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 18px; border: 0; border-radius: 14px; background: rgba(255,255,255,.95); box-shadow: 0 8px 30px rgba(0,0,0,.12); text-align: left; transition: transform .2s; }
.price-tag:hover { transform: translateY(-2px); }
.price-tag-name { font-size: 13px; color: var(--ink-2); }
.price-tag-name::after { content: " →"; }
.price-tag-price b { font-size: 19px; margin-right: 8px; }
.price-tag-price s { font-size: 14px; }
.dots { position: absolute; right: 20px; bottom: 28px; z-index: 2; display: flex; gap: 6px; }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: rgba(255,255,255,.6); transition: width .3s, background .3s; }
.dots button.on { width: 24px; background: #fff; }

/* ---------- types ---------- */
.types { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; max-width: var(--max); margin: 0 auto; padding: 20px var(--gut) 0; }
.type { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; text-align: left; transition: border-color .15s, transform .15s; }
.type:hover { border-color: var(--ink); transform: translateY(-2px); }
.type svg { grid-row: span 2; width: 56px; height: 42px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.type span { font-weight: 600; font-size: 15px; line-height: 1.2; align-self: end; }
.type i { font-style: normal; font-size: 13px; color: var(--ink-3); align-self: start; }

/* ---------- catalog ---------- */
.catalog { max-width: var(--max); margin: 0 auto; padding: 56px var(--gut) 0; scroll-margin-top: 130px; }
.cat-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.cat-head h2 { font-size: clamp(28px, 2.6vw, 38px); }
.cat-n { margin: 0; color: var(--ink-3); }
.sel { margin-left: auto; }
.sel select { height: 40px; padding: 0 36px 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%231d1f23' stroke-width='1.6'/%3E%3C/svg%3E") right 14px center / 11px no-repeat; appearance: none; font: inherit; font-size: 14px; cursor: pointer; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 18px 0 22px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; transition: all .15s; }
.chips button:hover { border-color: var(--ink); }
.chips button.on { background: var(--ink); border-color: var(--ink); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.card { position: relative; display: flex; flex-direction: column; }
.card-img { position: relative; aspect-ratio: 4 / 3.3; border-radius: var(--r); overflow: hidden; background: var(--card); cursor: pointer; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .6s; }
.card-img img + img { opacity: 0; }
.card:hover .card-img img + img { opacity: 1; }
.card:hover .card-img img:only-of-type { transform: scale(1.04); }
.badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; }
.badge { height: 24px; padding: 0 10px; border-radius: 12px; background: #fff; font-size: 12px; font-weight: 600; line-height: 24px; }
.badge.sale { background: var(--sale); color: #fff; }
.badge.hit { background: var(--ink); color: #fff; }
.badge.new { background: var(--honey); }
.fav { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; }
.fav svg { width: 20px; fill: none; stroke: var(--ink); stroke-width: 1.8; }
.fav.on svg { fill: var(--sale); stroke: var(--sale); }
.quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; height: 42px; border: 0; border-radius: 999px; background: rgba(255,255,255,.95); font-weight: 600; font-size: 14px; opacity: 0; transform: translateY(8px); transition: all .2s; }
.card:hover .quick { opacity: 1; transform: none; }
.card-body { padding: 14px 2px 0; display: flex; flex-direction: column; flex: 1; }
.card-type { font-size: 13px; color: var(--ink-3); margin: 0 0 3px; line-height: 1.3; }
.card-name { font-size: 17px; font-weight: 600; margin: 0; cursor: pointer; }
.card-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); margin: 6px 0 12px; }
.card-meta span:first-child::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 6px; vertical-align: 1px; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-price b { font-size: 19px; font-weight: 700; margin-right: 6px; white-space: nowrap; }
.card-price s { font-size: 14px; white-space: nowrap; }
.add { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; display: grid; place-items: center; transition: all .15s; }
.add:hover, .add.done { background: var(--ink); }
.add svg { width: 20px; fill: none; stroke: var(--ink); stroke-width: 1.8; }
.add:hover svg, .add.done svg { stroke: #fff; }
.more-wrap { display: flex; justify-content: center; padding-top: 32px; }
.empty { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--ink-2); background: var(--card); border-radius: var(--r); }

/* ---------- anatomy ---------- */
.anatomy { max-width: var(--max); margin: 64px auto 0; padding: 0 var(--gut); scroll-margin-top: 130px; }
.anatomy-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.anatomy-head h2 { font-size: clamp(26px, 2.4vw, 36px); max-width: 20em; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; cursor: pointer; user-select: none; flex: none; }
.switch input { appearance: none; width: 44px; height: 26px; border-radius: 13px; background: #cfc9c0; position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.switch input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked { background: var(--accent); }
.switch input:checked::after { transform: translateX(18px); }
.anatomy-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 20px; }
.stage { position: relative; border-radius: var(--r); overflow: hidden; background: var(--card); }
.stage img { width: 100%; height: auto; }
.pin { position: absolute; transform: translate(-50%, -50%); width: 32px; height: 32px; border-radius: 50%; border: 0; padding: 0; background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; box-shadow: 0 0 0 4px rgba(255,255,255,.45), 0 4px 14px rgba(0,0,0,.18); z-index: 3; transition: transform .2s, background .2s, color .2s; }
.pin::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--accent); animation: ping 2.4s ease-out infinite; animation-delay: calc(var(--d, 0) * .3s); }
.pin:hover, .pin.on { background: var(--accent); color: #fff; transform: translate(-50%, -50%) scale(1.12); }
.pin.on::before { animation: none; opacity: 0; }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.8); opacity: 0; } }
.note { position: absolute; z-index: 5; width: min(320px, 80%); background: #fff; padding: 18px 20px 20px; border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.2); animation: pop .2s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.note-x { position: absolute; top: 6px; right: 8px; width: 32px; height: 32px; border: 0; background: none; font-size: 22px; color: var(--ink-3); }
.note-n { margin: 0 0 6px; font-size: 12px; font-weight: 600; color: var(--accent); }
.note h3 { font-size: 19px; line-height: 1.2; margin-bottom: 8px; padding-right: 20px; }
.note-t { margin: 0; font-size: 14px; color: var(--ink-2); }
.dims { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity .3s; }
.dim line { stroke: var(--ink); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.dim-label { position: absolute; transform: translate(-50%, -50%); font-size: 13px; font-weight: 700; background: #fff; padding: 4px 8px; border-radius: 8px; text-align: center; line-height: 1.15; opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 2; }
.dim-label i { display: block; font-style: normal; font-weight: 400; font-size: 11px; color: var(--ink-3); }
.stage.show-dims .dims, .stage.show-dims .dim-label { opacity: 1; }
.anatomy-side { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 8px 22px 22px; }
.parts { list-style: none; margin: 0; padding: 0; }
.parts li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; font-weight: 500; font-size: 15px; transition: color .15s; }
.parts li b { width: 26px; height: 26px; border-radius: 50%; background: var(--card); display: grid; place-items: center; font-size: 12px; }
.parts li:hover, .parts li.on { color: var(--accent); }
.parts li.on b { background: var(--accent); color: #fff; }
.anatomy-buy { margin-top: auto; padding-top: 20px; }
.anatomy-price { margin: 0 0 12px; }
.anatomy-price b { font-size: 26px; margin-right: 8px; }
.anatomy-buy .btn { width: 100%; }

/* ---------- promo ---------- */
.promo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: var(--max); margin: 64px auto 0; padding: 0 var(--gut); }
.promo-card { position: relative; display: block; aspect-ratio: 4 / 3; border: 0; padding: 0; border-radius: var(--r); overflow: hidden; text-align: left; background: var(--card); }
.promo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.promo-card:hover img { transform: scale(1.04); }
.promo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,0) 55%); }
.promo-text { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; color: #fff; font-size: 14px; line-height: 1.4; }
.promo-text b { display: block; font-size: 20px; line-height: 1.2; margin-bottom: 4px; letter-spacing: -0.02em; }

/* ---------- service ---------- */
.service { display: grid; grid-template-columns: repeat(5, 1fr); max-width: var(--max); margin: 64px auto 0; padding: 0 var(--gut); }
.svc { padding: 26px 22px; border: 1px solid var(--line); border-left: 0; background: #fff; }
.svc:first-child { border-left: 1px solid var(--line); border-radius: var(--r) 0 0 var(--r); }
.svc:last-child { border-radius: 0 var(--r) var(--r) 0; }
.svc svg { width: 32px; height: 32px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.svc h3 { font-size: 16px; margin-bottom: 6px; }
.svc p { margin: 0; font-size: 14px; color: var(--ink-2); }

/* ---------- faq ---------- */
.faq { max-width: var(--max); margin: 64px auto 0; padding: 0 var(--gut) 72px; }
.faq h2 { font-size: clamp(26px, 2.4vw, 36px); margin-bottom: 12px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; padding: 18px 36px 18px 0; position: relative; font-weight: 600; font-size: 17px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--ink-2); max-width: 40em; }

/* ---------- footer ---------- */
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; padding: 48px max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))) 56px; background: var(--ink); color: #d8d4cd; font-size: 15px; }
.foot h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.foot a { display: block; padding: 3px 0; }
.foot a:hover { color: #fff; }
.foot .logo { display: flex; }
.foot-brand p { max-width: 26em; margin: 16px 0 0; color: #a9a59e; }
.logo-inv .logo-mark { background: var(--bg); border-radius: 10px; padding: 5px; width: 46px; }
.logo-inv .logo-word { color: #fff; }
.foot-small { font-size: 12px; color: #8d8981; margin-top: 12px; }

/* ---------- modal ---------- */
.modal, .drawer { position: fixed; inset: 0; z-index: 100; background: rgba(20,20,22,.45); }
.modal { display: grid; place-items: center; padding: 20px; }
.modal-box { position: relative; width: min(1040px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--bg); border-radius: 20px; display: grid; grid-template-columns: 1.25fr 1fr; animation: pop .2s ease-out; }
.modal-x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; font-size: 24px; line-height: 1; }
.qv-media { padding: 16px; }
.qv-media > img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--r); background: var(--card); }
.qv-thumbs { display: flex; gap: 8px; margin-top: 8px; }
.qv-thumbs button { width: 76px; height: 60px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--card); }
.qv-thumbs button.on { border-color: var(--ink); }
.qv-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.qv-info { padding: 32px 32px 28px 16px; }
.qv-type { margin: 0 0 6px; color: var(--ink-3); font-size: 14px; }
.qv-info h3 { font-size: 30px; }
.qv-price { margin: 10px 0 22px; }
.qv-price b { font-size: 26px; margin-right: 8px; }
.qv-field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.qv-field select { height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 500; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatches button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); background: var(--c); box-shadow: 0 0 0 3px var(--bg); }
.swatches button.on { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--ink); }
.qv-color-name { font-weight: 400; color: var(--ink-2); font-size: 13px; }
.qv-facts { list-style: none; margin: 0 0 22px; padding: 0; font-size: 14px; color: var(--ink-2); }
.qv-facts li { padding: 7px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.qv-facts li b { color: var(--ink); font-weight: 600; text-align: right; }
.qv-buy { display: flex; gap: 10px; }
.qv-buy .btn { flex: 1; }
.qv-note { font-size: 12px; color: var(--ink-3); margin: 12px 0 0; }

/* ---------- drawer ---------- */
.drawer-box { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); display: flex; flex-direction: column; animation: slide .25s ease-out; }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 22px; }
.drawer-head .modal-x { position: static; background: var(--card); }
.drawer-list { flex: 1; overflow: auto; padding: 8px 22px; }
.ci { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.ci img { width: 84px; height: 66px; object-fit: cover; border-radius: 10px; background: var(--card); }
.ci h4 { font-size: 15px; }
.ci p { margin: 2px 0 0; font-size: 13px; color: var(--ink-3); }
.ci-r { text-align: right; }
.ci-r b { display: block; font-size: 15px; white-space: nowrap; }
.ci-r button { border: 0; background: none; color: var(--ink-3); font-size: 13px; padding: 4px 0; text-decoration: underline; }
.drawer-empty { padding: 40px 0; color: var(--ink-2); text-align: center; }
.drawer-foot { padding: 16px 22px 22px; border-top: 1px solid var(--line); background: #fff; }
.drawer-sum { display: flex; justify-content: space-between; margin: 0; font-size: 18px; }
.drawer-sum b { font-size: 22px; }
.drawer-note { font-size: 13px; color: var(--ink-3); margin: 4px 0 14px; }
.order { display: grid; gap: 10px; }
.order input:not([type=radio]):not([type=checkbox]) { height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; font: inherit; background: var(--bg); outline: none; }
.order input:focus { border-color: var(--ink); }
.order .invalid { border-color: var(--sale) !important; }
.via { display: flex; flex-wrap: wrap; gap: 6px; }
.via label { position: relative; }
.via input { position: absolute; opacity: 0; pointer-events: none; }
.via span { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; cursor: pointer; }
.via input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--ink-2); }
.consent input { margin-top: 2px; accent-color: var(--ink); }
.consent a { text-decoration: underline; }
.order-msg { margin: 0; font-size: 14px; min-height: 1.2em; }
.order-msg.ok { color: var(--accent); }
.order-msg.err { color: var(--sale); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 120; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .types { grid-template-columns: repeat(3, 1fr); }
  .service { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .svc, .svc:first-child, .svc:last-child { border: 1px solid var(--line); border-radius: var(--r); }
  .head-phone { display: none; }
}
@media (max-width: 900px) {
  .strip { justify-content: flex-start; overflow: hidden; gap: 28px; white-space: nowrap; }
  .hero { grid-template-columns: 1fr; }
  .hero-media { min-height: 0; aspect-ratio: 4 / 3; order: -1; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .anatomy-grid { grid-template-columns: 1fr; }
  .parts { display: none; }
  .anatomy-side { border: 0; background: transparent; padding: 0; }
  .promo { grid-template-columns: 1fr; }
  .promo-card { aspect-ratio: 16 / 9; }
  .faq-grid { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .modal-box { grid-template-columns: 1fr; }
  .qv-info { padding: 0 20px 24px; }
}
@media (max-width: 640px) {
  .strip p:nth-child(n+2) { display: none; }
  .strip { justify-content: center; }
  .head-row { gap: 10px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
  .search { order: 3; flex-basis: 100%; max-width: none; height: 42px; }
  .head-icons { margin-left: auto; }
  .logo-mark { width: 34px; }
  .types { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .type { grid-template-columns: 44px 1fr; padding: 10px 12px; }
  .type svg { width: 44px; height: 34px; }
  .type span { font-size: 14px; }
  .hero-copy { padding: 24px 20px; }
  .hero-trust b { font-size: 16px; }
  .catalog { padding-top: 40px; }
  .sel { margin-left: 0; }
  .card-name { font-size: 15px; }
  .card-price b { font-size: 16px; }
  .card-price s { display: block; font-size: 12px; }
  .card-meta { display: none; }
  .card-type { font-size: 12px; }
  .add { width: 38px; height: 38px; }
  .quick { display: none; }
  .badge { height: 22px; line-height: 22px; font-size: 11px; padding: 0 8px; }
  .fav { width: 32px; height: 32px; }
  .service { grid-template-columns: 1fr; }
  .pin { width: 26px; height: 26px; font-size: 12px; }
  .note { position: relative; left: auto !important; top: auto !important; width: 100%; border-radius: 0; box-shadow: none; border-top: 1px solid var(--line); }
  .anatomy-head { flex-direction: column; align-items: flex-start; }
  .dim-label { font-size: 10px; padding: 2px 5px; }
  .dim-label i { display: none; }
  .foot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =================== v3: многостраничный магазин =================== */
.kids-row a { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--ink); font-weight: 600; font-size: 15px; transition: background .15s, color .15s; }
.kids-row a:hover { background: var(--ink); color: #fff; }
a.type { color: inherit; }
.cats a.on { background: var(--ink); color: #fff; }
.cats .cats-main { font-weight: 700; }

/* card */
.card-top { position: relative; }
.card-img { display: block; }
.card-name a:hover { color: var(--accent); }
.cat-all { margin-left: auto; font-weight: 600; color: var(--accent); }
.cat-all:hover { text-decoration: underline; }

/* USP */
.usp { max-width: var(--max); margin: 56px auto 0; padding: 0 var(--gut); scroll-margin-top: 130px; }
.usp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.usp-head h2 { font-size: clamp(28px, 2.6vw, 38px); }
.usp-head p { margin: 0; max-width: 34em; color: var(--ink-2); }
.usp-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.usp-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 24px 22px; }
.usp-item h3 { font-size: 17px; margin: 10px 0 6px; }
.usp-item p { margin: 0; font-size: 14px; color: var(--ink-2); }
.usp-num { display: block; font-size: 30px; line-height: 1; font-weight: 700; letter-spacing: -0.03em; color: var(--accent); }
.usp-main { grid-row: span 2; border-color: var(--accent); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px;
  background: linear-gradient(to top, rgba(17,45,33,.94) 32%, rgba(17,45,33,.3)), url(/img/p/09-1.webp) center / cover; }
.usp-main .usp-num { color: #f2c14e; font-size: 56px; }
.usp-main h3 { font-size: 24px; }
.usp-main p { color: rgba(255,255,255,.85); font-size: 15px; }

/* breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; font-size: 14px; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #c7c2ba; }
.crumbs a:hover { color: var(--ink); }

/* catalog page */
.catalog-page { padding-top: 24px; padding-bottom: 72px; }
.catalog-page h1 { font-size: clamp(30px, 3vw, 44px); letter-spacing: -0.03em; }
.cat-intro { margin: 8px 0 0; color: var(--ink-2); max-width: 46em; }
.chips a { flex: none; display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; transition: all .15s; }
.chips a:hover { border-color: var(--ink); }
.chips a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.drawer-empty a { color: var(--accent); text-decoration: underline; }
.ci a:hover, #qvName a:hover { color: var(--accent); }
.qv-more { color: var(--accent); }

/* product page */
.pp { max-width: var(--max); margin: 0 auto; padding: 24px var(--gut) 72px; }
.pp-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.pp-main { position: relative; border-radius: var(--r); overflow: hidden; background: var(--card); aspect-ratio: 10 / 7; }
.pp-main > img { width: 100%; height: 100%; object-fit: cover; }
.pp-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); font-size: 28px; line-height: 1; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.pp-arrow.prev { left: 14px; } .pp-arrow.next { right: 14px; }
.pp-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.pp-thumbs::-webkit-scrollbar { display: none; }
.pp-thumbs button { flex: none; width: 96px; height: 70px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--card); }
.pp-thumbs button.on { border-color: var(--ink); }
.pp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pp-buy { position: sticky; top: 140px; }
.pp-type { margin: 0 0 6px; color: var(--ink-3); font-size: 14px; }
.pp-buy h1 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; letter-spacing: -0.03em; }
.pp-lead { color: var(--ink-2); margin: 12px 0 0; }
.pp-price { display: flex; align-items: center; gap: 10px; margin: 18px 0 22px; }
.pp-price b { font-size: 34px; letter-spacing: -0.02em; }
.pp-price s { font-size: 17px; }
.pp-price .badge { height: 26px; line-height: 26px; }
.pp-actions { display: flex; gap: 10px; }
.pp-actions .btn { flex: 1; height: 56px; font-size: 16px; }
.pp-fav { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; }
.pp-fav svg { width: 24px; fill: none; stroke: var(--ink); stroke-width: 1.8; }
.pp-fav.on svg { fill: var(--sale); stroke: var(--sale); }
.pp-info { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--line); }
.pp-info li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pp-info b { font-weight: 500; color: var(--ink-2); }
.pp-info span { font-weight: 600; text-align: right; }
.pp-details { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; margin-top: 56px; }
.pp-details h2, .related h2 { font-size: 26px; margin-bottom: 14px; }
.pp-desc p { margin: 0 0 14px; color: #33363c; font-size: 16px; line-height: 1.65; max-width: 42em; }
.pp-pluses { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pp-pluses li { background: var(--card); border-radius: 12px; padding: 14px 16px 14px 42px; position: relative; font-size: 14px; font-weight: 500; }
.pp-pluses li::before { content: ""; position: absolute; left: 16px; top: 18px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.pp-specs dl { margin: 0; }
.pp-specs dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pp-specs dt { color: var(--ink-2); }
.pp-specs dd { margin: 0; font-weight: 600; text-align: right; max-width: 60%; }
.pp-specs h3 { font-size: 17px; margin: 24px 0 8px; }
.pp-sostav { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; }
.pp-sostav li { margin-bottom: 6px; }
.pp-service { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 48px; }
.pp-service div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.pp-service h3 { font-size: 16px; margin-bottom: 6px; }
.pp-service p { margin: 0; font-size: 14px; color: var(--ink-2); }
.related { margin-top: 56px; }

@media (max-width: 1180px) {
  .usp-grid { grid-template-columns: 1fr 1fr; }
  .usp-main { grid-row: auto; grid-column: 1 / -1; min-height: 220px; }
}
@media (max-width: 900px) {
  .usp-head { flex-direction: column; align-items: flex-start; }
  .pp-top, .pp-details { grid-template-columns: 1fr; gap: 24px; }
  .pp-buy { position: static; }
  .pp-service { grid-template-columns: 1fr; }
  .pp-details { margin-top: 36px; }
}
@media (max-width: 640px) {
  .usp-grid { grid-template-columns: 1fr; }
  .usp-num { font-size: 26px; }
  .usp-main .usp-num { font-size: 44px; }
  .pp-pluses { grid-template-columns: 1fr; }
  .pp-thumbs button { width: 72px; height: 54px; }
  .pp-arrow { width: 38px; height: 38px; font-size: 22px; }
  .cat-all { display: none; }
}

/* v4: цена «от» и подпись про размер */
.card-price small { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.pp-size-note { margin: -12px 0 18px; font-size: 13px; color: var(--ink-3); }
.anatomy-price { color: var(--ink-3); }
.anatomy-price b { color: var(--ink); }

/* =================== v5: SEO-блоки, подборки, блог =================== */
.foot { grid-template-columns: 1.6fr 1fr 1.3fr 1fr 1.3fr; }
.chips-sub { padding-top: 0; align-items: center; }
.chips-sub span { flex: none; font-size: 14px; color: var(--ink-3); margin-right: 4px; }
.chips-sub a { height: 34px; font-size: 13px; background: var(--card); border-color: transparent; }
.cat-seo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.cat-seo h2, .faq-block h2 { font-size: 24px; margin-bottom: 14px; }
.cat-seo-text p { color: #33363c; line-height: 1.65; margin: 0 0 14px; max-width: 44em; }
.faq-block details { border-bottom: 1px solid var(--line); }
.faq-block summary { list-style: none; cursor: pointer; padding: 14px 32px 14px 0; position: relative; font-weight: 600; }
.faq-block summary::-webkit-details-marker { display: none; }
.faq-block summary::after { content: "+"; position: absolute; right: 2px; top: 10px; font-size: 22px; font-weight: 400; transition: transform .2s; }
.faq-block details[open] summary::after { transform: rotate(45deg); }
.faq-block details p { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; }
.home-blog { padding-top: 64px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { display: flex; flex-direction: column; gap: 6px; }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); background: var(--card); margin-bottom: 8px; transition: opacity .2s; }
.post-card:hover img { opacity: .9; }
.post-card b { font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; }
.post-card:hover b { color: var(--accent); }
.post-meta { font-size: 13px; color: var(--ink-3); }
.post-lead { font-size: 14px; color: var(--ink-2); }
.blog-page { max-width: var(--max); margin: 0 auto; padding: 24px var(--gut) 72px; }
.blog-page h1 { font-size: clamp(30px, 3vw, 44px); letter-spacing: -0.03em; }
.blog-page .post-grid { margin-top: 28px; row-gap: 36px; }
.post { max-width: var(--max); margin: 0 auto; padding: 24px var(--gut) 72px; }
.post-head { max-width: 820px; }
.post-head h1 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.08; letter-spacing: -0.03em; margin: 6px 0 14px; }
.post-head .post-lead { font-size: 19px; line-height: 1.5; }
.post-cover { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--r); margin: 28px 0 36px; background: var(--card); }
.post-grid-2 { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: 56px; align-items: start; }
.post-body { font-size: 17px; line-height: 1.7; color: #2c2f35; max-width: 760px; }
.post-body h2 { font-size: 27px; line-height: 1.2; margin: 40px 0 14px; scroll-margin-top: 140px; }
.post-body h3 { font-size: 20px; margin: 28px 0 10px; }
.post-body p { margin: 0 0 16px; }
.post-body ul, .post-body ol { margin: 0 0 18px; padding-left: 22px; }
.post-body li { margin-bottom: 8px; }
.post-body a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.table-wrap { overflow-x: auto; margin: 6px 0 22px; border: 1px solid var(--line); border-radius: 12px; }
.post-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.post-body th, .post-body td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.post-body th { background: var(--card); font-weight: 600; }
.post-body tr:last-child td { border-bottom: 0; }
.post-body .faq-block { margin-top: 40px; }
.post-side { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 20px; }
.toc, .post-links { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; font-size: 14px; }
.toc b, .post-links b { display: block; margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 18px; }
.toc li { margin-bottom: 7px; }
.toc a:hover, .post-links a:hover { color: var(--accent); }
.post-links a { display: block; padding: 6px 0; border-top: 1px solid var(--line); }
@media (max-width: 1180px) { .foot { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 900px) {
  .cat-seo, .post-grid-2 { grid-template-columns: 1fr; gap: 28px; }
  .post-side { position: static; }
  .post-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-body { font-size: 16px; }
  .foot { grid-template-columns: 1fr; }
}

/* v6: подборки — кнопки в общем ряду, на десктопе с переносом */
@media (min-width: 901px) { .catalog-page .chips { flex-wrap: wrap; overflow: visible; } }

/* v7: контакты */
.head-tg svg { fill: #229ed9; stroke: none; width: 24px; }
.foot-social { display: flex; gap: 10px; margin-top: 10px; }
.foot-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid !important; place-items: center; padding: 0 !important; }
.foot-social a:hover { background: rgba(255,255,255,.18); }
.foot-social svg { width: 20px; fill: #fff; }
.drawer-note a { color: var(--accent); text-decoration: underline; }
.pp-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 16px; padding: 14px 16px; background: var(--card); border-radius: 12px; font-size: 14px; }
.pp-ask span { color: var(--ink-2); margin-right: auto; }
.pp-ask a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.pp-ask svg { width: 18px; fill: #229ed9; }
.pp-ask a:hover { color: var(--accent); }
@media (max-width: 640px) { .head-tg { display: none; } }

/* v8: умный поиск — подсказки */
.search { position: relative; }
.sugg { position: absolute; top: calc(100% + 8px); left: 0; right: 0; min-width: 420px; max-height: min(70vh, 560px); overflow-y: auto; z-index: 60;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.14); padding: 8px; }
.sugg-h { margin: 10px 10px 4px; font-size: 12px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.sugg a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; }
.sugg a:hover, .sugg a.act { background: var(--card); }
.sugg-p img { width: 56px; height: 42px; object-fit: cover; border-radius: 8px; flex: none; background: var(--card); }
.sugg-p span { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.sugg-p b { font-weight: 600; font-size: 15px; }
.sugg i { font-style: normal; font-size: 12px; color: var(--ink-3); }
.sugg-p i { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sugg-p em { font-style: normal; font-weight: 600; font-size: 14px; white-space: nowrap; }
.sugg-l { justify-content: space-between; font-size: 14px; }
.sugg mark { background: none; color: var(--accent); font-weight: 700; }
.sugg-all { justify-content: center; margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px !important; font-weight: 600; color: var(--accent); font-size: 14px; }
.sugg-empty { margin: 0; padding: 14px 10px; font-size: 14px; color: var(--ink-2); }
.sugg-empty a, .empty a { display: inline !important; padding: 0 !important; color: var(--accent); text-decoration: underline; }
@media (max-width: 640px) { .sugg { min-width: 0; position: fixed; top: 112px; left: 10px; right: 10px; max-height: 70vh; } }

/* v9: ВКонтакте в шапке */
.head-vk svg { fill: #0077ff; stroke: none; width: 24px; }
@media (max-width: 640px) { .head-vk { display: none; } }

/* v10: ссылка на студию */
.foot-studio { font-size: 13px; color: #8d8981; margin-top: 14px; }
.foot-studio a { display: inline !important; color: #d8d4cd; text-decoration: underline; text-underline-offset: 3px; }
