﻿/* ==========================================================================
   ОптХимТорг — дизайн-система
   Палитра и композиция по референсу full-view: тёмно-синий + циан,
   светлые секции с карточками, тёмная полоса каталога.
   Блоки: tokens → base → buttons → header → hero → features → sections
   → categories → promo → catalog/filters/products → about → blog → faq
   → cta → page-head → product → article → footer → overlays → responsive
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --navy-950: #020c15;
  --navy-900: #041322;
  --navy-850: #061a2b;
  --navy-800: #082134;
  --navy-700: #0b2c45;
  --navy-line: rgba(126, 190, 232, 0.15);

  --cyan: #2aa7ea;
  --cyan-600: #0b6f9e;
  --cyan-400: #45c0ff;
  --cyan-300: #86d9ff;
  --cyan-050: #e9f6fd;

  --ink: #0b1b2a;
  --ink-soft: #3b5063;
  --muted: #5a7085;
  --line: #e2ebf3;
  --line-strong: #cfdeea;
  --bg: #f4f7fb;
  --white: #fff;

  --green: #22b573;
  --amber: #f0a12e;
  --violet: #8a7cf5;
  --red: #d9534f;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;

  --shadow-sm: 0 2px 10px rgba(9, 30, 48, 0.05);
  --shadow-md: 0 18px 44px -24px rgba(7, 26, 43, 0.45);
  --shadow-lg: 0 34px 90px -40px rgba(4, 20, 35, 0.6);

  --container: 1200px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--cyan-400); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(42, 167, 234, 0.28); }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 300;
  padding: 12px 18px; border-radius: 10px;
  background: var(--cyan); color: #04131f; font-weight: 800;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- typography helpers ---------- */
h1, .h1 { font-size: clamp(38px, 4.6vw, 62px); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; }
h2, .h2 { font-size: clamp(27px, 2.8vw, 38px); line-height: 1.12; font-weight: 800; letter-spacing: -0.025em; }
h3, .h3 { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.25; font-weight: 800; letter-spacing: -0.015em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--cyan-600);
}
.eyebrow::before {
  content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; opacity: 0.7;
}
.eyebrow--on-dark { color: var(--cyan-400); }

