/* ========================================================================
   СтройИнжПро Металл — дизайн-система
   Авторский адаптивный интерфейс: графит, бумага, сигнальный оранжевый.
   ======================================================================== */

:root {
  --ink: #0f1517;
  --ink-2: #172025;
  --ink-3: #1f2b31;
  --ink-4: #2b3a41;
  --paper: #f3f1eb;
  --paper-2: #e9e5dc;
  --white: #ffffff;
  --orange: #ff5c1a;
  --orange-2: #ff7a3d;
  --orange-dark: #de4307;
  --steel: #a8b2b7;
  --steel-2: #7e8c92;
  --muted: #68767b;
  --line: rgba(15, 21, 23, 0.13);
  --line-dark: rgba(255, 255, 255, 0.13);
  --ok: #2f8a5b;
  --warn: #b97a13;
  --font-display: "Unbounded", "Bahnschrift", "Segoe UI", sans-serif;
  --font-body: "Onest", "Segoe UI", Arial, sans-serif;
  --container: 1320px;
  --radius: 18px;
  --shadow: 0 22px 70px rgba(15, 21, 23, 0.12);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }

::selection { background: var(--orange); color: #fff; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--dark { background: var(--ink); color: var(--white); }
.section--paper2 { background: var(--paper-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--orange);
}
.section--dark .eyebrow { color: var(--steel); }

.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.03;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}
.h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); line-height: 1.55; }
.section--dark .lead { color: #c5ced2; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}
.section-head__text { max-width: 760px; }
.section-head .h2 { margin-top: 14px; }
.section-head__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  white-space: nowrap;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.section-head__link:hover { color: var(--orange); border-color: var(--orange); }
.section--dark .section-head__link { border-color: rgba(255,255,255,.45); }
.section--dark .section-head__link:hover { color: var(--orange-2); border-color: var(--orange-2); }

/* ── buttons ─────────────────────────────────────────────────────────── */

.btn {
  --btn-bg: var(--orange);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 10px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 650;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255, 92, 26, .24); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border: 1px solid rgba(15, 21, 23, .28);
}
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--light:hover { background: var(--paper); color: var(--ink); box-shadow: 0 12px 28px rgba(0,0,0,.15); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; box-shadow: none; }
.btn--sm { min-height: 42px; padding-inline: 18px; font-size: 14px; }
.btn--wide { width: 100%; }

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  transition: .2s var(--ease);
}
.icon-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn--orange { background: var(--orange); border-color: var(--orange); color: #fff; }
.icon-btn--orange:hover { background: var(--orange-dark); border-color: var(--orange-dark); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  color: var(--ink);
  transition: color .2s;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover { color: var(--orange); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ── forms ───────────────────────────────────────────────────────────── */

.field { display: flex; flex-direction: column; gap: 7px; }
.field > label,
.field-label {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .045em;
  text-transform: uppercase;
  color: var(--muted);
}
.input, .select, .textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(15, 21, 23, .18);
  border-radius: 9px;
  background: #fff;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 96px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 92, 26, .11);
}
.input::placeholder, .textarea::placeholder { color: #98a3a7; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230f1517' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 38px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}
.check input {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 1px;
  accent-color: var(--orange);
}
.check a { text-decoration: underline; text-underline-offset: 2px; }
.form-grid { display: grid; gap: 14px; }
.form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-note { font-size: 12px; color: var(--muted); line-height: 1.45; }
.form-success {
  display: none;
  padding: 20px;
  border-radius: 12px;
  background: rgba(47, 138, 91, .1);
  border: 1px solid rgba(47, 138, 91, .28);
  color: #1d5c3b;
  font-size: 14px;
}
.form-success.is-visible { display: block; }
.form-error {
  display: none;
  padding: 12px 14px;
  border-radius: 9px;
  background: #fff1ec;
  border: 1px solid #ffc4b0;
  color: #9b2f08;
  font-size: 13px;
}
.form-error.is-visible { display: block; }

/* ── top bar ─────────────────────────────────────────────────────────── */

.topbar {
  background: var(--ink-2);
  color: #aeb9bd;
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  position: relative;
  z-index: 80;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 36px;
}
.topbar__group { display: flex; align-items: center; gap: 20px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item svg { width: 13px; height: 13px; opacity: .7; }
.topbar__item a:hover { color: #fff; }
.topbar__dot { width: 6px; height: 6px; border-radius: 50%; background: #51b97c; box-shadow: 0 0 0 3px rgba(81,185,124,.14); }
.topbar__accent { color: #fff; }

/* ── header ──────────────────────────────────────────────────────────── */

.header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(15, 21, 23, .96);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(14px);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 78px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.logo__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--orange);
  border-radius: 8px;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%);
}
.logo__mark svg { width: 25px; height: 25px; }
.logo__text { display: flex; flex-direction: column; gap: 1px; }
.logo__text strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.logo__text small {
  font-size: 8px;
  letter-spacing: .22em;
  color: #91a0a6;
  font-weight: 600;
}

.catalog-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border-radius: 9px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: background .2s, border-color .2s;
}
.catalog-btn:hover, .catalog-btn.is-open { background: var(--orange); border-color: var(--orange); }
.catalog-btn svg { width: 17px; height: 17px; }

.nav { display: flex; align-items: center; gap: 22px; margin-left: 2px; }
.nav a {
  font-size: 13px;
  font-weight: 550;
  color: #c7d0d3;
  transition: color .2s;
  white-space: nowrap;
}
.nav a:hover, .nav a.is-active { color: #fff; }

.header__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.header__phone { display: flex; flex-direction: column; line-height: 1.15; text-align: right; }
.header__phone a { font-size: 16px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.header__phone span { font-size: 10px; color: #8e9ca1; margin-top: 3px; }
.header__search, .header__cart {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  position: relative;
  transition: .2s;
}
.header__search:hover, .header__cart:hover { background: rgba(255,255,255,.09); }
.header__search svg, .header__cart svg { width: 19px; height: 19px; }
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 5px;
}
.cart-count[hidden] { display: none; }
.header__callback { display: inline-flex; }
.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 9px;
  place-items: center;
  color: #fff;
}
.burger svg { width: 21px; height: 21px; }

/* ── mega menu ───────────────────────────────────────────────────────── */

.mega {
  position: absolute;
  inset: 100% 0 auto;
  background: var(--ink-2);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 40px 80px rgba(0,0,0,.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: .24s var(--ease);
  z-index: 60;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega__inner {
  display: grid;
  grid-template-columns: 1.55fr .85fr;
  gap: 54px;
  padding: 36px 0 40px;
}
.mega__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 36px; }
.mega__item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: #d6dee1;
  transition: color .2s;
}
.mega__item:hover { color: var(--orange-2); }
.mega__icon {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: var(--orange-2);
  flex: none;
}
.mega__icon svg { width: 19px; height: 19px; }
.mega__item strong { font-size: 13px; font-weight: 600; display: block; }
.mega__item small { font-size: 10px; color: #839197; display: block; margin-top: 2px; }
.mega__aside {
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  padding: 22px;
}
.mega__aside .eyebrow { color: #91a0a6; }
.mega__aside .h3 { color: #fff; margin: 12px 0 8px; font-size: 22px; }
.mega__aside p { color: #9eabb0; font-size: 12px; line-height: 1.5; }
.mega__aside .btn { margin-top: 18px; }
.mega__links { display: flex; gap: 16px; margin-top: 14px; }
.mega__links a { font-size: 11px; color: #aeb9bd; text-decoration: underline; text-underline-offset: 3px; }

/* ── cart drawer / modal / search ────────────────────────────────────── */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 13, 15, .55);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: .25s;
  z-index: 90;
}
.overlay.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(480px, 100%);
  background: var(--paper);
  z-index: 95;
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform .35s var(--ease);
  box-shadow: -20px 0 80px rgba(0,0,0,.18);
}
.drawer.is-open { transform: none; }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.drawer__head h2 { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -.03em; }
.drawer__body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 20px 24px 24px; background: #f8f7f3; }
.close-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  transition: .2s;
}
.close-btn:hover { background: var(--ink); color: #fff; }
.close-btn svg { width: 18px; height: 18px; }

.cart-empty { text-align: center; padding: 60px 10px; }
.cart-empty svg { width: 54px; height: 54px; margin: 0 auto 16px; color: #b4bec2; }
.cart-empty h3 { font-family: var(--font-display); font-size: 20px; letter-spacing: -.03em; }
.cart-empty p { color: var(--muted); font-size: 13px; margin: 8px 0 20px; }

.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line__media { width: 72px; height: 72px; border-radius: 8px; overflow: hidden; background: var(--ink); }
.cart-line__media svg { width: 100%; height: 100%; }
.cart-line__title { font-size: 13px; font-weight: 650; line-height: 1.3; }
.cart-line__meta { font-size: 11px; color: var(--muted); margin-top: 3px; }
.cart-line__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.cart-line__price { font-size: 13px; font-weight: 700; white-space: nowrap; }
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  height: 30px;
  overflow: hidden;
  background: #fff;
}
.qty button { width: 28px; height: 100%; display: grid; place-items: center; font-size: 16px; color: var(--muted); }
.qty button:hover { background: var(--paper-2); color: var(--ink); }
.qty input {
  width: 38px;
  border: 0;
  text-align: center;
  background: transparent;
  font-size: 12px;
  font-weight: 650;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cart-line__remove { font-size: 10px; color: #9aa5a9; text-decoration: underline; text-underline-offset: 2px; }
.cart-line__remove:hover { color: var(--orange-dark); }

.cart-total { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; }
.cart-total span { font-size: 12px; color: var(--muted); }
.cart-total strong { font-family: var(--font-display); font-size: 25px; letter-spacing: -.04em; }
.cart-note { font-size: 11px; color: var(--muted); margin: 7px 0 16px; }
.cart-weight { font-size: 11px; color: var(--muted); }

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 8vh 20px 20px;
  background: rgba(9, 13, 15, .72);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: .2s;
}
.search-modal.is-open { opacity: 1; visibility: visible; }
.search-panel {
  width: min(760px, 100%);
  background: var(--paper);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.35);
  transform: translateY(-12px);
  transition: .25s var(--ease);
}
.search-modal.is-open .search-panel { transform: none; }
.search-panel__top { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.search-panel__top svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.search-panel__input { flex: 1; border: 0; background: transparent; font-size: 19px; outline: none; min-width: 0; }
.search-results { max-height: 56vh; overflow-y: auto; padding: 8px; }
.search-hit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 9px;
  transition: background .15s;
}
.search-hit:hover { background: #e8e4da; }
.search-hit__art { width: 46px; height: 46px; border-radius: 6px; overflow: hidden; background: var(--ink); flex: none; }
.search-hit__art svg { width: 100%; height: 100%; }
.search-hit__title { font-size: 13px; font-weight: 650; line-height: 1.3; }
.search-hit__meta { font-size: 11px; color: var(--muted); margin-top: 3px; }
.search-hit__price { margin-left: auto; font-size: 12px; font-weight: 700; white-space: nowrap; }
.search-empty { padding: 40px 20px; text-align: center; color: var(--muted); font-size: 14px; }
.search-hint { padding: 14px 20px 18px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.search-hint kbd { border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; font-size: 10px; background: #fff; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(9, 13, 15, .62);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: .22s;
  overflow-y: auto;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box {
  width: min(560px, 100%);
  background: var(--paper);
  border-radius: 16px;
  padding: 30px;
  position: relative;
  box-shadow: 0 40px 100px rgba(0,0,0,.3);
  transform: translateY(12px);
  transition: .25s var(--ease);
}
.modal.is-open .modal__box { transform: none; }
.modal__box--wide { width: min(720px, 100%); }
.modal__close { position: absolute; top: 16px; right: 16px; }
.modal__eyebrow { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--orange-dark); }
.modal__box h2 { font-family: var(--font-display); font-size: clamp(23px, 3vw, 31px); letter-spacing: -.04em; line-height: 1.08; margin: 9px 0 9px; }
.modal__box > p { color: var(--muted); font-size: 13px; margin-bottom: 20px; }

/* ── hero ────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: 58px 0 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 78% 30%, rgba(255, 92, 26, .16), transparent 48%),
    linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 100%);
  background-size: auto, 64px 64px;
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items: center;
  min-height: 520px;
}
.hero__content { padding: 22px 0 40px; }
.hero__content .eyebrow { color: #9eabb0; }
.hero__content h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, 4.9vw, 72px);
  line-height: .99;
  letter-spacing: -.06em;
  margin: 22px 0 22px;
  max-width: 800px;
}
.hero__content h1 em { font-style: normal; color: var(--orange-2); }
.hero__content p { max-width: 580px; color: #b8c3c7; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__actions .btn { min-height: 54px; padding-inline: 26px; }
.hero__points { display: grid; grid-template-columns: repeat(3, auto); gap: 18px 26px; margin-top: 38px; max-width: 620px; }
.hero__point { display: flex; align-items: flex-start; gap: 9px; font-size: 11px; line-height: 1.35; color: #bdc7cb; }
.hero__point svg { width: 17px; height: 17px; color: var(--orange-2); flex: none; margin-top: 1px; }
.hero__visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
  align-self: stretch;
}
.hero__visual::before {
  content: "";
  position: absolute;
  width: 76%;
  height: 76%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 92, 26, .13), transparent 67%);
  filter: blur(8px);
}
.hero-art { width: 100%; max-width: 640px; height: auto; position: relative; z-index: 1; }
.hero-badge {
  position: absolute;
  z-index: 2;
  background: rgba(23, 32, 37, .88);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 9px;
  padding: 11px 13px;
  backdrop-filter: blur(8px);
  font-size: 10px;
  line-height: 1.3;
  color: #aebbc0;
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
}
.hero-badge strong { color: #fff; display: block; font-size: 14px; letter-spacing: -.02em; }
.hero-badge--tl { top: 15%; left: 0; }
.hero-badge--br { bottom: 17%; right: 6%; }
.hero-badge__num { color: var(--orange-2); font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.05em; display: block; }

.hero-strip {
  position: relative;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 6px;
}
.hero-strip__item {
  padding: 18px 0 19px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-right: 1px solid rgba(255,255,255,.09);
  padding-left: 22px;
}
.hero-strip__item:first-child { padding-left: 0; }
.hero-strip__item:last-child { border: 0; }
.hero-strip__item svg { width: 19px; height: 19px; color: var(--orange-2); flex: none; }
.hero-strip__item strong { display: block; font-size: 12px; font-weight: 650; color: #fff; line-height: 1.3; }
.hero-strip__item span { font-size: 10px; color: #8f9da2; display: block; margin-top: 2px; }

/* quick calculator */
.quick-calc {
  position: relative;
  margin: 34px 0 0;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 30px 70px rgba(0,0,0,.26);
  display: grid;
  grid-template-columns: .85fr 1.2fr 1fr 1.3fr auto;
  gap: 12px;
  align-items: end;
}
.quick-calc__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  min-height: 48px;
}
.quick-calc__title svg { width: 20px; height: 20px; color: var(--orange); flex: none; }
.quick-calc .field > label { font-size: 9px; letter-spacing: .08em; }
.quick-calc .input, .quick-calc .select { min-height: 48px; font-size: 13px; }
.quick-calc__result {
  min-height: 48px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 7px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  white-space: nowrap;
}
.quick-calc__result small { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.quick-calc__result strong { font-family: var(--font-display); font-size: 16px; letter-spacing: -.03em; line-height: 1.2; }
.quick-calc .btn { min-height: 48px; padding: 0 17px; }

/* ── trust / numbers ─────────────────────────────────────────────────── */

.advantages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.advantage { background: var(--paper); padding: 26px 24px; }
.advantage__num {
  font-family: var(--font-display);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.055em;
  color: var(--ink);
}
.advantage__num em { font-style: normal; color: var(--orange); font-size: .5em; vertical-align: top; margin-left: 3px; }
.advantage strong { display: block; font-size: 13px; margin: 10px 0 5px; }
.advantage p { font-size: 11px; line-height: 1.45; color: var(--muted); }

/* ── categories ──────────────────────────────────────────────────────── */

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.category-card {
  position: relative;
  min-height: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .28s var(--ease), border-color .28s, box-shadow .28s;
}
.category-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -55% 35%;
  height: 72%;
  background: radial-gradient(ellipse, rgba(255,92,26,.1), transparent 65%);
  opacity: 0;
  transition: opacity .3s;
}
.category-card:hover { transform: translateY(-5px); border-color: rgba(255,92,26,.5); box-shadow: 0 20px 44px rgba(15,21,23,.09); }
.category-card:hover::after { opacity: 1; }
.category-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.category-card__icon { width: 40px; height: 40px; color: var(--orange); }
.category-card__icon svg { width: 100%; height: 100%; }
.category-card__num { font-size: 10px; color: #a6b0b4; letter-spacing: .1em; }
.category-card h3 { font-family: var(--font-display); font-size: 16px; line-height: 1.16; letter-spacing: -.035em; font-weight: 600; margin-top: 22px; max-width: 180px; }
.category-card p { font-size: 11px; line-height: 1.45; color: var(--muted); margin-top: 8px; max-width: 190px; }
.category-card__meta {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.category-card__meta svg { width: 15px; height: 15px; transition: transform .2s; }
.category-card:hover .category-card__meta svg { transform: translate(3px, -2px); color: var(--orange); }

/* ── product cards ───────────────────────────────────────────────────── */

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 46px rgba(15,21,23,.1); border-color: rgba(15,21,23,.22); }
.product-card__media {
  position: relative;
  aspect-ratio: 1.24;
  background: var(--ink-2);
  overflow: hidden;
}
.product-card__media svg { width: 100%; height: 100%; transition: transform .5s var(--ease); }
.product-card:hover .product-card__media svg { transform: scale(1.045); }
.product-card__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 5px; max-width: 80%; }
.badge {
  display: inline-flex;
  align-items: center;
  height: 21px;
  padding: 0 7px;
  border-radius: 4px;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge--orange { background: var(--orange); color: #fff; }
.badge--dark { background: rgba(15,21,23,.8); color: #fff; backdrop-filter: blur(5px); }
.badge--green { background: rgba(47,138,91,.14); color: #216b46; }
.product-card__body { padding: 15px 15px 14px; display: flex; flex-direction: column; flex: 1; }
.product-card__meta { font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: #8d999e; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-card__meta span:last-child { color: var(--ok); text-transform: none; letter-spacing: 0; font-weight: 600; }
.product-card h3 { font-size: 14px; line-height: 1.25; font-weight: 650; margin-top: 7px; letter-spacing: -.015em; }
.product-card h3 a:hover { color: var(--orange-dark); }
.product-card__short { font-size: 11px; line-height: 1.4; color: var(--muted); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.price { display: flex; align-items: baseline; gap: 3px; }
.price small { font-size: 9px; color: var(--muted); margin-right: 2px; }
.price strong { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.price span { font-size: 10px; color: var(--muted); }
.product-card__add {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  transition: .2s;
  flex: none;
}
.product-card__add:hover { background: var(--orange); }
.product-card__add svg { width: 16px; height: 16px; }

/* ── spec cta ────────────────────────────────────────────────────────── */

.spec {
  position: relative;
  background: var(--ink-2);
  color: #fff;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
}
.spec::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 100%, rgba(255,92,26,.17), transparent 46%),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,.035) 79px 80px),
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(255,255,255,.035) 79px 80px);
  pointer-events: none;
}
.spec__content { position: relative; padding: clamp(28px, 4vw, 54px); }
.spec__content .eyebrow { color: #9eabb0; }
.spec__content h2 { font-family: var(--font-display); font-size: clamp(27px, 3vw, 42px); line-height: 1.05; letter-spacing: -.045em; margin: 16px 0 14px; max-width: 580px; }
.spec__content p { color: #aebbc0; font-size: 14px; line-height: 1.55; max-width: 510px; }
.spec__list { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 18px; margin-top: 26px; }
.spec__list li { display: flex; gap: 9px; font-size: 12px; color: #cad3d6; align-items: flex-start; }
.spec__list svg { width: 16px; height: 16px; color: var(--orange-2); flex: none; margin-top: 1px; }
.spec__form {
  position: relative;
  background: rgba(255,255,255,.055);
  border-left: 1px solid rgba(255,255,255,.12);
  padding: clamp(24px, 3.3vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.spec__form h3 { font-size: 17px; font-weight: 650; margin-bottom: 2px; }
.spec__form .input { background: rgba(255,255,255,.96); }
.spec__form .check { color: #9fadb2; }
.spec__form .file {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px dashed rgba(255,255,255,.3);
  border-radius: 9px;
  color: #b9c4c8;
  font-size: 12px;
  cursor: pointer;
  transition: .2s;
}
.spec__form .file:hover { border-color: var(--orange-2); color: #fff; }
.spec__form .file svg { width: 17px; height: 17px; color: var(--orange-2); }
.spec__form .file input { display: none; }
.spec__form .file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── services ────────────────────────────────────────────────────────── */

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  transition: .25s var(--ease);
}
.service-card:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-3px); }
.service-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.service-card__icon { width: 34px; height: 34px; color: var(--orange); }
.service-card__icon svg { width: 100%; height: 100%; }
.service-card__price { font-size: 10px; font-weight: 650; padding: 4px 8px; border: 1px solid var(--line); border-radius: 20px; color: var(--muted); }
.service-card:hover .service-card__price { border-color: rgba(255,255,255,.25); color: #c4ced1; }
.service-card h3 { font-size: 16px; margin-top: 26px; font-weight: 650; letter-spacing: -.015em; }
.service-card p { font-size: 11px; line-height: 1.45; color: var(--muted); margin-top: 7px; }
.service-card:hover p { color: #aebbc0; }
.service-card__link { margin-top: auto; padding-top: 15px; font-size: 11px; font-weight: 650; color: var(--orange); display: flex; align-items: center; gap: 6px; }
.service-card__link svg { width: 13px; height: 13px; }

/* ── articles ────────────────────────────────────────────────────────── */

.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.article-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: .25s var(--ease);
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(15,21,23,.09); }
.article-card__media { position: relative; aspect-ratio: 1.9; background: var(--ink); overflow: hidden; }
.article-card__media svg { width: 100%; height: 100%; transition: transform .5s; }
.article-card:hover .article-card__media svg { transform: scale(1.04); }
.article-card__body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.article-card__meta { display: flex; gap: 10px; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.article-card__meta span + span::before { content: "·"; margin-right: 10px; }
.article-card h3 { font-size: 15px; line-height: 1.35; margin-top: 9px; font-weight: 650; letter-spacing: -.015em; }
.article-card p { font-size: 11px; line-height: 1.45; color: var(--muted); margin-top: 7px; }
.article-card__link { margin-top: auto; padding-top: 16px; font-size: 11px; font-weight: 650; color: var(--orange-dark); display: flex; align-items: center; gap: 6px; }
.article-card__link svg { width: 13px; height: 13px; }

/* ── faq ─────────────────────────────────────────────────────────────── */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 21px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  transition: .2s;
}
.faq__plus svg { width: 13px; height: 13px; transition: transform .25s; }
.faq__item[open] .faq__plus { background: var(--orange); color: #fff; border-color: var(--orange); }
.faq__item[open] .faq__plus svg { transform: rotate(45deg); }
.faq__answer { max-width: 860px; padding: 0 0 22px; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ── footer ──────────────────────────────────────────────────────────── */

.footer { background: var(--ink); color: #b2bec2; padding: 58px 0 24px; }
.footer__top { display: grid; grid-template-columns: 1.2fr .8fr .8fr .8fr 1.05fr; gap: 36px; padding-bottom: 42px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand .logo { margin-bottom: 18px; }
.footer__brand p { font-size: 11px; line-height: 1.6; color: #89979c; max-width: 260px; }
.footer__phone { display: block; font-family: var(--font-display); font-size: 19px; color: #fff; letter-spacing: -.035em; margin-top: 20px; }
.footer__email { display: block; font-size: 11px; color: #aeb9bd; margin-top: 6px; }
.footer h4 { color: #fff; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; font-weight: 700; }
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a { font-size: 12px; color: #98a6ab; transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-top: 22px; font-size: 10px; line-height: 1.55; color: #758388; }
.footer__bottom a { text-decoration: underline; text-underline-offset: 2px; }
.footer__legal { max-width: 690px; }
.footer__pay { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.footer__pay span { border: 1px solid rgba(255,255,255,.16); border-radius: 4px; padding: 4px 7px; font-size: 8px; letter-spacing: .05em; color: #a6b2b6; }

/* ── breadcrumbs / page hero / inner ─────────────────────────────────── */

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; font-size: 10px; color: var(--muted); padding: 18px 0; }
.breadcrumbs a:hover { color: var(--orange-dark); }
.breadcrumbs svg { width: 10px; height: 10px; opacity: .55; }
.breadcrumbs span { color: #9aa5a9; }

.page-hero {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding: 18px 0 40px;
}
.page-hero__grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 44px; align-items: center; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(33px, 4.5vw, 62px); line-height: 1; letter-spacing: -.055em; margin: 14px 0 16px; }
.page-hero p { color: var(--muted); max-width: 660px; font-size: 15px; line-height: 1.55; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 23px; }
.page-hero__stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.page-hero__stat strong { font-family: var(--font-display); font-size: 19px; letter-spacing: -.04em; }
.page-hero__stat span { font-size: 10px; color: var(--muted); }
.page-hero__art { max-height: 310px; display: grid; place-items: center; }
.page-hero__art svg { width: 100%; max-height: 310px; filter: drop-shadow(0 24px 40px rgba(0,0,0,.15)); }
.page-hero--dark { background: var(--ink); color: #fff; border-bottom-color: rgba(255,255,255,.1); }
.page-hero--dark p { color: #aebbc0; }
.page-hero--dark .breadcrumbs { color: #829095; }
.page-hero--dark .breadcrumbs a:hover { color: var(--orange-2); }
.page-hero--dark .breadcrumbs span { color: #b7c1c5; }
.page-hero--dark .page-hero__stat { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.13); }
.page-hero--dark .page-hero__stat span { color: #9eabb0; }

/* ── catalog page ────────────────────────────────────────────────────── */

.catalog-layout { display: grid; grid-template-columns: 252px 1fr; gap: 28px; align-items: start; padding: 34px 0 70px; }
.filters { position: sticky; top: 100px; }
.filters__group { border-bottom: 1px solid var(--line); padding: 0 0 18px; margin-bottom: 18px; }
.filters__group:last-child { border: 0; margin: 0; }
.filters__group h3 { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.filter-list { display: flex; flex-direction: column; gap: 7px; }
.filter-radio { display: flex; align-items: center; gap: 8px; font-size: 12px; cursor: pointer; color: #48565b; }
.filter-radio input { width: 15px; height: 15px; accent-color: var(--orange); }
.filter-radio span { margin-left: auto; font-size: 9px; color: #9ba6aa; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-range .input { min-height: 38px; padding: 8px 10px; font-size: 12px; }
.filter-actions { display: flex; gap: 8px; margin-top: 10px; }
.filter-actions .btn { min-height: 38px; font-size: 11px; padding-inline: 12px; flex: 1; }
.filters__mobile-btn { display: none; }

.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.catalog-toolbar__count { font-size: 12px; color: var(--muted); }
.catalog-toolbar__count strong { color: var(--ink); }
.catalog-toolbar__right { display: flex; align-items: center; gap: 10px; }
.catalog-sort { min-height: 38px; font-size: 11px; padding-block: 8px; min-width: 190px; }
.catalog-search { min-height: 38px; font-size: 11px; min-width: 210px; padding-block: 8px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.active-filter { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 5px 9px; }
.active-filter button { font-size: 12px; line-height: 1; color: var(--muted); }
.catalog-empty { padding: 60px 20px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.catalog-empty h3 { font-family: var(--font-display); font-size: 22px; letter-spacing: -.03em; margin-bottom: 8px; }
.catalog-empty p { color: var(--muted); font-size: 13px; }
.catalog-empty .btn { margin-top: 18px; }

.subcategory-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.subcategory-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: #fff;
  font-size: 11px;
  font-weight: 600;
  transition: .2s;
}
.subcategory-tab:hover, .subcategory-tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.subcategory-tab span { color: var(--muted); font-size: 9px; }
.subcategory-tab:hover span, .subcategory-tab.is-active span { color: #aebbc0; }

/* ── product page ────────────────────────────────────────────────────── */

.product-page { padding: 0 0 70px; }
.product-top { display: grid; grid-template-columns: 1.02fr .98fr; gap: 38px; padding: 12px 0 46px; align-items: start; }
.product-gallery { position: sticky; top: 100px; }
.product-art { background: var(--ink); border-radius: 14px; overflow: hidden; aspect-ratio: 1.22; position: relative; }
.product-art svg { width: 100%; height: 100%; }
.product-art__label { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.product-art__caption { position: absolute; bottom: 12px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 10px; font-size: 9px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .08em; }
.product-gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 8px; }
.product-thumb { aspect-ratio: 1.3; background: var(--ink-2); border: 1px solid transparent; border-radius: 7px; overflow: hidden; opacity: .6; transition: .2s; }
.product-thumb.is-active, .product-thumb:hover { opacity: 1; border-color: var(--orange); }
.product-thumb svg { width: 100%; height: 100%; }

.product-info__eyebrow { display: flex; align-items: center; gap: 9px; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .09em; }
.product-info__eyebrow a { color: var(--orange-dark); }
.product-info h1 { font-family: var(--font-display); font-size: clamp(30px, 3.3vw, 46px); line-height: 1.02; letter-spacing: -.05em; margin: 12px 0 10px; }
.product-info__short { color: var(--muted); font-size: 14px; line-height: 1.5; max-width: 590px; }
.product-spec-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.spec-chip { font-size: 10px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 4px; color: #536166; background: #fff; }
.spec-chip strong { color: var(--ink); }

.buy-box { margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.buy-box__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.buy-box__price small { font-size: 10px; color: var(--muted); display: block; margin-bottom: 4px; }
.buy-box__price strong { font-family: var(--font-display); font-size: clamp(28px, 3vw, 38px); line-height: 1; letter-spacing: -.055em; }
.buy-box__price span { font-size: 11px; color: var(--muted); margin-left: 4px; }
.buy-box__ton { font-size: 10px; color: var(--muted); text-align: right; line-height: 1.4; }
.variant-label { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin: 15px 0 8px; display: flex; justify-content: space-between; gap: 10px; }
.variant-label a { color: var(--orange-dark); text-transform: none; letter-spacing: 0; font-weight: 600; }
.variant-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.variant {
  min-height: 38px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 650;
  padding: 5px;
  transition: .15s;
}
.variant:hover { border-color: var(--ink); }
.variant.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.variant.is-disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.buy-box__controls { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 18px; align-items: end; }
.buy-box__qty { display: flex; align-items: center; gap: 10px; }
.buy-box__qty .qty { height: 48px; border-radius: 9px; }
.buy-box__qty .qty button { width: 38px; }
.buy-box__qty .qty input { width: 58px; font-size: 14px; }
.buy-box__add { min-height: 48px; padding-inline: 30px; }
.buy-box__meta { display: flex; justify-content: space-between; gap: 14px; margin-top: 12px; font-size: 10px; color: var(--muted); }
.buy-box__meta strong { color: var(--ink); }
.buy-box__links { display: flex; gap: 15px; margin-top: 12px; flex-wrap: wrap; }
.buy-box__links button, .buy-box__links a { font-size: 10px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.buy-box__links button:hover, .buy-box__links a:hover { color: var(--orange-dark); }
.buy-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 12px; }
.buy-feature { border: 1px solid var(--line); border-radius: 8px; padding: 10px; display: flex; gap: 7px; font-size: 9px; line-height: 1.3; color: var(--muted); align-items: flex-start; }
.buy-feature svg { width: 15px; height: 15px; color: var(--orange); flex: none; }
.buy-feature strong { display: block; color: var(--ink); font-size: 10px; margin-bottom: 2px; }

.product-tabs { border-top: 1px solid var(--line); padding-top: 8px; }
.tab-nav { display: flex; gap: 24px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab-btn { min-height: 50px; font-size: 12px; font-weight: 650; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; transition: .2s; }
.tab-btn:hover { color: var(--ink); }
.tab-btn.is-active { color: var(--ink); border-color: var(--orange); }
.tab-panel { display: none; padding: 30px 0 0; }
.tab-panel.is-active { display: block; }
.prose { max-width: 830px; }
.prose h2 { font-family: var(--font-display); font-size: clamp(24px, 2.3vw, 30px); line-height: 1.1; letter-spacing: -.04em; margin: 34px 0 12px; }
.prose h3 { font-size: 18px; margin: 25px 0 9px; letter-spacing: -.01em; }
.prose p { color: #4d5b60; font-size: 14px; line-height: 1.7; margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; list-style: disc; color: #4d5b60; font-size: 14px; line-height: 1.7; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose table { margin: 20px 0 24px; font-size: 12px; border: 1px solid var(--line); background: #fff; }
.prose th { background: var(--ink); color: #fff; text-align: left; padding: 10px 11px; font-weight: 600; font-size: 11px; }
.prose td { padding: 9px 11px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose blockquote { margin: 22px 0; padding: 16px 20px; border-left: 3px solid var(--orange); background: #fff; color: var(--ink); font-size: 14px; line-height: 1.6; }

.spec-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.spec-table { min-width: 620px; }
.spec-table th { background: var(--paper-2); color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; text-align: left; padding: 10px 12px; font-weight: 700; }
.spec-table td { padding: 12px; border-top: 1px solid var(--line); font-size: 12px; }
.spec-table tr:hover td { background: #faf9f5; }
.spec-table tr.is-selected td { background: #fff2eb; }
.spec-table .table-price { font-weight: 700; white-space: nowrap; }
.spec-table .table-add { width: 32px; height: 32px; border-radius: 6px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.spec-table .table-add:hover { background: var(--orange); }
.spec-table .table-add svg { width: 14px; height: 14px; }
.table-note { font-size: 10px; color: var(--muted); margin-top: 10px; }

.related { margin-top: 54px; }
.related .section-head { margin-bottom: 20px; }

/* ── calculator ──────────────────────────────────────────────────────── */

.calc-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; align-items: start; padding: 34px 0 70px; }
.calc-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 2.5vw, 32px); }
.calc-card h2 { font-family: var(--font-display); font-size: 22px; letter-spacing: -.035em; margin-bottom: 5px; }
.calc-card__sub { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.calc-tabs { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 22px; }
.calc-tab { min-height: 36px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--line); background: #fff; font-size: 11px; font-weight: 600; }
.calc-tab:hover { border-color: var(--ink); }
.calc-tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.calc-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.calc-fields--2 { grid-template-columns: repeat(2, 1fr); }
.calc-fields .field--full { grid-column: 1 / -1; }
.calc-result { margin-top: 22px; background: var(--ink); color: #fff; border-radius: 10px; padding: 20px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
.calc-result__item small { display: block; font-size: 9px; color: #8e9da2; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.calc-result__item strong { font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -.04em; line-height: 1; }
.calc-result__item span { font-size: 10px; color: #aebbc0; margin-left: 4px; }
.calc-result__actions { display: flex; gap: 9px; margin-top: 15px; flex-wrap: wrap; }
.calc-result__actions .btn { min-height: 42px; font-size: 12px; }
.calc-aside { display: flex; flex-direction: column; gap: 12px; }
.calc-note { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.calc-note h3 { font-size: 13px; margin-bottom: 8px; }
.calc-note p, .calc-note li { font-size: 11px; line-height: 1.55; color: var(--muted); }
.calc-note ul { list-style: disc; padding-left: 16px; display: grid; gap: 5px; }
.calc-note--orange { background: var(--orange); border-color: var(--orange); color: #fff; }
.calc-note--orange h3 { color: #fff; }
.calc-note--orange p { color: rgba(255,255,255,.8); }
.calc-note--orange .btn { margin-top: 12px; min-height: 40px; }

/* ── articles list / article ─────────────────────────────────────────── */

.article-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; padding: 34px 0 70px; }
.article-list .article-card--wide { grid-column: span 2; }
.article-list .article-card--wide .article-card__media { aspect-ratio: 2.7; }
.article-hero { padding: 22px 0 32px; }
.article-hero__meta { display: flex; flex-wrap: wrap; gap: 13px; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.article-hero h1 { font-family: var(--font-display); font-size: clamp(29px, 4.2vw, 54px); line-height: 1.04; letter-spacing: -.055em; margin: 14px 0 18px; max-width: 980px; }
.article-hero__lead { color: var(--muted); font-size: 17px; line-height: 1.55; max-width: 820px; }
.article-cover { margin: 18px 0 36px; border-radius: 14px; overflow: hidden; background: var(--ink); aspect-ratio: 3.1; }
.article-cover svg { width: 100%; height: 100%; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 46px; align-items: start; padding-bottom: 70px; }
.article-body { max-width: 800px; }
.article-body p { color: #465459; font-size: 15px; line-height: 1.75; margin: 0 0 16px; }
.article-body h2 { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -.04em; margin: 38px 0 13px; scroll-margin-top: 100px; }
.article-body h3 { font-size: 19px; margin: 26px 0 9px; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 22px; list-style: disc; color: #465459; font-size: 15px; line-height: 1.7; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 7px; }
.article-body strong { color: var(--ink); }
.article-body a { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 3px; }
.article-body table { margin: 22px 0 28px; font-size: 12px; border: 1px solid var(--line); background: #fff; }
.article-body th { background: var(--ink); color: #fff; text-align: left; padding: 11px; font-size: 11px; }
.article-body td { padding: 9px 11px; border-bottom: 1px solid var(--line); }
.article-body tr:last-child td { border-bottom: 0; }
.article-body blockquote { margin: 24px 0; padding: 18px 22px; background: #fff; border-left: 3px solid var(--orange); font-size: 15px; line-height: 1.65; }
.article-cta { margin: 34px 0; background: var(--ink); color: #fff; border-radius: 12px; padding: 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.article-cta h3 { font-family: var(--font-display); font-size: 21px; letter-spacing: -.03em; max-width: 480px; }
.article-cta p { color: #aebbc0; font-size: 11px; margin-top: 5px; }
.article-cta .btn { flex: none; }
.article-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 12px; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.toc h3 { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 11px; }
.toc ol { list-style: none; display: flex; flex-direction: column; gap: 8px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { font-size: 11px; color: var(--muted); display: flex; gap: 8px; line-height: 1.4; }
.toc a::before { content: "0" counter(toc); font-size: 8px; color: var(--orange-dark); font-weight: 700; }
.toc a:hover { color: var(--ink); }
.article-share { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.article-share h3 { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 9px; }
.article-share__links { display: flex; gap: 7px; }
.article-share__links a, .article-share__links button { width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 6px; display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.article-share__links a:hover, .article-share__links button:hover { background: var(--ink); color: #fff; }
.article-products { margin-top: 40px; }

/* ── cart / checkout / info pages ────────────────────────────────────── */

.cart-page { display: grid; grid-template-columns: 1.4fr .6fr; gap: 24px; align-items: start; padding: 20px 0 70px; }
.cart-table { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.cart-table__head { display: grid; grid-template-columns: 1fr 140px 110px 40px; gap: 12px; padding: 13px 18px; background: var(--paper-2); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.cart-item { display: grid; grid-template-columns: 1fr 140px 110px 40px; gap: 12px; align-items: center; padding: 15px 18px; border-top: 1px solid var(--line); }
.cart-item__main { display: flex; gap: 13px; align-items: center; min-width: 0; }
.cart-item__media { width: 60px; height: 60px; border-radius: 6px; overflow: hidden; background: var(--ink); flex: none; }
.cart-item__title { font-size: 13px; font-weight: 650; line-height: 1.3; }
.cart-item__meta { font-size: 10px; color: var(--muted); margin-top: 4px; }
.cart-item__sum { font-size: 14px; font-weight: 700; }
.cart-item__remove { color: var(--muted); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.cart-item__remove:hover { background: #ffeee7; color: var(--orange-dark); }
.cart-summary { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; position: sticky; top: 100px; }
.cart-summary h2 { font-family: var(--font-display); font-size: 18px; letter-spacing: -.03em; margin-bottom: 16px; }
.summary-row { display: flex; justify-content: space-between; gap: 14px; font-size: 12px; padding: 7px 0; color: var(--muted); }
.summary-row strong { color: var(--ink); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 15px; }
.summary-total span { font-size: 12px; color: var(--muted); }
.summary-total strong { font-family: var(--font-display); font-size: 26px; letter-spacing: -.04em; }
.cart-summary .btn { margin-top: 16px; }
.cart-summary__note { font-size: 10px; color: var(--muted); margin-top: 10px; line-height: 1.45; }
.cart-empty-page { text-align: center; padding: 70px 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.cart-empty-page h2 { font-family: var(--font-display); font-size: 26px; letter-spacing: -.04em; }
.cart-empty-page p { color: var(--muted); margin: 8px 0 20px; }

.checkout-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; align-items: start; padding: 20px 0 70px; }
.checkout-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.checkout-card + .checkout-card { margin-top: 14px; }
.checkout-card h2 { font-family: var(--font-display); font-size: 20px; letter-spacing: -.035em; margin-bottom: 5px; }
.checkout-card__sub { font-size: 11px; color: var(--muted); margin-bottom: 20px; }
.checkout-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.method { cursor: pointer; }
.method input { position: absolute; opacity: 0; }
.method span { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line); border-radius: 8px; padding: 10px; font-size: 11px; font-weight: 600; transition: .2s; }
.method span small { font-size: 9px; color: var(--muted); font-weight: 400; }
.method input:checked + span { border-color: var(--orange); background: #fff5f0; }
.checkout-side { background: var(--ink); color: #fff; border-radius: 12px; padding: 24px; position: sticky; top: 100px; }
.checkout-side h2 { font-family: var(--font-display); font-size: 18px; letter-spacing: -.03em; margin-bottom: 15px; }
.checkout-line { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; padding: 7px 0; color: #aebbc0; border-bottom: 1px solid rgba(255,255,255,.08); }
.checkout-line strong { color: #fff; white-space: nowrap; }
.checkout-total { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding-top: 15px; margin-top: 6px; }
.checkout-total span { font-size: 11px; color: #aebbc0; }
.checkout-total strong { font-family: var(--font-display); font-size: 26px; letter-spacing: -.04em; }
.checkout-side p { font-size: 10px; color: #8e9da2; line-height: 1.5; margin-top: 10px; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 34px 0 60px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.info-card h2 { font-family: var(--font-display); font-size: 20px; letter-spacing: -.03em; margin-bottom: 8px; }
.info-card p { font-size: 12px; line-height: 1.55; color: var(--muted); }
.info-card ul { list-style: disc; padding-left: 16px; font-size: 12px; line-height: 1.6; color: var(--muted); margin-top: 10px; }
.info-card--dark { background: var(--ink); color: #fff; }
.info-card--dark p, .info-card--dark li { color: #aebbc0; }
.info-card .btn { margin-top: 16px; }

.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 34px 0 60px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.contact-card h2 { font-family: var(--font-display); font-size: 20px; letter-spacing: -.03em; margin-bottom: 12px; }
.contact-row { display: flex; gap: 11px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.contact-row:last-child { border: 0; }
.contact-row svg { width: 16px; height: 16px; color: var(--orange); flex: none; margin-top: 2px; }
.contact-row span { color: var(--muted); display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 2px; }
.contact-row a { font-weight: 600; }
.map-placeholder { min-height: 310px; background: var(--ink-2); border-radius: 12px; position: relative; overflow: hidden; display: grid; place-items: center; color: #91a0a6; text-align: center; padding: 28px; }
.map-placeholder__grid { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 39px, rgba(255,255,255,.06) 39px 40px), repeating-linear-gradient(0deg, transparent 0 39px, rgba(255,255,255,.06) 39px 40px); }
.map-placeholder__pin { width: 40px; height: 40px; border-radius: 50% 50% 50% 0; background: var(--orange); transform: rotate(-45deg); margin: 0 auto 18px; position: relative; z-index: 1; }
.map-placeholder__pin::after { content: ""; position: absolute; width: 12px; height: 12px; background: #fff; border-radius: 50%; top: 13px; left: 13px; }
.map-placeholder p { position: relative; z-index: 1; font-size: 12px; line-height: 1.5; }

/* ── prose pages ─────────────────────────────────────────────────────── */

.page-content { padding: 34px 0 70px; }
.page-content .prose { max-width: 860px; }
.page-content .prose p, .page-content .prose li { font-size: 14px; line-height: 1.7; }
.page-content .prose h2 { margin-top: 32px; }

/* ── tables / price page ─────────────────────────────────────────────── */

.price-table-wrap { margin: 22px 0 40px; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.price-table { min-width: 760px; background: #fff; }
.price-table th { background: var(--ink); color: #fff; text-align: left; padding: 11px 13px; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.price-table td { padding: 10px 13px; border-top: 1px solid var(--line); font-size: 11px; }
.price-table tr:hover td { background: #faf9f5; }
.price-table td:last-child { white-space: nowrap; font-weight: 700; }
.price-table a { color: var(--orange-dark); }
.price-note { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--orange); border-radius: 6px; padding: 14px 16px; font-size: 11px; line-height: 1.55; color: var(--muted); margin: 16px 0 0; }

/* ── 404 ─────────────────────────────────────────────────────────────── */

.notfound { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; }
.notfound__code { font-family: var(--font-display); font-size: clamp(90px, 18vw, 220px); line-height: .8; letter-spacing: -.09em; color: var(--orange); }
.notfound h1 { font-family: var(--font-display); font-size: 26px; letter-spacing: -.04em; margin: 22px 0 10px; }
.notfound p { color: var(--muted); font-size: 13px; }

/* ── toast ───────────────────────────────────────────────────────────── */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: #fff;
  border-radius: 9px;
  padding: 13px 19px;
  font-size: 12px;
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  transition: .25s var(--ease);
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  max-width: calc(100vw - 40px);
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast--error { background: #9b2f08; }

/* ── mobile bottom bar ───────────────────────────────────────────────── */

.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 65;
  background: rgba(15,21,23,.97);
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
  backdrop-filter: blur(12px);
}
.mobile-bar__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.mobile-bar a, .mobile-bar button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 0;
  color: #89979c;
  font-size: 8px;
  position: relative;
}
.mobile-bar svg { width: 20px; height: 20px; }
.mobile-bar a.is-active, .mobile-bar button:active { color: #fff; }
.mobile-bar .cart-count { top: -2px; right: 12px; }

/* ── reveal animation ────────────────────────────────────────────────── */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ── responsive ──────────────────────────────────────────────────────── */

@media (max-width: 1180px) {
  .nav { gap: 15px; }
  .nav a { font-size: 12px; }
  .header__callback { display: none; }
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: 1.2fr 1fr 1fr 1.2fr; }
  .footer__top > :nth-child(4) { display: none; }
  .quick-calc { grid-template-columns: .8fr 1.1fr 1fr 1.25fr auto; }
}

@media (max-width: 980px) {
  .container { width: min(100% - 36px, var(--container)); }
  .topbar__group--left .topbar__item:not(:first-child) { display: none; }
  .nav { display: none; }
  .catalog-btn { margin-left: 0; }
  .header__search { display: none; }
  .header__inner { gap: 14px; min-height: 70px; }
  .burger { display: grid; }
  .header__actions { gap: 8px; }
  .header__cart { width: 40px; height: 40px; }
  .mega__inner { grid-template-columns: 1fr; gap: 24px; padding: 22px 0 26px; }
  .mega__aside { display: none; }
  .mega__grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 36px; }
  .hero__grid { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .hero__content { padding-bottom: 0; }
  .hero__visual { min-height: 380px; max-width: 640px; margin: -20px auto 0; width: 100%; }
  .hero-art { max-height: 430px; }
  .quick-calc { grid-template-columns: 1fr 1fr 1fr; }
  .quick-calc__title { grid-column: 1 / -1; min-height: 0; }
  .quick-calc__result { grid-column: 1 / 3; }
  .quick-calc .btn { grid-column: 3; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .advantages { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec { grid-template-columns: 1fr; }
  .spec__form { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid, .article-list { grid-template-columns: repeat(2, 1fr); }
  .article-list .article-card--wide { grid-column: span 2; }
  .article-layout { grid-template-columns: 1fr; gap: 28px; }
  .article-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .product-top { grid-template-columns: 1fr; gap: 24px; }
  .product-gallery { position: static; }
  .product-art { max-width: 700px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(310px, 88%);
    background: var(--paper);
    z-index: 96;
    padding: 22px;
    overflow-y: auto;
    transform: translateX(-102%);
    transition: transform .3s var(--ease);
    box-shadow: 20px 0 60px rgba(0,0,0,.18);
  }
  .filters.is-open { transform: none; }
  .filters__mobile-btn { display: inline-flex; }
  .cart-page, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary, .checkout-side { position: static; }
  .calc-layout { grid-template-columns: 1fr; }
  .calc-aside { display: grid; grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer__top > :nth-child(3) { display: none; }
  .footer__bottom { flex-direction: column; }
  .footer__pay { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--container)); }
  body { padding-bottom: 60px; }
  .section { padding: 58px 0; }
  .section--tight { padding: 40px 0; }
  .topbar { display: none; }
  .header__inner { min-height: 64px; gap: 10px; }
  .header__phone { display: none; }
  .logo__mark { width: 37px; height: 37px; }
  .logo__mark svg { width: 22px; height: 22px; }
  .logo__text strong { font-size: 13px; }
  .logo__text small { font-size: 7px; }
  .catalog-btn { height: 40px; width: 40px; padding: 0; justify-content: center; }
  .catalog-btn span { display: none; }
  .header__cart { width: 40px; height: 40px; }
  .mobile-bar { display: block; }
  .hero { padding-top: 30px; }
  .hero__content h1 { font-size: clamp(34px, 10vw, 52px); margin: 16px 0 16px; }
  .hero__content p { font-size: 14px; }
  .hero__actions .btn { flex: 1; padding-inline: 14px; font-size: 12px; min-height: 48px; }
  .hero__points { grid-template-columns: 1fr; gap: 10px; margin-top: 25px; }
  .hero__point { font-size: 11px; }
  .hero__visual { min-height: 300px; margin-top: 0; }
  .hero-badge--tl { top: 8%; }
  .hero-badge--br { bottom: 9%; }
  .hero-strip { grid-template-columns: 1fr 1fr; }
  .hero-strip__item { padding: 13px 0 13px 14px; }
  .hero-strip__item:nth-child(2) { border-right: 0; }
  .hero-strip__item:nth-child(1), .hero-strip__item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.09); }
  .hero-strip__item:nth-child(3) { padding-left: 0; }
  .quick-calc { grid-template-columns: 1fr 1fr; margin-top: 22px; padding: 14px; gap: 9px; }
  .quick-calc__title { grid-column: 1 / -1; font-size: 11px; }
  .quick-calc .field:nth-of-type(1) { grid-column: 1 / -1; }
  .quick-calc .field:nth-of-type(2), .quick-calc .field:nth-of-type(3) { grid-column: span 1; }
  .quick-calc__result { grid-column: 1 / 2; }
  .quick-calc .btn { grid-column: 2 / 3; }
  .advantages { grid-template-columns: 1fr 1fr; }
  .advantage { padding: 18px 15px; }
  .advantage__num { font-size: 33px; }
  .category-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .category-card { min-height: 195px; padding: 14px; }
  .category-card__icon { width: 32px; height: 32px; }
  .category-card h3 { font-size: 14px; margin-top: 16px; }
  .category-card p { font-size: 10px; }
  .product-grid, .product-grid--3 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .product-card__body { padding: 11px; }
  .product-card h3 { font-size: 12px; }
  .product-card__short { font-size: 10px; -webkit-line-clamp: 2; }
  .product-card__meta { font-size: 8px; }
  .product-card__meta span:last-child { display: none; }
  .price strong { font-size: 16px; }
  .product-card__add { width: 32px; height: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 18px; }
  .service-card h3 { margin-top: 16px; }
  .articles-grid, .article-list { grid-template-columns: 1fr; }
  .article-list .article-card--wide { grid-column: auto; }
  .article-list .article-card--wide .article-card__media { aspect-ratio: 1.9; }
  .spec__list { grid-template-columns: 1fr; }
  .spec__content, .spec__form { padding: 22px; }
  .page-hero { padding-bottom: 26px; }
  .page-hero__grid { grid-template-columns: 1fr; gap: 18px; }
  .page-hero__art { max-height: 190px; }
  .page-hero__art svg { max-height: 190px; }
  .page-hero h1 { font-size: 33px; }
  .catalog-layout { padding-top: 20px; }
  .catalog-toolbar { align-items: stretch; }
  .catalog-toolbar__right { width: 100%; }
  .catalog-search { flex: 1; min-width: 0; }
  .catalog-sort { min-width: 0; width: 160px; }
  .subcategory-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin-right: -14px; }
  .subcategory-tab { flex: none; }
  .product-art { aspect-ratio: 1.1; }
  .variant-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .buy-features { grid-template-columns: 1fr 1fr; }
  .buy-box { padding: 15px; }
  .buy-box__row { flex-direction: column; align-items: flex-start; gap: 7px; }
  .buy-box__controls { grid-template-columns: 1fr; }
  .buy-box__qty { justify-content: space-between; }
  .buy-box__add { width: 100%; }
  .tab-nav { gap: 17px; }
  .tab-btn { font-size: 11px; }
  .calc-fields { grid-template-columns: 1fr 1fr; }
  .calc-result { grid-template-columns: 1fr 1fr; }
  .calc-result__item:last-child { grid-column: 1 / -1; }
  .calc-aside { grid-template-columns: 1fr; }
  .cart-table__head { display: none; }
  .cart-item { grid-template-columns: 1fr auto; gap: 9px; padding: 13px; }
  .cart-item > .qty { grid-column: 1; width: max-content; }
  .cart-item > .cart-item__sum { grid-column: 2; grid-row: 1; }
  .cart-item > .cart-item__remove { grid-column: 2; grid-row: 2; justify-self: end; }
  .cart-item__media { width: 52px; height: 52px; }
  .checkout-card { padding: 18px; }
  .checkout-methods { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .article-hero h1 { font-size: 31px; }
  .article-hero__lead { font-size: 14px; }
  .article-cover { aspect-ratio: 1.9; margin-bottom: 26px; }
  .article-layout { padding-bottom: 42px; }
  .article-body p, .article-body li, .article-body ul, .article-body ol { font-size: 14px; }
  .article-aside { grid-template-columns: 1fr; }
  .article-cta { flex-direction: column; align-items: flex-start; padding: 20px; }
  .article-cta .btn { width: 100%; }
  .modal__box { padding: 24px 18px; }
  .footer { padding-top: 40px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand p { max-width: none; }
  .footer__bottom { gap: 14px; }
  .notfound { min-height: 54vh; }
}

@media (max-width: 440px) {
  .product-grid, .product-grid--3 { grid-template-columns: 1fr; }
  .product-card__media { aspect-ratio: 1.55; }
  .product-card__short { -webkit-line-clamp: 3; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .category-card { min-height: 180px; }
  .hero__actions { flex-direction: column; }
  .hero__visual { min-height: 260px; }
  .quick-calc { grid-template-columns: 1fr; }
  .quick-calc .field:nth-of-type(1), .quick-calc .field:nth-of-type(2), .quick-calc .field:nth-of-type(3),
  .quick-calc__result, .quick-calc .btn { grid-column: 1 / -1; }
  .quick-calc__result { min-height: 44px; }
  .advantages { grid-template-columns: 1fr; }
  .advantages { background: transparent; border: 0; gap: 8px; }
  .advantage { border: 1px solid var(--line); border-radius: 8px; }
  .cart-item { padding: 10px; }
  .buy-features { grid-template-columns: 1fr; }
  .variant-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .calc-fields, .calc-result { grid-template-columns: 1fr; }
  .calc-result__item:last-child { grid-column: auto; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ── дополнения: навигация, блоки, служебные элементы ─────────────────── */

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--orange);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 650;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.field[hidden] { display: none !important; }
.check--block { margin-top: 14px; }

.mobile-menu { width: min(440px, 100%); }
.mobile-menu__label { font-size: 9px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; margin: 16px 0 7px; }
.mobile-menu__label:first-child { margin-top: 0; }
.mobile-menu__cats { display: flex; flex-direction: column; }
.mobile-menu__cat { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.mobile-menu__cat svg:first-child { width: 20px; height: 20px; color: var(--orange); flex: none; }
.mobile-menu__cat svg:last-child { width: 14px; height: 14px; margin-left: auto; color: #9aa5a9; }
.mobile-menu__links { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.mobile-menu__links a { font-size: 13px; color: #4d5b60; }
.mobile-menu__hours { font-size: 10px; color: var(--muted); line-height: 1.5; margin-top: 12px; text-align: center; }

.filter-note { font-size: 11px; line-height: 1.5; color: var(--muted); border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 11px; }
.filter-note a { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 2px; }

.stock-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); margin-right: 5px; vertical-align: middle; }
.stock-dot--order { background: var(--warn); }
.check-list { list-style: none !important; padding-left: 0 !important; }
.check-list li { display: flex; gap: 9px; align-items: flex-start; }
.check-list svg { width: 16px; height: 16px; color: var(--orange); flex: none; margin-top: 4px; }

.seo-text { max-width: 980px; }
.seo-text .h2 { margin: 14px 0 16px; max-width: 920px; }
.seo-text p { color: #4d5b60; font-size: 14px; line-height: 1.7; margin-bottom: 12px; }
.seo-text a { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 3px; }
.seo-text a:hover { color: var(--ink); }

.split-band { display: grid; grid-template-columns: 1.02fr .98fr; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.split-band--reverse .split-band__copy { order: 2; }
.split-band--reverse .split-band__panel { order: 1; background: var(--paper-2); }
.split-band__copy { padding: clamp(26px, 4vw, 48px); }
.split-band__copy .h2 { margin: 14px 0 14px; max-width: 560px; }
.split-band__copy > p { color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 560px; margin-bottom: 11px; }
.split-band__list { display: grid; gap: 8px; margin: 17px 0 22px; }
.split-band__list li { display: flex; gap: 9px; align-items: flex-start; font-size: 12px; color: #526066; }
.split-band__list svg { width: 16px; height: 16px; color: var(--orange); flex: none; margin-top: 1px; }
.split-band__panel { display: flex; align-items: center; justify-content: center; padding: clamp(20px, 3vw, 34px); background: var(--ink); }
.split-band--reverse .split-band__panel { background: var(--paper-2); }

.mini-calc { width: min(390px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px; color: var(--ink); box-shadow: 0 22px 50px rgba(0,0,0,.14); }
.split-band__panel .mini-calc { box-shadow: 0 22px 50px rgba(0,0,0,.18); }
.mini-calc__head { display: flex; justify-content: space-between; gap: 10px; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 3px; }
.mini-calc__head span:last-child { color: var(--orange-dark); font-weight: 700; }
.mini-calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 12px; color: #526066; }
.mini-calc__row strong { color: var(--ink); font-size: 12px; text-align: right; }
.mini-calc__row--link { text-decoration: none; transition: color .15s; }
.mini-calc__row--link:hover { color: var(--orange-dark); }
.mini-calc__row--link:hover strong { color: var(--orange-dark); }
.mini-calc__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; padding-top: 6px; }
.mini-calc__total span { font-size: 11px; color: var(--muted); }
.mini-calc__total strong { font-family: var(--font-display); font-size: 22px; letter-spacing: -.04em; }
.mini-calc__note { font-size: 9px; line-height: 1.4; color: var(--muted); margin-top: 9px; }

.delivery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.13); border-radius: 10px; overflow: hidden; }
.delivery-strip--light { background: var(--line); border-color: var(--line); }
.delivery-strip__item { background: #fff; padding: 22px 20px; display: flex; flex-direction: column; min-height: 180px; color: var(--ink); }
.section--dark .delivery-strip__item { background: var(--ink-2); color: #fff; }
.delivery-strip__num { font-family: var(--font-display); font-size: 10px; color: var(--orange); letter-spacing: .08em; margin-bottom: 15px; }
.delivery-strip__item strong { font-size: 15px; font-weight: 650; }
.delivery-strip__item p { font-size: 11px; line-height: 1.45; color: var(--muted); margin-top: 6px; }
.section--dark .delivery-strip__item p { color: #9eabb0; }
.delivery-strip__price { margin-top: auto; padding-top: 14px; font-size: 11px; font-weight: 700; color: var(--orange-dark); }
.section--dark .delivery-strip__price { color: var(--orange-2); }

.category-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.category-intro .h2 { margin-top: 13px; max-width: 480px; }
.category-intro__text p { color: #4d5b60; font-size: 14px; line-height: 1.7; }

.steps { display: grid; gap: 17px; margin: 22px 0 24px; }
.steps li { display: flex; gap: 13px; align-items: flex-start; }
.steps li > span { font-family: var(--font-display); font-size: 10px; color: var(--orange-dark); font-weight: 700; min-width: 22px; padding-top: 3px; }
.steps strong { display: block; font-size: 13px; margin-bottom: 2px; }
.steps p { color: var(--muted); font-size: 12px; line-height: 1.5; }

.about-story { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: start; }
.about-story .h2 { margin-top: 14px; max-width: 460px; }
.about-story .prose p { font-size: 14px; }

.service-detail { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; min-height: 255px; }
.service-detail__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.service-detail__icon { width: 34px; height: 34px; color: var(--orange); }
.service-detail__icon svg { width: 100%; height: 100%; }
.service-detail__price { font-size: 10px; border: 1px solid var(--line); border-radius: 20px; padding: 4px 8px; color: var(--muted); }
.service-detail h2 { font-size: 17px; font-weight: 650; margin: 20px 0 5px; }
.service-detail p { font-size: 11px; line-height: 1.5; color: var(--muted); }
.service-detail__text { margin-top: 7px !important; }
.service-detail .link-arrow { margin-top: auto; padding-top: 16px; font-size: 11px; color: var(--orange-dark); }

.sitemap-grid { display: grid; grid-template-columns: 1.1fr .9fr 1fr; gap: 36px; }
.sitemap-grid h2 { font-family: var(--font-display); font-size: 18px; letter-spacing: -.03em; margin-bottom: 10px; }
.sitemap-grid ul { display: flex; flex-direction: column; gap: 7px; }
.sitemap-grid a { font-size: 12px; color: var(--muted); }
.sitemap-grid a:hover { color: var(--orange-dark); }
.sitemap-products { columns: 3; column-gap: 30px; margin-top: 12px; }
.sitemap-products li { break-inside: avoid; margin-bottom: 7px; font-size: 12px; }
.sitemap-products a { color: var(--muted); }
.sitemap-products a:hover { color: var(--orange-dark); }

.cart-empty-page svg { color: #aab5b9; margin: 0 auto 14px; }
.article-body .article-cta { margin: 32px 0; }

@media (max-width: 980px) {
  .split-band { grid-template-columns: 1fr; }
  .split-band--reverse .split-band__copy { order: 1; }
  .split-band--reverse .split-band__panel { order: 2; }
  .split-band__panel { border-top: 1px solid var(--line); }
  .delivery-strip { grid-template-columns: 1fr 1fr; }
  .category-intro, .about-story { grid-template-columns: 1fr; gap: 22px; }
  .sitemap-grid { grid-template-columns: 1fr 1fr; }
  .sitemap-products { columns: 2; }
}

@media (max-width: 760px) {
  .delivery-strip { grid-template-columns: 1fr; }
  .delivery-strip__item { min-height: 0; }
  .sitemap-grid { grid-template-columns: 1fr; gap: 24px; }
  .sitemap-products { columns: 1; }
  .split-band__copy { padding: 22px; }
  .split-band__panel { padding: 20px; }
  .category-intro { gap: 14px; }
}

.faq-head { margin-bottom: 10px; }
.faq-head .h2 { margin-top: 12px; }

/* Правки после визуальной проверки */
.badge--green { background: #ffffff; color: #1f6b46; }

@media (max-width: 760px) {
  .hero__content h1 { font-size: clamp(30px, 8.6vw, 36px); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-head__link { align-self: flex-start; }
  .section-head .h2 { max-width: 100%; }
  .section--dark .section-head { align-items: flex-start; }
}

/* Article cover: wide banner без пустых полей */
.article-cover { aspect-ratio: 2.8; max-height: 430px; }
.article-cover svg { width: 100%; height: 100%; }

@media (max-width: 760px) {
  .hero-badge--br { display: none; }
  .article-cover { aspect-ratio: 1.85; max-height: none; }
}

/* Мобильная шапка: не дублируем каталог, он есть в нижней панели */
@media (max-width: 760px) {
  .catalog-btn { display: none; }
  .logo__text small { display: none; }
  .logo__text strong { font-size: 13px; }
  .footer__top > :nth-child(3) { display: block; }
}

/* Ширины 1024–1440: не даём шапке вылезать за экран */
@media (max-width: 1320px) {
  .header__callback { display: none; }
}
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: grid; }
}

/* Финальные мобильные правки */
.footer__top > :nth-child(4) { display: block; }
.footer .logo__text small { display: block; }
.footer__bottom .footer__pay span:first-child { text-transform: none; }

@media (max-width: 760px) {
  .footer__top > :nth-child(4) { display: block; }
  .footer .logo__text small { display: block; }
}

@media (max-width: 440px) {
  .product-grid, .product-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .product-card__media { aspect-ratio: 1.35; }
  .product-card__body { padding: 10px; }
  .product-card h3 { font-size: 12px; }
  .product-card__short { -webkit-line-clamp: 2; font-size: 10px; }
  .product-card__meta { font-size: 8px; }
  .price { gap: 2px; }
  .price small { font-size: 8px; }
  .price strong { font-size: 15px; }
  .price span { font-size: 9px; }
  .product-card__add { width: 31px; height: 31px; }
}

@media (max-width: 350px) {
  .product-grid, .product-grid--3 { grid-template-columns: 1fr; }
  .product-card__media { aspect-ratio: 1.55; }
}

/* Подбор профильной трубы по размеру */
.size-nav {
  margin-top: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
}
.size-nav__head { display: flex; align-items: flex-start; gap: 18px; flex-wrap: wrap; margin-bottom: 15px; }
.size-nav__head .eyebrow { flex-basis: 100%; }
.size-nav__head .h3 { margin: 0; max-width: 520px; }
.size-nav__head p { font-size: 11px; color: var(--muted); line-height: 1.45; max-width: 390px; margin: 0 0 0 auto; }
.size-nav__groups { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.size-group { min-width: 0; }
.size-group__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.size-group__head strong { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.size-group__head a { font-size: 10px; color: var(--orange-dark); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.size-group__head a svg { width: 11px; height: 11px; }
.size-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.size-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  font-size: 10px;
  font-weight: 650;
  color: #4d5b60;
  white-space: nowrap;
  transition: .15s;
}
.size-chip:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

@media (max-width: 760px) {
  .size-nav { padding: 16px; }
  .size-nav__head p { margin-left: 0; max-width: none; }
  .size-nav__groups { grid-template-columns: 1fr; gap: 15px; }
  .size-chips { gap: 5px; }
  .size-chip { min-height: 32px; padding: 0 8px; font-size: 10px; }
}

/* ── Фотографии: hero, товары, статьи ─────────────────────────────────── */

.hero__visual--photo {
  overflow: hidden;
  border-radius: 16px;
  background: #1a2429;
  align-self: stretch;
  min-height: 540px;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.06);
  z-index: 0;
}
.hero-photo__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15,21,23,.28) 0%, rgba(15,21,23,.08) 45%, rgba(15,21,23,.74) 100%),
    linear-gradient(90deg, rgba(15,21,23,.36), transparent 55%);
}
.hero__visual--photo .hero-badge { z-index: 3; }
.hero__visual--photo .hero-badge--tl { top: 22px; left: 22px; }
.hero__visual--photo .hero-badge--br { bottom: 22px; right: 22px; }
.hero__visual--photo .hero-badge { background: rgba(15,21,23,.78); }
.hero-product-card {
  position: absolute;
  z-index: 2;
  left: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  border-radius: 8px;
  padding: 7px 10px 7px 7px;
  box-shadow: 0 16px 38px rgba(0,0,0,.28);
  max-width: 265px;
}
.hero-product-card img { width: 62px; height: 48px; object-fit: cover; border-radius: 5px; flex: none; background: #f1efea; }
.hero-product-card span { display: block; font-size: 8px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.hero-product-card strong { display: block; font-size: 11px; line-height: 1.25; margin-top: 1px; }
.hero-product-card small { display: block; font-size: 10px; color: var(--orange-dark); font-weight: 700; margin-top: 2px; }
.hero__visual--photo::before { display: none; }

.product-card__media { background: #ece9e1; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.045); }

.product-art { background: #ece9e1; }
.product-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-art__caption { color: rgba(15,21,23,.55); }
.product-art__caption span:last-child { color: rgba(15,21,23,.4); }

.product-thumb { background: #ece9e1; padding: 0; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.page-hero__art { overflow: hidden; border-radius: 12px; }
.page-hero__photo { width: 100%; height: 100%; max-height: 310px; object-fit: cover; display: block; }
.page-hero--dark .page-hero__photo { opacity: .9; }

.article-card__media { background: #ece9e1; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.04); }
.article-cover { background: #ece9e1; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.cart-line__media img, .cart-item__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 980px) {
  .hero__visual--photo { min-height: 410px; }
}

@media (max-width: 760px) {
  .hero__visual--photo { min-height: 330px; border-radius: 12px; }
  .hero-product-card { display: none; }
  .hero__visual--photo .hero-badge--tl { top: 14px; left: 14px; }
  .page-hero__photo { max-height: 210px; }
  .article-cover { aspect-ratio: 1.7; }
}

/* Размер — крупно в названии товара */
.product-card h3 a { display: block; }
.product-card__size {
  display: block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.035em;
  color: var(--orange-dark);
}
.product-h1-size {
  display: inline-block;
  color: var(--orange-dark);
  font-size: .78em;
  line-height: 1;
  letter-spacing: -.05em;
  white-space: nowrap;
}
.size-chip {
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  min-height: 48px;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1.15;
}
.size-chip strong { font-size: 12px; font-weight: 700; }
.size-chip span { display: block; margin-top: 2px; font-size: 9px; font-weight: 500; color: var(--muted); }
.size-chip:hover span { color: #aebbc0; }

@media (max-width: 760px) {
  .product-card__size { font-size: 15px; }
  .product-h1-size { font-size: .74em; }
  .size-chip { min-height: 44px; padding: 5px 8px; font-size: 11px; }
  .size-chip strong { font-size: 11px; }
}

/* Фото не должны раздувать grid на мобильных */
.product-card { min-width: 0; }
.product-card__body, .product-card__media { min-width: 0; }
.product-card h3, .product-card h3 a { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .product-grid, .product-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.article-card { min-width: 0; }
.article-card__media, .article-card__body { min-width: 0; }

/* Обёртки карточек в каталоге не должны наследовать ширину фото */
.product-grid > *, [data-catalog-item] { min-width: 0; }

/* Каталог: вложенные grid-контейнеры не должны расширяться под фото */
.catalog-layout, .catalog-layout > *, [data-catalog], [data-catalog] > div,
.product-grid, .product-grid > *, [data-catalog-grid] { min-width: 0; max-width: 100%; }
.catalog-layout > div, [data-catalog] > div { width: 100%; }
.product-grid { width: 100%; }

@media (max-width: 350px) {
  .product-grid, .product-grid--3 { grid-template-columns: 1fr; }
}


/* main-site logo alignment */
.logo__mark {
  width: 44px;
  height: 44px;
  background: none;
  border-radius: 0;
  clip-path: none;
  color: #f3f5f7;
}
.logo__mark svg { width: 44px; height: 44px; display: block; }
@media (max-width: 760px) {
  .logo__mark { width: 37px; height: 37px; }
  .logo__mark svg { width: 37px; height: 37px; }
}
