/* Electrotransport.by — тёплый деревенский стиль */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --black: #3d2c2a;
  --black-2: #4a3835;
  --black-3: #5c4541;
  --white: #ffffff;
  --cream: #f7f5f0;
  --stone: #ebe6dc;
  --mist: #faf9f6;
  --ink: #2e2a28;
  --ink-2: #4a4540;
  --muted: #7a7268;
  --line: #e3ddd3;
  --line-light: rgba(255, 255, 255, 0.25);
  --copper: #ffc107;
  --copper-dark: #e6ac00;
  --copper-glow: rgba(255, 193, 7, 0.25);
  --electric: #ffc107;
  --electric-dim: rgba(255, 193, 7, 0.15);
  --red: #e53935;
  --red-dark: #c62828;
  --red-glow: rgba(229, 57, 53, 0.2);
  --sale: #e53935;
  --sale-gold: #ffc107;
  --sale-gold-line: #f0d78c;
  --ok: #558b2f;
  --radius: 10px;
  --radius-lg: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
  --bar-h: 40px;
  --site-top-h: var(--header-h);
  --max: 1280px;
  --page-gutter: 24px;
  --font: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overscroll-behavior-x: none; }
html, body { margin: 0; padding: 0; overflow-x: hidden; overscroll-behavior-x: none; }
body {
  width: 100%;
  max-width: 100%;
  position: relative;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
}
@media (max-width: 900px) {
  :root { --page-gutter: 24px; }
}
@media (max-width: 480px) {
  :root { --page-gutter: 20px; }
}

/* ─── Announcement ─── */
.top-bar {
  background: var(--copper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
}
.top-bar strong { color: var(--red-dark); }

.site-top {
  position: relative;
  z-index: 100;
}

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}
.page-home .site-header:not(.is-scrolled) {
  background: var(--white);
  border-bottom-color: var(--line);
}
.page-home .site-header:not(.is-scrolled) .site-header__nav > a,
.page-home .site-header:not(.is-scrolled) .nav-catalog__link,
.page-home .site-header:not(.is-scrolled) .site-header__phone {
  color: var(--ink-2);
}
.page-home .site-header:not(.is-scrolled) .site-header__nav > a.is-active,
.page-home .site-header:not(.is-scrolled) .nav-catalog__link.is-active,
.page-home .site-header:not(.is-scrolled) .nav-catalog.is-active .nav-catalog__link {
  color: var(--red);
  background: var(--electric-dim);
}
.page-home .site-header:not(.is-scrolled) .site-header__burger span {
  background: var(--ink);
}

/* ─── Logo ─── */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-logo__icon {
  flex-shrink: 0;
  display: block;
}
.brand-logo__wheel {
  transform-origin: 24px 28px;
  animation: brand-logo-wheel-spin 5s linear infinite;
}
@keyframes brand-logo-wheel-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-logo__wheel { animation: none; }
}
.brand-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-logo__top {
  font-size: 17px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.02em;
}
.brand-logo__bottom {
  font-size: 13px;
  font-weight: 700;
  color: var(--copper-dark);
}
.site-footer .brand-logo__top { color: #fff; }
.site-footer .brand-logo__bottom { color: var(--copper); }

.site-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  margin-left: 12px;
}
.site-header__nav > a {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.site-header__nav > a:hover,
.site-header__nav > a.is-active {
  color: var(--red);
  background: rgba(255, 193, 7, 0.2);
}

/* Каталог с подменю */
.nav-catalog {
  position: relative;
}
.nav-catalog__head {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-catalog__link {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-catalog__link:hover,
.nav-catalog__link.is-active,
.nav-catalog.is-active .nav-catalog__link {
  color: var(--red);
  background: rgba(255, 193, 7, 0.2);
}
.nav-catalog__toggle {
  display: none;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: var(--ink-2);
  font-size: 12px;
  margin-left: -4px;
}
.nav-catalog__toggle:hover {
  background: rgba(255, 193, 7, 0.2);
  color: var(--red);
}
.nav-catalog__sub {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 120;
}
.nav-catalog__sub a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: var(--radius);
  transition: background .15s, color .15s;
}
.nav-catalog__sub a:hover {
  background: var(--cream);
  color: var(--red);
}
.nav-catalog__all {
  font-weight: 800 !important;
  color: var(--red) !important;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
  border-radius: var(--radius) var(--radius) 0 0 !important;
}
@media (min-width: 901px) {
  .nav-catalog:hover .nav-catalog__sub,
  .nav-catalog:focus-within .nav-catalog__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.site-header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  transition: color .2s;
  flex-shrink: 0;
}
.site-header__phone:hover {
  color: var(--red-dark);
}
.site-header__phone-num {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.site-header__phone-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--red);
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  transition: border-color .2s, background .2s, color .2s, transform .2s;
}
.site-header__phone:hover .site-header__phone-icon {
  border-color: var(--red-dark);
  background: var(--red-dark);
  color: var(--white);
  transform: scale(1.05);
}
.page-home .site-header:not(.is-scrolled) .site-header__phone-icon {
  border-color: var(--red);
  color: var(--white);
  background: var(--red);
}
.page-home .site-header:not(.is-scrolled) .site-header__phone:hover .site-header__phone-icon {
  border-color: var(--red-dark);
  background: var(--red-dark);
}

.site-header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.site-header__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .25s, opacity .25s;
}