.lead { font-size: 17px; line-height: 1.65; color: var(--ink-soft); }
.muted { color: var(--muted); }
.accent { color: var(--cyan); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border-radius: 10px;
  font-size: 15px; font-weight: 700; letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s, color 0.25s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(180deg, #0e7ba8 0%, #0b6b94 100%);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(11, 107, 148, 0.55);
}
.btn--primary:hover { background: linear-gradient(180deg, #0c7099 0%, #0a5f86 100%); box-shadow: 0 18px 36px -14px rgba(11, 107, 148, 0.7); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); }

.btn--outline {
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.btn--outline:hover { border-color: var(--cyan-600); color: var(--cyan-600); }

.btn--dark-ghost {
  border: 1px solid rgba(126, 190, 232, 0.24);
  color: #cfe6f6;
  background: rgba(255, 255, 255, 0.02);
}
.btn--dark-ghost:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }

.btn--sm { height: 44px; padding: 0 18px; font-size: 13.5px; border-radius: 9px; }
.btn--lg { height: 58px; padding: 0 32px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--filter { height: 44px; font-size: 13.5px; background: #0b6b94; color: #fff; box-shadow: none; }
.btn--filter:hover { background: #0e7ba8; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 700; color: #0b6f9e;
  transition: gap 0.25s var(--ease), color 0.2s;
}
.link-arrow svg { width: 17px; height: 17px; }
.link-arrow:hover { gap: 13px; color: #0b5f86; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(4, 17, 29, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  background: rgba(3, 13, 22, 0.96);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.8);
}
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; color: #fff; flex: none; }
.brand__mark { width: 42px; height: 42px; flex: none; filter: drop-shadow(0 4px 14px rgba(42, 167, 234, 0.45)); }
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { display: block; }
.brand__name { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.brand__tag {
  display: block; margin-top: 5px;
  font-size: 8.5px; font-weight: 600; letter-spacing: 0.17em;
  text-transform: uppercase; color: rgba(213, 235, 250, 0.6);
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 2px; margin-left: 10px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 13px; border-radius: 8px;
  font-size: 14.5px; font-weight: 600; color: rgba(232, 244, 253, 0.8);
  transition: color 0.2s, background 0.2s;
}
.nav__link svg { width: 14px; height: 14px; opacity: 0.6; }
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav__link.is-active { color: #fff; }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--cyan-400);
}

/* mega menu */
.mega {
  position: absolute; top: calc(100% + 2px); left: -14px;
  width: 640px; padding: 16px;
  background: #061a2a;
  border: 1px solid var(--navy-line);
  border-radius: 16px;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.nav__item:hover .mega, .nav__item:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px; border-radius: 9px;
  font-size: 13.5px; font-weight: 600; color: rgba(226, 240, 252, 0.82);
}
.mega__link:hover { background: rgba(42, 167, 234, 0.12); color: #fff; }
.mega__link svg { width: 18px; height: 18px; color: var(--cyan-400); opacity: 0.85; flex: none; }
.mega__all {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between;
  margin-top: 4px; padding: 12px 12px 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 13px; font-weight: 700; color: var(--cyan-400);
}

.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }

.phone-box { text-align: right; margin-right: 8px; }
.phone-box__num {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 15px; font-weight: 800; color: #fff; letter-spacing: -0.01em;
}
.phone-box__num svg { width: 15px; height: 15px; color: var(--cyan-400); }
.phone-box__num .chev { width: 13px; height: 13px; opacity: 0.55; }
.phone-box__note { display: block; font-size: 10.5px; color: rgba(211, 233, 248, 0.6); margin-top: 2px; }

.phone-menu {
  position: absolute; top: calc(100% + 8px); right: 0; width: 280px;
  background: #061a2a; border: 1px solid var(--navy-line); border-radius: 14px;
  padding: 10px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: 0.2s var(--ease);
}
.phone-box { position: relative; }
.phone-menu a { display: block; padding: 9px 10px; border-radius: 8px; font-size: 13px; color: rgba(226, 240, 252, 0.85); }
.phone-menu a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.phone-menu small { display: block; font-size: 11px; color: rgba(211, 233, 248, 0.6); }
.phone-menu.is-open { opacity: 1; visibility: visible; transform: none; }

.icon-btn {
  width: 42px; height: 42px; border-radius: 10px;
  display: grid; place-items: center;
  color: rgba(232, 244, 253, 0.85);
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.cart-count {
  position: absolute; top: 4px; right: 3px;
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: #0b6b94; color: #fff;
  font-size: 10px; font-weight: 800; line-height: 17px; text-align: center;
  box-shadow: 0 0 0 2px rgba(4, 17, 29, 0.9);
}
.header-cta { margin-left: 6px; height: 42px; padding: 0 15px; font-size: 13.5px; border-radius: 9px; white-space: nowrap; }

.burger { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: #04131f;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0 0 0 auto; width: 66%; z-index: -2;
  background: url("/assets/img/hero/hero-lab.jpg") center right / cover no-repeat;
  opacity: 0.92;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #04131f 0%, rgba(4, 19, 31, 0.75) 22%, rgba(4, 19, 31, 0.15) 55%, rgba(4, 19, 31, 0.45) 100%),
    linear-gradient(180deg, rgba(4, 19, 31, 0.4) 0%, transparent 30%, rgba(4, 19, 31, 0.85) 100%);
}
.hero__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(680px 380px at 78% 30%, rgba(42, 167, 234, 0.28), transparent 70%),
    radial-gradient(500px 340px at 8% 12%, rgba(42, 167, 234, 0.1), transparent 70%);
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center; gap: 24px;
  padding: 76px 0 66px;
  min-height: 540px;
}
.hero__content { max-width: 660px; }
.hero__chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 10px; margin-bottom: 26px;
  border-radius: 999px; border: 1px solid rgba(126, 190, 232, 0.22);
  background: rgba(42, 167, 234, 0.08);
  font-size: 12px; font-weight: 600; color: rgba(214, 236, 251, 0.8);
}
.hero__chip i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-400);
  box-shadow: 0 0 0 4px rgba(69, 192, 255, 0.16);
}
.hero__title { max-width: 640px; }
.hero__accent { display: block; color: var(--cyan-400); }
.hero__sub {
  max-width: 520px; margin-top: 22px;
  font-size: 17px; line-height: 1.6; color: rgba(224, 240, 252, 0.72);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  margin-top: 30px; font-size: 12.5px; color: rgba(214, 236, 251, 0.55);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta svg { width: 15px; height: 15px; color: var(--cyan-400); }

.hero__visual { position: relative; align-self: stretch; }
.hero__visual-card {
  position: absolute; right: 0; bottom: 18px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(6, 26, 42, 0.62);
  border: 1px solid rgba(126, 190, 232, 0.2);
  backdrop-filter: blur(12px);
  font-size: 12px;

  color: rgba(226, 240, 252, 0.72);
}
.hero__visual-card b { display: block; font-size: 13px; color: #fff; font-weight: 700; }

/* features strip */
.hero__features {
  position: relative;
  background: rgba(3, 14, 24, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}
.features { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 22px 26px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}
.feature:first-child { border-left: 0; padding-left: 0; }
.feature__icon {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(126, 190, 232, 0.26);
  background: rgba(42, 167, 234, 0.08);
  color: var(--cyan-400);
}
.feature__icon svg { width: 21px; height: 21px; }
.feature__title { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.3; }
.feature__text { font-size: 12.5px; color: rgba(214, 236, 251, 0.58); margin-top: 3px; line-height: 1.4; }

/* ---------- sections ---------- */
.section { padding: 74px 0; }
.section--tight { padding: 52px 0; }
.section--light { background: var(--bg); }
.section--white { background: #fff; }
.section--dark { background: var(--navy-900); color: #fff; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 28px;
}
.section-head__title { color: var(--ink); }
.section-head__sub { margin-top: 9px; max-width: 560px; font-size: 15px; color: var(--muted); }
.section-head--dark .section-head__title { color: #fff; }
.section-head--dark .section-head__sub { color: rgba(214, 236, 251, 0.55); }

.section-foot { display: flex; justify-content: center; margin-top: 32px; }

/* ---------- categories ---------- */
.cats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 11px 11px 15px;
  background: #fff;
  border: 1px solid #e6eef6;
  border-radius: var(--radius);
  color: inherit;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.cat-card:hover {
  transform: translateY(-4px);
  border-color: #cde5f5;
  box-shadow: 0 26px 50px -30px rgba(9, 45, 74, 0.45);
}
.cat-card__media {
  position: relative;
  height: 134px; border-radius: 10px; overflow: hidden;
  background: radial-gradient(120% 120% at 50% 0%, #f2f9fe 0%, #e4f0fa 100%);
  display: grid; place-items: center;
}
.cat-card__media img { width: 82%; height: 100%; object-fit: contain; transition: transform 0.4s var(--ease); }
.cat-card:hover .cat-card__media img { transform: scale(1.05); }
.cat-card__count {
  position: absolute; top: 8px; left: 8px;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: #4c6a82; font-size: 10.5px; font-weight: 700;
  backdrop-filter: blur(4px);
}
.cat-card__title { margin-top: 12px; font-size: 15.5px; font-weight: 800; letter-spacing: -0.01em; }
.cat-card__desc {
  margin-top: 3px; padding-right: 34px;
  font-size: 12.4px; line-height: 1.35; color: var(--muted);
}
.cat-card__plus {
  position: absolute; right: 13px; bottom: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid #d8e7f2;
  color: #1396d8;
  display: grid; place-items: center;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.cat-card__plus svg { width: 15px; height: 15px; }
.cat-card:hover .cat-card__plus { background: #0b6b94; border-color: #0b6b94; color: #fff; transform: rotate(90deg); }

/* ---------- promo banner (пищевая промышленность) ---------- */
.promo {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl);
  background: #05192a;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.promo__bg {
  position: absolute; inset: 0;
  background: url("/assets/img/food-line.jpg") right center / cover no-repeat;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(90deg, transparent 22%, #000 72%);
  mask-image: linear-gradient(90deg, transparent 22%, #000 72%);
}
.promo::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #06192a 0%, rgba(6, 25, 42, 0.92) 34%, rgba(6, 25, 42, 0.35) 72%, rgba(6, 25, 42, 0.75) 100%),
    radial-gradient(600px 300px at 85% 20%, rgba(42, 167, 234, 0.25), transparent 70%);
}
.promo__inner {
  position: relative;
  display: grid; grid-template-columns: 340px minmax(0, 1fr);
  gap: 28px; align-items: center;
  padding: 34px 34px 32px;
}
.promo__title { font-size: 25px; line-height: 1.18; font-weight: 800; letter-spacing: -0.02em; }
.promo__sub { margin-top: 7px; font-size: 13px; font-weight: 600; color: var(--cyan-300); }
.promo__text { margin-top: 10px; max-width: 330px; font-size: 13.5px; line-height: 1.55; color: rgba(222, 239, 252, 0.62); }
.promo__btn { margin-top: 20px; height: 44px; padding: 0 20px; font-size: 13.5px; }
.promo__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }

.mini-card {
  display: flex; flex-direction: column; gap: 4px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(7, 28, 46, 0.82);
  border: 1px solid rgba(126, 190, 232, 0.17);
  backdrop-filter: blur(8px);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.mini-card:hover { border-color: rgba(69, 192, 255, 0.5); background: rgba(9, 36, 58, 0.9); transform: translateY(-2px); }
.mini-card__media { height: 58px; display: grid; place-items: center; }
.mini-card__media img { max-height: 100%; max-width: 92%; }
.mini-card__title { font-size: 11.5px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 29px; }
.mini-card__sub { display: none; }
.mini-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 6px; }
.mini-card__price { font-size: 12px; font-weight: 800; white-space: nowrap; }
.mini-card__price small { font-size: 9.5px; font-weight: 500; color: rgba(214, 236, 251, 0.62); }
.mini-card__add {
  width: 26px; height: 26px; border-radius: 7px;
  background: #0b6b94; color: #fff;
  display: grid; place-items: center;
  transition: background 0.2s;
}
.mini-card__add:hover { background: #0e7ba8; }
.mini-card__add svg { width: 13px; height: 13px; }

/* ---------- catalog band ---------- */
.catalog-band {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  padding: 62px 0 72px;
  overflow: hidden;
}
.catalog-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 340px at 88% 0%, rgba(42, 167, 234, 0.15), transparent 70%),
    radial-gradient(600px 320px at 4% 100%, rgba(42, 167, 234, 0.08), transparent 70%);
}
.catalog-band > .container { position: relative; }

.catalog-layout { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 24px; align-items: start; }

.filters {
  position: sticky; top: calc(var(--header-h) + 16px);
  padding: 18px;
  background: #071d2f;
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
}
.filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.filters__title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; }
.filters__title svg { width: 16px; height: 16px; color: var(--cyan-400); }
.filters__reset { font-size: 11.5px; color: rgba(214, 236, 251, 0.58); text-decoration: underline; text-underline-offset: 3px; }
.filters__reset:hover { color: #fff; }

.filter-group { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.filter-group:first-of-type { border-top: 0; padding-top: 8px; }
.filter-label {
  display: block; margin-bottom: 9px;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(191, 216, 234, 0.6);
}
.filter-list { display: grid; gap: 1px; }
.filter-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 7px 8px; margin: 0 -8px; border-radius: 7px;
  font-size: 13.5px; color: rgba(226, 240, 252, 0.78);
  transition: background 0.18s, color 0.18s;
}
.filter-list a span { font-size: 11.5px; color: rgba(214, 236, 251, 0.55); }
.filter-list a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.filter-list a.is-active { background: rgba(42, 167, 234, 0.13); color: var(--cyan-400); font-weight: 700; }
.filter-list a.is-active span { color: var(--cyan-400); }

.check { display: flex; align-items: flex-start; gap: 9px; padding: 5px 0; font-size: 13px; color: rgba(226, 240, 252, 0.78); cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none;
  flex: none; width: 17px; height: 17px; margin: 1px 0 0;
  border: 1px solid rgba(126, 190, 232, 0.4); border-radius: 4px;
  background: transparent; position: relative;
  transition: background 0.15s, border-color 0.15s;
}
.check input:checked { background: #0b6b94; border-color: #0b6b94; }
.check input:checked::after {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.check:hover { color: #fff; }
.check input:focus-visible { outline: 2px solid var(--cyan-400); outline-offset: 2px; }

.price-inputs { display: flex; align-items: center; gap: 7px; }
.price-inputs span { color: rgba(214, 236, 251, 0.55); }
.field-dark {
  width: 100%; height: 44px; padding: 0 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(126, 190, 232, 0.22);
  border-radius: 8px; color: #fff; font-size: 13.5px;
  outline: none;
}
.field-dark::placeholder { color: rgba(214, 236, 251, 0.55); }
.field-dark:focus { border-color: var(--cyan); }
.filters__actions { display: grid; gap: 8px; margin-top: 16px; }
.filters__note { margin-top: 12px; font-size: 11px; line-height: 1.4; color: rgba(214, 236, 251, 0.55); }
.filters-toggle { display: none; }

/* catalog toolbar */
.catalog-main { min-width: 0; }
.toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 16px; flex-wrap: wrap;
}
.toolbar__count { font-size: 13px; color: rgba(214, 236, 251, 0.58); }
.toolbar__count b { color: #fff; font-weight: 700; }
.toolbar__right { display: flex; align-items: center; gap: 14px; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: rgba(214, 236, 251, 0.58); }
.sort select {
  appearance: none; -webkit-appearance: none;
  height: 44px; padding: 0 34px 0 12px;
  background: #0a2438; color: #fff;
  border: 1px solid rgba(126, 190, 232, 0.22);
  border-radius: 8px; font-size: 13px; font-weight: 600;
  cursor: pointer; outline: none;
}
.sort select:focus { border-color: var(--cyan); }
.select-wrap { position: relative; }
.select-wrap svg { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); width: 13px; height: 13px; color: rgba(214, 236, 251, 0.5); pointer-events: none; }
.view-toggle { display: flex; gap: 2px; }
.view-toggle button {
  width: 34px; height: 34px; border-radius: 7px;
  display: grid; place-items: center; color: rgba(214, 236, 251, 0.55);
}
.view-toggle button svg { width: 15px; height: 15px; }
.view-toggle button.is-active { background: rgba(255, 255, 255, 0.08); color: #fff; }

.products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }

/* product card (dark) */
.pcard {
  position: relative;
  display: flex; flex-direction: column;
  padding: 11px;
  background: #082033;
  border: 1px solid rgba(126, 190, 232, 0.13);
  border-radius: var(--radius);
  color: #fff;
  transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.pcard:hover {
  transform: translateY(-3px);
  border-color: rgba(69, 192, 255, 0.45);
  background: #0a263d;
  box-shadow: 0 26px 44px -30px rgba(0, 0, 0, 0.9);
}
.pcard__badges { position: absolute; top: 9px; left: 9px; display: flex; flex-wrap: wrap; gap: 4px; z-index: 1; }
.badge {
  padding: 3px 7px; border-radius: 999px;
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  background: var(--cyan); color: #03202f;
}
.badge--new { background: var(--green); color: #04220f; }
.badge--gost { background: rgba(4, 17, 29, 0.55); border: 1px solid rgba(126, 190, 232, 0.4); color: #cfe9fa; backdrop-filter: blur(4px); }
.pcard__media { height: 150px; display: grid; place-items: center; margin-bottom: 8px; position: relative; }
.pcard__media::before {
  content: ""; position: absolute; inset: 18% 12% 0;
  background: radial-gradient(closest-side, rgba(42, 167, 234, 0.16), transparent);
  filter: blur(2px);
}
.pcard__media img { position: relative; max-height: 100%; max-width: 88%; object-fit: contain; transition: transform 0.35s var(--ease); }
.pcard:hover .pcard__media img { transform: translateY(-2px) scale(1.04); }
.pcard__title { font-size: 14px; font-weight: 700; line-height: 1.3; min-height: 36px; }
a.pcard__title:hover { color: var(--cyan-400); }
.pcard__sub { margin-top: 3px; font-size: 11px; line-height: 1.35; color: rgba(191, 216, 234, 0.68); min-height: 30px; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 10px; }
.pcard__price { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.pcard__price small { font-size: 10.5px; font-weight: 500; color: rgba(214, 236, 251, 0.62); margin-left: 1px; }
.pcard__cart {
  flex: none; width: 33px; height: 33px; border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(42, 167, 234, 0.13);
  border: 1px solid rgba(69, 192, 255, 0.26);
  color: var(--cyan-400);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pcard__cart svg { width: 15px; height: 15px; }
.pcard__cart:hover { background: #0b6b94; color: #fff; border-color: #0b6b94; }
.pcard__stock { display: flex; align-items: center; gap: 5px; margin-top: 7px; font-size: 10px; color: rgba(34, 181, 115, 0.9); }
.pcard__stock i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* light product card variant */
.pcard--light { background: #fff; border-color: #e6eef6; color: var(--ink); }
.pcard--light:hover { background: #fff; border-color: #cde5f5; box-shadow: 0 26px 50px -34px rgba(9, 45, 74, 0.4); }
.pcard--light .pcard__title { color: var(--ink); }
.pcard--light .pcard__sub { color: var(--muted); }
.pcard--light .pcard__price { color: var(--ink); }
.pcard--light .pcard__price small { color: var(--muted); }
.pcard--light .pcard__cart { background: var(--cyan-050); border-color: #cfe8f7; color: #0b6b94; }
.pcard--light .pcard__cart:hover { background: #0b6b94; color: #fff; }

.pager { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 28px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 36px; height: 36px; padding: 0 10px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(126, 190, 232, 0.16);
  font-size: 13px; font-weight: 700; color: rgba(226, 240, 252, 0.65);
}
.pager a:hover { border-color: var(--cyan); color: #fff; }
.pager .is-active { background: #0b6b94; border-color: #0b6b94; color: #fff; }
.pager .is-disabled { opacity: 0.35; pointer-events: none; }

.catalog-empty {
  grid-column: 1 / -1; padding: 60px 20px; text-align: center;
  border: 1px dashed rgba(126, 190, 232, 0.25); border-radius: var(--radius);
  color: rgba(214, 236, 251, 0.55);
}
.catalog-empty b { display: block; margin-bottom: 6px; color: #fff; font-size: 17px; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center; }
.about__title { margin-top: 12px; }
.about__text { display: grid; gap: 14px; margin-top: 18px; }
.about__text p { font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.about__points { display: grid; gap: 11px; margin-top: 22px; }
.about__point { display: flex; gap: 11px; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.about__point svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--cyan-600); }
.about__actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.about__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line);
}
.stat__value { font-size: clamp(26px, 2.2vw, 32px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.stat__value span { color: var(--cyan-600); }
.stat__label { margin-top: 6px; font-size: 11.5px; line-height: 1.35; color: var(--muted); }
.about__media { position: relative; }
.about__media::before {
  content: ""; position: absolute; inset: -22px -22px 40px 30px;
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, rgba(42, 167, 234, 0.16), rgba(42, 167, 234, 0.02));
  z-index: 0;
}
.about__img { position: relative; z-index: 1; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 4.35; box-shadow: var(--shadow-md); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__badge {
  position: absolute; z-index: 2; left: -14px; bottom: 28px;
  display: flex; align-items: center; gap: 12px;
  padding: 13px 17px; border-radius: 13px;
  background: #fff; box-shadow: 0 22px 50px -26px rgba(9, 40, 65, 0.5);
  border: 1px solid var(--line);
}
.about__badge-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--cyan-050); color: var(--cyan-600); display: grid; place-items: center; flex: none; }
.about__badge-icon svg { width: 19px; height: 19px; }
.about__badge b { display: block; font-size: 13px; }
.about__badge span { display: block; font-size: 11.5px; color: var(--muted); }

/* ---------- blog teaser ---------- */
.blog-teaser { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 20px; }
.post-featured {
  position: relative; display: flex; align-items: flex-end;
  min-height: 380px; padding: 26px;
  border-radius: var(--radius-lg); overflow: hidden;
  background: #0a2438; color: #fff;
}
.post-featured__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.6s var(--ease); }
.post-featured:hover .post-featured__bg { transform: scale(1.04); }
.post-featured::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3, 15, 25, 0.05) 20%, rgba(3, 15, 25, 0.88) 100%);
}
.post-featured__body { position: relative; z-index: 1; }
.post-featured__cat {
  display: inline-flex; padding: 5px 10px; margin-bottom: 12px;
  border-radius: 999px; background: #0b6b94;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
}
.post-featured__title { font-size: 23px; line-height: 1.22; font-weight: 800; letter-spacing: -0.015em; max-width: 460px; }
.post-featured__meta { display: flex; gap: 14px; margin-top: 12px; font-size: 11.5px; color: rgba(226, 240, 252, 0.6); }

.post-list { display: grid; gap: 12px; }
.post-row {
  display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 13px; align-items: center;
  padding: 10px; background: #fff; border: 1px solid #e6eef6; border-radius: var(--radius);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.post-row:hover { border-color: #cde5f5; box-shadow: 0 18px 36px -30px rgba(9, 45, 74, 0.45); transform: translateY(-2px); }
.post-row__thumb { height: 92px; border-radius: 9px; overflow: hidden; background: #e9f2fa; }
.post-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-row__cat { font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cyan-600); }
.post-row__title { margin-top: 3px; font-size: 14.5px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.post-row:hover .post-row__title { color: var(--cyan-600); }
.post-row__meta { margin-top: 6px; font-size: 11px; color: var(--muted); display: flex; gap: 10px; }

.read-time { display: inline-flex; align-items: center; gap: 5px; }
.read-time svg { width: 13px; height: 13px; }

/* shorts */
.shorts { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.shorts__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.shorts__title { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; }
.shorts__title .yt { width: 30px; height: 22px; border-radius: 6px; background: #ff0033; display: grid; place-items: center; }
.shorts__title .yt svg { width: 13px; height: 13px; color: #fff; }
.shorts__title small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.shorts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.short-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 9 / 12.4; padding: 13px;
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, #0a3b5c, #061827);
  color: #fff;
  isolation: isolate;
}
.short-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 50% 10%, rgba(42, 167, 234, 0.35), transparent 65%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 26px);
  transition: transform 0.5s var(--ease);
}
.short-card:hover::before { transform: scale(1.08); }
.short-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 35%, rgba(2, 12, 20, 0.9) 100%);
}
.short-card--amber { background: linear-gradient(160deg, #5a3a10, #1b1206); }
.short-card--amber::before { background: radial-gradient(120% 90% at 50% 10%, rgba(240, 161, 46, 0.35), transparent 65%), repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 26px); }
.short-card--green { background: linear-gradient(160deg, #0d4638, #061d19); }
.short-card--green::before { background: radial-gradient(120% 90% at 50% 10%, rgba(34, 181, 115, 0.34), transparent 65%), repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 26px); }
.short-card--blue { background: linear-gradient(160deg, #123a66, #07182b); }
.short-card__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.5);
  display: grid; place-items: center; backdrop-filter: blur(4px);
  transition: background 0.25s, transform 0.25s;
}
.short-card__play svg { width: 16px; height: 16px; margin-left: 2px; }
.short-card:hover .short-card__play { background: rgba(255, 255, 255, 0.3); transform: translate(-50%, -50%) scale(1.06); }
.short-card__dur { position: absolute; top: 10px; right: 10px; padding: 2px 6px; border-radius: 5px; background: rgba(0, 0, 0, 0.45); font-size: 10px; font-weight: 700; }
.short-card__title { font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.short-card__views { margin-top: 4px; font-size: 10.5px; color: rgba(255, 255, 255, 0.55); }

/* ---------- faq ---------- */
.faq-layout { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 54px; align-items: start; }
.faq__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.faq__title { margin-top: 12px; }
.faq__lead { margin-top: 14px; font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.faq__cta { margin-top: 22px; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.faq__cta b { display: block; font-size: 14px; }
.faq__cta span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.faq__cta .btn { margin-top: 14px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 18px 0; cursor: pointer; list-style: none;
  font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px;
  border-radius: 50%; border: 1px solid var(--line-strong);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f8fd0' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 13px no-repeat;
  transition: transform 0.25s var(--ease), background-color 0.25s;
}
.faq__item[open] summary::after { transform: rotate(45deg); background-color: var(--cyan-050); }
.faq__item[open] summary { color: var(--cyan-600); }
.faq__answer { padding: 0 44px 20px 0; font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); }

/* ---------- cta band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 44px; align-items: center;
  padding: 44px 46px;
  border-radius: var(--radius-xl);
  background: linear-gradient(115deg, #04182a 0%, #09314f 58%, #0a3a5c 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(520px 300px at 88% 12%, rgba(69, 192, 255, 0.28), transparent 65%),
    radial-gradient(420px 280px at 6% 90%, rgba(42, 167, 234, 0.18), transparent 65%);
}
.cta-band__content { position: relative; }
.cta-band__title { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.14; font-weight: 800; letter-spacing: -0.025em; }
.cta-band__text { margin-top: 12px; max-width: 500px; font-size: 14.5px; line-height: 1.65; color: rgba(222, 239, 252, 0.65); }
.cta-band__contacts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; font-size: 13px; color: rgba(222, 239, 252, 0.7); }
.cta-band__contacts a { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 700; }
.cta-band__contacts svg { width: 15px; height: 15px; color: var(--cyan-400); }

.cta-form { position: relative; padding: 20px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(10px); }
.cta-form__title { font-size: 15px; font-weight: 800; }
.cta-form__sub { margin-top: 3px; font-size: 12px; color: rgba(222, 239, 252, 0.55); }

/* ---------- forms ---------- */
.form { display: grid; gap: 10px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: grid; gap: 5px; }
.field > span { font-size: 11.5px; font-weight: 700; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%; height: 46px; padding: 0 13px;
  border: 1px solid #dbe7f1; border-radius: 9px;
  background: #fff; color: var(--ink); font-size: 14px;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { height: 92px; padding: 11px 13px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #5f7489; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--cyan-600); box-shadow: 0 0 0 3px rgba(42, 167, 234, 0.13); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #e06b66; }
.field__error { font-size: 11px; color: #b33d39; min-height: 0; }

.form--dark .field > span { color: rgba(222, 239, 252, 0.65); }
.form--dark .field input, .form--dark .field textarea, .form--dark .field select {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(126, 190, 232, 0.24);
  color: #fff;
}
.form--dark .field input::placeholder, .form--dark .field textarea::placeholder { color: rgba(222, 239, 252, 0.55); }
.form--dark .field input:focus, .form--dark .field textarea:focus { border-color: var(--cyan-400); box-shadow: 0 0 0 3px rgba(42, 167, 234, 0.18); }

.consent { display: flex; align-items: flex-start; gap: 8px; font-size: 11px; line-height: 1.4; color: var(--muted); }
.consent input { flex: none; width: 15px; height: 15px; margin: 2px 0 0; accent-color: var(--cyan); }
.consent a { color: var(--cyan-600); text-decoration: underline; text-underline-offset: 2px; }
.form--dark .consent { color: rgba(222, 239, 252, 0.65); }
.form--dark .consent a { color: var(--cyan-300); }

.form__note { font-size: 10.5px; line-height: 1.4; color: var(--muted); }
.form--dark .form__note { color: rgba(222, 239, 252, 0.6); }
.form__status { display: none; padding: 12px 14px; border-radius: 9px; font-size: 13px; line-height: 1.45; }
.form__status.is-ok { display: block; background: rgba(34, 181, 115, 0.12); border: 1px solid rgba(34, 181, 115, 0.4); color: #146b43; }
.form--dark .form__status.is-ok { color: #7fe0b4; }
.form--dark .form__status.is-error { color: #ffb4b0; background: rgba(217, 83, 79, 0.18); border-color: rgba(255, 180, 176, 0.4); }
.form__status.is-error { display: block; background: rgba(217, 83, 79, 0.1); border: 1px solid rgba(217, 83, 79, 0.35); color: #b33d39; }
.form button[type="submit"].is-loading { opacity: 0.7; pointer-events: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- page head ---------- */
.page-head {
  position: relative; overflow: hidden;
  padding: 30px 0 46px;
  background: var(--navy-900); color: #fff;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(42, 167, 234, 0.18), transparent 70%),
    url("/assets/img/hero/hero-lab.jpg") right 30% / cover no-repeat;
  opacity: 0.22;
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
}
.page-head > .container { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 12px; color: rgba(214, 236, 251, 0.58); }
.crumbs a { color: inherit; }
.crumbs a:hover { color: var(--cyan-300); }
.crumbs span { opacity: 0.5; }
.crumbs [aria-current] { color: rgba(232, 244, 253, 0.8); }
.page-head__title { margin-top: 18px; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; max-width: 820px; }
.page-head__lead { margin-top: 14px; max-width: 660px; font-size: 15px; line-height: 1.65; color: rgba(222, 239, 252, 0.62); }
.page-head__actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* ---------- product page ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 42px 0 26px; align-items: start; }
.product__gallery {
  position: relative;
  display: grid; place-items: center;
  min-height: 460px; padding: 40px;
  border-radius: var(--radius-xl);
  background: radial-gradient(120% 100% at 50% 0%, #ffffff 0%, #e9f3fb 55%, #dceaf6 100%);
  border: 1px solid #e2edf6;
  overflow: hidden;
}
.product__gallery::after {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(42, 167, 234, 0.16), transparent);
  filter: blur(8px);
}
.product__gallery img { position: relative; z-index: 1; max-height: 380px; width: auto; filter: drop-shadow(0 30px 40px rgba(9, 45, 74, 0.18)); }
.product__badges { position: absolute; top: 18px; left: 18px; z-index: 2; display: flex; gap: 5px; flex-wrap: wrap; }
.product__badges .badge--gost { background: #fff; border-color: #d7e7f3; color: #53718a; }
.product__info h1 { font-size: clamp(28px, 2.8vw, 38px); line-height: 1.1; }
.product__sub { margin-top: 10px; font-size: 14px; color: var(--muted); }
.product__rating { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.product__rating .stars { color: var(--amber); letter-spacing: 2px; font-size: 13px; }

.product__price-box {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-top: 24px; padding: 18px 20px;
  border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
}
.product__price { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.product__price small { font-size: 13px; font-weight: 500; color: var(--muted); }
.product__price-note { margin-top: 6px; font-size: 11.5px; color: var(--muted); }
.stock-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(34, 181, 115, 0.1); color: #146b43;
  font-size: 11.5px; font-weight: 700; white-space: nowrap;
}
.stock-pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stock-pill--order { background: rgba(240, 161, 46, 0.12); color: #8a5a08; }

.product__buy { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 14px; }
.qty { display: flex; align-items: center; height: 52px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; overflow: hidden; }
.qty button { width: 44px; height: 100%; font-size: 18px; color: var(--muted); display: grid; place-items: center; }
.qty button:hover { color: var(--ink); background: var(--bg); }
.qty input { width: 54px; height: 100%; text-align: center; border: 0; outline: none; font-size: 15px; font-weight: 700; background: transparent; }
.product__buy .btn { width: 100%; }
.product__buy-second { margin-top: 10px; display: flex; gap: 8px; }
.product__buy-second .btn { flex: 1; }

.product__usp { display: grid; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.usp { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-soft); }
.usp svg { width: 18px; height: 18px; color: var(--cyan-600); flex: none; }
.usp b { color: var(--ink); font-weight: 700; }

.product__tabs { display: flex; gap: 6px; margin-top: 20px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.product__tab { min-height: 44px; padding: 10px 14px; font-size: 13.5px; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.product__tab.is-active { color: var(--ink); border-color: var(--cyan); }
.product-panel { padding-top: 18px; font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); }
.product-panel p + p { margin-top: 10px; }
.product-panel[hidden] { display: none; }

.specs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs-table tr { border-bottom: 1px solid var(--line); }
.specs-table tr:last-child { border-bottom: 0; }
.specs-table th, .specs-table td { padding: 11px 0; text-align: left; vertical-align: top; }
.specs-table th { width: 46%; font-weight: 500; color: var(--muted); }
.specs-table td { font-weight: 600; color: var(--ink); }

.app-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.app-tag { padding: 6px 11px; border-radius: 999px; background: var(--cyan-050); color: #0b6b94; font-size: 12px; font-weight: 600; }

.product-section { padding: 44px 0; border-top: 1px solid var(--line); }
.product-section__title { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 18px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

/* ---------- article ---------- */
.article-layout {
  display: grid; grid-template-columns: minmax(0, 740px) 300px;
  gap: 60px; justify-content: center;
  padding: 46px 0 70px;
}
.article__head .crumbs { color: var(--muted); }
.article__head .crumbs a:hover { color: var(--cyan-600); }
.article__cat { display: inline-flex; margin: 22px 0 12px; padding: 5px 11px; border-radius: 999px; background: var(--cyan-050); color: #0b6b94; font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.article__title { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.12; letter-spacing: -0.03em; }
.article__lead { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 20px; font-size: 12.5px; color: var(--muted); }
.article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.article__meta svg { width: 14px; height: 14px; }
.article__cover { margin: 28px 0 6px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 8.4; background: var(--navy-900); }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }

.article__body { margin-top: 26px; font-size: 16.5px; line-height: 1.78; color: #263b4d; }
.article__body > * + * { margin-top: 18px; }
.article__body h2 { margin-top: 38px; font-size: 27px; line-height: 1.2; }
.article__body h3 { margin-top: 30px; font-size: 20px; line-height: 1.3; }
.article__body p { margin: 0; }
.article__body a { color: #0b6f9e; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article__body ul, .article__body ol { padding-left: 22px; display: grid; gap: 8px; }
.article__body ul { list-style: none; padding-left: 0; }
.article__body ul li { position: relative; padding-left: 24px; }
.article__body ul li::before {
  content: ""; position: absolute; left: 2px; top: 0.62em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--cyan); transform: rotate(45deg);
}
.article__body ol { list-style: decimal; }
.article__body blockquote {
  padding: 20px 24px; border-left: 3px solid var(--cyan);
  background: #fff; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 17px; line-height: 1.6; color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.article__body blockquote p { margin: 0; }
.article__body table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border-radius: var(--radius); overflow: hidden; }
.article__body th, .article__body td { padding: 11px 13px; border-bottom: 1px solid var(--line); text-align: left; }
.article__body th { background: #f1f7fc; font-weight: 800; }
.article__body tr:last-child td { border-bottom: 0; }
.note {
  padding: 18px 20px; border-radius: var(--radius);
  background: var(--cyan-050); border: 1px solid #d5ecfa;
  font-size: 14.5px; line-height: 1.65; color: #15506e;
}
.note b { color: #0d3f57; }
.note--warn { background: #fff8ea; border-color: #f6e3bd; color: #6b4a12; }

.article__foot { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.article__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.article__tags a { font-size: 11.5px; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.article__tags a:hover { border-color: var(--cyan); color: var(--cyan-600); }
.share { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.share a, .share button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-soft); background: #fff; }
.share a:hover, .share button:hover { border-color: var(--cyan); color: var(--cyan-600); }
.share svg { width: 15px; height: 15px; }

.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.article-nav a { padding: 16px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.article-nav a:hover { border-color: #cde5f5; }
.article-nav small { display: block; font-size: 11px; color: var(--muted); margin-bottom: 5px; }
.article-nav b { font-size: 14px; font-weight: 700; line-height: 1.35; }

.sidebar { display: grid; gap: 18px; align-content: start; position: sticky; top: calc(var(--header-h) + 20px); }
.sidebar__card { padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.sidebar__title { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc { display: grid; gap: 2px; font-size: 13px; }
.toc a { padding: 6px 9px; margin: 0 -9px; border-radius: 6px; color: var(--ink-soft); line-height: 1.4; }
.toc a:hover { background: var(--bg); color: var(--ink); }
.toc a.is-active { background: var(--cyan-050); color: #0b6b94; font-weight: 700; }
.sidebar__promo { background: linear-gradient(150deg, #05223a, #0a3c60); color: #fff; border: 0; }
.sidebar__promo b { display: block; font-size: 16px; line-height: 1.3; }
.sidebar__promo p { margin-top: 8px; font-size: 12.5px; line-height: 1.55; color: rgba(222, 239, 252, 0.65); }
.sidebar__promo .btn { margin-top: 14px; height: 42px; font-size: 13px; }
.sidebar__post { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sidebar__post:last-child { border-bottom: 0; }
.sidebar__post img { width: 54px; height: 44px; border-radius: 6px; object-fit: cover; flex: none; }
.sidebar__post b { font-size: 12.5px; font-weight: 700; line-height: 1.3; display: block; }
.sidebar__post small { font-size: 10.5px; color: var(--muted); }

.reading-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--cyan), var(--cyan-300)); z-index: 200; transition: width 0.1s linear; }

/* ---------- blog index ---------- */
.blog-hero { padding: 46px 0 40px; }
.blog-cats { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.chip { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.chip:hover { border-color: var(--cyan-600); color: var(--cyan-600); }
.chip.is-active { background: #0b6b94; border-color: #0b6b94; color: #fff; }
.blog-feature { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 0; border-radius: var(--radius-xl); overflow: hidden; background: #fff; border: 1px solid #e6eef6; }
.blog-feature__media { min-height: 320px; background: #0a2438; overflow: hidden; }
.blog-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-feature__body { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.blog-feature__cat { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cyan-600); }
.blog-feature__title { margin-top: 9px; font-size: 26px; line-height: 1.18; font-weight: 800; letter-spacing: -0.02em; }
.blog-feature__excerpt { margin-top: 11px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.blog-feature__meta { display: flex; gap: 14px; margin-top: 18px; font-size: 11.5px; color: var(--muted); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #e6eef6; border-radius: var(--radius);
  overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.post-card:hover { transform: translateY(-4px); border-color: #cde5f5; box-shadow: 0 26px 50px -34px rgba(9, 45, 74, 0.4); }
.post-card__cover { position: relative; aspect-ratio: 16 / 8.8; background: #0a2438; overflow: hidden; }
.post-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.post-card:hover .post-card__cover img { transform: scale(1.04); }
.post-card__cover .read-badge {
  position: absolute; left: 10px; bottom: 10px;
  padding: 4px 9px; border-radius: 999px;
  background: rgba(3, 13, 22, 0.72); color: #fff;
  font-size: 10.5px; font-weight: 700; backdrop-filter: blur(4px);
  display: inline-flex; align-items: center; gap: 5px;
}
.read-badge svg { width: 11px; height: 11px; }
.post-card__body { padding: 15px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.post-card__cat { font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cyan-600); }
.post-card__title { margin-top: 6px; font-size: 16px; font-weight: 800; line-height: 1.32; letter-spacing: -0.01em; }
.post-card:hover .post-card__title { color: var(--cyan-600); }
.post-card__excerpt { margin-top: 7px; font-size: 13px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__meta { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.blog-empty { padding: 60px; text-align: center; color: var(--muted); }

/* ---------- delivery / contacts ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.info-card { padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid #e6eef6; }
.info-card__icon { width: 42px; height: 42px; border-radius: 11px; background: var(--cyan-050); color: var(--cyan-600); display: grid; place-items: center; margin-bottom: 13px; }
.info-card__icon svg { width: 20px; height: 20px; }
.info-card__title { font-size: 15px; font-weight: 800; }
.info-card__text { margin-top: 6px; font-size: 13px; line-height: 1.55; color: var(--muted); }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.data-table th, .data-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.data-table th { background: #f4f8fc; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: #52697d; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td:first-child { font-weight: 700; color: var(--ink); }

.checklist { display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-soft); }
.checklist svg { flex: none; width: 19px; height: 19px; margin-top: 1px; color: var(--cyan-600); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.contact-card { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.contact-card__label { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contact-card__value { margin-top: 7px; font-size: 17px; font-weight: 800; line-height: 1.35; }
.contact-card__value a:hover { color: var(--cyan-600); }
.contact-card__note { margin-top: 6px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.managers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.manager { padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.manager__avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(140deg, #d4ebfa, #b7dcf3); color: #12658f; display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.manager__name { margin-top: 12px; font-size: 15px; font-weight: 800; }
.manager__role { font-size: 11.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.manager__contacts { margin-top: 10px; display: grid; gap: 4px; font-size: 12.5px; }
.manager__contacts a:hover { color: var(--cyan-600); }

.map-card {
  position: relative; min-height: 340px; border-radius: var(--radius-lg); overflow: hidden;
  background: #0a2438 url("/assets/img/hero/hero-lab.jpg") right center / cover;
  border: 1px solid var(--line);
  display: flex; align-items: flex-end; padding: 22px;
}
.map-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 20, 34, 0.2), rgba(4, 20, 34, 0.92)); }
.map-card__inner { position: relative; color: #fff; }
.map-card__inner b { display: block; font-size: 18px; font-weight: 800; }
.map-card__inner span { display: block; margin-top: 4px; font-size: 13px; color: rgba(222, 239, 252, 0.65); }
.map-card__inner .btn { margin-top: 14px; }

/* ---------- footer ---------- */
.footer { position: relative; background: #030f19; color: rgba(214, 236, 251, 0.58); font-size: 13.5px; padding-top: 54px; overflow: hidden; }
.footer::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(126, 190, 232, 0.28), transparent);
}
.footer__top { display: grid; grid-template-columns: 1.55fr 1fr 1fr 1.25fr; gap: 40px; padding-bottom: 38px; }
.footer__brand .brand { margin-bottom: 14px; }
.footer__desc { max-width: 300px; font-size: 12.5px; line-height: 1.6; color: rgba(214, 236, 251, 0.58); }
.footer__socials { display: flex; gap: 8px; margin-top: 18px; }
.footer__socials a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(126, 190, 232, 0.22);
  display: grid; place-items: center; color: rgba(226, 240, 252, 0.72);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer__socials a:hover { background: #0b6b94; border-color: #0b6b94; color: #fff; }
.footer__socials svg { width: 15px; height: 15px; }
.footer__col h4 { margin: 0 0 14px; font-size: 13.5px; font-weight: 800; color: #fff; }
.footer__list { display: grid; gap: 9px; }
.footer__list a { color: rgba(214, 236, 251, 0.58); }
.footer__list a:hover { color: #fff; }
.footer__contacts { display: grid; gap: 12px; }
.footer__phone { font-size: 19px; font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.footer__phone-note { font-size: 11px; color: rgba(214, 236, 251, 0.58); margin-top: 2px; }
.footer__line { display: flex; gap: 8px; font-size: 12.5px; line-height: 1.45; }
.footer__line svg { width: 15px; height: 15px; flex: none; margin-top: 1px; color: rgba(69, 192, 255, 0.6); }
.footer__line a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 17px 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 11.5px; color: rgba(214, 236, 251, 0.58);
}
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(126, 190, 232, 0.25); }
.footer__bottom a:hover { color: #fff; }
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- overlays: cart, search, chat, modal ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 180;
  background: rgba(2, 10, 18, 0.58);
  backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.overlay.is-open { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
  width: min(432px, 100%);
  display: flex; flex-direction: column;
  background: #fff;
  transform: translateX(102%);
  transition: transform 0.35s var(--ease);
  box-shadow: -30px 0 80px -40px rgba(0, 0, 0, 0.5);
}
.cart-drawer.is-open { transform: none; }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-drawer__title { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 800; }
.cart-drawer__title svg { width: 19px; height: 19px; color: var(--cyan-600); }
.cart-drawer__close { width: 44px; height: 44px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); }
.cart-drawer__close:hover { background: var(--bg); color: var(--ink); }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 4px 20px 16px; }
.cart-item { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item__img { width: 62px; height: 68px; border-radius: 9px; background: #eef6fc; display: grid; place-items: center; padding: 5px; }
.cart-item__img img { max-height: 100%; }
.cart-item__title { font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.cart-item__sub { margin-top: 3px; font-size: 11px; color: var(--muted); }
.cart-item__price { margin-top: 6px; font-size: 13.5px; font-weight: 800; }
.cart-item__qty { display: flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 7px; height: 30px; }
.cart-item__qty button { width: 26px; height: 100%; display: grid; place-items: center; font-size: 14px; color: var(--muted); }
.cart-item__qty button:hover { color: var(--ink); }
.cart-item__qty span { width: 24px; text-align: center; font-size: 12.5px; font-weight: 700; }
.cart-item__remove { font-size: 10.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; margin-top: 5px; }
.cart-item__remove:hover { color: var(--red); }
.cart-empty { padding: 60px 10px; text-align: center; color: var(--muted); font-size: 14px; }
.cart-empty svg { width: 46px; height: 46px; margin: 0 auto 14px; opacity: 0.35; }
.cart-drawer__foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); background: #f8fbfe; }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }
.cart-total span { font-size: 13px; color: var(--muted); }
.cart-total b { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; }
.cart-drawer__note { font-size: 11px; color: var(--muted); line-height: 1.4; margin-bottom: 12px; }

.search-panel {
  position: fixed; top: 0; left: 0; right: 0; z-index: 210;
  padding: 18px 0 24px;
  background: #05141f;
  border-bottom: 1px solid rgba(126, 190, 232, 0.2);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  transform: translateY(-104%);
  transition: transform 0.35s var(--ease);
}
.search-panel.is-open { transform: none; }
.search-panel__head { display: flex; align-items: center; gap: 12px; }
.search-field {
  flex: 1; display: flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 16px;
  background: #0a2438; border: 1px solid rgba(126, 190, 232, 0.25); border-radius: 11px;
}
.search-field svg { width: 19px; height: 19px; color: rgba(214, 236, 251, 0.5); flex: none; }
.search-field input { flex: 1; height: 100%; border: 0; outline: none; background: transparent; color: #fff; font-size: 16px; }
.search-field input::placeholder { color: rgba(214, 236, 251, 0.55); }
.search-results { margin-top: 14px; max-height: min(58vh, 460px); overflow-y: auto; display: grid; gap: 4px; }
.search-result { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 9px; color: #fff; }
.search-result:hover, .search-result.is-focus { background: rgba(255, 255, 255, 0.07); }
.search-result__img { width: 44px; height: 48px; border-radius: 7px; background: rgba(255, 255, 255, 0.05); display: grid; place-items: center; padding: 4px; flex: none; }
.search-result__img img { max-height: 100%; }
.search-result__title { font-size: 13.5px; font-weight: 700; }
.search-result__cat { font-size: 11px; color: rgba(214, 236, 251, 0.6); margin-top: 2px; }
.search-result__price { margin-left: auto; font-size: 13px; font-weight: 800; white-space: nowrap; }
.search-empty { padding: 24px 6px; font-size: 13.5px; color: rgba(214, 236, 251, 0.6); }
.search-hint { margin-top: 12px; font-size: 11.5px; color: rgba(214, 236, 251, 0.58); }
kbd { padding: 1px 5px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.18); font-size: 10.5px; font-family: inherit; }

.chat-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(160deg, #3db8f7, #1c86c9);
  color: #fff;
  box-shadow: 0 18px 40px -12px rgba(42, 167, 234, 0.75);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.chat-fab:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 22px 46px -12px rgba(42, 167, 234, 0.9); }
.chat-fab svg { width: 25px; height: 25px; }
.chat-fab__dot { position: absolute; top: 12px; right: 13px; width: 9px; height: 9px; border-radius: 50%; background: #7ef0b0; box-shadow: 0 0 0 3px rgba(126, 240, 176, 0.25); }

.chat-panel {
  position: fixed; right: 22px; bottom: 92px; z-index: 121;
  width: min(372px, calc(100vw - 32px));
  height: min(520px, calc(100dvh - 120px));
  display: flex; flex-direction: column;
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(2, 18, 32, 0.6);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}
.chat-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.chat-head { display: flex; align-items: center; gap: 11px; padding: 15px 17px; background: linear-gradient(120deg, #0f76a3, #0b5f86); color: #fff; }
.chat-head__avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); display: grid; place-items: center; flex: none; }
.chat-head__avatar svg { width: 20px; height: 20px; }
.chat-head b { display: block; font-size: 14.5px; }
.chat-head small { display: flex; align-items: center; gap: 5px; font-size: 11px; color: rgba(255, 255, 255, 0.78); }
.chat-head small i { width: 6px; height: 6px; border-radius: 50%; background: #7ef0b0; }
.chat-head__close { margin-left: auto; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: rgba(255, 255, 255, 0.8); }
.chat-head__close:hover { background: rgba(255, 255, 255, 0.15); }
.chat-body { flex: 1; overflow-y: auto; padding: 15px; background: #f3f8fc; display: flex; flex-direction: column; gap: 9px; }
.msg { max-width: 84%; padding: 10px 13px; border-radius: 13px 13px 13px 4px; background: #fff; font-size: 13px; line-height: 1.5; color: var(--ink); box-shadow: 0 3px 10px rgba(12, 45, 70, 0.06); }
.msg--user { align-self: flex-end; border-radius: 13px 13px 4px 13px; background: linear-gradient(180deg, #0f76a3, #0b5f86); color: #fff; }
.msg small { display: block; margin-top: 4px; font-size: 9.5px; opacity: 0.7; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.quick button { padding: 7px 11px; border-radius: 999px; border: 1px solid #d5e7f4; background: #fff; color: #0b6f9e; font-size: 11.5px; font-weight: 600; }
.quick button:hover { border-color: var(--cyan); background: var(--cyan-050); }
.chat-form { display: flex; align-items: center; gap: 8px; padding: 11px; border-top: 1px solid var(--line); background: #fff; }
.chat-form input { flex: 1; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; font-size: 13px; outline: none; }
.chat-form input:focus { border-color: var(--cyan-600); }
.chat-form button { width: 40px; height: 40px; border-radius: 50%; background: #0b6b94; color: #fff; display: grid; place-items: center; flex: none; }
.chat-form button:hover { background: #0e7ba8; }
.chat-form button svg { width: 17px; height: 17px; }
.chat-note { padding: 0 14px 10px; font-size: 9.5px; line-height: 1.4; color: var(--muted); text-align: center; }

dialog.modal {
  width: min(440px, calc(100% - 32px));
  padding: 0; border: 0; border-radius: 18px;
  background: #fff; color: var(--ink);
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.6);
}
dialog.modal::backdrop { background: rgba(3, 13, 22, 0.62); backdrop-filter: blur(3px); }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 22px 22px 0; }
.modal__title { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.modal__sub { margin-top: 5px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.modal__close { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); flex: none; }
.modal__close:hover { background: var(--bg); color: var(--ink); }
.modal__body { padding: 18px 22px 22px; }
.modal--wide { width: min(680px, calc(100% - 32px)); }

/* cookie */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 150;
  width: min(380px, calc(100% - 40px));
  padding: 16px 18px;
  border-radius: 14px;
  background: #061a2b; color: rgba(226, 240, 252, 0.72);
  border: 1px solid var(--navy-line);
  box-shadow: var(--shadow-lg);
  font-size: 12px; line-height: 1.5;
  transform: translateY(140%); transition: transform 0.35s var(--ease);
}
.cookie.is-visible { transform: none; }
.cookie b { display: block; color: #fff; font-size: 13px; margin-bottom: 4px; }
.cookie a { color: var(--cyan-300); text-decoration: underline; text-underline-offset: 2px; }
.cookie__actions { display: flex; gap: 8px; margin-top: 12px; }
.cookie__actions .btn { height: 36px; padding: 0 14px; font-size: 12px; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 250;
  transform: translate(-50%, 20px);
  padding: 12px 18px; border-radius: 10px;
  background: #0b2a40; color: #fff; font-size: 13px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transition: 0.25s var(--ease);
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast--ok { background: #0d3f31; }
.toast--error { background: #5a2020; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: 0.06s; }
.reveal--d2 { transition-delay: 0.12s; }
.reveal--d3 { transition-delay: 0.18s; }

/* misc */
.divider { height: 1px; background: var(--line); margin: 26px 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 5px 10px; border-radius: 999px; background: #eef5fb; color: #4f6b82; font-size: 11.5px; font-weight: 600; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.nowrap { white-space: nowrap; }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .cats-grid { grid-template-columns: repeat(5, 1fr); }
  .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: grid; }
  .hero__inner { grid-template-columns: minmax(0, 1fr) 340px; }
  .header-cta { display: none; }
  .catalog-layout { grid-template-columns: 240px minmax(0, 1fr); }
  .feature { padding: 20px 18px 22px; }
  .feature:first-child { padding-left: 0; }
  .promo__inner { grid-template-columns: 300px minmax(0, 1fr); padding: 28px; }
  .article-layout { grid-template-columns: minmax(0, 700px) 280px; gap: 40px; }
  .blog-teaser { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .section { padding: 58px 0; }
  .hero__inner { grid-template-columns: 1fr; padding: 58px 0 46px; min-height: 0; }
  .hero__bg { width: 100%; opacity: 0.55; -webkit-mask-image: linear-gradient(90deg, #000 18%, transparent 95%); mask-image: linear-gradient(90deg, #000 18%, transparent 95%); }
  .hero__visual { display: none; }
  .hero__content { max-width: 620px; }
  .cats-grid { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3) { border-left: 0; padding-left: 0; }
  .feature:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.07); }
  .promo__inner { grid-template-columns: 1fr; }
  .promo__grid { grid-template-columns: repeat(4, 1fr); }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.is-open { display: block; }
  .filters-toggle { display: inline-flex; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__media { max-width: 520px; }
  .blog-teaser { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { grid-template-columns: 1fr; gap: 26px; }
  .faq__aside { position: static; }
  .cta-band { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
  .footer__col--contacts { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-row: 1; grid-template-columns: 1fr 1fr; }
  .sidebar__card--toc { display: none; }
  .product { grid-template-columns: 1fr; gap: 30px; }
  .product__gallery { min-height: 380px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .managers { grid-template-columns: 1fr 1fr; }
  .blog-feature { grid-template-columns: 1fr; }
  .blog-feature__media { min-height: 240px; }
  .about__stats { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}

@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr !important; }
  .cards-grid { grid-template-columns: 1fr !important; }
  .contact-card__value, .contact-card__note { overflow-wrap: anywhere; }
  .header-inner { gap: 10px; }
  .brand__name { font-size: 18px; }
  .brand__tag { font-size: 7.5px; letter-spacing: 0.13em; }
  .phone-box { display: none; }
  .header-actions .icon-btn--search { display: grid; }
  .header-cta { display: none; }
  .hero__title { font-size: clamp(32px, 8.8vw, 46px); }
  .hero__sub { font-size: 15.5px; }
  .hero__actions .btn { flex: 1; }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .pcard__media { height: 128px; }
  .promo__grid { grid-template-columns: repeat(2, 1fr); }
  .shorts-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .post-featured { min-height: 320px; }
  .article-nav { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .cta-band { padding: 26px 22px; }
  .cta-form { padding: 16px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .toolbar { gap: 10px; }
  .toolbar__right { width: 100%; justify-content: space-between; }
  .page-head { padding: 24px 0 34px; }
  .product__buy { grid-template-columns: 1fr; }
  .product__buy .qty { justify-content: space-between; }
  .qty input { flex: 1; }
  .managers { grid-template-columns: 1fr; }
  .article__body { font-size: 16px; }
}

@media (max-width: 520px) {
  .container { width: calc(100% - 28px); }
  .toolbar__right { flex-wrap: wrap; justify-content: flex-start; gap: 8px 10px; }
  .sort { flex: 1 1 100%; justify-content: space-between; }
  .sort select { flex: 1; min-width: 0; }
  .cookie { left: 10px; bottom: 10px; width: calc(100% - 20px); padding: 12px 14px; font-size: 11.5px; }
  .cookie__actions { gap: 8px; margin-top: 10px; }
  .cookie__actions .btn { height: 44px; flex: 1; padding: 0 10px; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-card__media { height: 118px; }
  .cat-card__desc { font-size: 11.5px; padding-right: 0; }
  .cat-card__plus { display: none; }
  .features { grid-template-columns: 1fr; }
  .feature { border-left: 0; padding: 16px 0; }
  .feature + .feature { border-top: 1px solid rgba(255, 255, 255, 0.07); }
  .promo__grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-band { padding: 44px 0 52px; }
  .products-grid { grid-template-columns: 1fr; }
  .pcard { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; align-items: center; }
  .pcard__media { height: 104px; margin: 0; }
  .pcard__title { min-height: 0; }
  .pcard__sub { min-height: 0; }
  .pcard__foot { padding-top: 4px; }
  .pcard__stock { display: none; }
  .pcard__badges { position: static; order: -1; grid-column: 1 / -1; margin-bottom: -4px; }
  .footer__top { grid-template-columns: 1fr; gap: 26px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .form__row { grid-template-columns: 1fr; }
  .article__title { font-size: 26px; }
  .article__body h2 { font-size: 22px; }
  .blog-feature__body { padding: 22px; }
  .blog-feature__title { font-size: 21px; }
  .shorts__head { flex-direction: column; align-items: flex-start; }
  .about__badge { left: 8px; bottom: 12px; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .chat-panel { right: 10px; bottom: 84px; }
  .chat-fab { right: 16px; bottom: 16px; }
  .cookie { left: 12px; bottom: 12px; width: calc(100% - 24px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}


/* ---------- mobile nav, burger, display fixes ---------- */
.burger {
  width: 42px; height: 42px; border-radius: 10px; padding: 0;
  color: #fff; place-content: center; justify-items: center; gap: 5px;
}
.burger span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform 0.25s var(--ease), opacity 0.2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 99;
  background: #041322; overflow-y: auto; overscroll-behavior: contain; padding: 18px 0 40px;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav__inner { padding: 0 18px; display: grid; gap: 20px; }
.mobile-nav__search {
  display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--navy-line); border-radius: 10px;
  color: rgba(214, 236, 251, 0.6);
}
.mobile-nav__search svg { width: 18px; height: 18px; flex: none; }
.mobile-nav__search input { flex: 1; height: 100%; background: none; border: 0; outline: none; color: #fff; font-size: 15px; }
.mobile-nav__links { display: grid; }
.mobile-nav__links a {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07); color: #eaf5fd; font-size: 16px; font-weight: 600;
}
.mobile-nav__links svg { width: 16px; height: 16px; opacity: 0.35; }
.mobile-nav__cats { display: grid; gap: 2px; }
.mobile-nav__cats a { display: flex; justify-content: space-between; padding: 8px 4px; font-size: 14px; color: rgba(226, 240, 252, 0.75); }
.mobile-nav__cats a span { color: rgba(214, 236, 251, 0.55); font-size: 12px; }
.mobile-nav__foot { display: grid; gap: 9px; margin-top: 4px; }
.mobile-nav__foot p { margin: 6px 0 0; font-size: 11.5px; color: rgba(214, 236, 251, 0.58); text-align: center; }
.mobile-nav.is-open { animation: mnavIn 0.28s var(--ease); }
@keyframes mnavIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.nav__link[aria-expanded="true"] + .mega { opacity: 1; visibility: visible; transform: none; }

.post-row__thumb, .post-row__cat, .post-row__title, .post-row__meta { display: block; }
.post-row__meta { display: flex; }
.post-featured__body, .post-featured__title { display: block; }
.short-card__title, .short-card__views { display: block; }
.search-result__title, .search-result__cat { display: block; }
.search-result__title { font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.search-result__cat { font-size: 11px; color: rgba(214, 236, 251, 0.45); margin-top: 2px; }
.cart-item__img { display: grid; }
.post-card__meta span { display: inline-flex; align-items: center; }
.about__stats .stat__value span { font-size: 0.6em; }

/* --- header / mini-card overrides --- */
.nav__link { padding: 10px 10px; white-space: nowrap; }
.phone-box__num { white-space: nowrap; }
.brand__name { font-size: 19px; }
.mini-card { padding: 8px; gap: 3px; min-width: 0; }
.hero__visual { min-height: 100%; }
/* --- mini-card media fix + shorts icon --- */
.mini-card__media { height: 58px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mini-card__media img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.short-card { aspect-ratio: 9 / 11.4; }
.short-card__icon { position: absolute; top: 24%; left: 50%; transform: translate(-50%, -50%); width: 66px; height: 66px; color: rgba(255, 255, 255, 0.16); }
.short-card__icon svg { width: 100%; height: 100%; stroke-width: 1.1; }
.short-card__play { top: 52%; }
/* --- product media sizing --- */
.pcard__media { height: 150px; }
.pcard__media img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.product__gallery img { max-height: 360px; width: auto; }
/* --- media: flex centering (grid percentage heights unreliable) --- */
.pcard__media { display: flex; align-items: center; justify-content: center; }
.pcard__media img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
/* --- light breadcrumbs + stats --- */
.product-crumbs .crumbs { color: var(--muted); }
.product-crumbs .crumbs a:hover { color: var(--cyan-600); }
.product-crumbs .crumbs [aria-current] { color: var(--ink-soft); }
.stat__value span { margin-left: 0; font-size: 0.52em; font-weight: 700; letter-spacing: 0; color: var(--cyan-600); vertical-align: 0.18em; }
/* --- mobile header + hero meta --- */
@media (max-width: 560px) {
  .header-inner { gap: 8px; }
  .brand { gap: 8px; }
  .brand__mark { width: 34px !important; height: 34px !important; }
  .brand__name { font-size: 17px; }
  .brand__tag { display: none; }
  .header-actions { gap: 0; }
  .icon-btn { width: 44px; height: 44px; }
  .icon-btn svg { width: 18px; height: 18px; }
  .burger { width: 44px; height: 44px; }
  .hero__meta { gap: 7px 13px; font-size: 11px; }
  .hero__meta span { white-space: nowrap; }
  .hero__actions { gap: 8px; }
  .hero__actions .btn { flex: 1 1 100%; }
}
/* --- mobile hero meta stack --- */
@media (max-width: 560px) {
  .hero__meta { display: grid; grid-template-columns: 1fr; gap: 7px; }
  .hero__meta span { white-space: normal; }
}
.stat__value span.stat-unit { margin-left: 0.18em; }

/* cookie under drawers */
.cookie { z-index: 130; }
body.is-locked .cookie { opacity: 0; visibility: hidden; pointer-events: none; }
/* small controls: expand the hit area to 44x44 without changing the visual size */
.mini-card__add, .pcard__cart, .footer__socials a, .chat-head__close, .modal__close, .view-toggle button { position: relative; }
.mini-card__add::after { content: ""; position: absolute; inset: -9px; }
.pcard__cart::after, .footer__socials a::after, .chat-head__close::after, .modal__close::after, .view-toggle button::after { content: ""; position: absolute; inset: -6px; }