/* ПРОАЛЬП — светлая современная тема.
   Точные цвета бренда, снятые с логотипа:
   графит #3d4356, голубой канат #489ccd. */

/* Manrope (variable, 400–800) — self-hosted, сабсеты по алфавитам */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #2b3242;
  --brand: #3d4356;
  --ink-soft: #5a6274;
  --ink-mute: #939aab;
  --accent: #489ccd;
  --accent-dark: #2f83b6;
  --accent-deep: #22648c;
  --accent-soft: #edf6fb;
  --accent-line: #cde6f3;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --line: #e6eaf0;
  --ok: #27a05c;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(43, 50, 66, .05), 0 4px 14px rgba(43, 50, 66, .06);
  --shadow-md: 0 2px 6px rgba(43, 50, 66, .07), 0 14px 34px rgba(43, 50, 66, .1);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; font-weight: 800; color: var(--ink); letter-spacing: -.015em; }
h1 { font-size: 34px; margin: 14px 0 24px; }
h2 { font-size: 27px; margin: 0 0 20px; }
h3 { font-size: 19px; margin: 0 0 10px; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- Логотип ---------- */
.logo { display: inline-flex; flex-direction: column; line-height: 1; }
.logo__word {
  display: inline-flex; align-items: center; gap: 3px;
  font-weight: 800; font-size: 27px; letter-spacing: .06em; color: var(--brand);
}
.logo__ring { width: 26px; height: 26px; margin: 0 1px; }
.logo__tag {
  margin-top: 5px; font-size: 10.2px; font-weight: 600; white-space: nowrap;
  letter-spacing: .24em; text-transform: uppercase; color: var(--ink-mute);
}
.logo--invert .logo__word { color: #fff; }
.logo--invert .logo__tag { color: #98a2b8; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 12px; padding: 13px 24px;
  font: 700 15px var(--font); cursor: pointer; text-align: center;
  transition: all .18s ease;
}
.btn--accent {
  background: var(--accent); color: #fff;
  box-shadow: 0 6px 18px rgba(72, 156, 205, .35);
}
.btn--accent:hover {
  background: var(--accent-dark); color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(72, 156, 205, .42);
}
.btn--dark { background: var(--brand); color: #fff; }
.btn--dark:hover { background: #2b3242; color: #fff; transform: translateY(-1px); }
.btn--outline { background: #fff; color: var(--accent-deep); border: 1.5px solid var(--accent-line); }
.btn--outline:hover { border-color: var(--accent); background: var(--accent-soft); }
.btn--ghost { background: var(--accent-soft); color: var(--accent-deep); }
.btn--ghost:hover { background: var(--accent-line); }
.btn--sm { padding: 9px 16px; font-size: 13px; border-radius: 10px; }
.btn--block { width: 100%; }

/* ---------- Верхняя полоса ---------- */
.topbar { background: var(--brand); color: #b9c2d4; font-size: 13px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 8px; padding-bottom: 8px; }
.topbar b { color: #fff; font-weight: 700; }
.topbar__usp { display: inline-flex; align-items: center; gap: 18px; white-space: nowrap; }
.topbar__ship { display: inline-flex; align-items: center; gap: 8px; color: #d6dce8; font-weight: 600; }
.topbar__ship-short { display: none; }
.topbar__ship:hover { color: #fff; }
.topbar__dot {
  width: 8px; height: 8px; border-radius: 50%; background: #f5b544; flex: 0 0 auto;
  box-shadow: 0 0 0 3px rgba(245, 181, 68, .18);
}
.topbar__ship--today .topbar__dot {
  background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .18);
  animation: shipPulse 2s ease-in-out infinite;
}
@keyframes shipPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74, 222, 128, .18); }
  50% { box-shadow: 0 0 0 5px rgba(74, 222, 128, .07); }
}
.topbar__info { display: flex; align-items: center; gap: 26px; }
.topbar__link, .topbar__work { display: inline-flex; align-items: center; gap: 7px; color: #b9c2d4; white-space: nowrap; }
.topbar__link:hover { color: #fff; }
.topbar__link svg, .topbar__work svg { width: 14px; height: 14px; opacity: .75; flex: 0 0 auto; }

/* ---------- Шапка ---------- */
.header { background: #fff; position: sticky; top: 0; z-index: 60; box-shadow: 0 1px 0 var(--line); }
.header__in {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding-top: 17px; padding-bottom: 15px;
}
.header__logo { flex: 0 0 auto; }
.header__nav { display: flex; gap: 26px; margin-left: auto; }
.header__nav a { color: var(--ink-soft); font-size: 14.5px; font-weight: 700; white-space: nowrap; }
.header__nav a:hover { color: var(--accent-dark); }
.header__contacts { display: flex; align-items: center; gap: 22px; padding-left: 30px; border-left: 1px solid var(--line); }
.header__phone { font-weight: 800; color: var(--ink); font-size: 17px; white-space: nowrap; letter-spacing: -.01em; }
.header__phone:hover { color: var(--accent-dark); }
.header__cart {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 0; border-radius: 12px; cursor: pointer;
  background: var(--accent-soft); color: var(--accent-deep); transition: all .15s ease;
}
.header__cart:hover { background: var(--accent); color: #fff; }
.header__cart svg { width: 22px; height: 22px; }
.header__cart-badge {
  position: absolute; top: -5px; right: -5px;
  min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff; box-sizing: content-box;
}
.header__cart-badge[hidden] { display: none; }

/* ---------- Мессенджеры ---------- */
.msgrs { display: inline-flex; gap: 8px; }
.msgr {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 12px;
  transition: all .15s ease;
}
.msgr svg { width: 20px; height: 20px; }
.msgr--tg { background: #e7f3fb; color: #229ed9; }
.msgr--tg:hover { background: #229ed9; color: #fff; }
.msgr--max { background: #ece9fe; color: #6c5ce7; }
.msgr--max:hover { background: #6c5ce7; color: #fff; }
.msgr--max:hover text { fill: #6c5ce7; }

.msgr-pill {
  display: inline-flex; align-items: center; gap: 7px;
  border-radius: 999px; padding: 7px 14px;
  font-size: 13px; font-weight: 700; transition: all .15s ease;
}
.msgr-pill svg { width: 16px; height: 16px; }
.msgr-pill--tg { background: #e7f3fb; color: #1c85b8 !important; }
.msgr-pill--tg:hover { background: #229ed9; color: #fff !important; }
.msgr-pill--max { background: #ece9fe; color: #5a4bd6 !important; }
.msgr-pill--max:hover { background: #6c5ce7; color: #fff !important; }
.msgr-pill--max:hover text { fill: #6c5ce7; }
.footer__msgrs { display: flex; gap: 8px; margin: 4px 0 6px; }
.contact-card__msgrs { display: flex; gap: 8px; margin-top: 8px; }

/* ---------- Меню каталога ---------- */
.catnav { border-top: 1px solid var(--line); background: #fff; position: relative; }
.catnav__in { display: flex; gap: 6px; margin: 0 -15px; overflow-x: auto; scrollbar-width: none; }
.catnav__in::-webkit-scrollbar { display: none; }
/* Подсказка «меню скроллится»: градиент со стрелкой, пропадает в конце ленты */
.catnav::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 64px;
  background: linear-gradient(to left, #fff 22%, rgba(255, 255, 255, 0));
  pointer-events: none; transition: opacity .2s;
}
.catnav::before {
  content: ''; position: absolute; top: 50%; right: 8px; z-index: 1;
  width: 8px; height: 8px; margin-top: -5px;
  border-right: 2.5px solid var(--accent-deep); border-top: 2.5px solid var(--accent-deep);
  transform: rotate(45deg); pointer-events: none; transition: opacity .2s;
  animation: catnavNudge 1.6s ease-in-out infinite;
}
@keyframes catnavNudge {
  0%, 100% { right: 8px; }
  50% { right: 4px; }
}
.catnav--end::after, .catnav--end::before { opacity: 0; }
.catnav__in a {
  padding: 13px 15px; color: var(--ink-soft); font-size: 14px; font-weight: 700;
  white-space: nowrap; border-bottom: 2.5px solid transparent; transition: all .15s;
}
.catnav__in a:hover { color: var(--accent-dark); }
.catnav__in a.is-active { color: var(--accent-deep); border-bottom-color: var(--accent); }

/* ---------- Крошки ---------- */
.crumbs { font-size: 13px; color: var(--ink-mute); padding: 18px 0 0; }
.crumbs a { color: var(--ink-mute); }
.crumbs a:hover { color: var(--accent-dark); }
.crumbs__sep { margin: 0 7px; opacity: .6; }

/* ---------- Хиро ---------- */
.hero { position: relative; background: var(--bg-soft); overflow: hidden; }
.hero__in {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 20px; align-items: stretch;
}
.hero__content { padding: 74px 0 78px; }
.hero__eyebrow {
  display: inline-block; background: var(--accent-soft); color: var(--accent-deep);
  border: 1px solid var(--accent-line); border-radius: 999px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 16px; margin-bottom: 22px;
}
.hero h1 { font-size: 46px; margin: 0 0 18px; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--accent-dark); }
.hero p { font-size: 18px; color: var(--ink-soft); margin: 0 0 30px; max-width: 520px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 38px; }
.hero__stats { display: flex; gap: 40px; }
.hero__stat b { display: block; font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.hero__stat span { font-size: 13.5px; color: var(--ink-mute); }
/* Фото уходит в правый край экрана (full-bleed), колонка сетки резервирует место под текст */
.hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: calc(50vw - 20px); }
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 50%;
}
.hero__media::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--bg-soft) 0%, rgba(244, 246, 249, 0) 30%);
}

/* ---------- Секции ---------- */
.section-block { padding: 58px 0 6px; }
.section-block--tint { background: var(--bg-soft); padding-bottom: 58px; margin-top: 46px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-head h2 { margin: 0; }
.section-head a { font-size: 14.5px; font-weight: 700; }

/* ---------- Сетки ---------- */
.grid { display: grid; gap: 20px; }
.grid--cats { grid-template-columns: repeat(4, 1fr); }
.grid--sub { grid-template-columns: repeat(3, 1fr); }
.grid--prods { grid-template-columns: repeat(4, 1fr); }

/* ---------- Карточка раздела/категории с фото ---------- */
.catcard {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: all .2s ease;
}
.catcard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--accent-line); }
.catcard__img { aspect-ratio: 1/1; background: var(--bg-soft); overflow: hidden; }
.catcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.catcard:hover .catcard__img img { transform: scale(1.05); }
.catcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.catcard__name { font-weight: 800; font-size: 17px; color: var(--ink); letter-spacing: -.01em; }
.catcard:hover .catcard__name { color: var(--accent-dark); }
.catcard__meta { font-size: 13.5px; color: var(--ink-mute); }
.catcard__price { margin-top: auto; padding-top: 8px; font-size: 14px; color: var(--accent-deep); font-weight: 800; }

/* компактная карточка без фото (служебные страницы) */
.catcard--flat .catcard__body { padding: 22px; }

/* ---------- Карточка товара ---------- */
.prodcard {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; transition: all .2s ease;
}
.prodcard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--accent-line); }
.prodcard__img {
  aspect-ratio: 1/1; background: var(--bg-soft); display: flex;
  align-items: center; justify-content: center; overflow: hidden;
}
.prodcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.prodcard:hover .prodcard__img img { transform: scale(1.06); }
.prodcard__img--empty { color: var(--ink-mute); font-size: 13px; }
.prodcard__body { padding: 15px 17px 17px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.prodcard__name { font-weight: 700; font-size: 14.5px; color: var(--ink); line-height: 1.35; }
.prodcard__name:hover { color: var(--accent-dark); }
.prodcard__stock { font-size: 12px; font-weight: 600; color: var(--ok); }
.prodcard__stock::before { content: '●'; font-size: 8px; vertical-align: 2px; margin-right: 5px; }
.prodcard__cut { font-size: 12px; color: var(--ink-mute); margin-top: -4px; }
.prodcard__cut::before { content: '✂'; margin-right: 5px; font-size: 11px; }
.prodcard__bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 6px; }
.prodcard__price { font-weight: 800; font-size: 17.5px; letter-spacing: -.01em; }
.prodcard__price small { font-weight: 600; color: var(--ink-mute); font-size: 12px; }

/* ---------- Фасетные чипы ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 26px; }
.chips a {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: 7px 16px; font-size: 13.5px; font-weight: 700; color: var(--ink-soft);
  background: #fff; transition: all .15s;
}
.chips a:hover { border-color: var(--accent); color: var(--accent-deep); }
.chips a.is-active { border-color: var(--accent); background: var(--accent); color: #fff; }
.chips__count {
  font-size: 11px; font-weight: 800; color: var(--ink-mute);
  background: var(--bg-soft); border-radius: 999px; padding: 1px 7px;
}
.chips a.is-active .chips__count { background: rgba(255, 255, 255, .25); color: #fff; }
.chips--links { margin-bottom: 6px; }
.chips--inline { display: inline-flex; margin: 0; }
.chips--colors { margin-top: -14px; }
.chips__label { font-size: 13.5px; font-weight: 700; color: var(--ink-soft); align-self: center; margin-right: 2px; }

/* ---------- SEO-таблица цен ---------- */
.price-table-box { margin: 10px 0 38px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table-box .price-table { min-width: 680px; }
.price-table-box h2 { font-size: 21px; margin-bottom: 16px; }
.price-table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff; }
.price-table th {
  text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--ink-mute); font-weight: 700; padding: 10px 14px; border-bottom: 2px solid var(--line);
}
.price-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.price-table tbody tr:hover { background: var(--accent-soft); }
.price-table__diam { font-weight: 800; white-space: nowrap; }
.price-table__price { font-weight: 800; white-space: nowrap; }
.price-table__cta { text-align: right; }
.price-table__cta .btn { white-space: nowrap; }
.price-table__note { font-size: 13px; color: var(--ink-mute); margin: 10px 0 0; }

/* ---------- Тулбар листинга ---------- */
.listing-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  flex-wrap: wrap; margin: 0 0 18px; padding: 12px 16px;
  background: var(--bg-soft); border-radius: var(--r-md);
}
.listing-bar__count { font-size: 13.5px; font-weight: 700; color: var(--ink-soft); }
.listing-bar__sort { display: flex; gap: 4px; flex-wrap: wrap; }
.listing-bar__sort a {
  padding: 6px 13px; border-radius: 999px; font-size: 13px; font-weight: 700;
  color: var(--ink-soft);
}
.listing-bar__sort a:hover { color: var(--accent-deep); }
.listing-bar__sort a.is-active { background: #fff; color: var(--accent-deep); box-shadow: var(--shadow-sm); }

/* ---------- Блоки перелинковки ---------- */
.linkbox { margin: 34px 0 10px; }
.linkbox h2 { font-size: 21px; margin-bottom: 16px; }

/* ---------- Калькулятор метража ---------- */
.calc {
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  border-radius: var(--r-md); padding: 18px 20px; margin: 4px 0 12px; max-width: 520px;
}
.calc__block + .calc__block { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--accent-line); }
.calc__label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 10px; }
.calc__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.calc__unit { font-size: 13.5px; color: var(--ink-mute); margin-left: -6px; }
.calc__fast { margin: 0 0 18px; font-size: 13px; color: var(--ink-mute); }
.calc__fast a { color: var(--accent-deep); font-weight: 600; }
.calc__qty { display: inline-flex; align-items: stretch; background: #fff; border: 1.5px solid var(--accent-line); border-radius: var(--r-sm); overflow: hidden; }
.calc__btn {
  width: 38px; border: 0; background: none; cursor: pointer;
  font-size: 18px; font-weight: 700; color: var(--accent-deep);
}
.calc__btn:hover { background: var(--accent-soft); }
.calc__input {
  width: 74px; border: 0; text-align: center; font: 700 16px var(--font); color: var(--ink);
  -moz-appearance: textfield; appearance: textfield;
}
.calc__input::-webkit-outer-spin-button, .calc__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__input:focus { outline: none; }
.calc__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.calc__coil-note { margin: 10px 0 0; font-size: 12.5px; color: var(--ink-mute); }
.calc__total { font-size: 15px; color: var(--ink-soft); }
.calc__sum { font-size: 21px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.calc__order { width: 100%; }

/* ---------- Выгоды на карточке товара ---------- */
.product__perks { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.product__perks li { font-size: 13.5px; color: var(--ink-soft); padding-left: 26px; position: relative; }
.product__perks li::before {
  content: '✓'; position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px; border-radius: 6px;
  background: var(--accent-soft); color: var(--accent-deep); font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.product__diams { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.product__diams-label { font-size: 13.5px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.product__diams .chips a { padding: 5px 12px; font-size: 12.5px; }

/* ---------- Группа товаров в разделе ---------- */
.group { margin-bottom: 44px; }
.group__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 18px; margin-bottom: 18px; }
.group__head h2 { margin: 0; font-size: 23px; }
.group__head a { font-size: 14px; font-weight: 700; white-space: nowrap; }

/* ---------- Преимущества ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px; transition: all .2s;
}
.benefit:hover { box-shadow: var(--shadow-sm); }
.benefit__icon {
  width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.benefit__icon svg { width: 24px; height: 24px; stroke: var(--accent-dark); }
.benefit h3 { font-size: 16.5px; margin-bottom: 6px; }
.benefit p { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* ---------- SEO-текст, статьи ---------- */
.seo-text { max-width: 980px; color: var(--ink-soft); font-size: 15px; line-height: 1.65; padding: 12px 0 34px; }
.seo-text h2, .seo-text h3 { color: var(--ink); margin: 28px 0 12px; }
.seo-text h2 { font-size: 21px; }
.seo-text h3 { font-size: 17px; }
.seo-text p { margin: 0 0 16px; }
.seo-text ul, .seo-text ol { margin: 0 0 18px; padding-left: 22px; }
.seo-text li { margin-bottom: 7px; }
.seo-text > :first-child { margin-top: 0; }
.article-meta { color: var(--ink-mute); font-size: 13.5px; margin: -8px 0 26px; }
.article-body { max-width: 800px; font-size: 16.5px; line-height: 1.7; }
.article-body img { border-radius: var(--r-md); }
.article-body h2 { font-size: 23px; margin: 46px 0 18px; }
.article-body h3 { font-size: 18px; margin: 30px 0 12px; }
.article-body > :first-child, .article-body h2:first-child { margin-top: 0; }
.article-body p { margin: 0 0 18px; color: var(--ink-soft); }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 22px; color: var(--ink-soft); }
.article-body li { margin-bottom: 10px; }
.article-body b { color: var(--ink); }
.article-body a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; }
.article-body a:hover { text-decoration-color: var(--accent); }
.article-body table {
  width: 100%; border-collapse: collapse; margin: 14px 0 30px;
  font-size: 14.5px; background: #fff;
}
.article-body th {
  text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em;
  color: var(--ink-mute); font-weight: 700; padding: 10px 12px; border-bottom: 2px solid var(--line);
  background: var(--bg-soft);
}
.article-body td { padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.article-cover {
  display: block; max-width: 800px; width: 100%; height: auto;
  border-radius: var(--r-lg); margin-bottom: 28px;
}
.article-goods { margin-top: 40px; }
.article-goods h2 { font-size: 22px; margin-bottom: 18px; }
.article-goods__all { display: inline-block; margin-top: 18px; font-weight: 700; }
.article-others { max-width: 800px; margin: 34px 0 10px; }
.article-others h2 { font-size: 20px; margin-bottom: 12px; }
.article-others ul { padding-left: 22px; }
.article-others li { margin-bottom: 8px; }
@media (max-width: 660px) {
  .article-body { overflow-x: hidden; }
  .article-body table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 980px; padding-bottom: 34px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 0 22px; margin-bottom: 10px; background: #fff; transition: border-color .15s;
}
.faq details[open] { border-color: var(--accent-line); }
.faq summary {
  cursor: pointer; font-weight: 700; padding: 17px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px;
  background: var(--accent-soft); color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700;
}
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); font-size: 15px; }

/* ---------- Карточка товара (страница) ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; padding: 14px 0 34px; }
.product__img {
  background: var(--bg-soft); border-radius: var(--r-lg); border: 1px solid var(--line);
  aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.product__img img { width: 100%; height: 100%; object-fit: cover; }
.product__price { font-size: 34px; font-weight: 800; margin: 14px 0 4px; letter-spacing: -.02em; }
.product__price small { font-size: 15px; font-weight: 600; color: var(--ink-mute); }
.product__stock {
  color: var(--ok); font-weight: 600; font-size: 14px; margin-bottom: 5px;
  position: relative; padding-left: 26px;
}
.product__stock::before {
  content: '✓'; position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px; border-radius: 6px;
  background: #e3f4ea; color: var(--ok); font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.product__ship {
  color: var(--ink-mute); font-size: 13.5px; margin: 0 0 20px;
  display: flex; align-items: center; gap: 8px;
}
.ship-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #f5b544; flex: 0 0 auto;
  margin: 0 5px; /* дырка ✓-бейджа выше — 18px, выравниваем текст обеих строк */
  box-shadow: 0 0 0 3px rgba(245, 181, 68, .18);
}
.product__ship--today .ship-dot {
  background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .18);
  animation: shipPulse 2s ease-in-out infinite;
}
.product__desc { color: var(--ink-soft); font-size: 15px; margin-top: 24px; }
.spec { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14.5px; }
.spec td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec td:first-child { color: var(--ink-mute); width: 45%; }
.spec td:last-child { font-weight: 600; }

/* ---------- CTA с формой ---------- */
.cta { position: relative; margin-top: 64px; background: var(--brand); overflow: hidden; }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.cta__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(43, 50, 66, .97) 38%, rgba(43, 50, 66, .6));
}
.cta__in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 56px; align-items: center;
  padding-top: 64px; padding-bottom: 64px;
}
.cta__title { color: #fff; margin-bottom: 10px; }
.cta__text { color: #c4ccdb; margin: 0 0 22px; font-size: 16px; }
.cta__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cta__list li { color: #dbe1ec; font-size: 15px; padding-left: 28px; position: relative; }
.cta__list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  width: 19px; height: 19px; border-radius: 6px;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.cta__form {
  background: #fff; border-radius: var(--r-lg); padding: 30px;
  box-shadow: var(--shadow-md); max-width: 460px; width: 100%; justify-self: end;
}
.cta__form-title { font-size: 20px; font-weight: 800; margin-bottom: 18px; letter-spacing: -.01em; }
.cta__form label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 14px; color: var(--ink-soft); }
.cta__form input {
  display: block; width: 100%; margin-top: 6px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px;
  font: 15px var(--font); color: var(--ink); transition: border-color .15s;
}
.cta__form input:focus { outline: none; border-color: var(--accent); }
.cta__policy { font-size: 12px; color: var(--ink-mute); margin: 12px 0 0; }
.form-ok { color: var(--ok); font-weight: 700; margin: 8px 0 0; }
.js-lead-form.is-sent label,
.js-lead-form.is-sent button,
.js-lead-form.is-sent .cta__policy,
.js-lead-form.is-sent .modal__policy { display: none; }

/* ---------- О компании ---------- */
.about {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 56px; align-items: center;
}
.about__media { position: relative; padding-bottom: 56px; }
.about__photo { border-radius: var(--r-lg); display: block; }
.about__photo--main { width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-sm); }
.about__photo--small {
  position: absolute; right: -18px; bottom: 0; width: 46%; aspect-ratio: 4/3;
  object-fit: cover; border: 5px solid #fff; box-shadow: var(--shadow-md);
}
.about__content h2 { margin-bottom: 16px; }
.about__content p { color: var(--ink-soft); font-size: 15.5px; margin: 0 0 14px; }
.about__facts { display: flex; gap: 34px; margin: 24px 0 26px; flex-wrap: wrap; }
.about__fact b { display: block; font-size: 22px; font-weight: 800; color: var(--accent-deep); letter-spacing: -.01em; }
.about__fact span { font-size: 13px; color: var(--ink-mute); }
.about--page { margin-top: 10px; }

/* ---------- Бейджи транспортных компаний ---------- */
.tk-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 24px; }
.tk-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; font-size: 14px; font-weight: 800; letter-spacing: .01em;
}
.tk-badge::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.tk-badge--sdek { color: #1ab248; }
.tk-badge--pek { color: #0073af; }
.tk-badge--dl { color: #ee7d1b; }
.tk-badge--baikal { color: #00539f; }
.tk-badge--kit { color: #e21a37; }
.about--page .about__photo--small { right: 0; }
.faq--page { max-width: 800px; padding-bottom: 0; }

/* ---------- Контакты ---------- */
.contacts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 8px 0 14px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 6px;
}
.contact-card__icon {
  width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.contact-card__icon svg { width: 24px; height: 24px; stroke: var(--accent-dark); }
.contact-card__head { font-weight: 800; font-size: 16.5px; margin-bottom: 4px; }
.contact-card a { font-weight: 700; }
.contact-card p { margin: 0; color: var(--ink-soft); }
.contact-card__meta { font-size: 13.5px; color: var(--ink-mute); }

.contacts-map { padding: 44px 0 10px; }
.contacts-map__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 24px; align-items: stretch; }
.contacts-map__frame {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  min-height: 420px; background: var(--bg-soft);
}
.contacts-map__frame iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
.contacts-map__route {
  background: var(--bg-soft); border-radius: var(--r-lg); padding: 28px;
  display: flex; flex-direction: column;
}
.contacts-map__route h3 { margin-bottom: 12px; }
.contacts-map__route ul { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.contacts-map__route li { font-size: 14.5px; color: var(--ink-soft); padding-left: 24px; position: relative; }
.contacts-map__route li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.contacts-map__route li b { color: var(--ink); }
.contacts-map__route .btn { margin-top: auto; align-self: flex-start; }

.contacts-reviews { padding: 34px 0 24px; }
.contacts-reviews__frame {
  max-width: 720px;
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff;
}
.contacts-reviews__frame iframe { display: block; width: 100%; height: 560px; border: 0; }

/* ---------- Карта перед подвалом ---------- */
.findus { position: relative; height: 480px; margin-top: 0; }
.cta + .findus, main + .findus { margin-top: 0; }
.findus__map { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.findus__wrap { position: relative; height: 100%; pointer-events: none; }
.findus__card {
  pointer-events: auto;
  position: absolute; left: 24px; top: 50%; transform: translateY(-50%);
  width: 340px; background: #fff; border-radius: var(--r-lg); padding: 26px 28px;
  box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 7px;
}
.findus__title { margin: 0 0 2px; font-size: 20px; }
.findus__addr { margin: 0; font-weight: 700; font-size: 14.5px; }
.findus__meta { margin: 0; font-size: 13.5px; color: var(--ink-soft); }
.findus__rating { margin: 4px 0 6px; display: flex; align-items: center; gap: 7px; font-size: 13.5px; }
.findus__rating b { font-size: 16px; }
.findus__rating a { font-weight: 700; }
.findus__card .btn { margin: 2px 0 4px; }
.findus__phone { font-weight: 800; font-size: 16px; color: var(--ink); }
.findus__phone:hover { color: var(--accent-dark); }
.findus__more { font-size: 13.5px; font-weight: 700; }
.stars { color: #f5a623; letter-spacing: 2px; font-size: 14px; }

/* ---------- Способы оплаты ---------- */
.pay-logo { display: inline-flex; align-items: center; font-weight: 900; letter-spacing: .02em; }
.pay-logo--mir { color: #0f754e; font-size: 15px; font-style: italic; }
.pay-logo--visa { color: #1a1f71; font-size: 15px; font-style: italic; }
.pay-logo--mc svg, .pay-pill svg { width: 34px; height: 22px; display: block; }
.pay-logo--sbp {
  font-size: 15px;
  background: linear-gradient(100deg, #5b57a2 10%, #1c8acb 45%, #37a860 75%, #f2b52c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pay-logo--icon { color: var(--accent-dark); }
.pay-logo--icon svg { width: 26px; height: 26px; }

.pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 10px 0 14px; }
.pay-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px; transition: all .2s;
}
.pay-card:hover { box-shadow: var(--shadow-sm); }
.pay-card__logos { display: flex; align-items: center; gap: 12px; height: 30px; margin-bottom: 14px; }
.pay-card h3 { font-size: 16px; margin-bottom: 6px; }
.pay-card p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }

.footer__pay-line { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer__pay-line a { color: #aeb7c8; text-decoration: underline; }
.footer__pay-line a:hover { color: #fff; }
.pay-badges { display: inline-flex; gap: 6px; }
.pay-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 28px; background: #fff; border-radius: 5px;
}
.pay-badge svg { width: 30px; height: 20px; display: block; }
.pay-badge .pay-logo--visa, .pay-badge .pay-logo--mir { font-size: 12.5px; }
.pay-badge .pay-logo--sbp { font-size: 12px; }

/* ---------- Подвал ---------- */
.footer { background: #2b3242; color: #aeb7c8; font-size: 14px; }
.footer__in {
  display: grid; grid-template-columns: 1.25fr .8fr 1.05fr .95fr 1.25fr; gap: 30px;
  padding-top: 48px; padding-bottom: 36px;
}
.footer__col { display: flex; flex-direction: column; gap: 9px; }
.footer__col a { color: #aeb7c8; }
.footer__col a:hover { color: #fff; }
.footer__col p { margin: 0; }
.footer__head { color: #fff; font-weight: 800; margin-bottom: 6px; letter-spacing: .02em; }
.footer__phone { font-weight: 800; font-size: 16px; color: #fff !important; }
.footer__phone:hover { color: var(--accent) !important; }

/* Бейдж рейтинга Яндекса */
.rating-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: #fff; border-radius: 14px; padding: 11px 16px;
  margin-top: 12px; align-self: flex-start; box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.rating-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.rating-badge__pin { color: #fc3f1d; display: flex; }
.rating-badge__pin svg { width: 26px; height: 26px; }
.rating-badge__body { display: flex; flex-direction: column; gap: 1px; }
.rating-badge__row { display: flex; align-items: center; gap: 7px; }
.rating-badge__row b { color: var(--ink); font-size: 17px; font-weight: 800; }
.rating-badge__caption { font-size: 11.5px; color: var(--ink-mute); }
.footer__reviews-link { font-size: 13px; color: #8f9ab0; }
.footer__reviews-link:hover { color: #fff; }
.footer__legal {
  border-top: 1px solid #3d4759; padding-top: 16px; padding-bottom: 4px;
  font-size: 12.5px; color: #7f8899;
}
.footer__legal p { margin: 0 0 4px; }
.footer__legal a { color: #7f8899; text-decoration: underline; text-underline-offset: 2px; }
.footer__legal a:hover { color: #fff; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 10px; padding-bottom: 20px;
  font-size: 13px; color: #7f8899;
}

/* ---------- Модалка ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(30, 36, 49, .6); backdrop-filter: blur(3px); }
.modal__box {
  position: relative; background: #fff; border-radius: var(--r-lg);
  padding: 30px; width: min(430px, calc(100vw - 32px)); box-shadow: var(--shadow-md);
}
.modal__close {
  position: absolute; top: 12px; right: 16px; border: 0; background: none;
  font-size: 26px; color: var(--ink-mute); cursor: pointer; line-height: 1;
}
.modal__title { margin: 0 0 4px; }
.modal__sub { margin: 0 0 20px; font-size: 14px; color: var(--ink-soft); }
.modal label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 13px; color: var(--ink-soft); }
.modal input, .modal textarea {
  display: block; width: 100%; margin-top: 6px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 11px 13px;
  font: 15px var(--font); color: var(--ink); transition: border-color .15s;
}
.modal input:focus, .modal textarea:focus { outline: none; border-color: var(--accent); }
.modal__policy { font-size: 12px; color: var(--ink-mute); margin: 12px 0 0; }
.modal__ok { color: var(--ok); font-weight: 700; }

/* ---------- Сертификаты ---------- */
.section-sub { margin: -12px 0 24px; color: var(--ink-soft); font-size: 15px; max-width: 640px; }
.certs-block { padding-bottom: 58px; margin-top: 46px; }
.certs-grid { display: grid; grid-template-columns: minmax(0, .38fr) minmax(0, .62fr); gap: 48px; align-items: start; }
.certs-intro h2 { margin-bottom: 14px; }
.certs-intro p { color: var(--ink-soft); font-size: 15.5px; margin: 0 0 18px; }
.certs-intro__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.certs-intro__list li { font-size: 14.5px; color: var(--ink-soft); padding-left: 28px; position: relative; }
.certs-intro__list li::before {
  content: '✓'; position: absolute; left: 0; top: 1px;
  width: 19px; height: 19px; border-radius: 6px;
  background: var(--accent-soft); color: var(--accent-deep); font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cert {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 14px; transition: all .2s ease;
}
.cert:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--accent-line); }
.cert__img {
  display: block; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line); margin-bottom: 12px; background: #fff;
}
.cert__img img { display: block; width: 100%; height: 140px; object-fit: cover; object-position: top; transition: transform .3s ease; }
.cert:hover .cert__img img { transform: scale(1.04); }
.cert__name { font-weight: 800; font-size: 14px; color: var(--ink); }
.cert__type { font-size: 12.5px; color: var(--ink-mute); }
.cert--more { justify-content: center; align-items: flex-start; gap: 4px; background: var(--accent-soft); border-color: var(--accent-line); }
.cert__more-num { font-size: 30px; font-weight: 800; color: var(--accent-deep); letter-spacing: -.02em; }
.cert--more .btn { margin-top: 10px; }

/* ---------- Отзывы ---------- */
.section-head--reviews { align-items: center; }
.rating-pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 18px; box-shadow: var(--shadow-sm); white-space: nowrap;
}
.rating-pill b { color: var(--ink); font-size: 18px; font-weight: 800; }
.rating-pill__label { font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }
.rating-pill:hover { border-color: var(--accent-line); box-shadow: var(--shadow-md); }
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px 26px;
}
.review__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.review__name { font-weight: 800; font-size: 15.5px; }
.review p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }
.reviews__all { display: inline-block; margin-top: 22px; font-weight: 800; font-size: 15px; }

/* ---------- Статьи ---------- */
.page-intro { max-width: 720px; color: var(--ink-soft); font-size: 16px; margin: -6px 0 30px; }

/* ---------- Текстовые страницы: контент + сайдбар ---------- */
.page-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px;
  gap: 52px; align-items: start; margin-bottom: 46px;
}
.page-main { min-width: 0; }
.page-main .article-body { max-width: none; }
.page-main .article-cover { max-width: none; }
.page-main .grid--prods { grid-template-columns: repeat(2, 1fr); }
.page-main .pay-grid { grid-template-columns: repeat(2, 1fr); }
.page-main .faq { max-width: none; padding-bottom: 0; }
.page-main .certs-grid { grid-template-columns: 1fr; gap: 26px; }
.page-main .seo-text { max-width: none; padding-bottom: 20px; }

/* ---------- Карточка товара: доставка и оплата ---------- */
.product-dp { margin: 6px 0 40px; }
.product-dp__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-dp__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px 24px;
}
.product-dp__card:hover { box-shadow: var(--shadow-sm); }
.product-dp__icon {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 14px;
  background: var(--accent-soft); color: var(--accent-dark);
}
.product-dp__icon svg { width: 22px; height: 22px; }
.product-dp__logos { display: flex; align-items: center; gap: 10px; height: 42px; margin-bottom: 14px; }
.product-dp__card h3 { font-size: 16px; margin-bottom: 6px; }
.product-dp__card p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }
.tk-badges--sm { margin: 12px 0 0; gap: 6px; }
.tk-badges--sm .tk-badge { font-size: 11.5px; padding: 4px 9px; gap: 5px; }
.tk-badges--sm .tk-badge::before { width: 7px; height: 7px; }
.page-side { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 18px; }
.side-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px 24px;
}
.side-card--contact { background: var(--accent-soft); border-color: var(--accent-line); }
.side-card__title { font-weight: 800; font-size: 16px; margin-bottom: 10px; color: var(--ink); }
.side-card__text { font-size: 14px; color: var(--ink-soft); margin: 0 0 12px; line-height: 1.55; }
.side-card__phone { display: block; font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -.01em; }
.side-card__phone:hover { color: var(--accent-dark); }
.side-card__meta { display: block; font-size: 12.5px; color: var(--ink-mute); margin: 3px 0 12px; }
.side-card__msgrs { display: flex; gap: 8px; margin-bottom: 14px; }
.side-card__links { list-style: none; margin: 0; padding: 0; }
.side-card__links li { border-bottom: 1px solid var(--line); }
.side-card__links li:last-child { border-bottom: 0; }
.side-card__links a { display: block; padding: 9px 0; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.side-card__links a:hover { color: var(--accent-dark); }
.side-card__link { font-size: 14px; font-weight: 700; }
@media (max-width: 1000px) {
  .page-layout { grid-template-columns: 1fr; gap: 28px; }
  .page-side { position: static; }
}
.artgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.artcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: all .2s;
  overflow: hidden;
}
.artcard--img { padding: 0; }
.artcard__img { display: block; aspect-ratio: 16/7; overflow: hidden; }
.artcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.artcard:hover .artcard__img img { transform: scale(1.04); }
.artcard__body { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.artcard--img .artcard__body { padding: 20px 24px 22px; }
.artcard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--accent-line); }
.artcard__title { font-weight: 800; font-size: 17.5px; color: var(--ink); line-height: 1.35; }
.artcard:hover .artcard__title { color: var(--accent-dark); }
.artcard__desc { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.artcard__more { font-size: 13.5px; font-weight: 700; color: var(--accent-dark); margin-top: auto; }
@media (max-width: 860px) { .artgrid { grid-template-columns: 1fr; } }

/* ---------- Заглушки ---------- */
.empty-note {
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  border-radius: var(--r-lg); padding: 26px 28px; margin: 8px 0 30px; max-width: 720px;
}
.empty-note p { margin: 0 0 14px; color: var(--ink-soft); }

/* ---------- Тосты ---------- */
.toasts {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  display: flex; flex-direction: column; gap: 10px; max-width: 340px;
}
.toast {
  background: var(--ink); color: #fff; border-radius: var(--r-md);
  padding: 13px 18px; font-size: 13.5px; line-height: 1.45;
  box-shadow: 0 10px 30px rgba(15, 27, 45, .25);
  animation: toast-in .25s ease;
}
.toast a { color: var(--accent-bright, #7fd1ff); font-weight: 700; text-decoration: none; }
.toast.is-out { opacity: 0; transform: translateY(6px); transition: .4s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Корзина ---------- */
.cart { display: grid; grid-template-columns: 1fr 360px; gap: 34px; align-items: start; margin-bottom: 40px; }
.cart[hidden] { display: none; }
.cart-item {
  display: grid; grid-template-columns: 76px 1fr auto auto 32px;
  gap: 16px; align-items: center; padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item__img {
  width: 76px; height: 76px; border-radius: var(--r-sm); overflow: hidden;
  background: var(--bg-soft); display: flex; align-items: center; justify-content: center;
}
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-weight: 700; color: var(--ink); text-decoration: none; }
.cart-item__name:hover { color: var(--accent-dark); }
.cart-item__meta { font-size: 12.5px; color: var(--ink-mute); margin-top: 4px; }
.cart-item__qty { display: flex; align-items: center; gap: 8px; }
.cart-item__unit { font-size: 12.5px; color: var(--ink-mute); }
.cart-item__sum { font-size: 16px; font-weight: 800; white-space: nowrap; }
.cart-item__remove {
  width: 30px; height: 30px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--bg-soft); color: var(--ink-mute); font-size: 17px; line-height: 1;
}
.cart-item__remove:hover { background: #fde8e8; color: #c0392b; }
.cart__totalbar {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 18px 0 6px; font-size: 16px;
}
.cart__totalbar b { font-size: 24px; letter-spacing: -.01em; }
.cart__note { font-size: 12.5px; color: var(--ink-mute); margin: 0; }
.cart__form {
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  border-radius: var(--r-lg); padding: 24px; position: sticky; top: 90px;
  display: flex; flex-direction: column; gap: 12px;
}
.cart__form-title { font-size: 18px; font-weight: 800; }
.seg {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: #fff; border: 1.5px solid var(--accent-line);
  border-radius: var(--r-sm); padding: 4px;
}
.seg__btn {
  border: 0; background: none; border-radius: calc(var(--r-sm) - 3px);
  padding: 9px 10px; font: 700 13px var(--font); color: var(--ink-mute);
  cursor: pointer; transition: all .15s ease;
}
.seg__btn.is-active { background: var(--accent); color: #fff; }
.js-company-fields { display: flex; flex-direction: column; gap: 12px; }
.js-company-fields[hidden] { display: none; }
.cart__paynote { margin: 0; font-size: 12.5px; color: var(--ink-soft); }
.cart__form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.cart__form input, .cart__form textarea {
  border: 1.5px solid var(--accent-line); border-radius: var(--r-sm);
  padding: 10px 12px; font: 400 14px var(--font); background: #fff;
}
.cart__form input:focus, .cart__form textarea:focus { outline: none; border-color: var(--accent); }
.cart-empty, .cart-done {
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  border-radius: var(--r-lg); padding: 34px; max-width: 620px; margin-bottom: 40px;
}
.cart-empty p, .cart-done p { margin: 0 0 16px; color: var(--ink-soft); }
.cart-empty__title { font-size: 20px; font-weight: 800; color: var(--ink) !important; }
.cart-empty__icon {
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 16px; margin-bottom: 16px;
  background: #fff; color: var(--accent-deep);
  box-shadow: 0 2px 8px rgba(20, 45, 80, .08);
}
.cart-empty__icon svg { width: 30px; height: 30px; }

/* ---------- Крупный опт ---------- */
.topbar__bulk { color: #7fe0a8; font-weight: 700; }
.bulk-badge {
  display: inline-block; background: var(--ok); color: #fff;
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  border-radius: 999px; padding: 3px 10px; vertical-align: 3px;
}
.product__old, .prodcard__old { color: var(--ink-mute); font-weight: 600; font-size: .72em; margin-right: 2px; }
.product__bulkhint {
  font-size: 13px; color: var(--ink-soft); margin: -8px 0 12px;
  background: #f0faf4; border: 1px solid #cdeeda; border-radius: var(--r-sm);
  padding: 8px 12px; display: inline-block;
}
.price-table__price--muted { color: var(--ink-mute); font-weight: 400; }
.bulk-banner {
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  border-radius: var(--r-md); padding: 14px 18px; margin-bottom: 20px;
  font-size: 14px; color: var(--ink-soft);
}
.bulk-banner--on { background: #f0faf4; border-color: #cdeeda; color: #1e7c46; }

/* ---------- Личный кабинет ---------- */
.lk-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.lk-logout { font-size: 13.5px; color: var(--ink-mute); font-weight: 600; white-space: nowrap; }
.lk-logout:hover { color: var(--accent-dark); }
.lk-profile { display: flex; gap: 18px; flex-wrap: wrap; align-items: stretch; margin-bottom: 34px; }
.lk-profile__who {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 18px 22px; display: flex; align-items: center; gap: 16px;
  font-size: 14px; min-width: 260px;
}
.lk-avatar {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 800;
}
.lk-profile__meta { display: flex; flex-direction: column; gap: 2px; }
.lk-profile__meta b { font-size: 15.5px; }
.lk-profile__meta span { color: var(--ink-mute); }
.lk-status {
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  border-radius: var(--r-md); padding: 18px 22px; max-width: 560px;
  display: flex; align-items: center; gap: 16px; font-size: 13.5px; color: var(--ink-soft);
}
.lk-status > span:last-child { display: flex; flex-direction: column; gap: 3px; }
.lk-status__icon {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px;
  background: #fff; color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 5px rgba(20, 45, 80, .08);
}
.lk-status__icon svg { width: 21px; height: 21px; }
.lk-status--bulk { background: #f0faf4; border-color: #cdeeda; }
.lk-status--bulk b { color: #1e7c46; }
.lk-status--bulk .lk-status__icon { color: #1e7c46; }
.lk-status--inline { color: #1e7c46; }
.lk-orders-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.lk-orders-stats { color: var(--ink-mute); font-size: 13.5px; }
.lk-order {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px 20px; margin-bottom: 14px; transition: border-color .15s;
}
.lk-order:hover { border-color: var(--accent-line); }
.lk-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin: 26px 0 44px; }
.lk-foot__hint { color: var(--ink-mute); font-size: 13.5px; }
.lk-foot__hint a { font-weight: 600; }
.lk-order__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.lk-order__date { color: var(--ink-mute); font-size: 13px; }
.lk-order__status {
  font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px;
  background: var(--bg-soft); color: var(--ink-soft);
}
.lk-order__status--done { background: #f0faf4; color: #1e7c46; }
.lk-order__status--cancelled { background: #fde8e8; color: #c0392b; }
.lk-order__total { margin-left: auto; font-weight: 800; font-size: 16px; }
.lk-order__items { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.lk-order__items td { padding: 8px 8px 8px 0; border-top: 1px solid var(--line); }
.lk-order__items a { font-weight: 600; }
.lk-order__qty { color: var(--ink-mute); white-space: nowrap; }
.lk-order__sum { text-align: right; white-space: nowrap; font-weight: 700; }
.lk-login-wrap { max-width: 440px; margin: 20px auto 50px; text-align: center; }
.lk-login {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 28px 26px; display: flex; flex-direction: column;
  gap: 12px; text-align: left; box-shadow: 0 8px 30px rgba(20, 45, 80, .06);
}
.lk-login__icon {
  align-self: center; width: 54px; height: 54px; border-radius: 16px;
  background: var(--accent-soft); color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center;
}
.lk-login__icon svg { width: 28px; height: 28px; }
.lk-login__title { font-size: 22px; margin: 2px 0 0; text-align: center; }
.lk-login__alt { margin-top: 16px; font-size: 13.5px; color: var(--ink-mute); }
.lk-login__alt a { font-weight: 600; }
.lk-login label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.lk-login input {
  border: 1.5px solid var(--accent-line); border-radius: var(--r-sm);
  padding: 10px 12px; font: 400 14px var(--font); background: #fff;
}
.lk-login input:focus { outline: none; border-color: var(--accent); }
.lk-login__hint { margin: 0; font-size: 12.5px; color: var(--ink-mute); }
.lk-login__error { margin: 0; font-size: 13px; color: #c0392b; font-weight: 600; }
.header__cart-badge--ok { background: var(--ok); }

/* ---------- Панель «Задать вопрос» ---------- */
.ask-panel {
  display: flex; align-items: center; gap: 26px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  border-radius: var(--r-lg); padding: 28px 32px; margin: 44px 0 40px;
}
.ask-panel__icon {
  flex: 0 0 auto; width: 58px; height: 58px; border-radius: 16px;
  background: #fff; color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(20, 45, 80, .08);
}
.ask-panel__icon svg { width: 30px; height: 30px; }
.ask-panel__body { flex: 1; min-width: 0; }
.ask-panel__body h2 { font-size: 20px; margin: 0 0 6px; }
.ask-panel__body p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }
.ask-panel__body a { font-weight: 600; }
.ask-panel__actions { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ask-panel__actions .btn { white-space: nowrap; }
.ask-panel__phone { font-weight: 800; color: var(--ink); font-size: 15.5px; white-space: nowrap; }
@media (max-width: 860px) {
  .ask-panel { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px; }
  .ask-panel__actions { flex-direction: row; align-items: center; gap: 16px; }
}

/* ---------- Страница 404 ---------- */
.nf { max-width: 640px; margin: 0 auto; text-align: center; padding: 46px 0 70px; }
.nf__art { display: flex; align-items: center; justify-content: center; gap: 6px; }
.nf__digit { font-size: 120px; font-weight: 800; line-height: 1; color: var(--brand); letter-spacing: -.04em; }
.nf__ring { width: 108px; height: 108px; margin: 0 8px; animation: nfSpin 14s linear infinite; }
@keyframes nfSpin { to { transform: rotate(360deg); } }
.nf__title { font-size: 27px; margin: 26px 0 12px; }
.nf__text { color: var(--ink-soft); font-size: 16.5px; line-height: 1.65; margin: 0 0 26px; }
.nf__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.nf__cats { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; font-size: 14.5px; }
.nf__cats-label { color: var(--ink-mute); }
.nf__cats a { font-weight: 600; }
@media (max-width: 660px) {
  .nf { padding: 24px 0 46px; }
  .nf__digit { font-size: 84px; }
  .nf__ring { width: 76px; height: 76px; }
  .nf__title { font-size: 22px; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1280px) {
  .header .msgrs { display: none; }
  .topbar__usp { white-space: normal; }
}
@media (max-width: 1080px) {
  .grid--cats, .grid--prods, .benefits { grid-template-columns: repeat(3, 1fr); }
  .certs-grid { grid-template-columns: 1fr; gap: 30px; }
  .grid--sub { grid-template-columns: repeat(2, 1fr); }
  .hero__in { grid-template-columns: 1fr; }
  .hero__media { position: relative; width: auto; min-height: 300px; order: -1; margin: 0 -24px; }
  .hero__media::before { background: linear-gradient(0deg, var(--bg-soft), rgba(244, 246, 249, 0) 40%); }
  .hero__content { padding: 34px 0 54px; }
  .header__nav { display: none; }
  .footer__in { grid-template-columns: 1fr 1fr 1fr; }
  .cart { grid-template-columns: 1fr; }
  .cart__form { position: static; }
  .contacts-grid { grid-template-columns: 1fr; }
  .contacts-map__grid { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: repeat(2, 1fr); }
  .product-dp__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1080px) and (min-width: 661px) {
  .cta__in { grid-template-columns: 1fr; gap: 34px; }
  .cta__form { justify-self: start; }
  .about { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 660px) {
  h1 { font-size: 27px; }
  .hero h1 { font-size: 31px; }
  .hero__stats { gap: 24px; flex-wrap: wrap; }
  .grid--cats, .grid--prods, .benefits { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid--sub { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; gap: 24px; }
  .topbar__info { display: none; }
  .topbar__usp { white-space: normal; }
  .topbar__ship-full { display: none; }
  .topbar__ship-short { display: inline; }
  .header__contacts .btn { display: none; }
  .header__in { gap: 12px; padding-top: 12px; padding-bottom: 10px; }
  .logo__word { font-size: 21px; }
  .logo__ring { width: 21px; height: 21px; }
  .logo__tag { display: none; }
  .header__contacts { gap: 10px; padding-left: 0; border-left: 0; }
  .header__phone { font-size: 14px; }
  .header__cart { width: 38px; height: 38px; border-radius: 10px; }
  .header__cart svg { width: 20px; height: 20px; }
  .calc { padding: 14px; }
  .calc__row .btn { width: 100%; }
  .listing-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .product-dp__grid { grid-template-columns: 1fr; gap: 12px; }
  .cta__in { grid-template-columns: 1fr; gap: 30px; }
  .cta__form { justify-self: stretch; max-width: none; padding: 22px; }
  .findus { height: auto; }
  .findus__map { position: relative; height: 300px; }
  .findus__wrap { height: auto; }
  .findus__card { position: static; transform: none; width: auto; margin: -40px 0 20px; }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .about__photo--small { right: 0; }
  .certs { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .section-head--reviews { flex-wrap: wrap; }
  .pay-grid { grid-template-columns: 1fr; }
  .footer__in { grid-template-columns: 1fr; }
  .prodcard__bottom { flex-direction: column; align-items: stretch; }
  .cart-item { grid-template-columns: 60px 1fr 32px; row-gap: 10px; }
  .cart-item__img { width: 60px; height: 60px; }
  .cart-item__qty { grid-column: 2; }
  .cart-item__sum { grid-column: 2; }
}
@media (max-width: 380px) {
  .logo__word { font-size: 19px; }
  .header__phone { font-size: 12.5px; }
  .header__cart[href^="/lk"] { display: none; }
  .header__in { gap: 8px; }
  .benefits { grid-template-columns: 1fr; }
  .grid--cats, .grid--prods { grid-template-columns: 1fr; }
  .certs { grid-template-columns: 1fr; }
  .rating-pill { white-space: normal; }
}

/* --- Отзывы о товаре ---------------------------------------------------- */
.prod-reviews { margin: 44px 0; }
.prod-reviews__avg {
  font-weight: 700; color: var(--ink-soft); font-size: 15px;
  display: inline-flex; align-items: center; gap: 6px;
}
.prod-reviews__stars { color: #f5a623; font-size: 18px; }
.prod-reviews__empty { color: var(--ink-mute); margin: 6px 0 22px; }
.prod-reviews__list { display: grid; gap: 14px; margin-bottom: 26px; }
.review-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px 20px;
}
.review-card__head {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 8px;
}
.review-card__head time { color: var(--ink-mute); font-size: 13px; }
.review-card__stars span { color: var(--line); font-size: 15px; }
.review-card__stars span.is-on { color: #f5a623; }
.review-card p { margin: 0; color: var(--ink-soft); line-height: 1.6; }

.review-form {
  background: var(--bg-soft); border-radius: var(--r-lg);
  padding: 22px 24px; max-width: 640px;
}
.review-form h3 { margin: 0 0 14px; }
.review-form__row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.review-form input[type="text"], .review-form textarea {
  font: inherit; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 11px 14px; background: #fff; width: 100%;
}
.review-form__row input[type="text"] { flex: 1 1 220px; width: auto; }
.review-form input:focus, .review-form textarea:focus {
  outline: none; border-color: var(--accent);
}
.review-form textarea { resize: vertical; margin-bottom: 12px; display: block; }
.review-form__rating { display: inline-flex; flex-direction: row-reverse; }
.review-form__rating input { position: absolute; opacity: 0; pointer-events: none; }
.review-form__rating label { font-size: 26px; color: var(--line); cursor: pointer; padding: 0 2px; transition: color .12s; }
.review-form__rating input:checked ~ label,
.review-form__rating label:hover,
.review-form__rating label:hover ~ label { color: #f5a623; }
.review-form__foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.review-form__note { color: var(--ink-mute); font-size: 13px; }
.review-form__sent { margin: 0; color: var(--ok); font-weight: 600; }

@media (max-width: 660px) {
  .review-form { padding: 18px 16px; }
  .review-card__head { gap: 8px; }
}