@media (max-width: 900px) {
  :root {
    --site-top-h: calc(var(--bar-h) + var(--header-h));
  }

  .site-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding-top: env(safe-area-inset-top, 0px);
  }

  body {
    padding-top: calc(var(--site-top-h) + env(safe-area-inset-top, 0px));
  }

  .page-home .site-top {
    background: var(--copper);
    border-bottom-color: var(--line);
  }

  .page-home .site-header.is-scrolled {
    background: rgba(255, 255, 255, .96);
    border-bottom-color: var(--line);
  }

  .site-header {
    position: static;
    top: auto;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header__inner {
    gap: 10px;
  }

  .site-header__logo {
    min-width: 0;
  }

  .brand-logo__top { font-size: 15px; }
  .brand-logo__bottom { font-size: 11px; }

  .site-header__actions {
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
  }

  .site-header__phone {
    gap: 6px;
  }

  .site-header__phone-icon {
    width: 34px;
    height: 34px;
  }

  .site-header__phone-num {
    font-size: 11px;
  }

  .nav-catalog__toggle {
    display: inline-flex;
  }
  .nav-catalog__sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 12px;
    margin: 0;
    display: none;
    min-width: 0;
  }
  .nav-catalog.is-open .nav-catalog__sub {
    display: block;
  }
  .nav-catalog__sub a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav-catalog__all {
    border-bottom: 1px solid var(--line) !important;
    margin-bottom: 0 !important;
  }

  .site-header__burger {
    display: flex;
    flex-shrink: 0;
    margin-right: -4px;
  }

  .site-nav-backdrop {
    position: fixed;
    inset: calc(var(--site-top-h) + env(safe-area-inset-top, 0px)) 0 0 0;
    z-index: 90;
    background: rgba(10, 10, 10, .45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .35s var(--ease), visibility .35s var(--ease);
  }
  body.is-nav-open .site-nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-header__nav {
    position: fixed;
    inset: calc(var(--site-top-h) + env(safe-area-inset-top, 0px)) 0 0 auto;
    width: min(100%, 320px);
    background-color: #ffffff;
    isolation: isolate;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px max(var(--page-gutter), env(safe-area-inset-left, 0px));
    gap: 0;
    margin: 0;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    box-shadow: -12px 0 40px rgba(0, 0, 0, .12);
    z-index: 110;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .site-header__nav.is-open { transform: translateX(0); }
  .site-header__nav a,
  .nav-catalog__link {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    color: var(--ink-2);
    border-radius: 0;
    background: transparent !important;
  }
  .nav-catalog {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }
  .nav-catalog__head {
    width: 100%;
  }
  .nav-catalog__link {
    flex: 1;
    border-bottom: none !important;
  }
  .page-home .site-header:not(.is-scrolled) .site-header__nav.is-open > a,
  .page-home .site-header:not(.is-scrolled) .site-header__nav.is-open .nav-catalog__link {
    color: var(--ink-2);
  }
  .page-home .site-header:not(.is-scrolled) .site-header__nav.is-open > a.is-active,
  .page-home .site-header:not(.is-scrolled) .site-header__nav.is-open .nav-catalog__link.is-active {
    color: var(--red);
    background: rgba(255, 193, 7, 0.15);
  }
  body.is-nav-open {
    overflow: hidden;
  }

  .hero,
  .catalog-hero {
    margin-top: calc(-1 * var(--site-top-h));
  }

  .catalog-toolbar {
    top: calc(var(--site-top-h) + env(safe-area-inset-top, 0px));
  }
}

@media (max-width: 480px) {
  .site-header__phone-num {
    font-size: 10px;
  }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: all .25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--primary:hover {
  background: var(--red-dark);
  box-shadow: 0 8px 24px var(--red-glow);
}
.btn--copper,
.btn--yellow {
  background: var(--copper);
  color: var(--red-dark);
  border-color: var(--copper-dark);
}
.btn--copper:hover,
.btn--yellow:hover {
  background: var(--sale-gold);
  box-shadow: 0 8px 24px var(--copper-glow);
}
.btn--red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red-dark);
}
.btn--red:hover {
  background: var(--red-dark);
  box-shadow: 0 8px 24px var(--red-glow);
}
.btn--outline {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}
.btn--outline:hover { background: rgba(255,255,255,.15); }
.btn--ghost {
  background: var(--white);
  color: var(--red);
  border: 2px solid var(--copper);
  font-weight: 700;
}
.btn--ghost:hover {
  border-color: var(--red);
  background: rgba(255, 193, 7, 0.2);
}
.btn--lg { padding: 16px 36px; font-size: 12px; }
.btn--sm { padding: 10px 18px; font-size: 10px; }
.btn--block { width: 100%; }

