/* HPRunch — дизайн-система сайта.
   Светлая природная палитра (лён, песок, мох) + графит. Шрифт Manrope (локально). */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic.e58febde317b.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.938c6e8019b6.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f4f1ea;
  --bg-2: #ebe5d8;
  --surface: #ffffff;
  --surface-2: #faf8f3;
  --ink: #1d2023;
  --ink-2: #3f4549;
  --muted: #6f7579;
  --line: #ddd5c6;
  --line-2: #e8e2d6;
  --graphite: #23272a;
  --graphite-2: #2e3337;
  --moss: #3d5a3c;
  --moss-2: #2f4830;
  --moss-soft: #e2e9dc;
  --copper: #b97a3c;
  --copper-soft: #f3e5d3;
  --danger: #b0392f;
  --danger-soft: #f8e3df;
  --ok: #2f6b3f;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(29, 32, 35, .06), 0 2px 8px rgba(29, 32, 35, .04);
  --shadow: 0 10px 30px -12px rgba(29, 32, 35, .18), 0 2px 6px rgba(29, 32, 35, .05);
  --shadow-lg: 0 30px 60px -24px rgba(29, 32, 35, .35);
  --container: 1240px;
  --gutter: 20px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.025em; font-weight: 800; }
h1 { font-size: clamp(2.5rem, 6.2vw, 5rem); letter-spacing: -.04em; line-height: 1; }
h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); letter-spacing: -.035em; }
h3 { font-size: 1.25rem; letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0 0 1em; }
.icon { flex: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.fine { font-size: .85rem; color: var(--muted); line-height: 1.5; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
mark.missing { background: var(--copper-soft); color: var(--copper); padding: 0 .3em; border-radius: 4px; font-weight: 600; }

/* ---------- Кнопки ---------- */
.btn {
  --btn-bg: var(--surface); --btn-fg: var(--ink); --btn-border: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.4em; border-radius: 999px;
  border: 1px solid var(--btn-border); background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { --btn-bg: var(--moss); --btn-fg: #fff; --btn-border: var(--moss); box-shadow: 0 8px 20px -10px rgba(61, 90, 60, .7); }
.btn-primary:hover { --btn-bg: var(--moss-2); }
.btn-dark { --btn-bg: var(--graphite); --btn-fg: #fff; --btn-border: var(--graphite); }
.btn-dark:hover { --btn-bg: #000; }
.btn-light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-border: #fff; }
.btn-ghost { --btn-bg: transparent; --btn-border: var(--ink); }
.btn-ghost:hover { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn-lg { min-height: 56px; padding: .9em 1.7em; font-size: 1.05rem; }
.btn-sm { min-height: 40px; padding: .55em 1.1em; font-size: .92rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .55; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; color: var(--moss); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .2s var(--ease); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.icon-btn:hover { border-color: var(--ink); }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(244, 241, 234, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, background-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(244, 241, 234, .94); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.logo b { color: var(--moss); font-weight: 800; }
.logo .icon { color: var(--moss); }
.logo-light, .logo-light b { color: #fff; }
.logo-light .icon { color: #a9c39d; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); transition: background-color .2s, color .2s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--bg-2); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-link { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); transition: background-color .2s; }
.cart-link:hover { background: var(--bg-2); }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--copper); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; place-items: center; cursor: pointer; }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 49; background: var(--bg); padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; overflow-y: auto; animation: fadeIn .2s var(--ease); }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { padding: 16px 4px; font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; text-decoration: none; border-bottom: 1px solid var(--line-2); }
.mobile-menu-footer { margin-top: auto; padding-top: 24px; display: grid; gap: 14px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Сообщения ---------- */
.flash-stack { position: fixed; top: calc(var(--header-h) + 10px); left: 50%; transform: translateX(-50%); z-index: 60; width: min(560px, calc(100% - 32px)); display: grid; gap: 8px; }
.flash { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow); border-left: 4px solid var(--moss); font-weight: 600; }
.flash-error { border-left-color: var(--danger); }
.flash-warning { border-left-color: var(--copper); }
.flash button { border: 0; background: none; cursor: pointer; padding: 0; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 70; background: var(--graphite); color: #fff; padding: 14px 20px; border-radius: 14px; box-shadow: var(--shadow-lg); font-weight: 600; display: flex; gap: 14px; align-items: center; max-width: calc(100% - 32px); animation: toastIn .3s var(--ease); }
.toast a { color: #c8dcbc; font-weight: 700; white-space: nowrap; }
.toast.is-error { background: var(--danger); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } }
.cookie-note { position: fixed; left: 16px; bottom: 16px; z-index: 65; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; display: flex; gap: 14px; align-items: center; font-size: .9rem; }
.cookie-note p { margin: 0; }
.cookie-note { flex-wrap: wrap; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.footer-link-btn:hover { text-decoration: underline; }

/* ---------- Секции ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-sand { background: var(--bg-2); }
.section-dark { background: var(--graphite); color: #e9e6df; }
.section-dark h2 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head-row h2 { margin-bottom: 0; }
.section-lead { font-size: 1.15rem; color: var(--ink-2); max-width: 640px; }
.section-dark .section-lead { color: #bfc3c4; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--moss); }
.eyebrow-light { color: #a9c39d; }

/* ---------- Первый экран ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); }
.hero-contours { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--line); opacity: .9; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero h1::after { content: ""; display: block; width: 84px; height: 6px; margin-top: 26px; border-radius: 3px; background: linear-gradient(90deg, var(--moss) 0 60%, var(--copper) 60%); }
.hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--ink-2); max-width: 560px; margin-bottom: 28px; }
.price-card { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 16px 22px; margin-bottom: 28px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-sm); width: fit-content; max-width: 100%; }
.price-label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.price-value { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.price-note { font-size: .88rem; line-height: 1.45; color: var(--ink-2); padding-left: 22px; border-left: 1px solid var(--line); }
.hero-media { position: relative; justify-self: end; width: 100%; max-width: 500px; }
.hero-media picture, .hero-media > img { display: block; border-radius: 220px 220px var(--radius-lg) var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg-2); aspect-ratio: 4 / 5.6; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 88%; }
.hero-badge { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-radius: 16px; box-shadow: var(--shadow); font-size: .82rem; line-height: 1.2; color: var(--ink-2); }
.hero-badge b { font-size: 1.5rem; font-weight: 800; color: var(--moss); letter-spacing: -.03em; }
.hero-badge-top { top: 42%; left: -28px; }
.hero-badge-bottom { top: 12%; right: -18px; }
.hero-facts { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(36px, 5vw, 64px); }
.hero-facts > div { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: rgba(255, 255, 255, .6); border: 1px solid var(--line-2); border-radius: var(--radius); font-size: .95rem; color: var(--ink-2); }
.hero-facts .icon { color: var(--moss); }
.hero-facts b { color: var(--ink); }

/* ---------- Преимущества ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.adv-card { position: relative; padding: 26px 24px 24px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s; overflow: hidden; }
.adv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.adv-card h3 { margin: 20px 0 8px; }
.adv-card p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.adv-top { display: flex; justify-content: space-between; align-items: flex-start; }
.adv-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--moss-soft); color: var(--moss); transition: background-color .3s, color .3s; }
.adv-card:hover .adv-icon { background: var(--moss); color: #fff; }
.adv-num { font-size: .8rem; font-weight: 800; color: var(--line); letter-spacing: .05em; }
.adv-img { width: calc(100% + 48px); max-width: none; margin: -26px -24px 18px; aspect-ratio: 16 / 10; object-fit: cover; }

/* ---------- Сценарии ---------- */
.usecase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.usecase { background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.usecase-media { position: relative; aspect-ratio: 4 / 3.4; background: var(--line-2); overflow: hidden; }
.usecase-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.usecase:hover .usecase-media img { transform: scale(1.04); }
.usecase-index { position: absolute; left: 18px; top: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(29, 32, 35, .72); color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: .06em; }
.usecase-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.usecase-body h3 { font-size: 1.45rem; }
.usecase-body > p { color: var(--ink-2); }
.usecase-body .fine { margin: auto 0 0; padding-top: 14px; border-top: 1px dashed var(--line); }
.checklist { list-style: none; margin: 4px 0 18px; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; }
.checklist .icon { color: var(--moss); margin-top: 3px; }

/* ---------- Материал ---------- */
.material-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.material-media { position: relative; background: #f3f2ef; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 56px); aspect-ratio: 1; display: grid; place-items: center; }
.material-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.material-tag { position: absolute; right: 22px; top: 22px; padding: 8px 14px; border-radius: 999px; background: var(--graphite); color: #fff; font-weight: 800; font-size: .85rem; letter-spacing: .12em; }
.material-points { display: grid; gap: 4px; margin-top: 12px; }
.material-point { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.material-point span { font-weight: 800; color: #a9c39d; font-size: .9rem; padding-top: 2px; }
.material-point p { margin: 0; color: #d8d6cf; font-size: 1.04rem; }

/* ---------- Галерея ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 14px; }
.gallery-item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--line-2); }
.gallery-item:nth-child(6n + 1) { grid-row: span 2; }
.gallery-item:nth-child(6n + 4) { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 16px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); color: #fff; font-size: .88rem; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.gallery-item:hover .gallery-caption, .gallery-item:focus-visible .gallery-caption { opacity: 1; transform: none; }
.gallery-zoom { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ink); opacity: 0; transition: opacity .3s; }
.gallery-item:hover .gallery-zoom { opacity: 1; }

/* ---------- Лайтбокс ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(15, 17, 18, .94); display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 56px 16px 16px; animation: fadeIn .2s; }
.lightbox img { max-height: calc(100vh - 140px); max-width: min(1200px, 100%); width: auto; object-fit: contain; border-radius: 10px; user-select: none; }
.lightbox-caption { color: #ddd; padding: 12px; text-align: center; font-size: .95rem; }
.lightbox button { position: absolute; border: 0; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .24); }
.lightbox-close { top: 12px; right: 12px; }
.lightbox-prev { left: 12px; top: 50%; }
.lightbox-next { right: 12px; top: 50%; }

/* ---------- Зима ---------- */
.winter { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 32px; padding: clamp(36px, 6vw, 80px); border-radius: var(--radius-lg); color: #fff; background: radial-gradient(120% 140% at 85% 0%, #5d7d93 0%, #2c4152 45%, #1e2c37 100%); }
.winter h2 { color: #fff; }
.winter .section-lead, .winter p { color: #d7e3ea; }
.winter-flakes { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(255, 255, 255, .1); pointer-events: none; }
.winter-text { position: relative; max-width: 560px; }
.winter .btn { margin-top: 10px; }
.winter-img { position: relative; border-radius: var(--radius); width: 100%; aspect-ratio: 1; object-fit: cover; }
.winter .eyebrow { color: #bfe0f2; }

/* ---------- Отзывы ---------- */
.review-grid { columns: 3 320px; column-gap: 18px; }
.review-card { break-inside: avoid; margin-bottom: 18px; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.review-photo img, .review-video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #000; }
.review-body { padding: 22px 22px 20px; }
.review-body p { color: var(--ink-2); }
.review-body footer { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; font-size: .92rem; }
.review-body footer span { color: var(--muted); }
.review-body footer a { margin-left: auto; color: var(--moss); font-weight: 600; }
.stars { display: flex; gap: 2px; margin-bottom: 10px; color: var(--line); }
.stars .on { color: var(--copper); }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.empty-reviews { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 32px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius-lg); }
.empty-reviews h3 { margin-bottom: 6px; }
.empty-reviews p { margin: 0; color: var(--ink-2); max-width: 620px; }
.empty-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--copper-soft); color: var(--copper); }

/* ---------- Шаги ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); }
.steps li { position: relative; counter-increment: step; text-align: center; padding: 0 6px; }
.step-icon { position: relative; display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--moss); box-shadow: 0 0 0 8px var(--bg); }
.step-icon::after { content: counter(step); position: absolute; top: -4px; right: -6px; width: 26px; height: 26px; border-radius: 50%; background: var(--graphite); color: #fff; font-size: .78rem; font-weight: 800; display: grid; place-items: center; }
.steps h3 { font-size: 1.05rem; margin-bottom: 8px; }
.steps p { font-size: .92rem; color: var(--muted); margin: 0; }
.steps-cta { text-align: center; margin-top: 48px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line-2); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 700; font-size: 1.04rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg-2); transition: transform .3s var(--ease), background-color .3s; }
.faq-item[open] .faq-toggle { transform: rotate(45deg); background: var(--moss); color: #fff; }
.faq-answer { padding: 0 22px 18px; color: var(--ink-2); }

/* ---------- CTA ---------- */
.section-cta { padding-top: 0; }
.cta { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--moss-2); color: #fff; min-height: 420px; display: flex; align-items: flex-end; }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(31, 46, 32, .94) 0%, rgba(31, 46, 32, .75) 45%, rgba(31, 46, 32, .1) 100%); }
.cta-content { position: relative; z-index: 1; padding: clamp(32px, 6vw, 72px); max-width: 720px; }
.cta h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.cta p { color: #dfe6da; font-size: 1.1rem; margin-bottom: 26px; }
.cta-price { font-weight: 700; color: #dfe6da; }

/* ---------- Подвал ---------- */
.site-footer { background: var(--graphite); color: #b9bdbe; padding: 72px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer h3 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-brand p { margin: 16px 0 20px; max-width: 320px; }
.footer-contacts li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contacts a { display: inline-flex; gap: 10px; align-items: center; }
.footer-contacts .icon { margin-top: 3px; color: #a9c39d; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .2s; }
.socials a:hover { background: var(--moss); }
.mobile-menu .socials a { background: var(--graphite); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- Внутренние страницы ---------- */
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 4vw, 40px); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 14px; }
.page-hero .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 720px; margin: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span::before { content: "/"; margin-right: 6px; color: var(--line); }
.prose { max-width: 760px; font-size: 1.05rem; }
.prose h2 { font-size: 1.6rem; margin: 1.8em 0 .6em; }
.prose h3 { margin: 1.5em 0 .5em; }
.prose .doc-meta { color: var(--muted); font-size: .92rem; }
.prose ul li { overflow-wrap: anywhere; }
.pd-notice { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; color: var(--ink-2); font-size: .9rem; line-height: 1.5; }
.pd-notice svg { flex: none; margin-top: 2px; color: var(--moss); }
.pd-notice a { color: var(--moss); font-weight: 600; }
.inquiry { margin-top: 36px; max-width: 760px; }
.inquiry h2 { font-size: 1.5rem; margin: 0 0 6px; }
.inquiry .form-grid { margin-top: 18px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--moss); font-weight: 600; }
.card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 24px; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--copper-soft); color: #6d4520; font-size: .95rem; line-height: 1.5; }
.notice .icon { color: var(--copper); margin-top: 2px; }
.notice p { margin: 0; }
.notice-info { background: var(--moss-soft); color: #2c432b; }
.notice-info .icon { color: var(--moss); }
.notice-danger { background: var(--danger-soft); color: #7a241d; }
.notice-danger .icon { color: var(--danger); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--bg-2); color: var(--ink-2); }
.pill-ok { background: var(--moss-soft); color: var(--moss-2); }
.pill-warn { background: var(--copper-soft); color: #8a5320; }
.pill-danger { background: var(--danger-soft); color: var(--danger); }

/* ---------- Каталог ---------- */
.catalog-layout { display: grid; gap: 28px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 600; font-size: .93rem; transition: all .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.product-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); transition: transform .3s var(--ease), box-shadow .3s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-media { position: relative; aspect-ratio: 1; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-placeholder { width: 46%; color: var(--line); }
.product-badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; background: var(--surface); box-shadow: var(--shadow-sm); }
.badge-sale { background: var(--copper); color: #fff; }
.badge-out { background: var(--ink-2); color: #fff; }
.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.product-title { font-size: 1.08rem; font-weight: 700; line-height: 1.3; text-decoration: none; }
.product-title::after { content: ""; position: absolute; inset: 0; }
.product-desc { font-size: .9rem; color: var(--muted); margin: 0; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.price { font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.price-old { color: var(--muted); text-decoration: line-through; font-weight: 600; font-size: .92rem; margin-left: 6px; }
.product-foot .btn { position: relative; z-index: 1; }
.boots-banner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 22px 26px; border-radius: var(--radius-lg); background: var(--graphite); color: #fff; }
.boots-banner img { width: 88px; height: 88px; border-radius: 16px; object-fit: cover; background: #fff; }
.boots-banner h3 { margin-bottom: 4px; }
.boots-banner p { margin: 0; color: #bfc3c4; }

/* ---------- Товар ---------- */
.product-page { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.pp-gallery { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 12px; }
.pp-main { aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); display: grid; place-items: center; border: 1px solid var(--line-2); }
.pp-main img { width: 100%; height: 100%; object-fit: cover; }
.pp-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.pp-thumbs button { flex: none; width: 76px; height: 76px; border-radius: 14px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--surface); }
.pp-thumbs button.is-active { border-color: var(--moss); }
.pp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pp-info h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.pp-sku { font-size: .85rem; color: var(--muted); }
.pp-price { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 8px; }
.pp-price .price { font-size: 2.2rem; }
.stock { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--ok); }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock.is-out { color: var(--danger); }
.buy-box { margin: 24px 0; padding: 22px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line-2); display: grid; gap: 18px; }
.option-group legend, .field-label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 10px; padding: 0; }
.option-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.option-list { display: flex; flex-wrap: wrap; gap: 8px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: .93rem; transition: all .15s; }
.option input:checked + span { border-color: var(--moss); background: var(--moss-soft); box-shadow: 0 0 0 1px var(--moss); }
.option input:focus-visible + span { outline: 2px solid var(--moss); outline-offset: 2px; }
.option input:disabled + span { opacity: .45; text-decoration: line-through; }
.swatch { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); height: 48px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; display: grid; place-items: center; cursor: pointer; border-radius: 999px; }
.qty button:hover { background: var(--bg-2); }
.qty input { width: 44px; text-align: center; border: 0; background: none; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; }
.buy-row .btn { flex: 1; }
.specs { width: 100%; border-collapse: collapse; font-size: .95rem; }
.specs th, .specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.specs th { color: var(--muted); font-weight: 600; width: 45%; padding-right: 16px; }

/* ---------- Корзина ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.cart-lines { display: grid; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: center; padding: 16px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line-2); }
.cart-line-media { width: 96px; height: 96px; border-radius: 14px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; }
.cart-line-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-line h3 { font-size: 1.02rem; margin-bottom: 4px; }
.cart-line-meta { font-size: .88rem; color: var(--muted); }
.cart-line-side { display: grid; justify-items: end; gap: 10px; }
.cart-line-total { font-weight: 800; font-size: 1.1rem; }
.cart-line .problem { color: var(--danger); font-size: .88rem; font-weight: 600; margin-top: 4px; }
.summary { position: sticky; top: calc(var(--header-h) + 16px); background: var(--surface); border-radius: var(--radius-lg); padding: 26px; border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
.summary h2 { font-size: 1.4rem; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; color: var(--ink-2); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; margin-top: 8px; border-top: 1px solid var(--line); font-weight: 800; font-size: 1.4rem; }
.summary .btn { margin-top: 18px; }
.empty-state { text-align: center; padding: 64px 24px; background: var(--surface); border-radius: var(--radius-lg); border: 1px dashed var(--line); }
.empty-state .icon { margin: 0 auto 18px; color: var(--line); }

/* ---------- Формы ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; }
.field label, .field .field-label { font-weight: 700; font-size: .92rem; margin: 0; }
.field .req { color: var(--copper); }
.input, .field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="date"], .field input[type="search"], .field input[type="number"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); font-size: 16px; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%231d2023' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 4px rgba(61, 90, 60, .14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .86rem; font-weight: 600; }
.field-help { color: var(--muted); font-size: .86rem; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .95rem; line-height: 1.5; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--moss); cursor: pointer; }
.check a { color: var(--moss); font-weight: 600; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Мастер заявки ---------- */
.wizard-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.wizard-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 24px; list-style: none; padding: 0; }
.wizard-progress li { display: grid; gap: 8px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.wizard-progress li::before { content: ""; height: 5px; border-radius: 3px; background: var(--line); transition: background-color .3s; }
.wizard-progress li.is-done::before, .wizard-progress li.is-active::before { background: var(--moss); }
.wizard-progress li.is-active { color: var(--ink); }
.wizard-step { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 36px); border: 1px solid var(--line-2); }
.wizard-step h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.wizard-step > .section-lead { font-size: 1rem; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.js .wizard-step:not(.is-active) { display: none; }
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 20px; }
.photo-slot { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface-2); display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.photo-slot.is-filled { border-color: var(--moss); box-shadow: 0 0 0 1px var(--moss); }
.photo-slot.has-error { border-color: var(--danger); }
.photo-slot-head { display: flex; gap: 10px; align-items: center; padding: 14px 16px; }
.photo-slot-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--graphite); color: #fff; font-weight: 800; font-size: .85rem; flex: none; }
.photo-slot.is-filled .photo-slot-num { background: var(--moss); }
.photo-slot-head h3 { margin: 0; font-size: 1rem; }
.photo-slot-body { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px; }
.photo-sample, .photo-drop { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.photo-sample { background: #fff; border: 1px solid var(--line-2); }
.photo-sample img { width: 100%; height: 100%; object-fit: contain; }
.photo-sample-label { position: absolute; left: 6px; top: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(29, 32, 35, .75); color: #fff; font-size: .7rem; font-weight: 700; }
.photo-drop { display: grid; place-items: center; text-align: center; border: 2px dashed var(--line); background: var(--surface); color: var(--muted); cursor: pointer; font-size: .85rem; font-weight: 600; padding: 8px; transition: border-color .2s, background-color .2s; }
.photo-drop:hover, .photo-drop.is-dragover { border-color: var(--moss); background: var(--moss-soft); color: var(--moss); }
.photo-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-drop .icon { margin: 0 auto 6px; }
.photo-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-drop.is-loading::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Ccircle cx='25' cy='25' r='18' fill='none' stroke='%233d5a3c' stroke-width='4' stroke-dasharray='80 40'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 25 25' to='360 25 25' dur='.8s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E") center / 40px no-repeat; }
.photo-slot-hint { padding: 12px 16px 0; margin: 0; font-size: .85rem; color: var(--ink-2); line-height: 1.45; }
.photo-slot-actions { display: flex; gap: 8px; padding: 12px 16px 16px; margin-top: auto; }
.photo-slot-actions .btn { flex: 1; }
.photo-slot-error { padding: 0 16px 12px; color: var(--danger); font-size: .85rem; font-weight: 600; }
.aside-total { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.aside-total .summary-total { font-size: 1.15rem; }
.aside-save { margin: 8px 0 0; font-size: .85rem; font-weight: 600; color: var(--moss); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Пары: передние/задние и кличка */
.pair-list { display: grid; gap: 10px; margin-top: 6px; }
.pair-row { display: grid; grid-template-columns: 70px auto 1fr; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface-2); }
.pair-row-num { font-weight: 800; }
.segmented { display: inline-flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span { display: block; padding: 9px 14px; font-weight: 600; font-size: .9rem; }
.segmented label + label span { border-left: 1px solid var(--line); }
.segmented input:checked + span { background: var(--moss); color: #fff; }
.segmented input:focus-visible + span { outline: 2px solid var(--moss); outline-offset: -4px; }
.pair-row input[type=text] { min-width: 0; }
.field.has-error .pair-row:not(:has(input:checked)) { border-color: var(--danger); }
/* Образцы ракурсов */
.angle-guide { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 12px; }
.angle-card { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: start; padding: 10px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface-2); }
.angle-card .photo-sample { aspect-ratio: 1; display: block; position: relative; border-radius: 10px; overflow: hidden; }
.angle-card h4 { margin: 2px 0 4px; font-size: .95rem; }
.angle-card p { margin: 0; font-size: .82rem; color: var(--ink-2); line-height: 1.4; }
/* Копыта */
.hoof-list { display: grid; gap: 16px; margin-top: 22px; }
.hoof-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 16px; background: var(--surface-2); transition: border-color .2s; }
.hoof-card.is-complete { border-color: var(--moss); box-shadow: 0 0 0 1px var(--moss); }
.hoof-card.has-error { border-color: var(--danger); }
.hoof-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.hoof-head h3 { margin: 0; font-size: 1.02rem; }
.hoof-count { font-size: .85rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.hoof-card.is-complete .hoof-count { color: var(--moss); }
.hoof-multi { position: relative; width: 100%; justify-content: center; cursor: pointer; white-space: normal; text-align: center; }
.hoof-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.hoof-tile { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hoof-tile-drop { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 2px dashed var(--line); background: var(--surface); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, background-color .2s; }
.hoof-tile-drop:hover, .hoof-tile-drop.is-dragover { border-color: var(--moss); background: var(--moss-soft); }
.hoof-tile-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.hoof-tile-sample { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: .35; }
.hoof-tile-add { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--moss); box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
.hoof-tile-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hoof-tile.is-filled .hoof-tile-drop { border-style: solid; border-color: var(--moss); }
.hoof-tile.is-filled .hoof-tile-add { display: none; }
.hoof-tile-drop.is-loading::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Ccircle cx='25' cy='25' r='18' fill='none' stroke='%233d5a3c' stroke-width='4' stroke-dasharray='80 40'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 25 25' to='360 25 25' dur='.8s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E") center / 32px no-repeat; }
.hoof-tile-cap { display: flex; gap: 6px; align-items: flex-start; font-size: .78rem; font-weight: 600; line-height: 1.25; }
.hoof-tile-cap .photo-slot-num { width: 20px; height: 20px; font-size: .7rem; }
.hoof-tile.is-filled .photo-slot-num { background: var(--moss); }
.hoof-tile-actions { display: flex; justify-content: space-between; gap: 4px; margin-top: auto; }
.hoof-tile-actions button { flex: 1; display: grid; place-items: center; height: 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink-2); cursor: pointer; }
.hoof-tile-actions button:hover:not(:disabled) { border-color: var(--moss); color: var(--moss); }
.hoof-tile-actions button:disabled { opacity: .3; cursor: default; }
.hoof-card .photo-slot-error { padding: 10px 0 0; }
.hoof-card > .field-error { display: block; margin-top: 8px; }
@media (max-width: 700px) {
  .angle-guide { grid-template-columns: 1fr; }
  .pair-row { grid-template-columns: auto 1fr; }
  .pair-row input[type=text] { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .hoof-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acc-row { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; padding: 10px; }
  .acc-row img, .acc-row .acc-ph { width: 48px; height: 48px; }
  .acc-row h4 { font-size: .9rem; overflow-wrap: anywhere; }
}
.pvz-results { display: grid; gap: 8px; max-height: 320px; overflow-y: auto; margin-top: 10px; }
.pvz-item { text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: .92rem; }
.pvz-item:hover, .pvz-item.is-selected { border-color: var(--moss); background: var(--moss-soft); }
.pvz-item b { display: block; }
.pvz-selected { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; padding: 14px 16px; border-radius: 12px; background: var(--moss-soft); }
.acc-list { display: grid; gap: 10px; }
.acc-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface-2); }
.acc-row img, .acc-row .acc-ph { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: #fff; display: grid; place-items: center; color: var(--line); }
.acc-row h4 { margin: 0 0 2px; font-size: .98rem; letter-spacing: -.01em; }
.acc-row .qty { height: 40px; }
.acc-row .qty button { width: 36px; }
.acc-row .qty input { width: 34px; }
.review-list { display: grid; gap: 0; }
.review-list > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.review-list dt { color: var(--muted); font-weight: 600; }
.review-list dd { margin: 0; font-weight: 600; }
.review-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.review-photos img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.order-aside { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 14px; }
.order-aside .card h3 { font-size: 1.05rem; }
.order-aside .notice { font-size: .9rem; }

/* ---------- Инструкции ---------- */
.guide-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.guide-featured { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; margin-bottom: 32px; padding: 20px; background: var(--bg-2); border-radius: 20px; }
.guide-featured h2 { font-size: 1.5rem; margin: 4px 0 8px; }
.guide-cat { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.guide-cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.guide-cat .adv-icon { width: 48px; height: 48px; }
.guide-cat h3 { margin: 0; font-size: 1.1rem; }
.guide-cat span.count { margin-top: auto; font-size: .85rem; color: var(--muted); }
.guide-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.guide-card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); text-decoration: none; }
.guide-card-media { aspect-ratio: 16 / 9; background: var(--bg-2); display: grid; place-items: center; color: var(--line); position: relative; }
.guide-card-media img { width: 100%; height: 100%; object-fit: cover; }
.guide-card-media .play { position: absolute; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; }
.guide-card-body { padding: 18px 20px 22px; }
.guide-card-body h3 { font-size: 1.1rem; margin-bottom: 6px; }
.guide-card-body p { margin: 0; color: var(--muted); font-size: .92rem; }
.guide-steps { list-style: none; padding: 0; margin: 1.2em 0; counter-reset: gs; display: grid; gap: 12px; }
.guide-steps li { counter-increment: gs; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px; background: var(--surface); border-radius: 14px; border: 1px solid var(--line-2); }
.guide-steps li::before { content: counter(gs); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--moss); color: #fff; font-weight: 800; }
.side-nav { display: grid; gap: 4px; }
.side-nav a { padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; color: var(--ink-2); }
.side-nav a:hover, .side-nav a[aria-current="page"] { background: var(--surface); color: var(--ink); }
.two-col { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.video-wrap { margin: 24px 0; border-radius: var(--radius); overflow: hidden; }
.video-wrap video { width: 100%; background: #000; }

/* ---------- Статус заказа ---------- */
.status-card { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line-2); }
.success-mark { width: 84px; height: 84px; border-radius: 50%; background: var(--moss); color: #fff; display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 0 0 12px var(--moss-soft); }
.order-number { display: inline-block; font-size: 1.3rem; font-weight: 800; letter-spacing: .02em; padding: 10px 18px; border-radius: 12px; background: var(--bg-2); margin: 6px 0 18px; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 18px 30px; color: var(--muted); font-size: .95rem; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.timeline li::after { content: ""; position: absolute; left: 11px; top: 20px; bottom: 0; width: 2px; background: var(--line-2); }
.timeline li:last-child::after { display: none; }
.timeline li.is-done { color: var(--ink); }
.timeline li.is-done::before { background: var(--moss); }
.timeline li.is-current { color: var(--ink); font-weight: 700; }
.timeline li.is-current::before { background: var(--copper); box-shadow: 0 0 0 5px var(--copper-soft); }

/* ---------- Анимация появления ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Адаптивность ---------- */
@media (max-width: 1100px) {
  .main-nav a { padding: 8px 9px; font-size: .9rem; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-cats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .main-nav, .header-cta { display: none; }
  .burger { display: grid; }
  .header-actions { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { justify-self: center; max-width: 440px; order: -1; }
  .hero-media picture, .hero-media > img { aspect-ratio: 4 / 4.4; border-radius: 180px 180px var(--radius-lg) var(--radius-lg); }
  .hero-badge-top { left: -6px; }
  .hero-badge-bottom { right: -6px; }
  .hero-facts { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: 1fr; }
  .usecase { display: grid; grid-template-columns: .9fr 1.1fr; }
  .usecase-media { aspect-ratio: auto; min-height: 100%; }
  .material-grid, .faq-layout, .product-page, .cart-layout, .wizard-layout, .two-col { grid-template-columns: 1fr; }
  .material-media { max-width: 520px; }
  .winter { grid-template-columns: 1fr; }
  .winter-img { max-width: 320px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { left: 34px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 16px); }
  .steps li { display: grid; grid-template-columns: 70px 1fr; column-gap: 18px; text-align: left; padding: 0 0 24px; }
  .steps .step-icon { grid-row: span 2; margin: 0; }
  .steps h3 { align-self: end; margin: 6px 0 4px; }
  .pp-gallery, .summary, .order-aside { position: static; }
  .order-aside { order: 1; }
  .empty-reviews { grid-template-columns: 1fr; text-align: left; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-item:nth-child(6n + 4) { grid-column: span 1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --gutter: 16px; }
  .hero h1::after { margin-top: 20px; }
  .price-card { width: 100%; gap: 14px; }
  .price-note { padding-left: 0; border-left: 0; }
  .btn-row .btn { flex: 1 1 auto; }
  .hero .btn-row .btn { width: 100%; }
  .adv-grid { grid-template-columns: 1fr; gap: 12px; }
  .adv-card { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; padding: 20px; }
  .adv-card .adv-top { grid-row: span 2; }
  .adv-card .adv-num { display: none; }
  .adv-card h3 { margin: 2px 0 4px; font-size: 1.1rem; }
  .adv-card.has-image .adv-img { display: none; }
  .usecase { grid-template-columns: 1fr; }
  .usecase-media { aspect-ratio: 4 / 3; }
  .gallery-grid { grid-auto-rows: 150px; gap: 8px; }
  .form-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 72px 1fr; }
  .cart-line-media { width: 72px; height: 72px; }
  .cart-line-side { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
  .boots-banner { grid-template-columns: 1fr; }
  .boots-banner img { display: none; }
  .guide-cats { grid-template-columns: 1fr; }
  .guide-featured { grid-template-columns: 1fr; padding: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .review-list > div { grid-template-columns: 1fr; gap: 4px; }
  .review-photos { grid-template-columns: repeat(2, 1fr); }
  .wizard-progress span { display: none; }
  .wizard-nav { position: sticky; bottom: 0; background: var(--surface); margin: 24px -20px -20px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .wizard-nav .btn { flex: 1; }
  .cookie-note { left: 8px; right: 8px; bottom: 8px; max-width: none; }
  .section-head-row { align-items: flex-start; flex-direction: column; }
  .cta { min-height: 480px; }
  .cta::after { background: linear-gradient(0deg, rgba(31, 46, 32, .95) 0%, rgba(31, 46, 32, .8) 50%, rgba(31, 46, 32, .2) 100%); }
}
@media (max-width: 640px) {
  .hero { padding-top: 12px; }
  .hero-media picture, .hero-media > img { aspect-ratio: auto; height: min(44vh, 380px); border-radius: 150px 150px var(--radius-lg) var(--radius-lg); }
  .hero-badge { padding: 8px 12px; }
  .hero-badge b { font-size: 1.2rem; }
}

/* ---------- Видео на главной ---------- */
.video-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.video-layout .section-head { margin-bottom: 0; }
.video-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.video-main video { width: 100%; }
@media (max-width: 960px) { .video-layout { grid-template-columns: 1fr; } }
.review-media { position: relative; }
.review-more { position: absolute; right: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(29, 32, 35, .78); color: #fff; font-size: .8rem; font-weight: 700; pointer-events: none; }
.review-photo img { aspect-ratio: 4 / 3.4; }

/* ---------- Цена ботинок, акция, бесплатная доставка ---------- */
.announce { background: var(--graphite); color: #e9e6df; font-size: .85rem; }
.announce-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; padding: 8px var(--gutter); text-align: center; }
.announce span { display: inline-flex; align-items: center; gap: 6px; }
.announce .icon { color: #a9c39d; }
.announce a { color: #fff; text-decoration: none; }
.announce a:hover { text-decoration: underline; }
.announce s { opacity: .65; }
.bp { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.bp-now { font-weight: 800; letter-spacing: -.03em; }
.bp-old { color: var(--muted); font-weight: 600; text-decoration-thickness: 2px; text-decoration-color: var(--copper); }
.bp-unit { color: var(--muted); font-size: 1rem; font-weight: 600; }
.bp-promo { flex-basis: 100%; display: inline-flex; width: fit-content; padding: 3px 10px; border-radius: 999px; background: var(--copper-soft); color: #8a5320; font-size: .78rem; font-weight: 700; letter-spacing: 0; }
.bp-lg .bp-now { font-size: 2rem; line-height: 1.1; }
.bp-lg .bp-old { font-size: 1.15rem; }
.bp-sm .bp-now { font-size: 1rem; }
.bp-sm .bp-promo { display: none; }
.free-delivery { color: var(--moss); display: inline-flex; align-items: center; gap: 6px; }
.price-note .free-delivery { margin-top: 6px; }
.hero-fact-accent { background: var(--moss-soft) !important; border-color: #c9d6bf !important; }
.free-delivery-line { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-weight: 700; color: var(--moss); }
.cta-price s { opacity: .7; }
.boots-banner .bp-old { color: #9aa0a3; }
@media (max-width: 640px) { .announce { font-size: .8rem; } .announce-inner { padding: 6px var(--gutter); } }