/* ─── Tags ─── */
.tag {
  display: inline-block;
  padding: 5px 10px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink-2);
}
.tag--sale { background: var(--sale); color: #fff; }
.tag--stock { background: #e8f3ec; color: var(--ok); }
.tag--cat { background: transparent; border: 1px solid var(--line); color: var(--muted); }

/* ─── Hero ─── */
.hero {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  min-height: min(88vh, 760px);
  background: var(--black-2);
  overflow: hidden;
  color: #fff;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(20, 12, 10, 0.72) 0%, rgba(20, 12, 10, 0.42) 42%, transparent 68%);
  pointer-events: none;
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}
.hero__wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: min(88vh, 760px);
  padding: calc(var(--header-h) + 32px) 0 48px;
}
.hero__content {
  max-width: 520px;
}
.hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: var(--red-dark);
  background: var(--copper);
  padding: 5px 12px;
  border-radius: 999px;
  margin: 0 0 16px;
}
.hero__title {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 16px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero__title strong {
  color: var(--copper);
}
.hero__lead {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 24px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.hero__badges {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}
.hero__badges strong {
  display: block;
  font-size: 20px;
  color: var(--copper);
  margin-bottom: 2px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

@media (max-width: 900px) {
  .hero {
    min-height: min(78vh, 620px);
  }
  .hero::after {
    background: linear-gradient(180deg, rgba(20, 12, 10, 0.15) 0%, rgba(20, 12, 10, 0.55) 55%, rgba(20, 12, 10, 0.82) 100%);
  }
  .hero__photo {
    position: absolute;
    inset: 0;
    height: 100%;
  }
  .hero__wrap {
    align-items: flex-end;
    min-height: min(78vh, 620px);
    padding: calc(var(--header-h) + 20px) 0 28px;
  }
  .hero__content {
    max-width: none;
  }
  .hero__cta .btn {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
  }
}

/* ─── Sections ─── */
.section { padding: 80px 0; }

/* ─── SEO text block ─── */
.seo-block {
  padding: 48px 0 72px;
  border-top: 5px solid var(--line);
  background: var(--white);
}
.seo-block__inner {
  max-width: 760px;
}
.seo-block__title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 20px;
  color: var(--black);
}
.seo-block__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 14px;
}
.seo-block__text:last-of-type {
  margin-bottom: 0;
}
.seo-block__links {
  margin: 24px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.seo-block__links-label {
  font-weight: 600;
  color: var(--black);
  margin-right: 6px;
}
.seo-block__links a {
  color: var(--copper);
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 115, 51, 0.35);
}
.seo-block__links a:hover {
  border-bottom-color: var(--copper);
}
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--service {
  background: var(--white);
  border-top: 5px solid var(--copper);
}
.section--guarantee {
  background: var(--copper);
  padding: 56px 0;
}
.section--contacts {
  background: var(--cream);
  border-top: 1px solid var(--line);
}
.section--dark {
  background: var(--red-dark);
  color: var(--white);
}
.section__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: var(--red);
  background: var(--electric-dim);
  padding: 5px 12px;
  border-radius: 999px;
  margin: 0 0 12px;
}
.section--dark .section__eyebrow {
  color: var(--red-dark);
  background: var(--copper);
}
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.section__title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.15;
}
.section__title strong { font-weight: 800; color: var(--red); }
.section--dark .section__title strong { color: var(--copper); }
.section__sub {
  color: var(--ink-2);
  margin: 10px 0 0;
  font-size: 16px;
  font-weight: 600;
  max-width: 520px;
}
.section--dark .section__sub { color: rgba(255,255,255,.85); }

/* ─── Category showcase ─── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: transparent;
}
@media (max-width: 1024px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-tile {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(165deg, #e8f4e0 0%, #f7f2e8 45%, #efe9dc 100%);
  overflow: hidden;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.cat-tile__img {
  position: absolute;
  inset: 0;
  transition: transform .7s var(--ease), opacity .5s;
}
.cat-tile__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 42%;
  padding: 16px 14px 30%;
  opacity: 1;
  transition: transform .7s var(--ease);
}
.cat-tile:hover .cat-tile__img img {
  transform: scale(1.04);
}
.cat-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.cat-tile__name {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 6px;
}
.cat-tile__count {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--sale-gold);
}
.cat-tile__arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 2px solid var(--copper);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  background: rgba(229, 57, 53, 0.6);
  transition: background .25s, border-color .25s, transform .25s;
}
.cat-tile:hover .cat-tile__arrow {
  background: var(--copper);
  border-color: var(--sale-gold);
  color: var(--red-dark);
  transform: scale(1.08);
}

/* ─── Product grid ─── */
.p-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) {
  .p-grid { grid-template-columns: repeat(3, 1fr); }
}
.p-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: background .25s, box-shadow .25s, transform .25s;
  position: relative;
  border: 2px solid var(--stone);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.p-card:hover {
  background: var(--cream);
  box-shadow: 0 10px 32px var(--electric-dim);
  transform: translateY(-3px);
  border-color: var(--copper);
}
.p-card__media {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.p-card__media img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  transition: transform .5s var(--ease);
}
.p-card:hover .p-card__media img { transform: scale(1.05); }
.p-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
}
.p-card__body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}
.p-card__name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 0;
  color: var(--ink);
}
.p-card__name a:hover { color: var(--copper-dark); }
.p-card__variant {
  font-size: 12px;
  color: var(--muted);
  font-weight: 300;
}
.p-card__colors,
.product-colors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 4px 0 10px;
}
.p-card__color,
.product-colors__item {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--swatch);
  border: 1px solid rgba(15, 15, 15, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  padding: 0;
  cursor: default;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.product-colors__item {
  width: 30px;
  height: 30px;
  cursor: pointer;
}
.product-colors__item:hover {
  transform: scale(1.08);
}
.p-card__color.is-active,
.product-colors__item.is-active {
  box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--copper);
}
.product-info__color {
  margin: -8px 0 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.p-card__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 8px;
}
.p-card__now {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.p-card__price.is-sale .p-card__now {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  background: var(--black);
  color: var(--sale-gold);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--sale-gold-line);
  font-weight: 600;
}
.p-card__old {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 300;
}
.p-card__actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.p-card__actions .btn { flex: 1; }

/* ─── Catalog hero ─── */
.catalog-hero {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  min-height: 220px;
  overflow: hidden;
  color: #fff;
  background: var(--black-2);
}
.catalog-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(20, 12, 10, 0.78) 0%, rgba(20, 12, 10, 0.45) 50%, rgba(20, 12, 10, 0.25) 100%);
  pointer-events: none;
}
.catalog-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}
.catalog-hero__inner {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-h) + 28px) 0 32px;
}
.catalog-hero h1 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.catalog-hero p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 600;
  font-size: 15px;
  max-width: 560px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}
.catalog-hero--short .catalog-hero__inner {
  padding-bottom: 28px;
}
.catalog-toolbar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: var(--header-h);
  z-index: 50;
}
.catalog-toolbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; }
.chips-scroll {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.chips-scroll::-webkit-scrollbar { display: none; }
.chip {
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-2);
  transition: all .2s;
  background: var(--white);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.catalog-filters input,
.catalog-filters select {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  min-width: 140px;
}
.catalog-filters input:focus,
.catalog-filters select:focus {
  outline: none;
  border-color: var(--ink);
}
.catalog-filters input[type="text"] { min-width: 200px; flex: 1; }
.catalog-filters__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.catalog-toolbar__filters {
  padding-bottom: 16px;
}
.catalog-count {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ─── Product page ─── */
.product-page { padding: 40px 0 80px; }
.breadcrumbs {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  line-height: 1.5;
}
.breadcrumbs a { color: var(--muted); transition: color .2s; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span { margin: 0 8px; opacity: .4; }

.product-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-gallery {
  background: var(--cream);
}

@media (min-width: 961px) {
  .product-gallery {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    align-self: start;
  }
}

@media (max-width: 960px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .product-gallery {
    position: static;
    top: auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .product-gallery__main {
    padding: 28px 20px;
    aspect-ratio: 1 / 1;
  }
}

.product-gallery__main {
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.product-gallery__main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.08));
}
.product-gallery__thumbs {
  display: flex;
  gap: 2px;
  border-top: 1px solid var(--line);
}
.product-gallery__thumb {
  flex: 1;
  aspect-ratio: 1;
  padding: 12px;
  background: var(--white);
  cursor: pointer;
  opacity: .6;
  transition: opacity .2s, background .2s;
  border: none;
}
.product-gallery__thumb.is-active,
.product-gallery__thumb:hover {
  opacity: 1;
  background: var(--mist);
}
.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-info h1 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 12px 0 16px;
}
.product-info__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.product-info__lead {
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  margin: 0 0 24px;
}
.product-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.product-price__now {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -0.03em;
}
.product-price.is-sale .product-price__now {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: var(--black);
  color: var(--sale-gold);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--sale-gold-line);
  font-weight: 500;
}
.product-price__old {
  font-size: 18px;
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 300;
}
.product-price__save {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sale-gold-soft, var(--copper));
  padding: 4px 10px;
  border: 1px solid var(--sale-gold-line);
  background: rgba(10, 10, 10, 0.04);
}
.product-price__save[hidden],
.product-price__old[hidden] {
  display: none !important;
}

.perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line);
  margin-bottom: 28px;
}
.perk {
  background: var(--cream);
  padding: 18px 20px;
}
.perk__t {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 4px;
}
.perk__d {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  font-weight: 300;
}

.order-panel {
  background: var(--black);
  color: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
}
.order-panel h3 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 6px;
}
.order-panel__title {
  font-size: 20px;
  font-weight: 300;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.order-panel__sub {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin: 0 0 24px;
  font-weight: 300;
}
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 14px;
  transition: border-color .2s, background .2s;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,.25); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--copper);
  background: rgba(255,255,255,.09);
}

.specs-block { margin-top: 40px; }
.specs-block h3 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}
.specs-table { border-top: 1px solid var(--line); }
.specs-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.specs-row__k { color: var(--muted); font-weight: 300; }
.specs-row__v { font-weight: 500; text-align: right; }

.desc-block {
  margin-top: 32px;
}
.desc-block__title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}
.desc-block__content {
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
}
.desc-block__content p,
.desc-block__content div {
  margin: 0 0 12px;
}
.desc-block__content ul,
.desc-block__content ol {
  margin: 0 0 16px;
  padding-left: 1.25em;
}
.desc-block__content li {
  margin-bottom: 6px;
}
.desc-block__content li:last-child {
  margin-bottom: 0;
}
.desc-block__content strong,
.desc-block__content b {
  color: var(--ink-2);
  font-weight: 500;
}

.product-related {
  margin-top: 80px;
}

.section__eyebrow--dark {
  color: var(--red-dark);
  background: rgba(255, 255, 255, 0.55);
}

/* ─── Service cards (доставка) ─── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 960px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .service-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 20px 24px;
  position: relative;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}
.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--copper);
  color: var(--red-dark);
  border-radius: 12px;
  margin-bottom: 14px;
}
.service-card__num {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 12px;
  font-weight: 800;
  color: var(--red);
  opacity: .45;
}
.service-card__title {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink);
  padding-right: 28px;
}
.service-card__text {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

/* ─── Guarantee band ─── */
.guarantee-band {
  text-align: center;
}
.guarantee-band__title {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--red-dark);
}
.guarantee-band__title strong {
  color: var(--red);
}
.guarantee-band__lead {
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink-2);
}
.guarantee-band__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.guarantee-band__list li {
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid rgba(229, 57, 53, 0.15);
  border-radius: var(--radius-lg);
  padding: 18px 12px;
}
.guarantee-band__list strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 4px;
}
.guarantee-band__list span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.35;
}
@media (max-width: 768px) {
  .guarantee-band__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .guarantee-band__list { grid-template-columns: 1fr; }
}

/* ─── Contacts box ─── */
.contacts-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 40px 44px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
  border-top: 4px solid var(--red);
}
@media (max-width: 768px) {
  .contacts-box { padding: 28px 22px 32px; }
}
.contacts-box .field label {
  color: var(--muted);
}
.contacts-box .field input,
.contacts-box .field textarea {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}
.contacts-box .field input::placeholder,
.contacts-box .field textarea::placeholder {
  color: rgba(15, 15, 15, .35);
}
.contacts-box .field input:focus,
.contacts-box .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(15, 15, 15, .06);
}

/* ─── Benefits / editorial ─── */
.editorial {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 32px;
}
@media (max-width: 900px) { .editorial { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 500px) { .editorial { grid-template-columns: 1fr; } }
.editorial__item {
  padding: 0 0 0 16px;
  border-left: 3px solid var(--copper);
}
.editorial__num {
  font-size: 14px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 8px;
}
.editorial__title {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink);
}
.editorial__text {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0;
  font-weight: 600;
  line-height: 1.6;
}

/* ─── Contact split ─── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 768px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.split__pane {
  padding: 0;
}
.split__pane--form {
  padding-top: 0;
  border-left: 1px solid var(--line);
  padding-left: 48px;
}
@media (max-width: 768px) {
  .split__pane--form {
    border-left: none;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 36px;
  }
}
.split__pane h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--ink);
}
.split__pane p {
  color: var(--ink-2);
  font-weight: 600;
  margin: 0 0 24px;
}
.split__pane__meta {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

/* ─── Empty / success ─── */
.empty-state {
  text-align: center;
  padding: 100px 40px;
  background: var(--cream);
}
.empty-state h3 {
  font-size: 24px;
  font-weight: 300;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.empty-state p { color: var(--muted); margin: 0 0 24px; font-weight: 300; }

.success-page {
  text-align: center;
  padding: 100px 40px;
}
.success-page__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--copper);
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 28px;
}
.success-page h1 {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}
.success-page p {
  color: var(--muted);
  font-weight: 300;
  max-width: 400px;
  margin: 0 auto 32px;
}
.success-page__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Footer ─── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.75);
  padding: 64px 0 32px;
  border-top: 4px solid var(--copper);
}
.site-footer a { color: rgba(255,255,255,.55); transition: color .2s; }
.site-footer a:hover { color: var(--white); }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 500px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__brand p {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
  margin: 16px 0 0;
  max-width: 300px;
}
.site-footer h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--copper);
  margin: 0 0 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; font-size: 13px; font-weight: 300; }
.site-footer__bottom {
  border-top: 1px solid var(--line-light);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.3);
}
.site-footer__accent-line {
  width: 60px;
  height: 4px;
  background: var(--copper);
  border-radius: 4px;
  margin: 14px 0 0;
}
.site-footer__requisites {
  margin-bottom: 40px;
  padding: 24px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
}
.site-footer__rec {
  width: 100%;
  max-width: 255px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: invert(1) brightness(1.15);
  opacity: .5;
}

/* ─── Reviews ─── */
.reviews-section {
  position: relative;
}
.reviews-section .container { position: relative; z-index: 1; }
.reviews-section__all { flex-shrink: 0; }
.reviews-section__footer {
  text-align: center;
  margin-top: 32px;
}
.reviews-slider {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}
.reviews-slider__viewport {
  overflow: hidden;
}
.reviews-slider__track {
  display: flex;
  gap: 2px;
  transition: transform .45s var(--ease);
  will-change: transform;
}
.review-card--slide {
  flex: 0 0 calc(33.333% - 2px);
  min-width: 0;
}
@media (max-width: 960px) {
  .review-card--slide { flex: 0 0 calc(50% - 1px); }
}
@media (max-width: 640px) {
  .review-card--slide { flex: 0 0 100%; }
  .reviews-slider {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .reviews-slider__btn--prev,
  .reviews-slider__btn--next {
    display: none;
  }
}
.reviews-slider__btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  transition: border-color .2s, color .2s, background .2s;
  flex-shrink: 0;
}
.reviews-slider__btn:hover {
  border-color: var(--copper);
  color: var(--copper-dark);
}
.reviews-slider__dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.reviews-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--stone);
  padding: 0;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.reviews-slider__dot.is-active {
  background: var(--copper);
  transform: scale(1.15);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--stone);
}
@media (max-width: 768px) {
  .reviews-grid { grid-template-columns: 1fr; }
}
.review-card {
  background: var(--white);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  border: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.review-card__star.is-on { color: var(--red); }
.review-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 32px var(--red-glow);
  transform: translateY(-2px);
}
.review-card--slide {
  animation: review-card-in .6s var(--ease) both;
}
.review-card--slide:nth-child(2) { animation-delay: .08s; }
.review-card--slide:nth-child(3) { animation-delay: .16s; }
.review-card--slide:nth-child(4) { animation-delay: .24s; }
.review-card--slide:nth-child(5) { animation-delay: .32s; }
.review-card--slide:nth-child(6) { animation-delay: .4s; }
.review-card--slide:nth-child(7) { animation-delay: .48s; }
.review-card--slide:nth-child(8) { animation-delay: .56s; }
@keyframes review-card-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.review-card__top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.review-card__avatar {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  flex-shrink: 0;
}
.review-card__source {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--white);
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.review-card__source svg {
  display: block;
  width: 100%;
  height: 100%;
}
.review-card__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.review-card__sub {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
  line-height: 1.4;
}
.review-card__stars {
  display: flex;
  gap: 2px;
  font-size: 12px;
  line-height: 1;
}
.review-card__star { color: var(--stone); }
.review-card__text {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-2);
  flex: 1;
}
.review-card__date {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── Review form ─── */
.review-form-section {
  padding-top: 0;
  background: var(--white);
}
.review-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.review-form-intro__list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.review-form-intro__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 300;
}
.review-form-intro__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper);
}
.review-form-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.review-form-alert {
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.review-form-alert--ok {
  background: #e8f3ec;
  color: var(--ok);
  border: 1px solid rgba(45, 106, 79, .2);
}
.review-form-alert--err {
  background: #f8ecec;
  color: var(--sale);
  border: 1px solid rgba(143, 61, 61, .2);
}
.review-form__row {
  display: grid;
  gap: 14px;
}
.review-form__row--2 {
  grid-template-columns: 1fr 1fr;
}
.review-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.review-form__note {
  margin: 14px 0 0;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  text-align: center;
}
.review-form__label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.field--light label,
.field--light .review-form__label {
  color: var(--muted);
}
.field--light input,
.field--light textarea,
.field--light select {
  width: 100%;
  padding: 13px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field--light input:focus,
.field--light textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(15, 15, 15, .06);
}
.field__opt {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  font-size: 10px;
}
.review-rating {
  display: flex;
  gap: 6px;
}
.review-rating__star {
  cursor: pointer;
  display: inline-flex;
}
.review-rating__star input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.review-rating__star span {
  font-size: 28px;
  line-height: 1;
  color: var(--stone);
  transition: color .15s, transform .15s;
}
.review-rating__star input:checked + span,
.review-rating__star:has(~ .review-rating__star input:checked) span {
  color: var(--copper);
}
.review-rating:hover .review-rating__star input + span {
  color: var(--stone);
}
.review-rating__star:hover input + span,
.review-rating__star:hover ~ .review-rating__star input + span {
  color: var(--copper);
}
.review-rating__star input:focus-visible + span {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 900px) {
  .review-form-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .review-form-card {
    padding: 24px 20px;
  }
  .review-form__row--2 {
    grid-template-columns: 1fr;
  }
}

.catalog-hero--short {
  min-height: 200px;
}

/* ─── Promo banner ─── */
.promo-banner {
  position: fixed;
  z-index: 200;
  right: 20px;
  bottom: 20px;
  max-width: 340px;
  padding: 16px 44px 16px 18px;
  background: var(--black);
  color: rgba(255,255,255,.88);
  border: 1px solid rgba(184,149,107,.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,.28);
  transform: translateY(120%);
  opacity: 0;
  transition: transform .45s var(--ease), opacity .45s var(--ease);
}
.promo-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.promo-banner:not(.is-visible) { pointer-events: none; }
.promo-banner__text {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.55;
}
.promo-banner__code {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 8px;
  background: rgba(184,149,107,.18);
  color: var(--copper);
  letter-spacing: 0.12em;
  font-weight: 600;
}
.promo-banner__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,.45);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s;
}
.promo-banner__close:hover { color: #fff; }
.promo-banner__apply { width: 100%; }
.field--promo input {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (max-width: 500px) {
  .promo-banner {
    left: max(16px, env(safe-area-inset-left));
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    max-width: none;
  }
}

/* ─── Page transitions ─── */
main { animation: fadeUp .5s var(--ease) both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  main { animation: none; }
}
@media (hover: none) {
  .btn:hover { transform: none; }
}

/* ─── Mobile refinements ─── */
@media (max-width: 900px) {
  :root { --header-h: 64px; }

  .page-home {
    overflow-x: hidden;
  }

  .reviews-section,
  .reviews-slider,
  .reviews-slider__viewport {
    max-width: 100%;
  }

  .section { padding: 64px 0; }
  .section__head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 32px;
  }
  .section__head .btn { align-self: stretch; text-align: center; }

  .catalog-hero {
    padding: calc(var(--site-top-h) + 32px) 0 28px;
  }
  .catalog-hero .container,
  .catalog-toolbar .container,
  .section > .container,
  .site-footer .container {
    padding-left: max(var(--page-gutter), calc(env(safe-area-inset-left, 0px) + 8px));
    padding-right: max(var(--page-gutter), calc(env(safe-area-inset-right, 0px) + 8px));
  }
  .catalog-hero p { font-size: 14px; line-height: 1.5; }

  .catalog-toolbar__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 0;
  }
  .chips-scroll {
    margin: 0;
    padding: 0 0 2px;
  }
  .chips-scroll .chips {
    flex-wrap: nowrap;
    width: max-content;
    padding-right: 4px;
  }
  .catalog-count { align-self: flex-start; }

  .catalog-filters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .catalog-filters input,
  .catalog-filters select {
    min-width: 0 !important;
    width: 100%;
  }
  .catalog-filters__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .catalog-filters__actions .btn {
    white-space: normal;
    padding-left: 12px;
    padding-right: 12px;
  }

  .p-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .p-card__body { padding: 16px 14px 20px; }
  .p-card__name { font-size: 13px; }
  .p-card__now { font-size: 16px; }
  .p-card__actions {
    flex-direction: column;
  }
  .p-card__actions .btn { width: 100%; }

  .product-page { padding: 24px 0 56px; }
  .breadcrumbs { margin-bottom: 20px; font-size: 10px; }
  .product-info h1 { font-size: 22px; }
  .product-price__now { font-size: 28px; }
  .perks { grid-template-columns: 1fr; }
  .order-panel { padding: 24px 20px; }
  .specs-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .specs-row__v { text-align: left; }

.section--guarantee { padding: 48px 0; }
  .contacts-box { padding: 24px 18px 28px; }
  .service-card { padding: 18px 16px 20px; }

  .reviews-section__all { align-self: stretch; text-align: center; }
  .reviews-section__footer .btn { width: 100%; }

  .product-related { margin-top: 48px; }

  .site-footer { padding: 48px 0 28px; }
  .site-footer__grid { gap: 28px; margin-bottom: 36px; }
  .site-footer__rec { max-width: min(100%, 255px); }
}

@media (max-width: 640px) {
  .top-bar {
    font-size: 9px;
    letter-spacing: 0.06em;
    padding: 10px max(var(--page-gutter), env(safe-area-inset-right, 0px)) 10px max(var(--page-gutter), env(safe-area-inset-left, 0px));
    line-height: 1.45;
  }

  .site-header__inner {
    gap: 16px;
  }
  .brand-logo__icon { width: 34px; height: 34px; }

  .section { padding: 56px 0; }

  .btn--lg {
    padding: 14px 20px;
    font-size: 11px;
  }

  .p-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cat-tile { aspect-ratio: 16/10; }
  .cat-tile__overlay { padding: 22px; }
  .cat-tile__name { font-size: 20px; }

  .catalog-filters__actions {
    grid-template-columns: 1fr;
  }

  .product-page { padding: 20px 0 48px; }
  .order-panel { padding: 24px 20px; }

  .product-gallery__thumbs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .product-gallery__thumbs::-webkit-scrollbar { display: none; }
  .product-gallery__thumb {
    flex: 0 0 72px;
    min-width: 72px;
  }

  .desc-block__content {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero__stats > div {
    grid-column: span 2;
  }
  .hero__stats > div:first-child {
    grid-column: span 1;
  }
  .hero__stats > div:nth-child(2) {
    grid-column: span 1;
  }

  .promo-banner {
    bottom: max(14px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .hero__cta {
    flex-direction: column;
  }
  .hero__cta .btn {
    flex: none;
    width: 100%;
  }
  .hero__stats {
    grid-template-columns: 1fr;
  }
  .hero__stats > div {
    grid-column: span 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .review-card--slide {
    animation: none !important;
  }
  .review-card:hover,
  .p-card:hover,
  .service-card:hover,
  .btn:hover { transform: none; }
}
