﻿@charset "UTF-8";
/* ============================================================
   FireConstruct — style.css
   Fonts: Bebas Neue (display) + Montserrat (body)
   Palette / type / space: see design-tokens.css (homepage etalon)
   ============================================================ */

@import url('design-tokens.css?v=96');

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-y: auto;
  width: 100%;
}
body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
}
body.catalog-like-page {
  background: #f2f2f2;
  color: #222;
}

/* ── SHARED SITE RAIL (topbar + header + sections) ──────────── */
:root {
  --site-max: 1400px;
  --site-gutter: clamp(16px, 3vw, 40px);
}
.container,
.topbar-inner,
.header-inner {
  width: 100%;
  max-width: 1400px;
  max-width: var(--site-max, 1400px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  padding-left: var(--site-gutter, 40px);
  padding-right: var(--site-gutter, 40px);
  box-sizing: border-box;
}
.topbar,
header {
  display: block;
}

/* ── SECTIONS ───────────────────────────────────────────────── */
section { padding: var(--space-80) 0; }

.section-label {
  font-size: var(--text-caption);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--fire);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-16);
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--fire);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-display);
  margin-bottom: var(--space-16);
  color: var(--white);
  font-weight: 400;
}
.section-title span { color: var(--fire); }
.section-desc {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--text-muted);
  max-width: 520px;
}

/* ── TOP BAR ────────────────────────────────────────────────── */
.topbar {
  background: var(--black);
  border-bottom: 1px solid var(--border);
  padding: 9px 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: var(--light-gray); text-decoration: none; transition: color 0.2s; }
.topbar a:hover { color: var(--white); }
.topbar-left { display: flex; gap: 30px; align-items: center; color: var(--gray); }
.topbar-left span { color: var(--fire); font-weight: 600; }
.topbar-right { display: flex; gap: 20px; align-items: center; }
.topbar-lang-sep {
  color: var(--light-gray);
  opacity: 0.7;
  user-select: none;
  margin: 0 -8px;
}
.topbar .lang-link.is-active {
  color: var(--white);
  font-weight: 600;
}

/* ── HEADER ─────────────────────────────────────────────────── */
header {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 14px;
  min-height: 60px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon { width: 34px; height: 34px; }
.logo-icon svg { width: 100%; height: 100%; }
.logo-icon svg path { fill: #FF5500; }
.logo-text { line-height: 1; }
.logo-text .brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(20px, 2vw, 25px);
  color: var(--white);
  letter-spacing: clamp(2px, 0.35vw, 4px);
  display: block;
}
.logo-text .brand span { color: var(--fire); }
.logo-text .tagline {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gray);
  text-transform: uppercase;
  white-space: nowrap;
}

nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  min-width: 0;
  justify-self: stretch;
}
nav a {
  color: var(--gray);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 10px;
  transition: color 0.2s;
  position: relative;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 10px; right: 10px;
  height: 1px;
  background: var(--fire);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
nav a:hover,
nav a.active { color: var(--white); }
nav a:hover::after,
nav a.active::after { transform: scaleX(1); }

.header-cta {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 18px);
  flex-shrink: 0;
  justify-self: end;
}
.header-cta .btn {
  flex-shrink: 0;
  white-space: nowrap;
}
.phone-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(17px, 1.65vw, 21px);
  color: var(--white);
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.phone-num:hover { color: var(--fire); }

/* Узкая ширина окна: убираем подзаголовок логотипа — больше места под телефон и «Заказать» */
@media (max-width: 1220px) {
  .logo-text .tagline { display: none; }
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--btn-height);
  padding: 0 28px;
  font-size: var(--text-caption);
  font-weight: 700;
  letter-spacing: var(--tracking-button);
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  cursor: pointer;
  font-family: var(--font-body);
  transition:
    background var(--dur) var(--ease-premium),
    border-color var(--dur) var(--ease-premium),
    color var(--dur) var(--ease-premium),
    transform var(--dur) var(--ease-premium),
    box-shadow var(--dur) var(--ease-premium);
}
.header-cta .btn {
  min-height: var(--btn-height-sm);
  padding: 0 18px;
}
.btn-fire { background: var(--fire); color: var(--white); border-color: var(--fire); }
.btn-fire:hover {
  background: var(--fire-glow);
  border-color: var(--fire-glow);
  transform: translateY(-2px);
}
.btn-fire:active { background: var(--fire-deep); transform: translateY(0); }

/* ── CTA Shine Sweep (glass reflection) ─────────────────────── */
.btn-fire,
.contact-submit,
.rc-btn--primary,
.order-submit-btn:not(:disabled) {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition:
    background var(--dur) var(--ease-premium),
    border-color var(--dur) var(--ease-premium),
    color var(--dur) var(--ease-premium),
    transform var(--dur) var(--ease-premium),
    box-shadow var(--dur) var(--ease-premium);
}
.btn-fire::after,
.contact-submit::after,
.rc-btn--primary::after,
.order-submit-btn:not(:disabled)::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.06) 44%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.06) 56%,
    transparent 62%,
    transparent 100%
  );
  transform: translate3d(-160%, 0, 0) skewX(-18deg);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  will-change: transform, opacity;
}
.btn-fire:hover,
.contact-submit:hover,
.rc-btn--primary:hover,
.order-submit-btn:not(:disabled):hover {
  background: var(--fire-glow);
  border-color: var(--fire-glow);
  color: var(--white);
  transform: translate3d(0, -2px, 0);
  box-shadow:
    0 10px 28px rgba(181, 18, 43, 0.32),
    0 0 0 1px rgba(209, 28, 56, 0.18),
    0 0 24px rgba(181, 18, 43, 0.22);
}
.btn-fire:hover::after,
.contact-submit:hover::after,
.rc-btn--primary:hover::after,
.order-submit-btn:not(:disabled):hover::after {
  opacity: 1;
  animation: cta-shine-sweep 650ms cubic-bezier(0.22, 1, 0.36, 1) 1;
}
.btn-fire:active,
.contact-submit:active,
.rc-btn--primary:active,
.order-submit-btn:not(:disabled):active {
  background: var(--fire-deep);
  border-color: var(--fire-deep);
  transform: scale(0.98);
  box-shadow: 0 4px 12px rgba(181, 18, 43, 0.2);
  transition-duration: 120ms;
}
@keyframes cta-shine-sweep {
  0% {
    transform: translate3d(-160%, 0, 0) skewX(-18deg);
    opacity: 0;
  }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% {
    transform: translate3d(220%, 0, 0) skewX(-18deg);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn-fire::after,
  .contact-submit::after,
  .rc-btn--primary::after,
  .order-submit-btn:not(:disabled)::after {
    display: none;
  }
  .btn-fire:hover,
  .contact-submit:hover,
  .rc-btn--primary:hover,
  .order-submit-btn:not(:disabled):hover,
  .btn-fire:active,
  .contact-submit:active,
  .rc-btn--primary:active,
  .order-submit-btn:not(:disabled):active {
    transform: none;
  }
}
@media (hover: none) {
  .btn-fire:hover::after,
  .contact-submit:hover::after,
  .rc-btn--primary:hover::after,
  .order-submit-btn:not(:disabled):hover::after {
    animation: none;
    opacity: 0;
  }
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}
.btn-white { background: var(--white); color: var(--fire); font-weight: 700; border-color: var(--white); }
.btn-white:hover { background: var(--black); color: var(--white); border-color: var(--black); transform: translateY(-2px); }
.btn-dark-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-dark-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: calc(100vh - 80px);
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
  padding: 0 !important;
  margin: 0;
  margin-top: 0;
  padding-top: 0 !important;
}
.hero-swiper {
  width: 100%;
  height: 100%;
  min-height: 680px;
  margin-top: 0;
  padding-top: 0;
}
.hero-swiper .swiper-slide {
  position: relative;
  height: 100%;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
  margin-top: 0;
  padding-top: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* One shared soft left veil — full bleed, no hard vertical split */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.88) 0%,
    rgba(0,0,0,.82) 18%,
    rgba(0,0,0,.68) 35%,
    rgba(0,0,0,.45) 52%,
    rgba(0,0,0,.18) 72%,
    rgba(0,0,0,0) 100%
  );
}
.hero-grid { display: none; }
.hero-diagonal { display: none; }
.hero-diagonal-stripe { display: none; }
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0 var(--site-gutter);
  width: 100%;
  box-sizing: border-box;
}
.hero-content {
  max-width: 560px;
  padding-left: clamp(32px, 5vw, 80px);
}
.hero-slide--split .hero-content {
  max-width: 560px;
  padding-left: clamp(32px, 5vw, 80px);
}
.hero-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fire);
  margin-bottom: var(--space-16);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(181, 18, 43, 0.12);
  border: 1px solid rgba(181, 18, 43, 0.55);
  padding: 8px 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-32);
  box-shadow: inset 0 0 12px rgba(181, 18, 43, 0.06);
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--fire);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 1.8s infinite;
}
.hero-badge span {
  background: linear-gradient(90deg, #fff 60%, #D11C38 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.2} }
.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  line-height: 1;
  letter-spacing: var(--tracking-display);
  margin-bottom: var(--space-32);
  font-weight: 400;
}
.hero-title .line1 { display: block; color: var(--white); }
.hero-title .line2 { display: block; color: var(--fire); }
.hero-title .line3 { display: block; color: var(--white); font-size: 0.55em; letter-spacing: 8px; margin-top: 8px; }
.hero-subtitle {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: rgba(255, 255, 255, 0.72);
  max-width: 460px;
  margin-bottom: var(--space-32);
  font-weight: 400;
}
.hero-slide--split .hero-subtitle { margin-bottom: var(--space-32); }
.hero-features {
  list-style: none;
  margin: 0 0 var(--space-32);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}
.hero-features li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}
.hero-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 0;
  border: 0;
  border-top: 1px solid var(--fire);
  background: none;
  border-radius: 0;
}
.hero-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--space-16);
}
.hero-actions .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}
.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.48);
}
.hero .btn-outline:hover {
  border-color: #fff;
  background: rgba(0, 0, 0, 0.38);
}

/* Soft atmosphere over entire Hero (GPU-light, no heavy blur) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 78% 42%, rgba(255, 255, 255, 0.025) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 62% 68%, rgba(255, 255, 255, 0.018) 0%, transparent 50%),
    radial-gradient(ellipse 55% 40% at 18% 75%, rgba(255, 255, 255, 0.012) 0%, transparent 48%),
    radial-gradient(ellipse 100% 90% at 50% 50%, transparent 52%, rgba(0, 0, 0, 0.28) 100%);
  opacity: 0.9;
}

/* Split slides — cinematic scene (matches first banner composition) */
.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--black);
  pointer-events: none;
}
.hero-visual {
  position: absolute;
  top: 50%;
  left: calc(32% + 36px);
  right: -8%;
  height: 90vh;
  max-height: 90vh;
  transform: translateY(calc(-50% - 34px));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.hero-slide-img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 90vh;
  object-fit: contain;
  object-position: 40% center;
  opacity: 0;
  transform: scale(1.05);
  filter: saturate(0.94) contrast(1.06) brightness(0.9);
  -webkit-mask-image:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.25) 6%,
      #000 18%,
      #000 78%,
      rgba(0, 0, 0, 0.55) 90%,
      transparent 100%
    ),
    linear-gradient(
      180deg,
      transparent 0%,
      #000 12%,
      #000 70%,
      rgba(0, 0, 0, 0.5) 86%,
      transparent 100%
    );
  mask-image:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.25) 6%,
      #000 18%,
      #000 78%,
      rgba(0, 0, 0, 0.55) 90%,
      transparent 100%
    ),
    linear-gradient(
      180deg,
      transparent 0%,
      #000 12%,
      #000 70%,
      rgba(0, 0, 0, 0.5) 86%,
      transparent 100%
    );
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-slide-img.is-loaded {
  opacity: 1;
}
.swiper-slide-active .hero-slide-img.is-loaded {
  transform: scale(1);
}
.hero-scene-glow {
  position: absolute;
  z-index: 0;
  top: 12%;
  right: 4%;
  width: min(62vw, 820px);
  height: min(70vh, 720px);
  background: radial-gradient(
    ellipse at 45% 50%,
    rgba(181, 18, 43, 0.12) 0%,
    rgba(181, 18, 43, 0.04) 34%,
    transparent 68%
  );
  pointer-events: none;
  opacity: 0.85;
}
.hero-scene-smoke {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 65% 45% at 72% 58%, rgba(255, 255, 255, 0.03) 0%, transparent 58%),
    radial-gradient(ellipse 48% 36% at 88% 28%, rgba(255, 255, 255, 0.02) 0%, transparent 52%),
    radial-gradient(ellipse 70% 50% at 62% 88%, rgba(0, 0, 0, 0.28) 0%, transparent 62%);
  opacity: 0.7;
}
.hero-scene-veil {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.94) 0%,
      rgba(0, 0, 0, 0.88) 14%,
      rgba(0, 0, 0, 0.72) 28%,
      rgba(0, 0, 0, 0.42) 42%,
      rgba(0, 0, 0, 0.16) 56%,
      rgba(0, 0, 0, 0.04) 70%,
      transparent 82%
    ),
    radial-gradient(
      ellipse 100% 90% at 55% 45%,
      transparent 35%,
      rgba(0, 0, 0, 0.45) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.42) 0%,
      transparent 18%,
      transparent 68%,
      rgba(0, 0, 0, 0.58) 100%
    );
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: var(--space-64);
  border: 1px solid var(--border);
}
.hero-stat {
  padding: var(--space-24) var(--space-16);
  text-align: center;
  border-right: 1px solid var(--border);
}
.hero-stat:last-child { border-right: none; }
.hero-stat .num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px;
  color: var(--white);
  line-height: 1;
}
.hero-stat .label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 5px;
}

/* Hero slide content animation */
.hero-anim {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-badge.hero-anim {
  transform: translateY(-14px);
}
.swiper-slide-active .hero-badge.hero-anim,
.swiper-slide-active .hero-brand.hero-anim {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.06s;
}
.swiper-slide-active .hero-title.hero-anim {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.14s;
}
.swiper-slide-active .hero-subtitle.hero-anim {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.24s;
}
.swiper-slide-active .hero-features.hero-anim {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.32s;
}
.swiper-slide-active .hero-actions.hero-anim {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}
.swiper-slide-active .hero-stats.hero-anim {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.48s;
}

/* Hero navigation arrows — appear on Hero hover */
.hero-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border: 1px solid rgba(181, 18, 43, 0.55);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity var(--dur) var(--ease-premium),
    transform var(--dur) var(--ease-premium),
    background var(--dur) var(--ease-premium),
    border-color var(--dur) var(--ease-premium);
}
.hero:hover .hero-nav,
.hero:focus-within .hero-nav {
  opacity: 1;
  pointer-events: auto;
}
.hero-nav::before {
  content: '';
  width: 7px;
  height: 7px;
  border-top: 1.25px solid currentColor;
  border-right: 1.25px solid currentColor;
}
.hero-nav-prev {
  left: 24px;
}
.hero-nav-prev::before {
  transform: rotate(-135deg);
  margin-left: 2px;
}
.hero-nav-next {
  right: 24px;
}
.hero-nav-next::before {
  transform: rotate(45deg);
  margin-right: 2px;
}
.hero-nav:hover {
  transform: scale(1.06);
  background: rgba(0, 0, 0, 0.42);
  border-color: rgba(181, 18, 43, 0.9);
  color: var(--white);
}
.hero-nav:active {
  transform: scale(1.02);
  background: rgba(0, 0, 0, 0.5);
}

/* Hero pagination — horizontal bars */
.hero-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 4;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.hero-pagination .swiper-pagination-bullet {
  width: 42px;
  height: 2px;
  margin: 0 !important;
  border-radius: 0;
  background: #2e2e2e;
  opacity: 1;
  transition:
    background var(--dur) var(--ease-premium),
    width var(--dur) var(--ease-premium);
}
.hero-pagination .swiper-pagination-bullet-active {
  background: var(--fire);
  width: 56px;
}
@keyframes fadeInDown { from{opacity:0;transform:translateY(-16px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeInUp   { from{opacity:0;transform:translateY(24px)}  to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn     { from{opacity:0} to{opacity:1} }

/* ── MARQUEE ─────────────────────────────────────────────────── */
.marquee-bar {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-block;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.35);
  margin: 0 28px;
}
.marquee-track .dot {
  color: var(--fire);
  font-size: 8px;
  vertical-align: middle;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── PRODUCTS ────────────────────────────────────────────────── */
.products { background: #F4F4F4; padding: var(--space-80) 0; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: var(--space-48);
  border-top: 1px solid #d8d8d8;
  border-left: 1px solid #d8d8d8;
}
.product-card {
  background: var(--white);
  padding: var(--space-16) 12px 14px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition:
    background var(--dur) var(--ease-premium),
    box-shadow var(--dur) var(--ease-premium);
  border-right: 1px solid #d8d8d8;
  border-bottom: 1px solid #d8d8d8;
  box-shadow: none;
  border-radius: 0;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 188px;
}
.product-card:hover {
  background: #fffdf9;
  box-shadow: inset 0 0 0 2px var(--fire);
  z-index: 2;
  transform: translateY(-2px);
}
.product-img {
  width: 100%;
  height: 124px;
  overflow: hidden;
  margin-bottom: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-sizing: border-box;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
  display: block;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid rgba(0,0,0,0.1);
  background: #F8F8F8;
}
.product-icon svg { width: 22px; height: 22px; stroke: rgba(0,0,0,0.45); }
.product-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  margin: auto 0 0;
  color: var(--black);
  line-height: 1.35;
}
.product-card p {
  font-size: 12px;
  line-height: 1.75;
  color: rgba(0,0,0,0.5);
  margin-bottom: 20px;
}
.product-link {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fire);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}
.product-card:hover .product-link { gap: 14px; }
.products .section-label { color: var(--fire); }
.products .section-label::before { background: var(--fire); }
.products .section-title { color: var(--black); }
.products .section-title span { color: var(--fire); }
.products .section-desc { color: rgba(0,0,0,0.5); }

/* ── ABOUT ───────────────────────────────────────────────────── */
.about { background: var(--black); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-64);
  align-items: center;
}
.about .section-label { color: var(--fire); }
.about .section-label::before { background: var(--fire); }
.about-title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 400;
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-display);
  color: var(--white);
  margin-bottom: var(--space-16);
  margin-top: 0;
}
.about-title span { color: var(--fire); }
.about-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--text-body);
  font-weight: 400;
  line-height: var(--leading-body);
  color: var(--text-muted);
  margin-bottom: var(--space-24);
}
.about-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16) var(--space-24);
}
.about-checklist li {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
}
.about-checklist li::before {
  content: '';
  width: 12px;
  height: 0;
  min-width: 12px;
  margin-top: 8px;
  border: 0;
  border-top: 1px solid var(--fire);
  border-radius: 0;
  background: none;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
}
.about-stat-card {
  background: var(--black);
  padding: var(--space-32);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-card);
  box-shadow: none;
}
.about-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: var(--white);
  line-height: 1;
  letter-spacing: 1px;
}
.about-stat-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 8px;
}
.about-stat-card--text .about-stat-num {
  font-size: 22px;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.about-stat-card--text .about-stat-label {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255,255,255,0.45);
}

/* ── WHY US ──────────────────────────────────────────────────── */
.whyus {
  background: #F4F4F4;
  padding: var(--space-96) 0;
}
.whyus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-16);
  margin-top: var(--space-48);
}
.whyus .section-title {
  color: var(--black);
  font-size: var(--text-h2);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  margin-bottom: 0;
}
.whyus .section-title span { color: var(--fire); }
.whyus .section-label {
  color: var(--fire);
  margin-bottom: var(--space-16);
}
.whyus .section-label::before { background: var(--fire); }
.why-card {
  padding: 40px 36px;
  background: var(--white);
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  transition:
    transform 280ms cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 280ms cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.why-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--fire);
  opacity: 0;
  transition: opacity 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.1);
}
.why-card:hover::before {
  opacity: 1;
}
.why-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 72px;
  color: rgba(0, 0, 0, 0.04);
  line-height: 1;
  position: absolute;
  top: 10px;
  right: 20px;
  user-select: none;
  pointer-events: none;
}
.why-icon {
  display: block;
  font-size: 32px;
  margin-bottom: 20px;
  line-height: 1;
}
.why-icon svg {
  width: 32px;
  height: 32px;
  display: block;
  stroke: rgba(0, 0, 0, 0.42);
  transition: stroke 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.why-icon img {
  width: 32px;
  height: 32px;
  display: block;
  opacity: 0.55;
  transition:
    opacity 280ms cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.why-card:hover .why-icon svg {
  stroke: var(--fire);
}
.why-card:hover .why-icon img {
  opacity: 1;
  filter: invert(16%) sepia(97%) saturate(5118%) hue-rotate(347deg) brightness(88%) contrast(92%);
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 700;
  letter-spacing: 1.2px;
  line-height: var(--leading-tight);
  margin: 0 0 var(--space-16);
  color: var(--black);
}
.why-card p {
  margin: 0;
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: rgba(0, 0, 0, 0.5);
}

/* ── BRANDS ──────────────────────────────────────────────────── */
.brands {
  background: var(--black);
  padding: var(--space-64) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.brands-label {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: var(--space-32);
}
.brands-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-48);
  flex-wrap: wrap;
}
.brand-item {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--fire);
  opacity: 0.6;
  transition: opacity var(--dur) var(--ease-premium);
  cursor: default;
}
.brand-item:hover { opacity: 1; }

/* ── CTA BANNER ──────────────────────────────────────────────── */
.cta-banner {
  background: var(--fire);
  padding: var(--space-80) 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 30px,
    rgba(0,0,0,0.04) 30px,
    rgba(0,0,0,0.04) 60px
  );
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-48);
}
.cta-text h2 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  letter-spacing: var(--tracking-display);
  color: var(--white);
  line-height: var(--leading-display);
  margin-bottom: var(--space-16);
  font-weight: 400;
}
.cta-text p { font-size: var(--text-body); line-height: var(--leading-body); color: rgba(255,255,255,0.8); }
.cta-actions { display: flex; gap: var(--space-16); flex-shrink: 0; }

.fc-phone-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 10050;
  transform: translateX(-50%) translateY(12px);
  padding: 12px 18px;
  border-radius: var(--radius-control);
  background: rgba(10, 10, 10, 0.92);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-premium), transform 0.25s var(--ease-premium);
}
.fc-phone-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.contact-row--highlight {
  box-shadow: 0 0 0 2px rgba(181, 18, 43, 0.45);
  border-radius: 12px;
  transition: box-shadow 0.25s var(--ease-premium);
}

/* ── CONTACT ─────────────────────────────────────────────────── */
.contact {
  background: #1A1A1A;
  padding: var(--space-96) 0 0;
}
.contact-head {
  max-width: 780px;
  margin-bottom: var(--space-48);
}
.contact-kicker {
  display: inline-block;
  margin: 0 0 var(--space-16);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fire);
}
.contact-kicker--card {
  margin-bottom: 10px;
}
.contact-title {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: 400;
  letter-spacing: var(--tracking-display);
  line-height: 1;
  color: var(--white);
  margin: 0 0 var(--space-16);
}
.contact-title span { color: var(--fire); }
.contact-lead {
  margin: 0;
  max-width: 560px;
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--text-sub);
  font-weight: 400;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-48);
  align-items: stretch;
}
.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(200, 16, 46, 0.04), transparent 120px),
    #1A1A1A;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-48);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.contact-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: #d3132f;
}
.contact-card-heading {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: var(--text-h3);
  letter-spacing: var(--tracking-display);
  color: var(--white);
  margin: 0 0 var(--space-24);
  font-weight: 400;
}
.contact-trust {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0 0 var(--space-32);
  padding: 0 0 var(--space-32);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}
.contact-trust li {
  position: relative;
  padding-left: 26px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 500;
}
.contact-trust li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 0.28em;
  width: 5px;
  height: 9px;
  border-right: 1.6px solid var(--fire);
  border-bottom: 1.6px solid var(--fire);
  transform: rotate(40deg);
}
.contact-rows {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.contact-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-16);
  align-items: flex-start;
  padding: var(--space-24) 0;
  border-bottom: 1px solid var(--border);
}
.contact-row:last-child {
  border-bottom: none;
  padding-bottom: 8px;
}
.contact-row:first-child {
  padding-top: 4px;
}
.contact-row-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.66);
  transition:
    color var(--dur) var(--ease-premium),
    background var(--dur) var(--ease-premium),
    border-color var(--dur) var(--ease-premium),
    box-shadow var(--dur) var(--ease-premium);
}
.contact-row-icon svg {
  width: 24px;
  height: 24px;
}
.contact-row:hover .contact-row-icon {
  color: var(--fire);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(181, 18, 43, 0.28);
  box-shadow: 0 0 0 1px rgba(181, 18, 43, 0.1);
}
.contact-row-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fire);
  margin-bottom: 8px;
}
.contact-row-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.76);
}
.contact-phone {
  display: block;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-phone + .contact-phone { margin-top: 5px; }
.contact-phone:hover { color: var(--fire); }
.contact-email {
  display: block;
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-email:hover { color: var(--fire); }
.contact-actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  margin-top: var(--space-32);
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--btn-height);
  padding: 0 22px;
  border-radius: var(--radius-control);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background var(--dur) var(--ease-premium),
    border-color var(--dur) var(--ease-premium),
    color var(--dur) var(--ease-premium),
    transform var(--dur) var(--ease-premium),
    box-shadow var(--dur) var(--ease-premium);
}
.contact-btn--wa {
  background: #0A0A0A;
  color: var(--white);
  border: 1px solid #0A0A0A;
}
.contact-btn--wa:hover {
  background: #191919;
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
  transform: translateY(-2px);
}
.contact-btn--call {
  background: var(--fire);
  color: var(--white);
  border: 1px solid var(--fire);
}
.contact-btn--call:hover {
  background: var(--fire-glow);
  border-color: var(--fire-glow);
  color: var(--white);
  transform: translateY(-2px);
}

/* Form card */
.contact-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-bottom: 22px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.contact-badge-icon {
  width: 15px;
  height: 15px;
  color: var(--fire);
  display: inline-flex;
  flex-shrink: 0;
}
.contact-badge-icon svg {
  width: 15px;
  height: 15px;
}
.contact-card--form .contact-card-heading {
  margin-bottom: 12px;
}
.contact-form-lead {
  position: relative;
  z-index: 1;
  margin: 0 0 28px;
  font-size: 13px;
  line-height: 1.65;
  color: #8F8F8F;
  max-width: 420px;
}
.contact-form-fields {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  flex: 1;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
}
.contact-field input,
.contact-field textarea,
.contact-field select {
  width: 100%;
  height: 52px;
  background: #1b1b1b;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-control);
  color: var(--white);
  padding: 0 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition:
    border-color var(--dur) var(--ease-premium),
    box-shadow var(--dur) var(--ease-premium);
}
.contact-field textarea {
  height: 160px;
  min-height: 160px;
  max-height: 160px;
  padding: 16px;
  resize: none;
  overflow-y: auto;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #5E5E5E;
}
.contact-field select {
  color: #7A7A7A;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237a7a7a' d='M1.4 0L6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 42px;
}
.contact-field select option {
  background: #1b1b1b;
  color: var(--white);
}
.contact-field input:focus,
.contact-field textarea:focus,
.contact-field select:focus {
  border-color: #C8102E;
  box-shadow: 0 0 0 1px rgba(200, 16, 46, 0.35);
  color: var(--white);
}
.contact-field input:-webkit-autofill,
.contact-field input:-webkit-autofill:hover,
.contact-field input:-webkit-autofill:focus,
.contact-field textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--white);
  caret-color: var(--white);
  box-shadow: 0 0 0 1000px #1b1b1b inset;
  border: 1px solid var(--border-strong);
  transition: background-color 99999s ease-in-out 0s;
}
.contact-field input:-webkit-autofill:focus {
  border-color: #C8102E;
  box-shadow:
    0 0 0 1000px #1b1b1b inset,
    0 0 0 1px rgba(200, 16, 46, 0.35);
}
.contact-field select:focus {
  color: var(--white);
}
.contact-submit {
  margin-top: auto;
  width: 100%;
  height: var(--btn-height);
  border: 1px solid var(--fire);
  border-radius: var(--radius-control);
  background: var(--fire);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background var(--dur) var(--ease-premium),
    border-color var(--dur) var(--ease-premium),
    transform var(--dur) var(--ease-premium);
}
/* contact-submit hover/active: see CTA Shine Sweep above */

/* Contact map */
.contact-map-block {
  margin-top: var(--space-96);
  background: #F4F4F4;
  padding: var(--space-96) 0 0;
}
.contact-map-head {
  margin-bottom: 24px;
  max-width: 560px;
}
.contact-map-title {
  margin: 0 0 var(--space-16);
  font-family: var(--font-display);
  font-size: var(--text-h2);
  letter-spacing: var(--tracking-display);
  color: #0A0A0A;
  line-height: var(--leading-display);
  font-weight: 400;
}
.contact-map-lead {
  margin: 0;
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: #666;
  max-width: 480px;
}
.contact-map-stage {
  position: relative;
}
.contact-map-shell {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid #E5E5E5;
  background: #fff;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
  transform: translateZ(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.contact-map-shell::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: #d3132f;
  z-index: 6;
  pointer-events: none;
}
.contact-map-stage:hover .contact-map-shell {
  transform: translateY(-2px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.12);
}
.contact-map-canvas,
.contact-map-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #F4F4F4;
}

/* Floating office card */
.contact-map-panel {
  position: absolute;
  left: 32px;
  top: 50%;
  z-index: 7;
  width: 300px;
  min-height: 170px;
  padding: var(--space-24);
  box-sizing: border-box;
  border-radius: var(--radius-card);
  background: #fff;
  border: 1px solid #E5E5E5;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-50%);
  transition:
    transform var(--dur) var(--ease-premium),
    box-shadow var(--dur) var(--ease-premium);
}
.contact-map-stage:hover .contact-map-panel {
  transform: translateY(calc(-50% - 4px));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.16);
}
.contact-map-panel-title {
  margin: 0 0 var(--space-16);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: var(--tracking-display);
  color: #0A0A0A;
  font-weight: 400;
  line-height: 1;
}
.contact-map-panel-city,
.contact-map-panel-street,
.contact-map-panel-office {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #666;
}
.contact-map-panel-city {
  color: #0A0A0A;
  font-weight: 600;
  font-size: 14px;
}
.contact-map-panel-street {
  margin-top: 4px;
}
.contact-map-panel-office {
  margin-top: 2px;
  margin-bottom: var(--space-16);
  color: #888;
}
.contact-map-panel-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.contact-btn--map {
  height: 40px;
  padding: 0 8px;
  font-size: 9px;
  letter-spacing: 0.8px;
  border-radius: var(--radius-control);
}

/* Google Maps InfoWindow */
.gm-style .gm-style-iw-c {
  padding: 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16) !important;
  background: #fff !important;
}
.gm-style .gm-style-iw-d {
  overflow: hidden !important;
  background: #fff !important;
}
.gm-style .gm-style-iw-tc::after {
  background: #fff !important;
}
.gm-style .gm-ui-hover-effect {
  opacity: 0.55 !important;
}
.gm-style .gm-ui-hover-effect > span {
  background-color: #111 !important;
}
.contact-map-iw {
  padding: 16px 18px 14px;
  min-width: 220px;
  color: #0A0A0A;
  font-family: 'Montserrat', sans-serif;
}
.contact-map-iw strong {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: #0A0A0A;
}
.contact-map-iw p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: #666;
}
.contact-map-iw a {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--fire);
  text-decoration: none;
  transition: color 0.25s ease;
}
.contact-map-iw a:hover {
  color: #8E0E22;
}
.contact-map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 56px;
  margin: -56px 0 0 -22px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  transition: transform 300ms ease;
  pointer-events: none;
}
.contact-map-pin::before {
  content: '';
  width: 28px;
  height: 28px;
  border-radius: 50% 50% 50% 0;
  background: #d3132f;
  transform: rotate(-45deg);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
}
.contact-map-pin-dot {
  position: absolute;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  z-index: 1;
}

/* Contact reveal directions */
.reveal-left.js-reveal { transform: translateX(-28px); opacity: 0; }
.reveal-right.js-reveal { transform: translateX(28px); opacity: 0; }
.reveal-left.js-reveal.visible,
.reveal-right.js-reveal.visible {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Keep legacy form styles for other pages */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-group { margin-bottom: 14px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 13px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #C8102E;
  box-shadow: 0 0 0 1px rgba(200, 16, 46, 0.35);
  background: rgba(255,255,255,0.06);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-group textarea { resize: none; min-height: 100px; height: 100px; max-height: 100px; overflow-y: auto; }
.form-group select { color: rgba(255,255,255,0.5); appearance: none; cursor: pointer; }
.form-group select option { background: var(--dark2); color: var(--white); }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: var(--space-64) 0 var(--space-32);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr 1fr 0.8fr;
  gap: var(--space-48);
  margin-bottom: var(--space-48);
}
.footer-col h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-24);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  font-size: 13px;
  transition: color var(--dur) var(--ease-premium);
  letter-spacing: 0.5px;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-logo { margin-bottom: var(--space-16); }
.footer-desc {
  font-size: 13px;
  line-height: var(--leading-body);
  color: rgba(255,255,255,0.3);
  margin-bottom: var(--space-16);
}
footer .logo-text .brand { color: var(--white); }
footer .logo-text .tagline { color: var(--gray); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-24);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.5px;
}
.footer-bottom span { color: var(--fire); }

/* ── NEWS / BLOG ─────────────────────────────────────────────── */
.news { background: #F4F4F4; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-24);
  margin-top: var(--space-48);
}
.news-card {
  background: var(--white);
  overflow: hidden;
  border-radius: var(--radius-card);
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  transition:
    transform var(--dur) var(--ease-premium),
    box-shadow var(--dur) var(--ease-premium);
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}
.news-card:hover {
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}
.news-card-img {
  width: 100%;
  height: 200px;
  background: #e0e0e0;
  overflow: hidden;
  position: relative;
}
.news-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}
.news-card-img-placeholder svg { opacity: 0.15; }
.news-card-body {
  padding: var(--space-24);
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.news-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fire);
  margin-bottom: 10px;
  display: block;
}
.news-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  letter-spacing: 1px;
  color: var(--black);
  margin-bottom: 10px;
  line-height: var(--leading-tight);
  font-weight: 400;
}
.news-card p {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--text-dark-muted);
  margin-bottom: 18px;
}
.news-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: auto;
  font-size: 10px;
  color: rgba(0,0,0,0.35);
  font-weight: 600;
  letter-spacing: 0.5px;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 14px;
}
.news-read-more {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fire);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.news-card:hover .news-read-more { gap: 10px; }
.news .section-label { color: var(--fire); }
.news-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.news-head .section-title {
  margin-bottom: 0;
}
.news-all-btn {
  flex-shrink: 0;
  background: transparent;
  color: var(--black);
  border: 1.5px solid rgba(0, 0, 0, 0.28);
  margin-bottom: 4px;
}
.news-all-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.5);
  color: var(--black);
  transform: translateY(-2px);
}
.news-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-48) 0;
  color: rgba(0, 0, 0, 0.45);
  font-size: var(--text-body);
}
.news-card:focus-visible {
  outline: 2px solid var(--fire);
  outline-offset: 2px;
}
.news .section-label::before { background: var(--fire); }
.news .section-title { color: var(--black); }
.news .section-title span { color: var(--fire); }
.news .section-desc { color: rgba(0,0,0,0.5); }

/* ── CATALOG CATEGORIES OVERVIEW ────────────────────────────── */
.cat-overview {
  background: #fff;
  padding: 40px 0 60px;
}
.breadcrumb {
  font-size: 12px;
  color: rgba(0,0,0,0.4);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb a { color: var(--fire); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.cat-overview-title-main {
  font-family: var(--font-display);
  font-size: var(--text-h1-page);
  letter-spacing: var(--tracking-display);
  color: var(--black);
  line-height: 1;
  margin-bottom: var(--space-8);
  font-weight: 400;
}
.cat-overview-title-main span { color: var(--fire); }
.cat-overview-desc {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: rgba(0,0,0,0.45);
}
.cat-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-left: 1px;
}
.cat-overview-card {
  display: flex;
  align-items: center;
  gap: 0;
  background: transparent;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border: 1px solid #ececec;
  margin: 0 0 -1px -1px;
  transition: background 0.18s, box-shadow 0.18s;
  position: relative;
  overflow: hidden;
}
.cat-overview-card:focus { outline: none; }
.cat-overview-card:hover .cat-name { color: var(--fire); }
.cat-overview-img {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-right: none;
}
.cat-overview-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.3s ease;
}
.cat-overview-card:hover .cat-overview-img img {
  transform: scale(1.06);
}
.cat-overview-body {
  flex: 1;
  padding: 16px 20px;
}
.cat-name {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
  line-height: 1.3;
  transition: color 0.18s;
}
.cat-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--fire);
  white-space: nowrap;
  flex-shrink: 0;
}
.cat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  line-height: 1.8;
}
.cat-tags span {
  font-size: 12px;
  color: var(--fire);
  cursor: pointer;
  transition: text-decoration 0.1s;
}
.cat-tags span:hover {
  text-decoration: underline;
}
.cat-tags span:not(:last-child)::after {
  content: '  ·  ';
  color: rgba(0,0,0,0.25);
  font-size: 10px;
}

/* ── BLOG PAGE ───────────────────────────────────────────────── */
.blog-hero {
  background: var(--dark);
  padding: var(--space-64) 0 var(--space-48);
  border-bottom: 1px solid var(--border);
}
.blog-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-h1-page);
  letter-spacing: var(--tracking-display);
  line-height: 1;
  margin-bottom: var(--space-16);
  font-weight: 400;
}
.blog-hero h1 span { color: var(--fire); }
.blog-hero p {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--text-muted);
  max-width: 480px;
}
.blog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.filter-btn {
  padding: 7px 18px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Montserrat', sans-serif;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--fire);
  border-color: var(--fire);
  color: var(--white);
}
.blog-grid-section { background: #F4F4F4; padding: 80px 0; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--white);
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
  text-decoration: none;
  display: block;
  color: inherit;
}
.blog-card:hover {
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}
.blog-card-img {
  width: 100%; height: 220px;
  overflow: hidden;
  background: #eee;
}
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}
.blog-card-img-placeholder svg { opacity: 0.15; }
.blog-card-body { padding: var(--space-24); }
.blog-card h2 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  letter-spacing: 1px;
  color: var(--black);
  margin-bottom: 10px;
  line-height: var(--leading-tight);
  font-weight: 400;
}
.blog-card p {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--text-dark-muted);
  margin-bottom: var(--space-16);
}
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 10px;
  color: rgba(0,0,0,0.35);
  font-weight: 600;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 14px;
}
.blog-card-meta .read-more {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fire);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.blog-card:hover .read-more { gap: 10px; }
.blog-card.featured { grid-column: span 2; }
.blog-card.featured .blog-card-img { height: 320px; }
.blog-card.featured .blog-card-body h2 { font-size: var(--text-h3); }

/* ── ARTICLE PAGE ────────────────────────────────────────────── */
.article-hero {
  background: var(--dark);
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
}
.article-breadcrumb {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 24px;
}
.article-breadcrumb a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.article-breadcrumb a:hover { color: var(--white); }
.article-breadcrumb span { margin: 0 8px; }
.article-hero-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fire);
  margin-bottom: 16px;
  display: block;
}
.article-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-h1-page);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-display);
  margin-bottom: var(--space-16);
  max-width: 800px;
  font-weight: 400;
}
.article-hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  font-weight: 600;
}
.article-body-section { background: var(--white); padding: 80px 0; }
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}
.article-content { max-width: none; }
.article-content a,
.modal-article-body a {
  color: var(--fire);
}
.article-content a[href^="tel:"],
.modal-article-body a[href^="tel:"] {
  color: var(--fire) !important;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.article-content a[href^="tel:"]:hover,
.modal-article-body a[href^="tel:"]:hover {
  color: var(--fire-glow) !important;
}
.article-content h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 1px;
  color: var(--black);
  margin: 36px 0 16px;
}
.article-content h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--black);
  margin: 28px 0 12px;
}
.article-content p {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(0,0,0,0.65);
  margin-bottom: 20px;
}
.article-content ul,
.article-content ol {
  margin: 16px 0 20px 24px;
}
.article-content li {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(0,0,0,0.6);
  margin-bottom: 8px;
}
.article-content blockquote {
  border-left: 3px solid var(--fire);
  padding: 16px 24px;
  margin: 28px 0;
  background: rgba(181, 18, 43,0.04);
  border-radius: var(--radius-card);
  font-style: italic;
  font-size: 15px;
  color: rgba(0,0,0,0.6);
}
.article-content img {
  width: 100%;
  height: auto;
  margin: 28px 0;
  display: block;
  border-radius: var(--radius-card);
}
.article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.sidebar-block {
  background: #F4F4F4;
  padding: 28px;
  border-radius: var(--radius-card);
}
.sidebar-block h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--black);
  margin-bottom: 16px;
}
.sidebar-related-item {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  text-decoration: none;
  color: var(--black);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.2s;
}
.sidebar-related-item:hover { color: var(--fire); }
.sidebar-related-item:last-child { border-bottom: none; }
.sidebar-cta {
  background: var(--fire);
  padding: 28px;
  border-radius: var(--radius-card);
}
.sidebar-cta h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 12px;
}
.sidebar-cta p { font-size: 12px; color: rgba(255,255,255,0.8); margin-bottom: 20px; }
.sidebar-cta .btn-white {
  width: auto;
  display: inline-flex;
  min-height: 40px;
  padding: 0 20px;
  border-radius: var(--radius-control);
  font-size: 10px;
  letter-spacing: 1.6px;
}

/* ── CATALOG PAGE ────────────────────────────────────────────── */
.catalog-hero {
  background: var(--dark);
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.catalog-hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.page-crumb--dark {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: 6px 10px;
  margin-top: 22px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 255, 255, 0.42);
}
.page-crumb--dark a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s;
}
.page-crumb--dark a:hover {
  color: var(--fire);
}
.page-crumb--dark .page-crumb-sep {
  color: rgba(255, 255, 255, 0.32);
  user-select: none;
}
.page-crumb--dark .page-crumb-here {
  color: rgba(255, 255, 255, 0.52);
}
.catalog-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-h1-page);
  letter-spacing: var(--tracking-display);
  line-height: 1;
  margin-bottom: var(--space-16);
  font-weight: 400;
}
.catalog-hero h1 span { color: var(--fire); }
.catalog-hero p {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--text-muted);
  max-width: 480px;
}
.catalog-search-bar {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  max-width: 600px;
}
.catalog-search-bar input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 13px 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}
.catalog-search-bar input:focus { border-color: rgba(255,255,255,0.3); }
.catalog-search-bar input::placeholder { color: rgba(255,255,255,0.25); }
.catalog-search-bar button {
  background: var(--fire);
  border: none;
  color: white;
  padding: 0 22px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  transition: background 0.2s;
}
.catalog-search-bar button:hover { background: var(--fire-glow); }

.catalog-section { background: #F4F4F4; padding: 60px 0; }
.catalog-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 36px;
  align-items: start;
}
/* Левое меню в общем скролле страницы (без прилипания к экрану) */
.catalog-sidebar {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  position: relative;
  align-self: start;
}
.catalog-sidebar-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  padding: 16px 18px 14px;
  border-bottom: 1px solid var(--border);
}
.catalog-sidebar-title svg { opacity: .5; }
.cat-filter-btn {
  width: 100%;
  text-align: left;
  padding: 0;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.18s;
  display: flex;
  align-items: center;
  gap: 0;
}
.cat-filter-btn:last-child { border-bottom: none; }
.cat-filter-btn:hover { background: rgba(255,255,255,0.04); color: var(--white); }
.cat-filter-btn.active {
  background: rgba(181, 18, 43,0.08);
  border-left: 2px solid var(--fire);
  color: var(--white);
}
.cat-filter-btn.active .cat-filter-name { font-weight: 700; }

/* thumbnail */
.cat-thumb {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}
.cat-thumb svg { width: 26px; height: 26px; opacity: .55; }
.cat-filter-btn.active .cat-thumb { background: rgba(181, 18, 43,0.12); }
.cat-filter-btn.active .cat-thumb svg { opacity: .9; stroke: var(--fire); }

/* label area */
.cat-filter-label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 14px;
  gap: 6px;
}
.cat-filter-name { line-height: 1.35; }
.catalog-sidebar .cat-count {
  flex-shrink: 0;
  font-size: 9.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.06);
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: .4px;
}
.cat-filter-btn.active .cat-count { color: var(--fire); background: rgba(181, 18, 43,0.12); }
.cat-arrow {
  flex-shrink: 0;
  width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .25;
}
.cat-filter-btn:hover .cat-arrow, .cat-filter-btn.active .cat-arrow { opacity: .7; }

.catalog-main { min-height: 600px; }

/* Сгруппированный обзор «Все категории» (products.html) */
.catalog-grouped-overview {
  margin-bottom: 8px;
}
.catalog-grouped-head {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.catalog-grouped-head h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: 2px;
  color: var(--black);
  line-height: 1.1;
  margin-bottom: 8px;
}
.catalog-grouped-head h2 span { color: var(--fire); }
.catalog-grouped-head p {
  font-size: 13px;
  color: rgba(0,0,0,0.45);
  max-width: 560px;
  line-height: 1.6;
}
.catalog-grouped-overview .cat-overview-grid {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.catalog-categories-wrap { min-height: 400px; }

.catalog-category { margin-bottom: 60px; }
.catalog-category:last-child { margin-bottom: 0; }
.catalog-cat-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.catalog-cat-icon {
  width: 44px; height: 44px;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.catalog-cat-icon svg { width: 22px; height: 22px; stroke: white; }
.catalog-cat-header h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 2px;
  color: var(--black);
  line-height: 1;
}
.catalog-cat-header span {
  font-size: 10px;
  color: rgba(0,0,0,0.35);
  font-weight: 600;
  letter-spacing: 1px;
}
.catalog-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.catalog-product-card {
  background: var(--white);
  transition: all 0.25s ease;
  border-top: 2px solid transparent;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  overflow: hidden;
}
.catalog-product-card:hover {
  border-top-color: var(--fire);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.catalog-product-img {
  width: 100%; height: 140px;
  background: #f0f0f0;
  overflow: hidden;
}
.catalog-product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.catalog-product-card:hover .catalog-product-img img { transform: scale(1.05); }
.catalog-product-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: #f5f5f5;
}
.catalog-product-img-placeholder svg { opacity: 0.15; stroke: #999; }
.catalog-product-body { padding: 18px 18px 20px; }
.catalog-product-body h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 0.8px;
  color: var(--black);
  margin-bottom: 6px;
  line-height: 1.15;
}
.catalog-product-body p {
  font-size: 11px;
  line-height: 1.65;
  color: rgba(0,0,0,0.45);
  margin-bottom: 14px;
}
.catalog-product-body .product-link {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fire);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.catalog-product-card:hover .product-link { gap: 10px; }

.product-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
}
.product-badge--hit {
  background: #e65100;
  color: #fff;
}
.product-badge--order {
  background: #f5f5f5;
  color: #888;
  border: 1px solid #e0e0e0;
}

/* ── ARTICLE MODAL ───────────────────────────────────────────── */
.article-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  backdrop-filter: blur(4px);
}
.article-overlay.open { display: block; }
.article-modal {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: min(92vw, 560px);
  max-height: 85vh;
  background: var(--white);
  z-index: 1001;
  overflow-y: auto;
  padding: 0;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  border-radius: var(--radius-card, 8px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}
.article-modal.open {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.article-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.55);
  transition: color 0.2s, background 0.2s;
  line-height: 1;
  padding: 0;
}
.article-close:hover { color: var(--black); background: #fff; }
.modal-article-content { padding: 40px 48px 48px; }
.modal-article-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 320px;
  overflow: hidden;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-article-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.modal-article-content:has(.modal-article-cover) {
  padding-top: 28px;
}
.modal-article-content .modal-article-cover {
  margin: -0px -48px 24px;
  width: calc(100% + 96px);
  max-width: none;
}
.modal-article-content h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: var(--tracking-display, 1px);
  color: var(--black);
  margin-bottom: 20px;
  line-height: var(--leading-display, 1.15);
  font-weight: 400;
}
.modal-article-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-h3, 22px);
  letter-spacing: 1px;
  color: var(--black);
  margin: 28px 0 12px;
  font-weight: 400;
}
.modal-article-content p {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: rgba(0, 0, 0, 0.65);
  margin-bottom: 16px;
}
.modal-article-content ul,
.modal-article-content ol {
  margin: 0 0 16px 1.2em;
  color: rgba(0, 0, 0, 0.65);
  font-size: var(--text-body);
  line-height: var(--leading-body);
}
.modal-article-content li { margin-bottom: 6px; }
.modal-article-content blockquote {
  margin: 0 0 20px;
  padding: 14px 18px;
  border-left: 3px solid var(--fire);
  background: rgba(181, 18, 43, 0.04);
  border-radius: var(--radius-card);
  color: rgba(0, 0, 0, 0.75);
  font-size: var(--text-body);
  line-height: var(--leading-body);
}
.modal-article-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 16px 0;
  border-radius: var(--radius-card);
}
.modal-article-content .article-meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 16px;
}
.modal-article-content .article-date {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.4);
  font-weight: 600;
}
.modal-article-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.modal-article-footer .btn-outline {
  color: var(--black);
  border-color: rgba(0, 0, 0, 0.2);
}
.modal-article-footer .btn-outline:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--black);
  border-color: rgba(0, 0, 0, 0.35);
}

/* ── FLAME PARTICLES ─────────────────────────────────────────── */
.flame-particle {
  position: fixed;
  pointer-events: none;
  z-index: 9997;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--fire);
  animation: flameUp 0.7s forwards;
}
@keyframes flameUp {
  0%   { transform: translate(0,0) scale(1); opacity: 0.7; }
  100% { transform: translate(var(--dx), -50px) scale(0); opacity: 0; }
}

/* ── SCROLL REVEAL ───────────────────────────────────────────── */
.reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
.js-reveal { opacity: 0; transform: translateY(32px); }
.js-reveal.visible { opacity: 1; transform: translateY(0); }

/* ── BURGER MENU ─────────────────────────────────────────────── */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 9px;
  z-index: 300;
  position: relative;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu — off-canvas panel + backdrop ── */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 185;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s;
}
.mobile-nav-backdrop.open { opacity: 1; visibility: visible; pointer-events: auto; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  position: fixed;
  top: 0; left: auto; right: 0; bottom: 0;
  width: 91%;
  max-width: 420px;
  background: var(--black);
  z-index: 190;
  box-shadow: none;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0.38s;
  /* Header stays visible above the overlay (sticky, higher z-index) so content must start below it */
  padding-top: calc(69px + env(safe-area-inset-top, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-nav.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.4);
}
.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 8px var(--site-gutter, 16px);
  border-bottom: 1px solid var(--border);
}
.mobile-nav-lang {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.mobile-nav-lang .lang-link {
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.2;
  color: var(--gray);
  text-decoration: none;
  padding: 5px 8px;
  border-radius: 5px;
  border: 1px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.15s;
}
.mobile-nav-lang .lang-link:hover { color: var(--white); }
.mobile-nav-lang .lang-link:active { transform: scale(0.94); }
.mobile-nav-lang .lang-link.is-active {
  color: var(--fire);
  font-weight: 700;
  background: transparent;
  border-color: var(--fire);
}
.mobile-nav-lang-sep { color: var(--gray); opacity: 0.3; font-size: 10px; user-select: none; }

.mobile-nav-links {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  padding: 4px var(--site-gutter, 16px) 6px;
}
.mobile-nav-link {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0.1px;
  text-transform: none;
  text-align: left;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  padding: 13px 2px;
  border-bottom: 1px solid rgba(140, 140, 140, 0.08);
  opacity: 0;
  transition: color 0.2s, transform 0.15s;
}
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link:hover { color: var(--fire); }
.mobile-nav-link:active { transform: translateX(2px); }
nav a.mobile-nav-link {
  padding: 13px 2px 13px 12px;
}
nav a.mobile-nav-link::after,
nav a.mobile-nav-link:hover::after,
nav a.mobile-nav-link.active::after {
  display: none;
  transform: none;
  background: none;
}
nav a.mobile-nav-link.active {
  color: #fff;
}
nav a.mobile-nav-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 2px;
  height: 14px;
  background: var(--fire);
  border-radius: 1px;
  transform: translateY(-50%);
}
.mobile-nav.open .mobile-nav-link {
  animation: mobileNavItemIn 0.4s ease forwards;
}
.mobile-nav.open .mobile-nav-link:nth-child(1) { animation-delay: 0.12s; }
.mobile-nav.open .mobile-nav-link:nth-child(2) { animation-delay: 0.15s; }
.mobile-nav.open .mobile-nav-link:nth-child(3) { animation-delay: 0.18s; }
.mobile-nav.open .mobile-nav-link:nth-child(4) { animation-delay: 0.21s; }
.mobile-nav.open .mobile-nav-link:nth-child(5) { animation-delay: 0.24s; }
.mobile-nav.open .mobile-nav-link:nth-child(6) { animation-delay: 0.27s; }
.mobile-nav.open .mobile-nav-link:nth-child(7) { animation-delay: 0.3s; }
.mobile-nav.open .mobile-nav-link:nth-child(8) { animation-delay: 0.33s; }
@keyframes mobileNavItemIn {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-nav-link { opacity: 1; animation: none !important; }
  .mobile-nav, .mobile-nav-backdrop { transition: none !important; }
}

.mobile-nav-bottom {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px var(--site-gutter, 16px) 16px;
  border-top: 1px solid rgba(140, 140, 140, 0.08);
}
.mobile-nav-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
/* Phone and WhatsApp share the exact same height/radius/padding/typography — identical visual weight */
.mobile-phone,
.mobile-nav-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 44px;
  margin-top: 0;
  padding: 0 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-transform: none;
  text-align: center;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.mobile-phone:hover,
.mobile-nav-wa:hover { background: rgba(255, 255, 255, 0.1); }
.mobile-phone:active,
.mobile-nav-wa:active { transform: scale(0.97); }
.btn.mobile-nav-cta {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.btn.mobile-nav-cta:active { transform: scale(0.97); }

/* ── PAGE HERO (inner pages) ─────────────────────────────────── */
.page-hero {
  background: var(--dark);
  padding: var(--space-64) 0 var(--space-48);
  border-bottom: 1px solid var(--border);
}
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: var(--space-16);
}
.page-breadcrumb a { color: var(--gray); text-decoration: none; transition: color 0.2s; }
.page-breadcrumb a:hover { color: var(--fire); }
.page-breadcrumb span:last-child { color: var(--fire); }
.page-hero-title {
  font-family: var(--font-display);
  font-size: var(--text-h1-page);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-display);
  margin-bottom: var(--space-16);
  color: var(--white);
  font-weight: 400;
}
.page-hero-title span { color: var(--fire); }
.page-hero-desc {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--text-muted);
  max-width: 600px;
}

/* ── NAV compact at medium screens ──────────────────────────── */
@media (max-width: 1280px) {
  nav a { padding: 8px 10px; letter-spacing: 1px; }
}

/* ── DOWNLOADS PAGE ──────────────────────────────────────────── */
.dl-page { padding: 64px 0; }
.dl-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}

.dl-sidebar { position: sticky; top: 96px; }
.dl-nav {
  background: var(--dark2);
  border: 1px solid var(--border);
  padding: 8px 0;
  margin-bottom: 24px;
}
.dl-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  transition: all 0.2s;
  border-left: 2px solid transparent;
}
.dl-nav-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.dl-nav-link:hover { color: var(--white); border-left-color: rgba(181, 18, 43,0.4); background: rgba(255,255,255,0.03); }
.dl-nav-link.active { color: var(--white); border-left-color: var(--fire); background: rgba(181, 18, 43,0.06); }

.dl-sidebar-cta {
  background: var(--dark2);
  border: 1px solid var(--border);
  padding: 24px 20px;
}
.dl-sidebar-cta-icon {
  width: 44px; height: 44px;
  background: rgba(181, 18, 43,0.1);
  border: 1px solid rgba(181, 18, 43,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.dl-sidebar-cta-icon svg { width: 20px; height: 20px; stroke: var(--fire); }
.dl-sidebar-cta p { font-size: 12px; line-height: 1.7; color: rgba(255,255,255,0.5); }
.dl-sidebar-phone {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}
.dl-sidebar-phone:hover { color: var(--fire); }

.dl-content { min-width: 0; }
.dl-section { margin-bottom: 56px; padding-top: 8px; }
.dl-section:last-child { margin-bottom: 0; }
.dl-section-header { margin-bottom: 28px; }
.dl-section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(22px, 2.5vw, 32px);
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 8px;
}
.dl-section-note {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin-top: 6px;
}
.dl-section-note a { color: var(--fire); text-decoration: none; }
.dl-section-note a:hover { text-decoration: underline; }

.dl-group-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fire);
  margin: 20px 0 12px;
  padding-left: 2px;
}
.dl-group-label:first-child { margin-top: 0; }

.dl-list { display: flex; flex-direction: column; gap: 2px; }
.dl-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  transition: all 0.2s;
}
.dl-item:hover {
  border-left-color: var(--fire);
  background: rgba(181, 18, 43,0.04);
}

.dl-file-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 1px;
  border-radius: 2px;
}
.dl-file-icon svg { width: 22px; height: 22px; }
.dl-pdf { background: rgba(220,50,50,0.12); color: #e05555; border: 1px solid rgba(220,50,50,0.2); }
.dl-pdf svg { stroke: #e05555; }
.dl-dwg { background: rgba(181, 18, 43,0.1); color: #B5122B; border: 1px solid rgba(181, 18, 43,0.2); }
.dl-dwg svg { stroke: #B5122B; }
.dl-rvt { background: rgba(80,160,255,0.1); color: #50A0FF; border: 1px solid rgba(80,160,255,0.2); }
.dl-rvt svg { stroke: #50A0FF; }
.dl-cert { background: rgba(80,210,120,0.1); color: #50d278; border: 1px solid rgba(80,210,120,0.2); }
.dl-cert svg { stroke: #50d278; }

.dl-info { flex: 1; min-width: 0; }
.dl-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.4;
}
.dl-meta {
  font-size: 11px;
  color: var(--gray);
  font-weight: 500;
}
.dl-btn {
  flex-shrink: 0;
  font-size: 9px !important;
  padding: 8px 18px !important;
  letter-spacing: 2px;
}

/* Download request modal */
.dl-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  backdrop-filter: blur(4px);
}
.dl-overlay.open { display: block; }
.dl-modal {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 460px;
  background: var(--dark2);
  border: 1px solid var(--border);
  z-index: 1001;
  padding: 48px 40px 40px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: all 0.3s ease;
}
.dl-modal.open { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.dl-modal-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; color: var(--gray);
  font-size: 20px; cursor: pointer; transition: color 0.2s; line-height: 1;
}
.dl-modal-close:hover { color: var(--white); }
.dl-modal-icon {
  width: 72px; height: 72px;
  background: rgba(181, 18, 43,0.1);
  border: 1px solid rgba(181, 18, 43,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.dl-modal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 8px;
}
.dl-modal-file {
  font-size: 12px;
  font-weight: 700;
  color: var(--fire);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.dl-modal-desc {
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
}
.dl-modal-fields { display: flex; flex-direction: column; gap: 10px; width: 100%; text-align: left; }

/* ── RESOURCE CENTER (downloads.html) ─────────────────────────── */
body.downloads-page {
  background: #f5f5f5;
  color: #1a1a1a;
}
body.downloads-page .topbar,
body.downloads-page header {
  background: #0a0a0a;
}
body.downloads-page footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rc-hero {
  background: #0a0a0a;
  padding: 62px 0 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.rc-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}
.rc-hero-copy {
  max-width: none;
  width: 100%;
  justify-self: start;
  padding-left: 0;
}
.rc-hero-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 10px 16px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.rc-hero-title {
  margin: 0 0 var(--space-16);
  font-family: var(--font-display);
  font-size: var(--text-h1-page);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  color: #fff;
  font-weight: 400;
}
.rc-hero-lead {
  margin: 0;
  max-width: 40rem;
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: rgba(255, 255, 255, 0.58);
}
.rc-hero-visual {
  position: relative;
  height: 300px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-content: center;
  justify-self: stretch;
}
.rc-doc {
  height: 78px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #151515;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transition: transform 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.rc-doc:nth-child(2),
.rc-doc:nth-child(5) { transform: translateY(14px); }
.rc-doc:nth-child(3),
.rc-doc:nth-child(6) { transform: translateY(-8px); }
.rc-doc--pdf { border-color: rgba(181, 18, 43, 0.45); color: #e25555; }
.rc-doc--dwg { border-color: rgba(181, 18, 43, 0.25); }
.rc-doc--bim { border-color: rgba(80, 160, 255, 0.35); color: #7eb6ff; }
.rc-doc--docx { border-color: rgba(255, 255, 255, 0.12); }
.rc-doc--zip { border-color: rgba(255, 180, 60, 0.35); color: #ffc266; }
.rc-doc--cad { border-color: rgba(255, 255, 255, 0.12); }

.rc-page {
  padding: 44px 0 96px;
  background: #f5f5f5;
}
.rc-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  column-gap: 40px;
  row-gap: 0;
  align-items: start;
}
.rc-layout > .rc-breadcrumbs {
  grid-column: 1 / -1;
}
.rc-sidebar {
  position: sticky;
  top: 96px;
}
.rc-side-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
  margin-bottom: 16px;
}
.rc-side-link {
  appearance: none;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 14px 16px;
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #777;
  cursor: pointer;
  transition: background 250ms ease, color 250ms ease;
}
.rc-side-link:hover { color: #1a1a1a; background: #f3f3f3; }
.rc-side-link.is-active {
  color: #fff;
  background: #0a0a0a;
}
.rc-side-help {
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
}
.rc-side-help p {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #666;
}
.rc-side-phone {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
}
.rc-side-phone:hover { color: var(--fire); }

.rc-toolbar { margin-bottom: 28px; }
.rc-search-wrap {
  position: relative;
  margin-bottom: 16px;
}
.rc-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
}
.rc-search {
  width: 100%;
  height: 52px;
  padding: 0 18px 0 46px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #1a1a1a;
  outline: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
  transition: border-color 250ms ease, box-shadow 250ms ease;
}
.rc-search::placeholder { color: #9a9a9a; }
.rc-search:focus {
  border-color: rgba(181, 18, 43, 0.45);
  box-shadow: 0 0 0 1px rgba(200, 16, 46, 0.2);
}
.rc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rc-chip {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  color: #555;
  border-radius: 999px;
  padding: 8px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease, transform 250ms ease;
}
.rc-chip:hover { transform: translateY(-1px); border-color: rgba(0, 0, 0, 0.16); color: #1a1a1a; }
.rc-chip.is-active {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #fff;
}

.rc-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.rc-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition:
    transform 280ms cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 280ms cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.rc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
  border-color: rgba(181, 18, 43, 0.22);
}
.rc-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #f4f4f4;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fire);
  margin-bottom: 20px;
}
.rc-card-icon svg { width: 26px; height: 26px; }
.rc-card-icon--lg {
  width: 64px;
  height: 64px;
  margin-bottom: 0;
}
.rc-card-body { flex: 1; }
.rc-card-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: var(--text-h3);
  letter-spacing: 1px;
  line-height: var(--leading-tight);
  color: #111;
  font-weight: 400;
}
.rc-card-desc {
  margin: 0 0 18px;
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: #666;
}
.rc-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
}
.rc-card-count {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #888;
  text-transform: uppercase;
}
.rc-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--fire);
  background: rgba(181, 18, 43, 0.08);
  border-radius: 999px;
  padding: 5px 9px;
}
.rc-card-actions { margin-top: auto; }

.rc-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #999;
}
.rc-breadcrumbs a,
.rc-crumb-link {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  color: #666;
  text-decoration: none;
  cursor: pointer;
}
.rc-breadcrumbs a:hover,
.rc-crumb-link:hover { color: var(--fire); }
.rc-crumb-sep { color: #ccc; user-select: none; }
.rc-crumb-here { color: #1a1a1a; }

.rc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease, transform 250ms ease;
}
.rc-btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 10px;
  flex-shrink: 0;
}
.rc-btn--primary {
  background: var(--fire);
  color: #fff;
  border-color: var(--fire);
}
/* rc-btn--primary hover/active: see CTA Shine Sweep above */
.rc-btn--block { width: 100%; }

.rc-detail {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 320ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.rc-detail.is-in {
  opacity: 1;
  transform: translateY(0);
}
.rc-back {
  appearance: none;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #777;
  cursor: pointer;
}
.rc-back:hover { color: var(--fire); }
.rc-detail-head {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.04);
}
.rc-detail-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: var(--text-h2);
  letter-spacing: var(--tracking-display);
  color: #111;
  font-weight: 400;
  line-height: var(--leading-display);
}
.rc-detail-desc {
  margin: 0 0 8px;
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: #666;
}
.rc-detail-count {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #999;
}
.rc-detail-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 8px 0 24px;
}
.rc-external {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid rgba(181, 18, 43, 0.18);
  border-radius: 14px;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: transform 250ms ease, box-shadow 250ms ease;
}
.rc-external:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  color: var(--fire);
}
.rc-group { margin-bottom: 24px; }
.rc-group-title {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #888;
}

/* Compact document cards */
.rc-doc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rc-doc-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
  transition:
    transform 260ms cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 260ms cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 260ms ease;
}
.rc-doc-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.07);
}
.rc-doc-card-icon {
  width: 64px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.4px;
}
.rc-doc-card-icon svg {
  width: 18px;
  height: 18px;
}
.rc-ext--pdf { background: rgba(181, 18, 43, 0.1); color: #c01830; }
.rc-ext--cad { background: rgba(40, 40, 40, 0.08); color: #333; }
.rc-ext--bim { background: rgba(80, 160, 255, 0.12); color: #2f78c4; }
.rc-ext--zip { background: rgba(255, 170, 40, 0.14); color: #b07a00; }
.rc-ext--file { background: #f0f0f0; color: #666; }
.rc-doc-card-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
}
.rc-doc-card-desc {
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.45;
  color: #777;
}
.rc-doc-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #999;
}
.rc-dot { opacity: 0.6; }

.rc-empty-state {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rc-empty-state[hidden] {
  display: none !important;
}

/* Guides */
.rc-guides-intro {
  margin-bottom: 24px;
}
.rc-guides-heading {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: 1px;
  line-height: 1.15;
  color: #111;
  font-weight: 400;
}
.rc-guides-lead {
  margin: 0;
  max-width: 40rem;
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: #666;
}
.rc-guides-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rc-guide-item {
  appearance: none;
  width: 100%;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  text-align: left;
  padding: 18px 20px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition:
    transform 280ms cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 280ms cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.rc-guide-item:hover {
  transform: translateY(-2px);
  border-color: rgba(181, 18, 43, 0.22);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}
.rc-guide-item-index {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--fire);
  line-height: 1;
}
.rc-guide-item-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.rc-guide-item-title {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  line-height: 1.4;
}
.rc-guide-item-summary {
  font-size: 12px;
  line-height: 1.55;
  color: #777;
}
.rc-guide-item-meta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #999;
  white-space: nowrap;
}
.rc-guide-detail {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 280ms ease, transform 280ms ease;
}
.rc-guide-detail.is-in {
  opacity: 1;
  transform: none;
}
.rc-guide-article {
  padding: 32px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.05);
}
.rc-guide-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: 1px;
  line-height: 1.15;
  color: #111;
  font-weight: 400;
}
.rc-guide-lead {
  margin: 0 0 28px;
  max-width: 44rem;
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: #666;
}
.rc-guide-body {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: #333;
}
.rc-guide-body p {
  margin: 0 0 20px;
  max-width: 44rem;
}
.rc-guide-h {
  margin: 28px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.6vw, 20px);
  letter-spacing: 0.8px;
  line-height: 1.2;
  color: #111;
  font-weight: 400;
}
.rc-guide-body > .rc-guide-h:first-child {
  margin-top: 0;
}
.rc-guide-marks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 8px;
}
.rc-guide-mark {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 18px;
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
}
.rc-guide-mark img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  padding: 8px;
}
.rc-guide-mark-text h4,
.rc-guide-term h4 {
  margin: 0 0 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.35;
  color: #111;
  text-transform: none;
}
.rc-guide-mark-text p,
.rc-guide-term p {
  margin: 0 0 10px;
  max-width: none;
  font-size: 13px;
  line-height: 1.65;
  color: #555;
}
.rc-guide-mark-text p:last-child,
.rc-guide-term p:last-child {
  margin-bottom: 0;
}
.rc-guide-term {
  margin: 0 0 18px;
  padding: 18px 20px;
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  border-left: 3px solid var(--fire);
}
.rc-guide-formula {
  margin: 0 0 16px;
  font-size: 18px;
  letter-spacing: 0.2px;
  color: #111;
}
.rc-guide-list {
  margin: 0 0 20px;
  padding-left: 1.25em;
  max-width: 44rem;
  color: #555;
  line-height: 1.7;
}
.rc-guide-list li { margin-bottom: 6px; }
.rc-guide-list a.rc-guide-doc,
a.rc-guide-doc {
  color: var(--fire);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(181, 18, 43, 0.25);
}
a.rc-guide-doc:hover {
  color: #8e0e21;
  border-bottom-color: currentColor;
}
.rc-guide-video {
  margin: 8px 0 20px;
  max-width: min(100%, 720px);
}
.rc-guide-video video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #111;
}
.rc-guide-calc {
  margin: 0 0 20px;
  padding: 16px 20px;
  max-width: 44rem;
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  border-left: 3px solid var(--fire);
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #111;
  line-height: 1.7;
}
.rc-guide-calc p { margin: 0; max-width: none; color: inherit; }
.rc-guide-calc p + p { margin-top: 4px; }
.rc-guide-figure {
  margin: 8px 0 0;
}
.rc-guide-term .rc-guide-figure {
  margin: 14px 0 0;
}
.rc-guide-term .rc-guide-figure + p {
  margin-top: 14px;
}
.rc-guide-figs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  margin: 14px 0 0;
}
.rc-guide-figs .rc-guide-figure {
  margin: 0;
}
.rc-guide-figure img {
  display: block;
  width: auto;
  max-width: min(100%, 720px);
  max-height: 520px;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #f4f4f4;
}
.rc-guide-figs--sm img {
  max-height: 280px;
  max-width: min(100%, 400px);
}
.rc-guide-figure figcaption {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.55;
  color: #888;
  max-width: 44rem;
}

@media (max-width: 768px) {
  .rc-guide-item {
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .rc-guide-item-meta { display: none; }
  .rc-guide-article { padding: 22px 18px; }
  .rc-guide-mark {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }
  .rc-guide-mark img {
    width: 72px;
    height: 72px;
  }
}
.rc-empty-card {
  width: min(520px, 100%);
  text-align: center;
  padding: 56px 40px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.05);
}
.rc-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fire);
}
.rc-empty-icon svg { width: 28px; height: 28px; }
.rc-empty-card h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: var(--text-h2);
  letter-spacing: var(--tracking-display);
  color: #111;
  font-weight: 400;
}
.rc-empty-card p {
  margin: 0 0 8px;
  font-size: var(--text-body);
  color: #555;
}
.rc-empty-hint {
  font-size: 13px;
  color: #999;
}
.rc-empty-inline {
  grid-column: 1 / -1;
  padding: 48px 24px;
  text-align: center;
  background: #fff;
  border: 1px dashed rgba(0, 0, 0, 0.12);
  border-radius: 20px;
  color: #777;
}

.rc-anim {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 400ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 400ms cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--d, 0ms);
}
.rc-anim.is-in {
  opacity: 1;
  transform: translateY(0);
}

body.downloads-page .dl-modal {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
body.downloads-page .dl-modal-title { color: #111; }
body.downloads-page .dl-modal-file { color: var(--fire); }
body.downloads-page .dl-modal-desc { color: #666; }
body.downloads-page .dl-modal-close { color: #888; }
body.downloads-page .dl-modal-fields input {
  background: #f7f7f7;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #1a1a1a;
}

@media (max-width: 1024px) {
  .rc-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .rc-hero-copy { max-width: none; }
  .rc-hero-visual { height: auto; max-width: 420px; }
  .rc-layout { grid-template-columns: 1fr; gap: 24px; }
  .rc-sidebar { position: static; }
  .rc-side-nav { flex-direction: row; }
  .rc-side-link { flex: 1; text-align: center; }
  .rc-cards { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .rc-hero { padding: 48px 0 40px; }
  .rc-page { padding: 40px 0 64px; }
  .rc-doc-card {
    grid-template-columns: 56px minmax(0, 1fr);
  }
  .rc-doc-card .rc-btn {
    grid-column: 1 / -1;
    width: 100%;
  }
  .rc-detail-head { flex-direction: column; }
  .rc-side-help { display: none; }
}

/* ── DESIGNERS PAGE ──────────────────────────────────────────── */

/* Hero */
.ds-hero {
  position: relative;
  background: var(--black);
  padding: 80px 0 64px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.ds-hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.06;
}
.ds-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(181, 18, 43,0.08) 0%, transparent 60%);
}
.ds-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.ds-hero-title {
  font-family: var(--font-display);
  font-size: var(--text-h1-page);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  margin: var(--space-24) 0 var(--space-16);
  display: flex;
  flex-direction: column;
  font-weight: 400;
}
.ds-hero-title span { color: var(--white); }
.ds-hero-title .fire { color: var(--fire); }
.ds-hero-subtitle {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: rgba(255,255,255,0.5);
  max-width: 500px;
  margin-bottom: var(--space-32);
}
.ds-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.ds-hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.ds-hero-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  padding: 24px 28px;
  text-align: center;
  min-width: 120px;
}
.ds-hero-card-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.ds-hero-card-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
}

/* For whom */
.ds-for-whom { background: #F4F4F4; }
.ds-for-whom .section-desc { color: rgba(0,0,0,0.4); }
.ds-for-whom .section-label { color: var(--fire); }
.ds-for-whom .section-title { color: var(--black); }
.ds-whom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 40px;
}
.ds-whom-card {
  background: var(--white);
  padding: 32px 24px;
  border-top: 3px solid transparent;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.ds-whom-card:hover { border-top-color: var(--fire); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.ds-whom-icon {
  width: 48px; height: 48px;
  background: rgba(181, 18, 43,0.08);
  border: 1px solid rgba(181, 18, 43,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.ds-whom-icon svg { width: 22px; height: 22px; stroke: var(--fire); }
.ds-whom-card h3 { font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 10px; line-height: 1.3; }
.ds-whom-card p { font-size: 12px; line-height: 1.75; color: rgba(0,0,0,0.5); }

/* Provides */
.ds-provides { background: var(--black); }
.ds-provides-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 40px;
}
.ds-provide-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  padding: 32px 24px;
  transition: all 0.25s ease;
}
.ds-provide-card:hover { border-top-color: var(--fire); transform: translateY(-3px); }
.ds-provide-icon {
  width: 52px; height: 52px;
  background: rgba(181, 18, 43,0.1);
  border: 1px solid rgba(181, 18, 43,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.ds-provide-icon svg { width: 24px; height: 24px; stroke: var(--fire); }
.ds-provide-card h3 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 12px; line-height: 1.3; }
.ds-provide-card p { font-size: 12px; line-height: 1.8; color: rgba(255,255,255,0.45); margin-bottom: 20px; }
.ds-provide-link {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fire);
  text-decoration: none;
  transition: opacity 0.2s;
}
.ds-provide-link:hover { opacity: 0.7; }

/* Help section */
.ds-help { background: var(--dark); }
.ds-help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.ds-help-col {
  padding: 48px 40px;
  border: 1px solid var(--border);
}
.ds-help-col--new { background: rgba(181, 18, 43,0.05); border-color: rgba(181, 18, 43,0.2); }
.ds-help-col--exp { background: var(--dark2); }
.ds-help-col-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--fire);
  padding: 5px 12px;
  margin-bottom: 20px;
}
.ds-help-col-badge--exp {
  background: var(--dark3);
  color: var(--gray);
  border: 1px solid var(--border);
}
.ds-help-col h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.15;
}
.ds-help-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ds-help-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
}
.ds-help-list svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }

/* Steps */
.ds-steps { background: var(--black); }
.ds-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 0;
  position: relative;
}
.ds-step {
  padding: 48px 40px;
  border: 1px solid var(--border);
  border-right: none;
  position: relative;
  text-align: center;
}
.ds-step:last-child { border-right: 1px solid var(--border); }
.ds-step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 72px;
  letter-spacing: -2px;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  position: absolute;
  top: 16px;
  left: 20px;
}
.ds-step-icon {
  width: 60px; height: 60px;
  background: rgba(181, 18, 43,0.1);
  border: 1px solid rgba(181, 18, 43,0.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
.ds-step-icon svg { width: 26px; height: 26px; stroke: var(--fire); }
.ds-step h3 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 12px; position: relative; z-index: 1; }
.ds-step p { font-size: 12px; line-height: 1.8; color: rgba(255,255,255,0.45); position: relative; z-index: 1; }
.ds-step-connector { display: none; }

/* Norms section */
.ds-norms { background: var(--dark2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ds-norms-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 64px 0;
}
.ds-norms-list { display: flex; flex-direction: column; gap: 14px; }
.ds-norm-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
}
.ds-norm-dot {
  width: 6px; height: 6px;
  background: var(--fire);
  flex-shrink: 0;
  margin-top: 5px;
}

/* FAQ */
.ds-faq { background: var(--black); }
.ds-faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 2px; }
.ds-faq-item { border: 1px solid var(--border); overflow: hidden; }
.ds-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  background: var(--dark2);
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}
.ds-faq-q:hover { background: rgba(255,255,255,0.04); }
.ds-faq-item.open .ds-faq-q { background: rgba(181, 18, 43,0.08); }
.ds-faq-q span {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}
.faq-arrow {
  width: 18px; height: 18px;
  flex-shrink: 0;
  stroke: var(--gray);
  transition: transform 0.3s ease;
}
.ds-faq-item.open .faq-arrow { transform: rotate(180deg); stroke: var(--fire); }
.ds-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.ds-faq-item.open .ds-faq-a { max-height: 300px; }
.ds-faq-a p {
  padding: 0 24px 20px;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255,255,255,0.5);
  background: rgba(181, 18, 43,0.04);
  border-top: 1px solid rgba(181, 18, 43,0.1);
  padding-top: 16px;
}

/* Form section */
.ds-form-section { background: var(--dark); padding: 80px 0; }
.ds-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.ds-form-contacts { display: flex; flex-direction: column; gap: 16px; }
.ds-form-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--dark2);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}
.ds-form-contact-item:hover { border-color: rgba(181, 18, 43,0.4); }
.ds-form-contact-icon {
  width: 40px; height: 40px;
  background: rgba(181, 18, 43,0.1);
  border: 1px solid rgba(181, 18, 43,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--fire);
}
.ds-form-contact-icon svg { stroke: var(--fire); width: 18px; height: 18px; }

/* ── RESPONSIVE — new pages ──────────────────────────────────── */

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .catalog-layout { grid-template-columns: 220px 1fr; }
  .catalog-products-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-card.featured { grid-column: span 2; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-48); }
  .contact-map-shell { height: 380px; }
  .contact-map-panel { left: 24px; }

  .dl-layout { grid-template-columns: 220px 1fr; gap: 32px; }
  .ds-whom-grid { grid-template-columns: repeat(2, 1fr); }
  .ds-provides-grid { grid-template-columns: repeat(2, 1fr); }
  .ds-hero-inner { grid-template-columns: 1fr; }
  .ds-hero-cards { grid-template-columns: repeat(4, 1fr); }
  .ds-norms-inner { grid-template-columns: 1fr; gap: 40px; padding: 48px 0; }
  .ds-form-grid { grid-template-columns: 1fr; gap: 40px; }

  .hero-visual {
    left: calc(30% + 36px);
    right: -8%;
  }
  .hero-slide--split .hero-title { font-size: clamp(22px, 3vw, 36px); }
}

@media (max-width: 768px) {
  :root {
    --site-gutter: 16px;
    --shadow-card: none;
    --shadow-card-hover: none;
    --shadow-card-light: none;
  }
  .why-card,
  .why-card:hover,
  .news-card,
  .news-card:hover,
  .blog-card,
  .blog-card:hover,
  .sidebar-block,
  .sidebar-cta,
  .contact-map-panel {
    box-shadow: none;
  }
  .topbar { display: none; }
  .header-inner {
    /* Grid's empty middle track (nav is display:none) leaves header-cta only a
       narrow auto-placed cell, causing it to overflow into the logo. Flex avoids that. */
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .header-cta { gap: 8px; }
  .logo-icon { width: 32px; height: 32px; }
  .logo-text .brand { font-size: 19px; }
  nav { display: none; }
  .header-cta .phone-num { display: none; }
  .btn-desktop-only { display: none !important; }
  .burger { display: flex; }

  /* Unified compact button size across the site on mobile (matches Hero CTAs) */
  .btn {
    height: 44px;
    min-height: 44px;
    padding: 0 16px;
    font-size: 12px;
    letter-spacing: 0.5px;
    border-radius: 6px;
  }

  section { padding: 36px 0; }
  .section-title { font-size: clamp(24px, 7vw, 36px); }

  .hero {
    height: auto;
    min-height: 0;
    padding: 0;
  }
  .hero-swiper,
  .hero-swiper .swiper-slide {
    height: auto;
    min-height: 0;
  }
  .hero-swiper .swiper-slide {
    padding: 40px 0 72px;
    min-height: 563px;
  }
  .hero-bg::after {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.76) 38%,
        rgba(0, 0, 0, 0.72) 64%,
        rgba(0, 0, 0, 0.84) 100%
      );
  }
  .hero-inner { padding: 0 var(--site-gutter); }
  .hero-content { max-width: 100%; padding-left: 0; }
  .hero-slide--split .hero-content { max-width: 100%; padding-left: 0; }
  .hero-title { font-size: clamp(24px, 7.4vw, 41px); }
  .hero-title .line1,
  .hero-title .line2,
  .hero-subtitle,
  .hero-stat .num,
  .hero-stat .label {
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
  }
  .hero-subtitle { font-size: 13px; max-width: 100%; line-height: 1.6; }
  .hero-features { margin-bottom: 28px; gap: 12px; }
  .hero-actions { flex-direction: column; flex-wrap: wrap; gap: 8px; }
  .hero-actions .btn { text-align: center; width: 100%; }
  .hero .btn-outline {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(0, 0, 0, 0.45);
  }
  .hero-visual {
    left: 8%;
    right: -18%;
    top: 50%;
    height: 56vh;
    max-height: 56vh;
    transform: translateY(calc(-42% - 24px));
  }
  .hero-slide-img {
    max-height: 56vh;
    object-position: center center;
  }
  .hero-scene-glow {
    width: 90vw;
    height: 50vh;
    top: 32%;
    right: -10%;
  }
  .hero-scene-veil {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.72) 28%,
        rgba(0, 0, 0, 0.50) 52%,
        rgba(0, 0, 0, 0.58) 78%,
        rgba(0, 0, 0, 0.78) 100%
      ),
      linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.4) 42%,
        transparent 78%
      ),
      radial-gradient(
        ellipse 100% 90% at 50% 50%,
        transparent 30%,
        rgba(0, 0, 0, 0.5) 100%
      );
  }
  .hero-stats { grid-template-columns: repeat(3, 1fr); margin-top: var(--space-32); }
  .hero-stat { padding: 14px 8px; }
  .hero-stat .num { font-size: 26px; }
  .hero-stat .label { font-size: 7px; letter-spacing: 1px; }
  .hero-nav {
    display: none !important;
  }
  .hero-pagination { bottom: 16px; }

  .products-grid { grid-template-columns: repeat(2, 1fr); margin-top: var(--space-32); gap: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-title { font-size: clamp(28px, 8vw, 40px); }
  .about-desc { font-size: 14px; line-height: 1.65; }
  .about-checklist { grid-template-columns: 1fr; gap: 12px; }
  .about-checklist li { font-size: 13px; align-items: flex-start; }
  .about-left .btn { width: 100%; text-align: center; }
  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .about-stat-card {
    padding: 16px 14px 18px;
    display: flex;
    flex-direction: column;
    min-height: 132px;
  }
  .about-stat-num {
    font-size: clamp(28px, 9vw, 36px);
    white-space: nowrap;
  }
  .about-stat-label {
    font-size: 9px;
    letter-spacing: 0.7px;
    line-height: 1.35;
    margin-top: 10px;
  }
  .about-stat-card--projects {
    display: none;
  }
  .about-stat-card--text {
    grid-column: 1 / -1;
    min-height: 0;
    padding: 18px 16px;
  }
  .about-stat-card--text .about-stat-num {
    font-size: 20px;
    white-space: normal;
    letter-spacing: 0.04em;
  }
  .about-stat-card--text .about-stat-label {
    font-size: 12px;
    letter-spacing: 0.01em;
    line-height: 1.45;
    margin-top: 8px;
  }
  .whyus-grid { grid-template-columns: 1fr; margin-top: var(--space-32); gap: var(--space-16); }
  .why-card { padding: var(--space-24); }
  .brands { padding: var(--space-48) 0; }
  .brands-row { gap: var(--space-24); }
  .brand-item { font-size: 15px; }
  .cta-banner { padding: var(--space-48) 0; }
  .cta-inner { flex-direction: column; gap: var(--space-32); text-align: center; }
  .cta-actions { flex-direction: column; align-items: center; gap: var(--space-16); width: 100%; }
  .cta-actions .btn { width: 100%; text-align: center; }
  .contact { padding: var(--space-64) 0 0; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-24); }
  .contact-card { padding: var(--space-32); border-radius: var(--radius-card); }
  .contact-title { font-size: var(--text-h1); }
  .contact-actions { grid-template-columns: 1fr; }
  .contact-form-row { grid-template-columns: 1fr; }
  .contact-head { margin-bottom: var(--space-32); }
  .contact-row { grid-template-columns: 48px 1fr; padding: var(--space-24) 0; }
  .contact-row-icon { width: 48px; height: 48px; }
  .contact-map-block {
    margin-top: var(--space-48);
    padding: var(--space-48) 0 0;
  }
  .contact-map-head {
    margin-bottom: var(--space-32);
    padding-left: var(--space-24);
  }
  .contact-map-stage {
    display: flex;
    flex-direction: column;
    gap: var(--space-24);
  }
  .contact-map-panel {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    min-height: 0;
    padding: var(--space-32);
    background: #fff;
    border-color: #E5E5E5;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    transform: none;
    order: -1;
  }
  .contact-map-stage:hover .contact-map-panel {
    transform: none;
  }
  .contact-map-panel-office {
    margin-bottom: var(--space-24);
  }
  .contact-map-panel-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .contact-btn--map {
    height: 38px;
    padding: 0 10px;
    letter-spacing: 0.6px;
    border-radius: 10px;
  }
  .contact-map-shell {
    height: 320px;
  }
  .contact-map-stage:hover .contact-map-shell {
    transform: none;
  }
  .form-row { grid-template-columns: 1fr; }
  .reveal-left.js-reveal,
  .reveal-right.js-reveal { transform: translateY(24px); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .news-grid {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    margin-top: 28px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .news-grid::-webkit-scrollbar { display: none; }
  .news-card {
    flex: 0 0 82vw;
    max-width: 320px;
    height: auto;
    scroll-snap-align: start;
  }
  .news-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 18px;
  }
  .news-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(0,0,0,0.18);
    transition: background 0.25s, transform 0.25s;
    cursor: pointer;
  }
  .news-dot.active {
    background: var(--fire);
    transform: scale(1.3);
  }
  .article-modal { width: 95%; max-height: 90vh; }
  .modal-article-content { padding: 28px 20px 32px; }
  .modal-article-content .modal-article-cover {
    margin: 0 -20px 20px;
    width: calc(100% + 40px);
  }

  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { position: static; }
  .catalog-products-grid { grid-template-columns: 1fr 1fr; }
  .cat-overview-grid {
    grid-template-columns: 1fr;
  }
  .cat-overview-card {
    align-items: stretch;
    border: 1px solid #e5e5e5;
    margin: 0 0 -1px 0;
  }
  .cat-overview-img {
    width: 110px;
    height: auto;
    min-height: 110px;
    align-self: stretch;
    border-right: 1px solid #e5e5e5;
  }
  .cat-overview-img img {
    height: auto;
    max-height: 110px;
  }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card.featured { grid-column: auto; }
  .blog-card.featured .blog-card-img { height: 220px; }
  .article-hero h1 { font-size: var(--text-h1-page); }
  .article-body-section { padding: 40px 0; }
  .article-content h2 { font-size: 24px; margin: 28px 0 12px; }
  .article-content p { font-size: 14px; }
  .blog-grid-section { padding: 40px 0 !important; }
  #art-more-grid { grid-template-columns: 1fr !important; }

  /* Downloads mobile */
  .dl-layout { grid-template-columns: 1fr; }
  .dl-sidebar { position: static; }
  .dl-nav { display: flex; flex-wrap: wrap; gap: 0; padding: 0; }
  .dl-nav-link { flex: 1 1 auto; min-width: 120px; border-left: none; border-bottom: 2px solid transparent; justify-content: center; text-align: center; padding: 10px 12px; }
  .dl-nav-link.active { border-bottom-color: var(--fire); border-left: none; }
  .dl-item { flex-wrap: wrap; gap: 12px; }
  .dl-btn { width: 100%; text-align: center; }

  /* Designers mobile */
  .ds-hero { padding: 48px 0 40px; }
  .ds-hero-cards { grid-template-columns: repeat(2, 1fr); }
  .ds-whom-grid { grid-template-columns: 1fr; }
  .ds-provides-grid { grid-template-columns: 1fr; }
  .ds-help-grid { grid-template-columns: 1fr; }
  .ds-help-col { padding: 32px 24px; }
  .ds-steps-grid { grid-template-columns: 1fr; }
  .ds-step { border-right: 1px solid var(--border); border-bottom: none; }
  .ds-step:last-child { border-bottom: 1px solid var(--border); }
  .ds-form-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 400px) {
  .hero-inner { padding: 0 12px; }
  .hero-title { font-size: 27px; }
  .hero-slide--split .hero-title { font-size: clamp(18px, 5.9vw, 22px); }
  .logo-text .brand { font-size: 19px; }
  .logo-text .tagline { display: none; }
  .catalog-products-grid { grid-template-columns: 1fr; }
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  CART — icon, badge, sidebar, page, admin               ║
   ╚══════════════════════════════════════════════════════════╝ */

/* ── Cart icon in header ─────────────────────────────────── */
.cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
  transition: color .2s, background .2s;
  margin-left: 4px;
}
.cart-btn:hover { color: var(--fire); background: rgba(181, 18, 43,.08); }
.cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--fire);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

.fc-cart-toast {
  position: fixed;
  left: 50%;
  top: max(12px, env(safe-area-inset-top, 0px) + 12px);
  z-index: 10040;
  transform: translateX(-50%) translateY(-8px);
  max-width: min(300px, calc(100vw - 24px));
  width: max-content;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.94);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 8px 28px rgba(0,0,0,.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.fc-cart-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.fc-cart-toast-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.fc-cart-toast-name {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  line-height: 1.3;
  max-width: 276px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fc-cart-toast-qty {
  margin-top: 1px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.72);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 921px) {
  .fc-cart-toast {
    left: auto;
    right: 24px;
    top: 88px;
    transform: translateY(-8px);
  }
  .fc-cart-toast.visible {
    transform: translateY(0);
  }
}

/* ── "В корзину" button on product card ──────────────────── */
.btn-add-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--fire);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 9px 16px;
  cursor: pointer;
  transition: background .2s, transform .15s;
  margin-top: 12px;
  white-space: nowrap;
}
.btn-add-cart:hover   { background: var(--fire-deep); }
.btn-add-cart.added   { background: #22aa44; }
.btn-add-cart:disabled { opacity: .75; cursor: default; }

/* ── Cart overlay ────────────────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1100;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

/* ── Cart sidebar ────────────────────────────────────────── */
.cart-sidebar {
  position: fixed;
  top: 0; right: 0;
  width: 380px; max-width: 100vw;
  height: 100vh;
  background: var(--dark);
  border-left: 1px solid var(--border);
  z-index: 1101;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .32s cubic-bezier(.4,0,.2,1), visibility .32s;
  box-shadow: none;
}
.cart-sidebar.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  box-shadow: -8px 0 40px rgba(0,0,0,.5);
}

.cart-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-sidebar-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-sidebar-count {
  background: var(--fire);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  font-family: 'Montserrat', sans-serif;
}
.cart-sidebar-close {
  background: none;
  border: none;
  color: var(--light-gray);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  transition: color .2s, background .2s;
}
.cart-sidebar-close:hover { color: var(--white); background: rgba(255,255,255,.07); }

.cart-sidebar-items {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
}
.cart-sidebar-items::-webkit-scrollbar { width: 4px; }
.cart-sidebar-items::-webkit-scrollbar-track { background: transparent; }
.cart-sidebar-items::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }

/* Cart sidebar item */
.csi {
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.csi:last-child { border-bottom: none; }
.csi-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.csi-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.csi-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.csi-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 3px 9px;
  line-height: 1.3;
}
.csi-chip-swatch {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  flex-shrink: 0;
}
.csi-cat {
  font-size: 11px;
  color: var(--light-gray);
  margin-top: 0;
}
.csi-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.csi-controls {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.05);
  border-radius: 6px;
  overflow: hidden;
}
.csi-qty-btn {
  background: none;
  border: none;
  color: var(--light-gray);
  font-size: 16px;
  width: 30px; height: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s, background .2s;
}
.csi-qty-btn:hover { color: var(--white); background: rgba(181, 18, 43,.15); }
.csi-qty {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  width: 48px;
  min-width: 40px;
  height: 30px;
  text-align: center;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  padding: 0;
  -moz-appearance: textfield;
  font-variant-numeric: tabular-nums;
}
.csi-qty:focus {
  background: rgba(255,255,255,.08);
}
.csi-qty::-webkit-outer-spin-button,
.csi-qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.csi-remove {
  background: none;
  border: none;
  color: #555;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  transition: color .2s, background .2s;
}
.csi-remove:hover { color: #ff4444; background: rgba(255,68,68,.1); }

/* Empty state */
.cart-empty {
  flex: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 24px;
  text-align: center;
}
.cart-empty p {
  font-size: 14px;
  color: var(--light-gray);
}

/* Sidebar footer */
.cart-sidebar-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  display: none;
}
.cart-sidebar-footer .btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  font-size: 14px;
}
.cart-sidebar-summary { display: none; }
.cart-sidebar-head-meta { display: none; }
.cart-sidebar-sum-amount { display: none; }

/* ── Cart Page ───────────────────────────────────────────── */
.cart-page-wrap {
  padding: 28px 0 80px;
  min-height: 50vh;
}
.cart-page-header {
  margin-bottom: 32px;
}
.cart-page-header h1 {
  font-family: var(--font-display);
  font-size: var(--text-h1-page);
  letter-spacing: var(--tracking-display);
  color: var(--white);
  font-weight: 400;
  line-height: var(--leading-display);
}
.cart-page-header h1 span { color: var(--fire); }
.cp-total-count {
  font-size: 13px;
  color: var(--light-gray);
  margin-top: 6px;
  display: block;
}

.cart-page-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: start;
}

/* Cart items list */
.cp-items {
  display: none;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.cp-item {
  display: grid;
  grid-template-columns: 48px 1fr auto 40px;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.cp-item:last-child { border-bottom: none; }
.cp-item:hover { background: rgba(255,255,255,.02); }
.cp-item-icon {
  width: 48px; height: 48px;
  background: rgba(181, 18, 43,.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.cp-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cp-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}
.cp-item-cat {
  font-size: 11px;
  color: var(--light-gray);
  margin-top: 4px;
}
.cp-item-attrs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 8px;
}
.cp-attr {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--light-gray);
}
.cp-attr em {
  font-style: normal;
  font-weight: 600;
  color: inherit;
}
.cp-attr-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--fire);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}
.cp-attr-swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,.15);
  display: inline-block;
  vertical-align: middle;
  background: #ddd;
  flex-shrink: 0;
}
.cp-item-controls {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.05);
  border-radius: 8px;
  overflow: hidden;
}
.cp-qty-btn {
  background: none;
  border: none;
  color: var(--light-gray);
  font-size: 18px;
  width: 36px; height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s, background .2s;
}
.cp-qty-btn:hover { color: var(--white); background: rgba(181, 18, 43,.15); }
.cp-qty-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  width: 48px;
  min-width: 40px;
  height: 36px;
  text-align: center;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  padding: 0;
  -moz-appearance: textfield;
  font-variant-numeric: tabular-nums;
}
.cp-qty-val:focus {
  background: rgba(255,255,255,.08);
}
.cp-qty-val::-webkit-outer-spin-button,
.cp-qty-val::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cp-remove {
  background: none;
  border: none;
  color: #555;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  display: flex;
  transition: color .2s, background .2s;
}
.cp-remove:hover { color: #ff4444; background: rgba(255,68,68,.1); }

.cp-toolbar {
  display: none;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.cp-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #666;
  cursor: pointer;
  transition: color .2s;
}
.cp-download-btn:hover { color: var(--fire); }
.cp-download-btn svg { flex-shrink: 0; }

/* Empty cart page */
.cart-page-empty {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 72px 20px;
  grid-column: 1 / -1;
}
.cart-page-empty p {
  font-size: 15px;
  color: var(--light-gray);
  max-width: 360px;
  line-height: 1.6;
  margin: 0;
}

/* Order panel (right column) */
.cart-order-panel {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  position: sticky;
  top: 100px;
  display: none;
}
.cart-order-panel h3,
.cart-order-panel-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  color: var(--white);
}
.order-section {
  padding-bottom: 4px;
}
.order-section + .order-section {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.order-section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fire);
  margin: 8px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.order-section-title::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--fire);
}
.order-field {
  margin-bottom: 12px;
}
.order-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--light-gray);
  margin-bottom: 5px;
  letter-spacing: .5px;
}
.order-field label span { color: var(--fire); }
.order-field input,
.order-field textarea {
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 7px;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  padding: 10px 13px;
  outline: none;
  transition: border-color .2s;
}
.order-field input::placeholder,
.order-field textarea::placeholder { color: #555; }
.order-field input:focus,
.order-field textarea:focus { border-color: var(--fire); }
.order-field textarea { resize: none; min-height: 70px; height: 70px; max-height: 70px; overflow-y: auto; }
.order-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.order-validation-errors {
  background: rgba(255,68,68,.1);
  border: 1px solid rgba(255,68,68,.3);
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 12px;
  color: #ff6666;
  margin-top: 4px;
  line-height: 1.5;
}

/* Delivery options */
.delivery-label {
  font-size: 12px;
  color: var(--light-gray);
  margin-bottom: 8px;
}
.delivery-options {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.delivery-opt {
  flex: 1;
  padding: 10px 8px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 7px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--light-gray);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.delivery-opt:hover { border-color: rgba(181, 18, 43,.4); color: var(--white); }
.delivery-opt.active {
  border-color: var(--fire);
  color: var(--fire);
  background: rgba(181, 18, 43,.08);
}
.delivery-pickup-info {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--light-gray);
}
.delivery-pickup-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}
.delivery-pickup-info a {
  color: var(--fire);
  text-decoration: none;
}
.order-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.order-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--light-gray);
}
.order-summary-row strong { color: var(--white); font-weight: 600; }
.order-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 14px;
  color: var(--light-gray);
}
.order-summary-total strong {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

/* Payment info row */
.payment-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--light-gray);
  margin-bottom: 8px;
}
.payment-info span { color: var(--white); font-weight: 600; }
.payment-info .payment-info-label { color: var(--light-gray); font-weight: 400; }

/* ── Checkout page: white theme ─────────────────────────── */
body.cart-checkout-page {
  background: #f7f7f8;
  --cart-accent: #D71920;
  font-family: var(--font-body);
  color: #1a1a1a;
}
body.cart-checkout-page .cart-checkout-hero,
body.cart-checkout-page .cart-page-wrap {
  background: transparent;
}
body.cart-checkout-page .cart-checkout-container {
  max-width: 1240px;
}
body.cart-checkout-page .cart-checkout-hero {
  padding: 28px 0 8px;
}
body.cart-checkout-page .cart-checkout-title {
  font-family: var(--font-display);
  font-size: var(--text-h1-page);
  letter-spacing: var(--tracking-display);
  color: #1a1a1a;
  font-weight: 400;
  margin: 10px 0 0;
  line-height: var(--leading-display);
}
body.cart-checkout-page .cp-total-count {
  color: #777;
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0;
  line-height: var(--leading-body);
}
body.cart-checkout-page .page-crumb--light {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin-top: 0;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #aaa;
}
body.cart-checkout-page .page-crumb--light a {
  color: #888;
  text-decoration: none;
  transition: color .2s;
}
body.cart-checkout-page .page-crumb--light a:hover { color: var(--cart-accent); }
body.cart-checkout-page .page-crumb--light .page-crumb-sep { color: #ccc; user-select: none; }
body.cart-checkout-page .page-crumb--light .page-crumb-here { color: #999; }

/* Progress */
body.cart-checkout-page .cart-progress {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 18px 0 0;
  padding: 0;
}
body.cart-checkout-page .cart-progress-step {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #c5c5c5;
}
body.cart-checkout-page .cart-progress-num {
  font-variant-numeric: tabular-nums;
}
body.cart-checkout-page .cart-progress-step.is-done {
  color: #8a8a8a;
}
body.cart-checkout-page .cart-progress-step.is-current {
  color: var(--cart-accent);
}
body.cart-checkout-page .cart-progress-sep {
  color: #d0d0d0;
  font-size: 12px;
  line-height: 1;
}

body.cart-checkout-page .cart-page-layout {
  grid-template-columns: minmax(0, 1.62fr) minmax(300px, 0.98fr);
  gap: 32px;
}

body.cart-checkout-page .cp-items-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  align-self: start;
}

body.cart-checkout-page .cp-cart-panel {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  overflow: hidden;
}

body.cart-checkout-page .cp-items {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
body.cart-checkout-page .cp-item {
  grid-template-columns: 80px minmax(0, 1fr) auto 36px;
  gap: 16px 18px;
  padding: 20px 22px;
  border-bottom-color: #eee;
  align-items: center;
}
body.cart-checkout-page .cp-item:hover { background: #fafafa; }
body.cart-checkout-page .cp-item-icon {
  width: 80px;
  height: 80px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 10px;
  color: var(--cart-accent);
}
body.cart-checkout-page .cp-item-name {
  font-family: var(--font-body);
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1px;
  line-height: 1.4;
}
body.cart-checkout-page .cp-item-cat {
  font-family: var(--font-body);
  color: #999;
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: .2px;
}
body.cart-checkout-page .cp-item-attrs {
  margin-top: 10px;
  gap: 4px 14px;
}
body.cart-checkout-page .cp-attr {
  font-family: var(--font-body);
  color: #777;
  font-size: 12px;
  line-height: 1.45;
}
body.cart-checkout-page .cp-attr em {
  color: #333;
  font-weight: 600;
}
body.cart-checkout-page .cp-attr-badge {
  background: transparent;
  color: #333;
  padding: 0;
  font-weight: 600;
}
body.cart-checkout-page .cp-item-controls {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  margin-top: 0;
  overflow: hidden;
}
body.cart-checkout-page .cp-remove {
  margin-top: 0;
  color: #c8c8c8;
  opacity: .85;
}
body.cart-checkout-page .cp-remove:hover {
  color: #999;
  background: #f3f3f3;
  opacity: 1;
}
body.cart-checkout-page .cp-qty-btn {
  font-family: var(--font-body);
  color: #666;
  width: 34px;
  height: 34px;
}
body.cart-checkout-page .cp-qty-btn:hover {
  color: #1a1a1a;
  background: rgba(215, 25, 32, .08);
}
body.cart-checkout-page .cp-qty-val {
  font-family: var(--font-body);
  color: #1a1a1a;
  min-width: 28px;
  background: transparent;
}
body.cart-checkout-page .cp-qty-val:focus {
  background: #f3f3f3;
}
body.cart-checkout-page .cp-download-btn {
  font-family: var(--font-body);
}
body.cart-checkout-page .cp-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 18px 22px 16px;
  border-bottom: 1px solid #eee;
  min-height: 58px;
  box-sizing: border-box;
}
body.cart-checkout-page .cp-cart-panel-title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1.6px;
  color: #1a1a1a;
  line-height: 1;
  font-weight: 400;
}
body.cart-checkout-page .cart-page-empty {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 72px 28px;
  max-width: 640px;
  margin: 24px auto 0;
}
body.cart-checkout-page .cart-page-empty-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #bbb;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.cart-checkout-page .cart-page-empty-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 1.5px;
  color: #1a1a1a;
  margin: 0;
  font-weight: 400;
}
body.cart-checkout-page .cart-page-empty p { color: #777; }

body.cart-checkout-page .cart-order-panel {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  padding: 0 24px 24px;
  position: sticky;
  top: 24px;
  align-self: start;
}
body.cart-checkout-page .cart-order-panel-title {
  font-family: var(--font-display);
  color: #1a1a1a;
  font-size: 22px;
  letter-spacing: 1.6px;
  font-weight: 400;
  margin: 0;
  padding: 18px 0 16px;
  border-bottom: 1px solid #eee;
  min-height: 58px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}
body.cart-checkout-page .cart-order-panel-title {
  display: none;
}
body.cart-checkout-page .order-section + .order-section {
  border-top-color: #eee;
}
body.cart-checkout-page .order-section-title {
  font-family: var(--font-body);
  color: #888;
  font-size: var(--text-micro);
  font-weight: 700;
  letter-spacing: 2.2px;
}
body.cart-checkout-page .order-section-title::before {
  background: #ccc;
  width: 14px;
}
body.cart-checkout-page .order-section:first-of-type .order-section-title {
  font-family: var(--font-display);
  color: #1a1a1a;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 1.6px;
  text-transform: none;
  margin: 18px 0 14px;
}
body.cart-checkout-page .order-section:first-of-type .order-section-title::before {
  display: none;
}
body.cart-checkout-page .order-field label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .4px;
  color: #555;
}
body.cart-checkout-page .order-field label span { color: var(--cart-accent); }
body.cart-checkout-page .order-field input,
body.cart-checkout-page .order-field textarea {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0;
  background: #fff;
  border: 1px solid #ddd;
  color: #1a1a1a;
  border-radius: 8px;
  padding: 11px 13px;
}
body.cart-checkout-page .order-field input:focus,
body.cart-checkout-page .order-field textarea:focus { border-color: var(--cart-accent); }
body.cart-checkout-page .order-field input.order-field-invalid,
body.cart-checkout-page .order-field input.order-field-invalid:focus {
  border-color: #c33;
}
body.cart-checkout-page .order-field-hint {
  display: none;
  margin: 6px 0 0;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.35;
  color: #c33;
}
body.cart-checkout-page .order-field-hint:not([hidden]) {
  display: block;
}
body.cart-checkout-page .delivery-label {
  font-family: var(--font-body);
  font-size: 12px;
  color: #666;
}
body.cart-checkout-page .delivery-opt {
  font-family: var(--font-body);
  border-color: #ddd;
  color: #666;
  background: #fff;
  border-radius: 8px;
  padding: 11px 8px;
}
body.cart-checkout-page .delivery-opt:hover { border-color: rgba(215, 25, 32,.45); color: #1a1a1a; }
body.cart-checkout-page .delivery-opt.active {
  border-color: var(--cart-accent);
  color: var(--cart-accent);
  background: rgba(215, 25, 32,.05);
}
body.cart-checkout-page .delivery-pickup-info {
  font-family: var(--font-body);
  background: #fafafa;
  border-color: #ececec;
  color: #555;
}
body.cart-checkout-page .delivery-pickup-title {
  font-family: var(--font-body);
  color: #1a1a1a;
}
body.cart-checkout-page .delivery-pickup-info a { color: var(--cart-accent); }
body.cart-checkout-page .payment-info {
  font-family: var(--font-body);
  border-bottom-color: #eee;
  color: #777;
}
body.cart-checkout-page .payment-info span { color: #1a1a1a; }
body.cart-checkout-page .payment-info .payment-info-label { color: #777; }
body.cart-checkout-page .order-summary-row {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: #666;
}
body.cart-checkout-page .order-summary-row strong { color: #1a1a1a; }
body.cart-checkout-page .order-summary-total {
  font-family: var(--font-body);
  border-top-color: #eee;
  color: #666;
}
body.cart-checkout-page .order-summary-total strong {
  color: #1a1a1a;
  font-size: 14px;
}
body.cart-checkout-page .order-validation-errors {
  font-family: var(--font-body);
  background: #fff5f5;
  border-color: #fcc;
  color: #c33;
}
body.cart-checkout-page .order-legal {
  font-family: var(--font-body);
  color: #888;
}
body.cart-checkout-page .order-submit-btn {
  font-family: var(--font-body);
  height: 52px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--cart-accent);
  letter-spacing: .8px;
  margin-top: 14px;
  transition: background .2s, transform .15s;
}
body.cart-checkout-page .order-submit-btn:hover:not(:disabled) {
  background: var(--fire-glow);
  transform: translate3d(0, -2px, 0);
  box-shadow:
    0 10px 28px rgba(181, 18, 43, 0.32),
    0 0 24px rgba(181, 18, 43, 0.22);
}
body.cart-checkout-page .order-submit-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}

/* Success */
body.cart-checkout-page .cart-order-success {
  display: none;
  justify-content: center;
  padding: 24px 0 40px;
}
body.cart-checkout-page .order-success {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 48px 36px;
  gap: 14px;
}
body.cart-checkout-page .order-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(215, 25, 32, .08);
  color: var(--cart-accent);
  margin-bottom: 6px;
}
body.cart-checkout-page .order-success h2 {
  color: #1a1a1a;
  font-size: clamp(28px, 4vw, 36px);
  margin: 0;
}
body.cart-checkout-page .order-success-lead {
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  max-width: none;
}
body.cart-checkout-page .order-success-text,
body.cart-checkout-page .order-success p {
  color: #666;
  margin: 0;
  max-width: 480px;
}
body.cart-checkout-page .order-success-summary {
  margin-top: 8px;
  padding: 12px 16px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 8px;
  font-size: 13px;
  color: #666;
}
body.cart-checkout-page .order-success-summary strong { color: #1a1a1a; }
body.cart-checkout-page .order-success-id {
  display: none;
}
body.cart-checkout-page .order-success-actions {
  margin-top: 10px;
  gap: 10px;
}
body.cart-checkout-page .order-success-actions .btn {
  min-width: 180px;
  justify-content: center;
}
body.cart-checkout-page .btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #1a1a1a;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  padding: 12px 22px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
body.cart-checkout-page .btn-outline-dark:hover {
  border-color: #1a1a1a;
  background: #fafafa;
}
body.cart-checkout-page .visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Submit button */
.order-submit-btn {
  width: 100%;
  background: var(--fire);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 16px;
  cursor: pointer;
  transition: background .2s;
  margin-top: 16px;
}
/* order-submit-btn hover/active: see CTA Shine Sweep above */
.order-submit-btn:disabled { opacity: .6; cursor: not-allowed; }
.order-legal {
  font-size: 10px;
  color: #555;
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

/* Order success */
.order-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 80px 20px;
}
.order-success-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(181, 18, 43,.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-success h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  letter-spacing: 2px;
}
.order-success p {
  font-size: 14px;
  color: var(--light-gray);
  max-width: 480px;
  line-height: 1.7;
}
.order-success-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Admin Panel ─────────────────────────────────────────── */
.admin-wrap {
  min-height: 100vh;
  background: var(--black);
  color: var(--white);
}
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.admin-login-box {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 40px;
  width: 100%;
  max-width: 400px;
  text-align: center;
}
.admin-login-box h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.admin-login-box p { font-size: 13px; color: var(--light-gray); margin-bottom: 28px; }
.admin-login-box .order-field { text-align: left; }
.admin-login-btn {
  width: 100%;
  background: var(--fire);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 14px;
  cursor: pointer;
  margin-top: 8px;
  transition: background .2s;
}
.admin-login-btn:hover { background: var(--fire-deep); }
.admin-error { color: #ff4444; font-size: 12px; margin-top: 8px; }

.admin-panel { display: none; }
.admin-topbar {
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-topbar-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--white);
}
.admin-topbar-logo span { color: var(--fire); }
.admin-logout {
  background: none;
  border: 1px solid var(--border);
  color: var(--light-gray);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  padding: 7px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.admin-logout:hover { border-color: var(--fire); color: var(--white); }

.admin-content { padding: 32px; }
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.admin-stat-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}
.admin-stat-label { font-size: 11px; color: var(--light-gray); letter-spacing: 1px; text-transform: uppercase; }
.admin-stat-value { font-family: 'Bebas Neue', sans-serif; font-size: 32px; letter-spacing: 1px; color: var(--white); margin-top: 4px; }
.admin-stat-card.fire .admin-stat-value { color: var(--fire); }

.admin-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.admin-filter-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--light-gray);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all .2s;
}
.admin-filter-btn:hover,
.admin-filter-btn.active { border-color: var(--fire); color: var(--fire); background: rgba(181, 18, 43,.08); }

.admin-table-wrap {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: visible;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th {
  background: rgba(255,255,255,.03);
  padding: 12px 16px;
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--light-gray);
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 14px 16px;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  color: var(--white);
  vertical-align: top;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(255,255,255,.02); }

.order-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.status-new      { background: rgba(181, 18, 43,.15);  color: var(--fire); }
.status-process  { background: rgba(255,200,0,.15); color: #ffc800; }
.status-sent     { background: rgba(0,160,255,.15); color: #00a0ff; }
.status-done     { background: rgba(34,170,68,.15); color: #22aa44; }
.status-cancel   { background: rgba(255,68,68,.15); color: #ff4444; }

.admin-status-select {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  padding: 5px 8px;
  cursor: pointer;
  outline: none;
}

/* Custom status dropdown (replaces native select) */
.admin-dd {
  position: relative;
  display: inline-block;
  min-width: 176px;
  z-index: 1;
}
.admin-dd.open { z-index: 40; }
.admin-dd-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  color: #fff !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  padding: 7px 10px;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.admin-dd-toggle:hover { border-color: #555; }
.admin-dd.open .admin-dd-toggle { border-color: #D71920; }
.admin-dd-label {
  color: #fff !important;
  flex: 1;
  text-align: left;
  white-space: nowrap;
}
.admin-dd-caret {
  color: #aaa !important;
  font-size: 9px;
  flex-shrink: 0;
}
.admin-dd-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: auto;
  min-width: 100%;
  width: max-content;
  background: #161616;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 4px;
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
  z-index: 50;
}
.admin-dd-option {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 5px;
  color: #ddd !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 12px;
  cursor: pointer;
  white-space: nowrap;
}
.admin-dd-option:hover {
  background: rgba(215, 25, 32, .12);
  color: #fff !important;
}
.admin-dd-option.is-active {
  background: rgba(215, 25, 32, .18);
  color: #D71920 !important;
  font-weight: 700;
}

.admin-detail-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--light-gray);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all .2s;
}
.admin-detail-btn:hover { border-color: var(--fire); color: var(--fire); }

/* Order detail modal */
.admin-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}
.admin-modal-overlay.open { display: flex; }
.admin-modal {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  width: 90%;
  max-width: 680px;
  max-height: 80vh;
  overflow-y: auto;
}
.admin-modal h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  color: var(--white);
}
.admin-modal-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
}
.admin-modal-label { color: var(--light-gray); min-width: 140px; }
.admin-modal-close {
  float: right;
  background: none;
  border: none;
  color: var(--light-gray);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  margin-top: -4px;
}
.admin-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}
.admin-modal-action-btn {
  background: #1a1a1a;
  border: 1px solid #333;
  color: #ddd;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}
.admin-modal-action-btn:hover {
  border-color: #D71920;
  color: #fff;
}
.admin-order-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  overflow: hidden;
}
.admin-order-item {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.admin-order-item:last-child { border-bottom: none; }
.admin-order-item-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 6px;
}
.admin-order-item-meta {
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
}
.admin-order-item-attrs {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 8px;
}
.admin-order-item-attr {
  font-size: 12px;
  color: #bbb;
  line-height: 1.45;
}
.admin-order-item-attr strong {
  color: #eee;
  font-weight: 600;
}
.admin-order-item-qty {
  font-size: 13px;
  color: #ddd;
}
.admin-order-item-qty strong {
  color: #D71920;
  font-weight: 700;
}
.admin-order-total {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #ccc;
}
.admin-items-list {
  background: rgba(255,255,255,.04);
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 8px;
}
.admin-items-list li {
  font-size: 13px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  list-style: none;
}
.admin-items-list li:last-child { border-bottom: none; }

/* ══════════════════════════════════════════════════════════
   SUBCATEGORY TILES  (оросители → розеткой вниз / вверх …)
   ══════════════════════════════════════════════════════════ */
.subcat-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}
.subcat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px 12px;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  text-align: center;
  color: inherit;
  text-decoration: none;
}
.subcat-tile:hover { border-color: rgba(181, 18, 43,.4); background: rgba(181, 18, 43,.04); }
.subcat-tile.active { border-color: var(--fire); background: rgba(181, 18, 43,.1); }
.subcat-tile-icon { width: 34px; height: 34px; opacity: .5; }
.subcat-tile-icon svg { width: 100%; height: 100%; stroke: var(--white); fill: none; stroke-width: 1.5; }
.subcat-tile.active .subcat-tile-icon { opacity: .9; }
.subcat-tile.active .subcat-tile-icon svg { stroke: var(--fire); }
.subcat-tile-count {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  line-height: 1;
  color: var(--fire);
}
.subcat-tile-name {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .4px;
  color: rgba(255,255,255,.65);
  line-height: 1.35;
}
.subcat-tile.active .subcat-tile-name { color: var(--white); }

/* ── cp2 toolbar ─────────────────────────────────────────── */
.cp2-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 12px;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: 8px;
}
.cp2-toolbar strong { color: var(--fire); font-size: 13px; }

/* ══════════════════════════════════════════════════════════
   CP2 — PRODUCT LIST CARDS  (ogneborets-style)
   ══════════════════════════════════════════════════════════ */
.cp2-list { display: flex; flex-direction: column; gap: 14px; }

.cp2-card {
  display: flex;
  gap: 20px;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  transition: border-color .2s;
  position: relative;
}
.cp2-card:hover { border-color: rgba(181, 18, 43,.3); }

.cp2-img {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  background: var(--dark3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cp2-img svg { opacity: .15; width: 56px; height: 56px; stroke: #fff; }

.cp2-body { flex: 1; min-width: 0; }

.cp2-badge-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
  flex-wrap: wrap;
}
.cp2-model {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--fire);
  background: rgba(181, 18, 43,.1);
  border: 1px solid rgba(181, 18, 43,.25);
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
}
.cp2-new {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .8px;
  color: #fff;
  background: #22aa55;
  padding: 2px 7px;
  border-radius: 3px;
  text-transform: uppercase;
}

.cp2-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--white);
  margin-bottom: 5px;
}
.cp2-desc {
  font-size: 11.5px;
  line-height: 1.75;
  color: rgba(255,255,255,.4);
  margin-bottom: 10px;
}

/* specs row */
.cp2-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-bottom: 12px;
}
.cp2-spec {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
}
.cp2-spec-label { color: rgba(255,255,255,.38); font-weight: 500; }
.cp2-spec-val { color: rgba(255,255,255,.85); font-weight: 700; }

/* variants */
.cp2-variants { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.cp2-var-group { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.cp2-var-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  min-width: 88px;
}
.cp2-var-btns { display: flex; flex-wrap: wrap; gap: 4px; }
.cp2-var-btn {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,.15);
  background: transparent;
  color: rgba(255,255,255,.55);
  cursor: pointer;
  transition: all .15s;
  font-family: 'Montserrat', sans-serif;
}
.cp2-var-btn:hover { border-color: var(--fire); color: var(--fire); }
.cp2-var-btn.active { background: var(--fire); border-color: var(--fire); color: #fff; }

/* footer */
.cp2-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cp2-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--fire);
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: background .18s;
}
.cp2-cart-btn:hover { background: var(--fire-deep); }
.cp2-cart-btn.added { background: #22aa55; }
.cp2-request {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color .15s;
}
.cp2-request:hover { color: var(--fire); }

/* responsive */
@media (max-width: 768px) {
  .cp2-card { flex-direction: column; }
  .cp2-img { width: 100%; height: 90px; border-radius: 6px; }
  .subcat-tiles { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 480px) {
  .subcat-tiles { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════════════
   SRC — OGNEBORETS-STYLE SPRINKLER CARDS (светлая тема)
   ══════════════════════════════════════════════════════════ */
.src-list { display: flex; flex-direction: column; gap: 14px; }

.src-card {
  display: flex;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.src-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,.09); }

/* ── Колонка изображения ── */
.src-img-col {
  flex-shrink: 0;
  width: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  background: #fff;
  border-right: 1px solid #ececec;
}
.src-img {
  width: 165px;
  height: 165px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.src-img .src-img-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.src-img .src-product-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.src-img svg {
  width: 100px;
  height: 100px;
  stroke: #555;
  fill: none;
  opacity: .4;
}

/* (рейтинг и «Отложить / Сравнить» сняты с витрины) */
.src-stars,
.src-actions,
.src-btn-wish,
.src-btn-cmp {
  display: none !important;
}

/* ── Инфо-колонка ── */
.src-info-col {
  flex: 1;
  min-width: 0;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
}

.src-badge-row { margin-bottom: 6px; }
.src-badge-new {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  background: #22aa55;
  color: #fff;
  padding: 2px 7px;
  border-radius: 3px;
}

.src-title {
  font-family: var(--font-display);
  font-size: var(--text-body-lg);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: #1a1a1a;
  margin: 0 0 8px;
}

.src-desc {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: #666;
  margin: 0 0 12px;
  white-space: pre-line;
}

/* Характеристики accordion */
.src-details { margin-bottom: 14px; min-width: 0; }
.src-details-sum {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.src-details-sum::-webkit-details-marker { display: none; }
.src-details-sum svg {
  width: 13px;
  height: 13px;
  stroke: #888;
  flex-shrink: 0;
  transition: transform .2s;
}
details.src-details[open] .src-details-sum svg { transform: rotate(180deg); }
.src-details-body {
  padding-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 16px;
}
.src-details-body:has(.src-details-row) {
  display: block;
}
.src-spec { display: flex; gap: 6px; font-size: 14px; line-height: 1.55; }
.src-spec-lbl { color: #999; min-width: 108px; flex-shrink: 0; }
.src-spec-val { color: #333; font-weight: 700; }
.src-spec--full {
  grid-column: 1 / -1;
  flex-wrap: wrap;
  align-items: flex-start;
}
.src-spec--full .src-spec-lbl { padding-top: 2px; }
.src-spec--full .src-spec-val {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.55;
  word-break: break-word;
}

/* Строки характеристик в карточках аксессуаров (как ogneborets ~14px) */
.src-details-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  font-size: 14px;
  line-height: 1.55;
  padding: 3px 0;
}
.src-details-key {
  color: #333;
  font-weight: 700;
  flex-shrink: 0;
}
.src-details-key::after {
  content: ':';
  margin-left: 1px;
}
.src-details-val {
  color: #333;
  font-weight: 400;
  min-width: 0;
}

/* Сетка характеристик как на ogneborets: 2× строки, подпись — точки — значение */
.src-details-body--ogb {
  display: block;
  padding-top: 10px;
  min-width: 0;
}
.src-ogb-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 18px;
  margin-bottom: 5px;
}
.src-ogb-row--one {
  grid-template-columns: 1fr;
}
.src-ogb-row--one .src-ogb-pair {
  max-width: 100%;
}
.src-ogb-row--cert {
  grid-template-columns: 1fr;
  margin-top: 6px;
  margin-bottom: 0;
  min-width: 0;
}
/* Сертификация: не три колонки, а «подпись ····· (линия)» + абзац на всю ширину */
.src-ogb-cert {
  width: 100%;
  min-width: 0;
}
.src-ogb-cert-title {
  display: flex;
  align-items: center;
  gap: 0 2px;
  min-height: 1.1em;
  margin-bottom: 5px;
}
.src-ogb-cert-title .src-ogb-lbl {
  flex: 0 0 auto;
  max-width: 46%;
  color: #8a8a8a;
  font-size: 14px;
  line-height: 1.55;
}
.src-ogb-cert-title .src-ogb-dots {
  flex: 1 1 8px;
  min-width: 8px;
  height: 0;
  margin: 0 0 1px 0;
  border-bottom: 1px dotted #c5c5c5;
  align-self: flex-end;
}
.src-ogb-cert-txt {
  margin: 0;
  padding: 0 0 1px 0;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  color: #1a1a1a;
  text-align: left;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.src-ogb-pair {
  display: flex;
  align-items: baseline;
  min-width: 0;
  font-size: 14px;
  line-height: 1.55;
}
.src-ogb-lbl {
  color: #8a8a8a;
  flex-shrink: 0;
  max-width: 46%;
}
.src-ogb-dots {
  flex: 1 1 8px;
  min-width: 4px;
  height: 0;
  margin: 0 2px 2px;
  border-bottom: 1px dotted #c5c5c5;
  align-self: flex-end;
}
.src-ogb-val {
  color: #1a1a1a;
  font-weight: 700;
  flex-shrink: 0;
  text-align: right;
  max-width: 48%;
  margin-left: 2px;
}

/* ── Правая панель покупки ── */
.src-panel {
  flex-shrink: 0;
  width: 264px;
  padding: 18px 16px;
  border-left: 1px solid #e8e8e8;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.src-prop-row {
  font-size: 11px;
  color: #999;
  font-weight: 500;
  margin-top: 4px;
}
.src-prop-row strong { color: #2c2c2c; font-weight: 700; }

/* Заголовки блоков опций: воздух между подписью и кнопками */
.src-coat-heading,
.src-temp-heading,
.src-diam-heading {
  margin-bottom: 10px;
}

/* Пустой результат фильтрации */
.ogb-empty {
  padding: 48px 24px;
  text-align: center;
  color: #888;
  font-size: 14px;
}
.ogb-empty button {
  margin-top: 12px;
  padding: 8px 20px;
  border: 1px solid var(--fire);
  background: none;
  color: var(--fire);
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

/* Блок выбора цвета в карточке аксессуара */
.src-coat-row {
  margin-bottom: 10px;
}
.src-coat-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: #666;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.src-coat-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

/* Покрытие */
.src-coat-wrap { display: flex; flex-wrap: wrap; gap: 5px; }
.src-coat-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid #ddd;
  background: #f5f5f5;
  color: #444;
  cursor: pointer;
  transition: all .15s;
  line-height: 1;
}
.src-coat-btn:hover { border-color: #aaa; color: #111; background: #e8e8e8; }
.src-coat-btn.active {
  background: var(--fire);
  border-color: var(--fire);
  color: #fff;
}

/* Температура */
.src-temp-wrap { display: flex; flex-wrap: wrap; gap: 5px; }
.src-temp-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  padding: 5px 9px;
  min-width: 48px;
  text-align: center;
  border-radius: 4px;
  border: 1px solid #ddd;
  background: #f5f5f5;
  color: #444;
  cursor: pointer;
  transition: all .15s;
  line-height: 1;
}
.src-temp-btn:hover  { border-color: var(--fire); color: var(--fire); }
.src-temp-btn.active { background: var(--fire); border-color: var(--fire); color: #fff; }

/* Угол распыла / K-фактор (дренчеры PROTECTOSPRAY и т.п.) */
.src-spray-wrap,
.src-kfactor-wrap { display: flex; flex-wrap: wrap; gap: 5px; }
.src-spray-heading,
.src-kfactor-heading { margin-top: 8px; }
.src-spray-btn,
.src-kfactor-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  padding: 5px 9px;
  min-width: 40px;
  text-align: center;
  border-radius: 4px;
  border: 1px solid #ddd;
  background: #f5f5f5;
  color: #444;
  cursor: pointer;
  transition: all .15s;
  line-height: 1;
}
.src-spray-btn:hover,
.src-kfactor-btn:hover { border-color: var(--fire); color: var(--fire); }
.src-spray-btn.active,
.src-kfactor-btn.active { background: var(--fire); border-color: var(--fire); color: #fff; }

/* Цветовой свотч */
.src-swatch-wrap { display: flex; align-items: center; margin-top: 2px; }
.src-swatch {
  width: 30px;
  height: 30px;
  border-radius: 4px;
  border: 1px solid #ddd;
}

/* Корзина */
.src-buy-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
}
/* в одной строке с блоком количества — без отступа от глобального .btn-add-cart */
.src-buy-row .btn-add-cart {
  margin-top: 0;
}
.src-qty {
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
  border: 1px solid #ddd;
  border-radius: 3px;
  overflow: hidden;
  height: 30px;
}
.src-qty-dec,
.src-qty-inc {
  width: 26px;
  background: none;
  border: none;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  color: #555;
  transition: background .12s;
  font-family: 'Montserrat', sans-serif;
}
.src-qty-dec:hover,
.src-qty-inc:hover { background: #f0f0f0; }
.src-qty-num {
  width: 36px;
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #222;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  padding: 0 2px;
  text-align: center;
  background: #fff;
  outline: none;
  -moz-appearance: textfield;
}
.src-qty-num::-webkit-outer-spin-button,
.src-qty-num::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.src-cart-btn {
  flex: 1 1 0;
  min-width: 0;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fire);
  color: #fff;
  border: none;
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s, transform .12s;
  padding: 0 8px;
  line-height: 1.15;
}
.src-cart-btn:hover  { background: var(--fire-glow); }
.src-cart-btn.added  { background: #27ae60; }

/* ── Responsive src-card ── */
@media (max-width: 920px) {
  .src-panel:not(.spk-pdp-panel) {
    width: 100%;
    border-left: none;
    border-top: 1px solid #e8e8e8;
  }
}
@media (max-width: 640px) {
  .src-card { flex-direction: column; }
  .src-img-col {
    width: 100%;
    height: 165px;
    border-right: none;
    border-bottom: 1px solid #ececec;
  }
  .src-info-col { padding: 14px 16px; }
  .src-details-body { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   SPK-CARD — вертикальные карточки оросителей
   ══════════════════════════════════════════════════════════ */

.spk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 24px 0;
}

/* ── Карточка ─────────────────────────────────────────── */
.spk-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.spk-card:hover {
  box-shadow: 0 10px 36px rgba(181, 18, 43, 0.18);
  transform: translateY(-5px);
  border-color: var(--fire);
}

/* ── Визуальная зона ──────────────────────────────────── */
.spk-visual {
  position: relative;
  height: 180px;
  background: linear-gradient(160deg, #f7f7f7 0%, #efefef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #eeeeee;
  overflow: hidden;
}

.spk-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(181, 18, 43, 0.07) 0%, transparent 65%);
}

.spk-visual-icon {
  position: relative;
  z-index: 1;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spk-visual-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--fire);
  stroke-width: 1.4;
  fill: none;
  filter: drop-shadow(0 4px 12px rgba(181, 18, 43, 0.22));
}

.spk-model-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--fire);
  background: rgba(181, 18, 43, 0.08);
  border: 1px solid rgba(181, 18, 43, 0.25);
  padding: 3px 9px;
  border-radius: 4px;
  white-space: nowrap;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
}

/* ── Тело карточки ────────────────────────────────────── */
.spk-body {
  flex: 1;
  padding: 18px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.spk-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: #1a1a1a;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Таблица характеристик ────────────────────────────── */
.spk-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.spk-spec-cell {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 8px 10px;
}

.spk-spec-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #999999;
  display: block;
  margin-bottom: 3px;
}

.spk-spec-value {
  font-size: 12.5px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
}

/* ── Варианты (покрытие / температура) ───────────────── */
.spk-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spk-opt-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.spk-opt-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #888888;
}

.spk-opt-label strong {
  color: #1a1a1a;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.spk-opt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.spk-opt-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 5px;
  border: 1px solid #d8d8d8;
  background: #f5f5f5;
  color: #444444;
  cursor: pointer;
  transition: all 0.18s ease;
  line-height: 1.4;
}

.spk-opt-btn:hover {
  border-color: var(--fire);
  color: var(--fire);
  background: rgba(181, 18, 43, 0.06);
}

.spk-opt-btn.active {
  background: var(--fire);
  border-color: var(--fire);
  color: #ffffff;
}

.spk-swatch-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
}

.spk-swatch {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  border: 1px solid rgba(0,0,0,0.12);
  flex-shrink: 0;
}

.spk-swatch-name {
  font-size: 11px;
  color: #666666;
  font-weight: 500;
}

/* ── Footer (кол-во + корзина) ────────────────────────── */
.spk-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
}

.spk-qty {
  display: flex;
  align-items: stretch;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  overflow: hidden;
  height: 40px;
  flex-shrink: 0;
}

.spk-qty button {
  width: 34px;
  font-size: 20px;
  line-height: 1;
  background: #ffffff;
  border: none;
  color: #555555;
  cursor: pointer;
  transition: background 0.15s;
  font-family: 'Montserrat', sans-serif;
}

.spk-qty button:hover { background: #f0f0f0; }

.spk-qty span {
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #222222;
  border-left: 1px solid #d0d0d0;
  border-right: 1px solid #d0d0d0;
  background: #ffffff;
}

.spk-cart-btn {
  flex: 1;
  height: 40px;
  background: var(--fire);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.spk-cart-btn:hover { background: var(--fire-deep); }
.spk-cart-btn.added { background: #27ae60; }

/* ── Адаптив ──────────────────────────────────────────── */
@media (max-width: 1200px) {
  .spk-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}

@media (max-width: 600px) {
  .spk-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .spk-visual { height: 150px; }
}

@media (max-width: 400px) {
  .spk-grid { grid-template-columns: 1fr; }
}

/* ── Cart responsive ─────────────────────────────────────── */
@media (max-width: 1100px) {
  body.cart-checkout-page .cart-page-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
    gap: 24px;
  }
  body.cart-checkout-page .cp-item {
    grid-template-columns: 72px minmax(0, 1fr) auto 32px;
    padding: 16px 18px;
  }
  body.cart-checkout-page .cp-item-icon {
    width: 72px;
    height: 72px;
  }
}
@media (max-width: 1024px) {
  .cart-page-layout {
    grid-template-columns: 1fr;
  }
  .cart-order-panel {
    position: static;
  }
  body.cart-checkout-page .cart-page-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  body.cart-checkout-page .cart-order-panel {
    position: static;
    top: auto;
  }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .cp-item { grid-template-columns: 40px 1fr; gap: 12px; }
  .cp-item-controls { grid-column: 2; }
  .cp-remove { grid-column: 2; justify-self: end; margin-top: -8px; }
  .order-field-row { grid-template-columns: 1fr; }
  body.cart-checkout-page .cart-checkout-hero { padding: 20px 0 4px; }
  body.cart-checkout-page .cart-page-wrap { padding: 16px 0 56px; }
  body.cart-checkout-page .cp-item {
    grid-template-columns: 64px minmax(0, 1fr) 36px;
    gap: 12px;
  }
  body.cart-checkout-page .cp-item-icon {
    width: 64px;
    height: 64px;
    grid-column: 1;
    grid-row: 1 / 3;
  }
  body.cart-checkout-page .cp-item-info {
    grid-column: 2 / 4;
    grid-row: 1;
    min-width: 0;
  }
  body.cart-checkout-page .cp-item-controls {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    margin-top: 0;
  }
  body.cart-checkout-page .cp-remove {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
    align-self: center;
    margin-top: 0;
  }
  body.cart-checkout-page .cp-toolbar {
    padding: 16px 16px 14px;
    min-height: 52px;
    flex-wrap: wrap;
  }
  body.cart-checkout-page .cp-cart-panel-title,
  body.cart-checkout-page .cart-order-panel-title {
    font-size: 20px;
    min-height: 52px;
  }
  body.cart-checkout-page .cart-order-panel {
    padding: 0 16px 20px;
  }
  body.cart-checkout-page .cart-progress {
    gap: 6px 8px;
  }
  body.cart-checkout-page .cart-progress-step {
    font-size: 11px;
  }
  body.cart-checkout-page .order-success {
    padding: 36px 20px;
  }
  body.cart-checkout-page .order-success-actions .btn {
    width: 100%;
    min-width: 0;
  }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-content { padding: 16px; }
  .admin-topbar { padding: 12px 16px; }
}

/* ══════════════════════════════════════════════════════════
   ЭТАП 4 — полировка мобильного checkout (≤768px)
   Только body.cart-checkout-page. Desktop не затрагивается.
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  body.cart-checkout-page {
    overflow-x: hidden;
  }
  body.cart-checkout-page .cart-checkout-container,
  body.cart-checkout-page .cart-page-wrap,
  body.cart-checkout-page .cart-page-layout,
  body.cart-checkout-page .cp-items-col,
  body.cart-checkout-page .cart-order-panel,
  body.cart-checkout-page #orderForm {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* 1. Верх страницы — компактный ритм, красный этап без изменений */
  body.cart-checkout-page .cart-checkout-hero {
    padding: 16px 0 10px;
  }
  body.cart-checkout-page .page-crumb--light {
    margin-bottom: 6px;
  }
  body.cart-checkout-page .cart-checkout-title {
    margin: 6px 0 0;
    font-size: clamp(26px, 7.2vw, 32px);
    line-height: 1.08;
  }
  body.cart-checkout-page .cart-progress {
    margin: 12px 0 0;
    gap: 5px 7px;
  }
  body.cart-checkout-page .cart-progress-step {
    font-size: 11px;
    letter-spacing: 0.8px;
  }
  body.cart-checkout-page .cart-progress-sep {
    font-size: 11px;
  }
  body.cart-checkout-page .cp-total-count {
    margin-top: 10px;
    font-size: 13px;
    letter-spacing: 0;
  }

  /* Success: номер заявки скрыт, карточка только «N товаров · M шт.» */
  body.cart-checkout-page .order-success-id {
    display: none;
  }
  body.cart-checkout-page .order-success-summary {
    margin-top: 6px;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    color: #555;
  }

  /* 3. Состав корзины — чуть воздуха, фото сохраняем */
  body.cart-checkout-page .cart-page-wrap {
    padding: 12px 0 48px;
  }
  body.cart-checkout-page .cp-toolbar {
    padding: 14px 16px 12px;
    min-height: 48px;
    gap: 10px;
  }
  body.cart-checkout-page .cp-cart-panel-title {
    font-size: 20px;
    letter-spacing: 1.4px;
  }
  body.cart-checkout-page .cp-item {
    grid-template-columns: 64px minmax(0, 1fr) 36px;
    gap: 12px 14px;
    padding: 16px;
    align-items: start;
  }
  body.cart-checkout-page .cp-item-icon {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    grid-column: 1;
    grid-row: 1 / 3;
  }
  body.cart-checkout-page .cp-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
  body.cart-checkout-page .cp-item-info {
    grid-column: 2 / 4;
    grid-row: 1;
    min-width: 0;
  }
  body.cart-checkout-page .cp-item-name {
    font-size: 14px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  body.cart-checkout-page .cp-item-cat {
    margin-top: 4px;
  }
  body.cart-checkout-page .cp-item-attrs {
    margin-top: 8px;
    gap: 4px 10px;
  }
  body.cart-checkout-page .cp-item-controls {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    align-self: center;
    margin-top: 4px;
    border-radius: 10px;
    max-width: 100%;
  }
  body.cart-checkout-page .cp-qty-val {
    min-width: 44px;
    width: auto;
    padding: 0 2px;
    font-variant-numeric: tabular-nums;
    font-size: 14px;
  }
  body.cart-checkout-page .cp-remove {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
    align-self: center;
    margin-top: 4px;
  }

  /* 4. Поля формы */
  body.cart-checkout-page .cart-order-panel {
    padding: 4px 16px 28px;
  }
  body.cart-checkout-page .order-field {
    margin-bottom: 14px;
  }
  body.cart-checkout-page .order-field input,
  body.cart-checkout-page .order-field textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    height: 52px;
    min-height: 52px;
    padding: 0 14px;
    font-size: 16px;
    line-height: 1.3;
    border-radius: 9px;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #1a1a1a;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  body.cart-checkout-page .order-field textarea {
    height: 112px;
    min-height: 112px;
    max-height: 112px;
    padding: 14px;
    resize: none;
    overflow-y: auto;
    line-height: 1.45;
  }
  body.cart-checkout-page .order-field input::placeholder,
  body.cart-checkout-page .order-field textarea::placeholder {
    color: #b4b4b4;
    opacity: 1;
  }
  body.cart-checkout-page .order-field input:focus,
  body.cart-checkout-page .order-field textarea:focus {
    border-color: var(--cart-accent);
    box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.08);
    outline: none;
  }
  body.cart-checkout-page .order-field input.order-field-invalid,
  body.cart-checkout-page .order-field input.order-field-invalid:focus {
    border-color: #c33;
    box-shadow: 0 0 0 3px rgba(204, 51, 51, 0.12);
  }

  /* 5. Секции — больше воздуха */
  body.cart-checkout-page .order-section + .order-section {
    margin-top: 18px;
    padding-top: 20px;
  }
  body.cart-checkout-page .order-section-title {
    margin: 0 0 14px;
    letter-spacing: 2.4px;
  }
  body.cart-checkout-page .order-section:first-of-type .order-section-title {
    margin: 8px 0 14px;
    font-size: 20px;
    letter-spacing: 1.4px;
  }

  /* 7. Оплата — аккуратная строка, без новых элементов */
  body.cart-checkout-page .payment-info {
    margin: 14px 0 0;
    padding: 12px 0 2px;
    border-bottom: none;
    gap: 12px;
    font-size: 13px;
  }
  body.cart-checkout-page .payment-info-label {
    color: #888;
    font-weight: 400;
    flex-shrink: 0;
  }
  body.cart-checkout-page .payment-info span {
    text-align: right;
  }

  /* 9. Кнопка — только радиус/типографика. disabled/enabled не трогаем */
  body.cart-checkout-page .order-submit-btn {
    width: 100%;
    max-width: 100%;
    height: 52px;
    min-height: 52px;
    margin-top: 16px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 13px;
    letter-spacing: 0.7px;
    box-sizing: border-box;
  }
  body.cart-checkout-page .order-legal {
    margin-top: 12px;
    padding: 0 4px;
    font-size: 10px;
    line-height: 1.5;
  }
}

@media (max-width: 360px) {
  body.cart-checkout-page .cp-item {
    grid-template-columns: 56px minmax(0, 1fr) 36px;
    padding: 14px 12px;
    gap: 10px 12px;
  }
  body.cart-checkout-page .cp-item-icon {
    width: 56px;
    height: 56px;
  }
  body.cart-checkout-page .cp-toolbar,
  body.cart-checkout-page .cart-order-panel {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* ── Mobile cart sidebar — flex layout (≤768px) ──────────── */
@media (max-width: 768px) {
  .cart-sidebar,
  .cart-sidebar.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
  }

  .cart-sidebar-body {
    flex: 1 1 0%;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .cart-sidebar-header {
    flex: 0 0 auto;
    align-items: center;
    padding: 16px 16px 14px;
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .cart-sidebar-heading {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1;
  }

  .cart-sidebar-title {
    font-size: 24px;
    letter-spacing: 2.4px;
    gap: 10px;
  }

  .cart-sidebar-head-meta,
  .cart-sidebar-summary,
  .cart-sidebar-sum-label,
  .cart-sidebar-sum-meta,
  .cart-sidebar-sum-amount {
    display: none !important;
  }

  .cart-sidebar-count {
    min-width: 20px;
    height: 20px;
    padding: 0 7px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 999px;
    box-shadow: 0 0 0 2px rgba(181, 18, 43, 0.28);
  }

  .cart-sidebar-close {
    width: 36px;
    height: 36px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
  }

  .cart-sidebar-items {
    flex: 1 1 0% !important;
    min-height: 0 !important;
    overflow-x: hidden;
    overflow-y: auto !important;
    padding: 8px 0;
  }

  .cart-sidebar-items:empty {
    display: none;
    flex: 0 0 0;
    min-height: 0;
    padding: 0;
    overflow: hidden;
  }

  .cart-empty {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    padding: 24px 16px;
  }

  .cart-sidebar-footer {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    margin-top: auto;
    gap: 0;
    padding: 12px 16px max(16px, env(safe-area-inset-bottom, 0px));
    border-top-color: rgba(255, 255, 255, 0.08);
    background: transparent;
  }

  .cart-sidebar-footer::before {
    display: none;
  }

  .cart-sidebar-footer .btn {
    width: 100%;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    padding: 0 40px 0 18px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    letter-spacing: 0.12em;
    box-shadow: 0 4px 16px rgba(181, 18, 43, 0.32);
  }

  .cart-sidebar-footer .btn::before {
    content: "→";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    font-size: 15px;
    line-height: 1;
    pointer-events: none;
  }

  .csi {
    padding: 12px 16px;
    gap: 8px;
  }

  .csi-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .csi-name {
    font-size: 13px;
    letter-spacing: 0.01em;
  }

  .csi-cat {
    margin-top: 0;
  }

  .csi-controls {
    height: 40px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
  }

  .csi-qty-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
    color: var(--white);
  }

  .csi-qty {
    width: auto;
    min-width: 36px;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
  }

  .csi-remove {
    width: 38px;
    height: 38px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #b0b0b0;
  }

  .csi-remove svg {
    width: 16px;
    height: 16px;
  }

  .csi-remove:hover,
  .csi-remove:active {
    color: var(--fire);
    background: rgba(181, 18, 43, 0.16);
  }
}

/* ═══════════════════════════════════════════════════════════
   Каталог оросителей (orositeli.html) — ogneborets-style
   ═══════════════════════════════════════════════════════════ */
body.ogb-page {
  background: #fff;
  color: #222;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.04em;
}
/* Хедер/футер/корзина и мелкий текст каталога — читаемый Montserrat */
body.ogb-page .topbar,
body.ogb-page header,
body.ogb-page .mobile-nav,
body.ogb-page footer,
body.ogb-page .cart-sidebar,
body.ogb-page .cart-overlay {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  letter-spacing: normal;
}
body.ogb-page .ogb-main .src-desc,
body.ogb-page .ogb-main .ogb-check,
body.ogb-page .ogb-main .ogb-breadcrumb,
body.ogb-page .ogb-main .src-spec,
body.ogb-page .ogb-main .src-details,
body.ogb-page .ogb-main .src-details-sum,
body.ogb-page .ogb-main .src-details-body,
body.ogb-page .ogb-main .src-ogb-pair,
body.ogb-page .ogb-main .src-ogb-lbl,
body.ogb-page .ogb-main .src-ogb-val,
body.ogb-page .ogb-main .src-ogb-cert-txt,
body.ogb-page .ogb-main .src-details-row,
body.ogb-page .ogb-main .src-details-key,
body.ogb-page .ogb-main .src-details-val,
body.ogb-page .ogb-main .spk-pdp-h2--specs,
body.ogb-page .ogb-main .spk-pdp-quicklist,
body.ogb-page .ogb-main .spk-pdp-specgrid-wrap,
body.ogb-page .ogb-main .spk-pdp-specs-table,
body.ogb-page .ogb-main .spk-pdp-cert,
body.ogb-page .ogb-main .ogb-acc-panel,
body.ogb-page .ogb-main .ogb-toolbar-search input,
body.ogb-page .ogb-main .ogb-sort-select,
body.ogb-page .ogb-main .ogb-filter-select,
body.ogb-page .ogb-main .ogb-sidebar,
body.ogb-page .ogb-main .ogb-sidebar-catalog-card,
body.ogb-page .ogb-main .ogb-sidebar-catalog__box,
body.ogb-page .ogb-main .ogb-sidebar-catalog__head,
body.ogb-page .ogb-main .ogb-sidebar-catalog__list,
body.ogb-page .ogb-main .ogb-sidebar-catlink,
body.ogb-page .ogb-main .ogb-sidebar-title,
body.ogb-page .ogb-main .ogb-acc-trigger,
body.ogb-page .ogb-main .ogb-list-toolbar,
body.ogb-page .ogb-main .src-prop-row,
body.ogb-page .ogb-main .src-color-line,
body.ogb-page .ogb-main .src-qty,
body.ogb-page .ogb-main .src-qty-num,
body.ogb-page .ogb-main .src-qty-dec,
body.ogb-page .ogb-main .src-qty-inc,
body.ogb-page .ogb-main .src-coat-btn,
body.ogb-page .ogb-main .src-temp-btn,
body.ogb-page .ogb-main .src-spray-btn,
body.ogb-page .ogb-main .src-kfactor-btn,
body.ogb-page .ogb-main .ogb-seo-block,
body.ogb-page .ogb-main .ogb-seo-prose,
body.ogb-page .ogb-main .ogb-seo-prose p,
body.ogb-page .ogb-main .ogb-seo-cta,
body.ogb-page .ogb-main .ogb-seo-faq-title,
body.ogb-page .ogb-main .ogb-faq-q,
body.ogb-page .ogb-main .ogb-faq-a,
body.ogb-page .ogb-main .ogb-faq-a p,
body.ogb-page .ogb-main .ogb-faq-a li {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  letter-spacing: normal;
}

.ogb-main { padding: 24px 0 56px; }

.ogb-breadcrumb {
  font-size: 13px;
  color: #888;
  margin-bottom: 16px;
  text-align: left;
}
.ogb-breadcrumb a { color: #666; text-decoration: none; }
.ogb-breadcrumb a:hover { color: var(--fire); }
.ogb-bc-sep {
  color: #c0c0c0;
  user-select: none;
}
.ogb-list-bc.ogb-breadcrumb {
  margin-top: 10px;
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  width: 100%;
  gap: 4px 6px;
  line-height: 1.5;
}
.ogb-bc-current {
  color: #444;
  font-weight: 500;
}

.ogb-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.ogb-title {
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 400;
  color: #1a1a1a;
  letter-spacing: 0.06em;
  line-height: 1.05;
}

/* Заголовок + хлебные крошки — одна линия: отступ только у заголовка */
.ogb-page-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 16px;
}
body.spk-product-page .ogb-page-head,
body.spk-product-page .ogb-page-head--pdp {
  margin-bottom: 4px;
  gap: 0;
}
.ogb-page-head .ogb-title-row {
  margin-bottom: 0;
  width: 100%;
}
.ogb-page-head .ogb-title,
.ogb-page-head .spk-pdp-title {
  margin: 0 0 4px;
  padding-left: 3px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
body.spk-product-page .ogb-page-head .spk-pdp-title,
body.spk-product-page .spk-pdp-title {
  max-width: 900px;
  text-wrap: balance;
}
.ogb-page-head .ogb-breadcrumb {
  display: block;
  margin: 2px 0 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}
body.spk-product-page .ogb-page-head .ogb-breadcrumb,
body.spk-product-page .spk-pdp-bc {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}
.ogb-page-head .ogb-breadcrumb .ogb-bc-sep {
  margin: 0 4px;
  color: #c0c0c0;
}
.ogb-page-head .breadcrumb a {
  color: #666;
}
.ogb-page-head .breadcrumb a:hover {
  color: var(--fire);
  text-decoration: none;
}

.ogb-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 4px 10px;
  font-size: 14px;
  font-weight: 700;
  color: #888;
  background: #f0f0f0;
  border-radius: 6px;
}

.ogb-subcats-scroll {
  overflow-x: auto;
  margin-bottom: 20px;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 5;
}
#uzuSubcatTiles .subcat-tile {
  pointer-events: auto;
  position: relative;
  z-index: 1;
}
#uzuSubcatTiles .subcat-tile > * {
  pointer-events: none;
}
.ogb-page .subcat-tiles.ogb-subcat-tiles {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  min-width: min-content;
  padding: 4px 0;
}
.ogb-page .ogb-subcat-tiles .subcat-tile {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-rows: auto auto;
  gap: 4px 10px;
  align-items: center;
  min-width: 168px;
  max-width: 260px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  color: #222;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.ogb-page .ogb-subcat-tiles .subcat-tile-icon { grid-row: 1 / span 2; }
.ogb-page .ogb-subcat-tiles .subcat-tile-name { grid-column: 2; grid-row: 1; }
.ogb-page .ogb-subcat-tiles .subcat-tile-count { grid-column: 2; grid-row: 2; }
.ogb-page .ogb-subcat-tiles .subcat-tile:hover {
  border-color: #ccc;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.ogb-page .ogb-subcat-tiles .subcat-tile.active {
  border-color: var(--fire);
  background: rgba(181, 18, 43, 0.06);
  box-shadow: 0 2px 12px rgba(181, 18, 43, 0.18);
}
.ogb-page .ogb-subcat-tiles .subcat-tile-icon {
  width: 36px;
  height: 36px;
  opacity: .55;
  flex-shrink: 0;
}
.ogb-page .ogb-subcat-tiles .subcat-tile.active .subcat-tile-icon {
  opacity: 1;
}
.ogb-page .ogb-subcat-tiles .subcat-tile-icon svg {
  stroke: #333;
}
.ogb-page .ogb-subcat-tiles .subcat-tile.active .subcat-tile-icon svg {
  stroke: var(--fire);
}
.ogb-page .ogb-subcat-tiles .subcat-tile-count {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #999;
}
.ogb-page .ogb-subcat-tiles .subcat-tile-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: #222;
  text-align: left;
}
.ogb-page .ogb-subcat-tiles .subcat-tile.active .subcat-tile-name {
  color: #1a1a1a;
}

/* Счётчики позиций у категорий / подкатегорий не показываем */
.ogb-sidebar-catlink__count,
.subcat-tile-count,
.ogb-count-badge {
  display: none !important;
}

/* Плитки подкатегорий для аксессуаров — формат "Название / X товаров" */
.acc-subcat-tiles .subcat-tile.acc-subcat-tile {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  min-width: 150px;
  text-align: left;
  grid-template-columns: none;
}
.acc-subcat-tiles .subcat-tile.acc-subcat-tile .subcat-tile-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  grid-row: unset;
  grid-column: unset;
}
.acc-subcat-tiles .acc-tile-name {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.2;
}
.acc-subcat-tiles .subcat-tile.acc-subcat-tile.active .acc-tile-name {
  color: var(--fire);
}
.acc-subcat-tiles .acc-tile-count {
  display: block !important;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #999;
  line-height: 1;
  margin-top: 2px;
}
.acc-subcat-tiles .subcat-tile.acc-subcat-tile .acc-tile-name,
.acc-subcat-tiles .subcat-tile.acc-subcat-tile .acc-tile-count {
  display: block !important;
}
.acc-subcat-tiles .acc-tile-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ogb-page .ogb-subcat-tiles .subcat-tile {
  grid-template-rows: auto;
}
.ogb-page .ogb-subcat-tiles .subcat-tile-icon {
  grid-row: 1;
  align-self: center;
}

.ogb-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 18px;
}
.ogb-toolbar-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.ogb-toolbar-filter-btn:hover { border-color: var(--fire); color: var(--fire); }
.ogb-toolbar-search { flex: 1 1 200px; min-width: 160px; }
.ogb-toolbar-search input {
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fafafa;
}
.ogb-toolbar-search input:focus {
  outline: none;
  border-color: var(--fire);
  background: #fff;
}
.ogb-toolbar-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.ogb-toolbar-sort label {
  font-size: 12px;
  color: #888;
}
.ogb-sort-select {
  padding: 8px 12px;
  font-size: 13px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  min-width: 220px;
}

.ogb-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

/* Левая колонка: фильтр и карточка каталога — прокручиваются вместе со страницей */
.ogb-layout__rail {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-self: start;
  min-width: 0;
}

.ogb-sidebar {
  position: static;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 0 0 12px;
  overflow: visible;
}

/* Каталог: полная высота списка, без внутреннего скролла; чуть ниже фильтра */
.ogb-sidebar-catalog-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 0 0 12px;
  overflow: visible;
  margin-top: 6px;
}
.ogb-sidebar-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 1px solid #eee;
  color: #333;
}
.ogb-sidebar-close {
  display: none;
}

.ogb-acc-item + .ogb-acc-item { border-top: 1px solid #eee; }
.ogb-acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}
.ogb-acc-trigger::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid #999;
  border-bottom: 2px solid #999;
  transform: rotate(-45deg);
  transition: transform .2s;
  flex-shrink: 0;
}
.ogb-acc-item.is-open .ogb-acc-trigger::after {
  transform: rotate(45deg);
  margin-top: 4px;
}
.ogb-acc-item:not(.is-open) .ogb-acc-panel { display: none; }

.ogb-acc-panel {
  padding: 0 16px 14px;
}
/* Внутренняя прокрутка: «Модель», блоки с 10+ чекбоксами (.ogb-acc-panel--scroll в разметке) */
.ogb-acc-panel--scroll {
  max-height: min(20rem, 50vh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.ogb-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: #444;
  margin-bottom: 8px;
  cursor: pointer;
}
.ogb-check input { margin-top: 3px; accent-color: var(--fire); }
.ogb-filter-select {
  width: 100%;
  padding: 8px 10px;
  font-size: 13px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* Каталог: как блок «Фильтр» — Montserrat из правил .ogb-main выше */
.ogb-sidebar-catalog__box {
  margin: 0;
}
.ogb-sidebar-catalog__head {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #333;
  cursor: pointer;
  user-select: none;
  border-bottom: 1px solid #eee;
  background: #fff;
}
.ogb-sidebar-catalog__head::-webkit-details-marker { display: none; }
.ogb-sidebar-catalog__head::marker { content: none; }
.ogb-sidebar-catalog__head-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ogb-sidebar-catalog__ico-grid {
  flex-shrink: 0;
  opacity: 0.55;
  color: #333;
}
.ogb-sidebar-catalog__head::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid #999;
  border-bottom: 2px solid #999;
  transform: rotate(-45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.ogb-sidebar-catalog__box[open] > .ogb-sidebar-catalog__head::after {
  transform: rotate(45deg);
  margin-top: 4px;
}
.ogb-sidebar-catalog__list {
  display: flex;
  flex-direction: column;
  background: #fff;
  width: 100%;
}
.ogb-sidebar-catlink {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 22px;
  align-items: center;
  column-gap: 8px;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px 8px 16px;
  text-decoration: none;
  color: #333;
  border-top: 1px solid #eee;
  transition: background 0.15s ease;
}
.ogb-sidebar-catlink:first-of-type {
  border-top: none;
}
.ogb-sidebar-catlink:hover {
  background: #fafafa;
}
.ogb-sidebar-catlink.is-current {
  background: rgba(181, 18, 43, 0.06);
}
.ogb-sidebar-catlink.is-current::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--fire);
  border-radius: 0 1px 1px 0;
}
.ogb-sidebar-catlink__body {
  min-width: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
  padding: 0;
}
/* Строки каталога — как подписи чекбоксов в фильтре (.ogb-check) */
.ogb-sidebar-catlink__name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.45;
  color: #444;
  text-transform: none;
  letter-spacing: normal;
  overflow-wrap: break-word;
}
.ogb-sidebar-catlink.is-current .ogb-sidebar-catlink__name {
  font-weight: 600;
  color: #333;
}
.ogb-sidebar-catlink__count {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 500;
  color: #888;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.45;
  padding-top: 0.02em;
}
.ogb-sidebar-catlink__chev {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  padding: 0;
  color: #999;
  opacity: 0.45;
}
.ogb-sidebar-catlink:hover .ogb-sidebar-catlink__chev,
.ogb-sidebar-catlink.is-current .ogb-sidebar-catlink__chev {
  opacity: 0.85;
  color: #666;
}
.ogb-sidebar-catlink__thumb {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  box-sizing: border-box;
}
.ogb-sidebar-catlink__thumb img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 2px;
  background: transparent;
  mix-blend-mode: darken;
}
.ogb-sidebar-catlink__thumb--icon svg {
  width: 20px;
  height: 20px;
  opacity: 0.4;
  stroke: #333;
}

.ogb-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 250;
}
body:has(.ogb-sidebar-rail--open) .ogb-sidebar-overlay,
body:has(.ogb-layout__rail.is-open) .ogb-sidebar-overlay { display: block; }

.ogb-list-toolbar {
  font-size: 13px;
  color: #666;
  margin-bottom: 14px;
}

/* Пагинация каталога оросителей */
/* Атрибут hidden должен реально скрывать блок: иначе display:flex ниже перебивает UA [hidden] */
.ogb-list-pager[hidden] {
  display: none !important;
}
.ogb-list-pager {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}
.ogb-pager-more {
  width: 100%;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #333;
  background: #ececec;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.ogb-pager-more:hover:not(:disabled) {
  background: #e2e2e2;
  border-color: #ccc;
}
.ogb-pager-more:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.ogb-pager-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.ogb-pager-num,
.ogb-pager-next {
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #222;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ogb-pager-num:hover,
.ogb-pager-next:hover:not(:disabled) {
  border-color: var(--fire);
  color: var(--fire);
}
.ogb-pager-num.is-active {
  background: var(--fire);
  border-color: var(--fire);
  color: #fff;
  cursor: default;
}
.ogb-pager-next:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.ogb-src-list {
  gap: 0;
}
.ogb-src-list .src-card {
  margin-bottom: 14px;
  border-radius: 8px;
  transition: box-shadow .2s, border-color .2s;
}
.ogb-src-list .src-card:last-child { margin-bottom: 0; }
.ogb-src-list .src-card:hover {
  border-color: #d0d0d0;
  box-shadow: 0 6px 22px rgba(0,0,0,.08);
}

.ogb-page .src-coat-btn.active,
.ogb-page .src-temp-btn.active,
.ogb-page .src-spray-btn.active,
.ogb-page .src-kfactor-btn.active {
  background: var(--fire) !important;
  border-color: var(--fire) !important;
  color: #fff !important;
}
.ogb-page .src-coat-btn:hover:not(.active),
.ogb-page .src-temp-btn:hover:not(.active),
.ogb-page .src-spray-btn:hover:not(.active),
.ogb-page .src-kfactor-btn:hover:not(.active) {
  border-color: var(--fire);
  color: var(--fire);
}
.ogb-page .src-cart-btn {
  background: var(--fire);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.ogb-page .src-cart-btn:hover {
  background: var(--fire-glow);
}
.ogb-page .src-cart-btn.added {
  background: #2e7d32;
}

.ogb-page .src-img-col {
  position: relative;
  width: 190px;
  padding: 12px 10px;
  background: #fff;
}
.ogb-page .src-img {
  width: 165px;
  height: 165px;
}
.ogb-page .src-product-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ogb-page .src-img-fallback {
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #c9a44d;
}
.ogb-page .src-img-fallback svg {
  width: 88px;
  height: 88px;
  opacity: .45;
}
.ogb-page .src-ribbon-new {
  position: absolute;
  top: 10px;
  left: 8px;
  z-index: 2;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  background: #2e7d32;
  color: #fff;
}
.ogb-page .src-ribbon-stack {
  position: absolute;
  top: 10px;
  left: 8px;
  z-index: 2;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.ogb-page .src-ribbon-stack .src-ribbon-new {
  position: static;
}
.ogb-page .src-ribbon-hit {
  background: #1565c0;
}
.ogb-page .src-ribbon-sov {
  background: #7b1fa2;
}

/* ══════════════════════════════════════════════════════════
   DESKTOP (>768px) — бейджи каталога
   Маркетинг: низ фото по центру. Модель: правый верх.
   Mobile (≤768) не затрагивается.
   ══════════════════════════════════════════════════════════ */
@media (min-width: 769px) {
  body.ogb-page .ogb-src-list .src-img-col {
    position: relative;
    overflow: hidden;
  }

  /* Маркетинговые бейджи — низ колонки фото, по центру */
  body.ogb-page .ogb-src-list .src-ribbon-stack,
  body.ogb-page .ogb-src-list .src-img-col > .src-ribbon-new {
    position: absolute;
    top: auto;
    bottom: 8px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px;
    max-width: calc(100% - 16px);
    width: max-content;
    box-sizing: border-box;
    margin: 0;
    pointer-events: none;
  }

  body.ogb-page .ogb-src-list .src-ribbon-stack .src-ribbon-new {
    position: static;
    top: auto;
    left: auto;
    bottom: auto;
    transform: none;
  }

  body.ogb-page .ogb-src-list .src-ribbon-stack .src-ribbon-new,
  body.ogb-page .ogb-src-list .src-img-col > .src-ribbon-new {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 22px;
    max-width: 100%;
    margin: 0;
    padding: 0 7px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.35px;
    line-height: 1;
    text-transform: uppercase;
    border-radius: 3px;
    white-space: nowrap;
    pointer-events: none;
  }

  /*
    Не более 2 маркетинговых бейджей.
    Приоритет: ХИТ → НОВИНКА → СОВЕТУЕМ.
    Если есть все три — скрываем СОВЕТУЕМ (остаются ХИТ + НОВИНКА).
  */
  body.ogb-page .ogb-src-list .src-ribbon-stack:has(.src-ribbon-hit):has(.src-ribbon-sov):has(.src-ribbon-new:not(.src-ribbon-hit):not(.src-ribbon-sov)) .src-ribbon-sov {
    display: none;
  }

  /* Код модели — правый верх, отдельно от маркетинга */
  body.ogb-page .ogb-src-list .src-model-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    bottom: auto;
    left: auto;
    z-index: 2;
    box-sizing: border-box;
    height: 20px;
    max-width: calc(100% - 16px);
    margin: 0;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1;
    color: #555;
    background: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
  }

  /* Длинные названия — ровная высота карточек */
  body.ogb-page .ogb-src-list .src-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.35;
    min-height: calc(1.35em * 2);
    max-height: calc(1.35em * 2);
    margin: 0 0 8px;
  }
}

/* ══════════════════════════════════════════════════════════
   DESKTOP (>768px) — PDP: маркетинг сверху по центру рамки фото
   Mobile не трогаем.
   ══════════════════════════════════════════════════════════ */
@media (min-width: 769px) {
  body.spk-product-page .spk-pdp,
  body.spk-product-page article.src-card.spk-pdp-card,
  body.spk-product-page .spk-pdp-card-frame {
    width: 100%;
    max-width: none;
  }
  body.spk-product-page .spk-pdp-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.5fr) minmax(0, 0.5fr);
    width: 100%;
  }

  body.spk-product-page .spk-pdp-media {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    align-content: start;
  }

  body.spk-product-page .spk-pdp-mainimg {
    position: relative;
    z-index: 1;
    grid-row: 1;
    grid-column: 1;
  }

  /*
    Стек/одиночный бейдж делят ячейку с .spk-pdp-mainimg (90% ширины),
    поэтому центрируются относительно рамки фото, а не всей колонки.
  */
  body.spk-product-page .spk-pdp-media > .src-ribbon-stack,
  body.spk-product-page .spk-pdp-media > .src-ribbon-new {
    grid-row: 1;
    grid-column: 1;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    z-index: 5;
    align-self: start;
    justify-self: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin: 10px 0 0;
    pointer-events: none;
  }

  body.spk-product-page .spk-pdp-media > .src-ribbon-stack {
    width: 90%;
    max-width: 90%;
    padding: 0 10px;
  }

  /* Одиночный .src-ribbon-new — капсула по центру рамки */
  body.spk-product-page .spk-pdp-media > .src-ribbon-new {
    width: max-content;
    max-width: 90%;
  }

  body.spk-product-page .spk-pdp-media > .src-ribbon-stack .src-ribbon-new {
    position: static;
    top: auto;
    left: auto;
    transform: none;
  }

  body.spk-product-page .spk-pdp-media > .src-ribbon-stack .src-ribbon-new,
  body.spk-product-page .spk-pdp-media > .src-ribbon-new {
    height: 22px;
    padding: 0 7px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.35px;
    line-height: 1;
    border-radius: 3px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }

  body.spk-product-page .spk-pdp-media > .src-ribbon-stack:has(.src-ribbon-hit):has(.src-ribbon-sov):has(.src-ribbon-new:not(.src-ribbon-hit):not(.src-ribbon-sov)) .src-ribbon-sov {
    display: none;
  }
}

.ogb-page .src-model-tag {
  position: absolute;
  top: 10px;
  right: 8px;
  max-width: 120px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  color: #555;
  background: rgba(255,255,255,.95);
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  text-align: right;
  line-height: 1.2;
}

.ogb-page .src-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.35;
}
.ogb-page .src-desc {
  font-size: 12.5px;
  line-height: 1.75;
}
/* Раскрытый блок «Характеристики» в списке каталога — Montserrat 12px */
body.ogb-page .ogb-main .src-card:not(.spk-pdp-card) .src-details-sum {
  font-size: 12px;
  font-weight: 600;
}
body.ogb-page .ogb-main .src-card:not(.spk-pdp-card) .src-details-body,
body.ogb-page .ogb-main .src-card:not(.spk-pdp-card) .src-details-body .src-ogb-pair,
body.ogb-page .ogb-main .src-card:not(.spk-pdp-card) .src-details-body .src-ogb-lbl,
body.ogb-page .ogb-main .src-card:not(.spk-pdp-card) .src-details-body .src-ogb-val,
body.ogb-page .ogb-main .src-card:not(.spk-pdp-card) .src-details-body .src-ogb-cert-txt,
body.ogb-page .ogb-main .src-card:not(.spk-pdp-card) .src-details-body .src-details-row {
  font-size: 12px;
  line-height: 1.5;
}
body.ogb-page .ogb-main .src-card:not(.spk-pdp-card) .src-ogb-val,
body.ogb-page .ogb-main .src-card:not(.spk-pdp-card) .src-details-key {
  font-weight: 600;
}
body.ogb-page .ogb-main .src-card:not(.spk-pdp-card) .src-ogb-row {
  margin-bottom: 3px;
}
body.ogb-page .ogb-main .src-card:not(.spk-pdp-card) .src-details-body--ogb {
  padding-top: 8px;
}
body.ogb-page .ogb-main .src-card:not(.spk-pdp-card) .src-details-body--ogb .src-ogb-row--one {
  width: 100%;
}
body.ogb-page .ogb-main .src-card:not(.spk-pdp-card) .src-details-body--ogb .src-ogb-pair {
  display: flex;
  align-items: baseline;
  width: 100%;
  min-width: 0;
}
body.ogb-page .ogb-main .src-card:not(.spk-pdp-card) .src-details-body--ogb .src-ogb-lbl {
  flex: 0 0 auto;
  max-width: none;
}
body.ogb-page .ogb-main .src-card:not(.spk-pdp-card) .src-details-body--ogb .src-ogb-dots {
  flex: 1 1 0;
  min-width: 8px;
  width: auto;
  height: 0;
  margin: 0 2px 2px;
  border-bottom: 1px dotted #c5c5c5;
  align-self: flex-end;
}
body.ogb-page .ogb-main .src-card:not(.spk-pdp-card) .src-details-body--ogb .src-ogb-val {
  flex: 0 0 auto;
  max-width: 58%;
  min-width: 0;
  margin-left: 0;
  text-align: right;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.ogb-page .src-color-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  margin-bottom: 12px;
  font-size: 11px;
  color: #777;
}
.ogb-page .src-swatch--round {
  border-radius: 50%;
  width: 22px;
  height: 22px;
}

.catalog-sprinklers-teaser {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 28px 24px 32px;
  max-width: 720px;
}
.catalog-sprinklers-teaser-text {
  margin: 16px 0 20px;
  font-size: 15px;
  line-height: 1.65;
  color: #555;
}
.catalog-sprinklers-cta {
  display: inline-block;
}

@media (max-width: 1100px) {
  .ogb-layout {
    grid-template-columns: 1fr;
  }
  .ogb-layout__rail {
    position: static;
    gap: 22px;
  }
  .ogb-sidebar-catalog-card {
    margin-top: 4px;
  }
  .ogb-layout__rail:not(.ogb-sidebar-rail--open):not(.is-open) .ogb-sidebar {
    display: none !important;
  }
  .ogb-sidebar-rail--open,
  .ogb-layout__rail.is-open {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    max-height: 100dvh;
    z-index: 260;
    width: min(320px, 92vw);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
    background: #f0f0f0;
    padding: 12px;
    gap: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .ogb-sidebar-rail--open .ogb-sidebar,
  .ogb-layout__rail.is-open .ogb-sidebar {
    display: block !important;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .ogb-sidebar-rail--open .ogb-sidebar-title,
  .ogb-layout__rail.is-open .ogb-sidebar-title {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
  }
  .ogb-sidebar-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #666;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .ogb-sidebar-close:hover,
  .ogb-sidebar-close:focus-visible {
    color: #111;
    background: #f3f3f3;
  }
  .ogb-sidebar-rail--open .ogb-acc-panel--scroll,
  .ogb-layout__rail.is-open .ogb-acc-panel--scroll {
    max-height: none;
    overflow: visible;
  }
  .ogb-sidebar-rail--open .ogb-sidebar-catalog-card,
  .ogb-layout__rail.is-open .ogb-sidebar-catalog-card {
    flex: 0 0 auto;
    overflow: visible;
    max-height: none;
  }
  .ogb-toolbar-filter-btn { display: inline-flex; }
}
@media (min-width: 1101px) {
  .ogb-toolbar-filter-btn { display: none; }
  .ogb-layout__rail .ogb-sidebar,
  .ogb-layout__rail .ogb-sidebar-catalog-card {
    display: block !important;
  }
}

/* ══════════════════════════════════════════════════════════
   МОБИЛЬНЫЙ КАТАЛОГ (ЭТАП 2, ≤768px)
   Листинги категорий (.ogb-src-list): крошки, заголовок,
   подкатегории-чипсы, тулбар, карточки. PDP (body.spk-product-page)
   и десктоп не затрагиваются.
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* 1. Крошки — одна строка, горизонтальный скролл, без переноса */
  body.ogb-page:not(.spk-product-page) .ogb-list-bc.ogb-breadcrumb,
  .ogb-list-bc.ogb-breadcrumb {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 4px 5px;
    padding-bottom: 2px;
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
  }
  body.ogb-page:not(.spk-product-page) .ogb-list-bc.ogb-breadcrumb::-webkit-scrollbar,
  .ogb-list-bc.ogb-breadcrumb::-webkit-scrollbar { display: none; }
  .ogb-list-bc.ogb-breadcrumb a,
  .ogb-list-bc.ogb-breadcrumb .ogb-bc-sep,
  .ogb-list-bc.ogb-breadcrumb .ogb-bc-current {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .ogb-list-bc.ogb-breadcrumb .ogb-bc-current {
    color: var(--fire);
    font-weight: 600;
  }

  /* 2. Заголовок категории — компактнее (только листинг, не PDP) */
  body.ogb-page:not(.spk-product-page) .ogb-main {
    padding: 14px 0 40px;
  }
  body.ogb-page:not(.spk-product-page) .ogb-page-head {
    margin-bottom: 8px;
  }
  body.ogb-page:not(.spk-product-page) .ogb-title {
    font-size: 20px;
    letter-spacing: 0.03em;
  }
  body.ogb-page:not(.spk-product-page) .ogb-page-head .ogb-breadcrumb {
    margin-top: 4px;
  }

  /* 3. Подкатегории — chip-кнопки, gap 6–8px между ними */
  .ogb-subcats-scroll {
    margin-bottom: 4px;
    scrollbar-width: none;
  }
  .ogb-subcats-scroll::-webkit-scrollbar { display: none; }
  .ogb-page .subcat-tiles.ogb-subcat-tiles {
    gap: 7px;
  }
  .ogb-page .ogb-subcat-tiles .subcat-tile {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    grid-template-columns: none;
    min-width: 0;
    max-width: none;
    padding: 8px 14px;
    border-radius: var(--radius-chip);
  }
  .ogb-page .ogb-subcat-tiles .subcat-tile-icon {
    display: none;
  }
  .ogb-page .ogb-subcat-tiles .subcat-tile-name {
    font-size: 12.5px;
    white-space: nowrap;
  }
  .ogb-page .ogb-subcat-tiles .subcat-tile.active {
    background: var(--fire);
    border-color: var(--fire);
    box-shadow: none;
  }
  .ogb-page .ogb-subcat-tiles .subcat-tile.active .subcat-tile-name {
    color: #fff;
  }

  /* Чипсы acc/uzu: на мобилке только название («Все»), без «25 товаров» */
  .ogb-page .acc-subcat-tiles .subcat-tile.acc-subcat-tile {
    min-width: 0;
    gap: 0;
    padding: 8px 14px;
  }
  .ogb-page .acc-subcat-tiles .subcat-tile.acc-subcat-tile .acc-tile-count {
    display: none !important;
  }
  .ogb-page .acc-subcat-tiles .acc-tile-name {
    white-space: nowrap;
    font-size: 12.5px;
    color: #1a1a1a;
  }
  .ogb-page .acc-subcat-tiles .subcat-tile.acc-subcat-tile.active .acc-tile-name {
    color: #fff;
  }

  /* 4. Дерево каталога — убрано на мобильных, навигация через чипсы подкатегорий */
  .ogb-sidebar-catalog-card {
    display: none !important;
  }

  /* 5. Поиск — убран на мобильных */
  .ogb-toolbar-search {
    display: none !important;
  }

  /* 6. Фильтр и сортировка — единый блок управления, одинаковая высота/padding */
  .ogb-toolbar {
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 4px;
  }
  .ogb-toolbar-filter-btn {
    flex: 1 1 0;
    min-width: 0;
    height: 40px;
    min-height: 40px;
    padding: 0 10px;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #fff;
  }
  .ogb-toolbar-filter-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
  }
  .ogb-toolbar-sort {
    flex: 1 1 0;
    min-width: 0;
    margin-left: 0;
    display: flex;
    align-items: stretch;
  }
  .ogb-toolbar-sort label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .ogb-sort-select {
    width: 100%;
    min-width: 0;
    height: 40px;
    min-height: 40px;
    padding: 0 10px;
    box-sizing: border-box;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #fff;
  }

  /* 6. Верх: меньше воздуха между подкатегориями → фильтр → «Показано…» → карточки */
  .ogb-list-toolbar {
    margin-bottom: 4px;
    margin-top: 0;
    font-size: 12px;
    line-height: 1.3;
  }

  /* 7. Карточки — отступ друг от друга 18–20px */
  .ogb-src-list .src-card {
    flex-direction: column;
    margin-bottom: 20px;
  }
  .ogb-src-list .src-card:last-child {
    margin-bottom: 0;
  }

  /* 5. Фото — ещё +5% (~176px), центрировано, максимум пространства */
  .ogb-src-list .src-img-col {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 4px 4px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: none;
    border-bottom: none;
    gap: 0;
  }
  .ogb-src-list .src-img {
    width: min(176px, 94%);
    height: auto;
    aspect-ratio: 1;
    max-width: 176px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .ogb-src-list .src-img .src-img-link,
  .ogb-src-list .src-img .src-product-photo,
  .ogb-src-list .src-img .src-img-fallback {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    object-fit: contain;
  }
  .ogb-src-list .src-img .src-img-link {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* 4. Воздух: фото → модель → название → кнопка */
  .ogb-src-list .src-model-tag {
    position: static;
    top: auto;
    right: auto;
    display: inline-flex;
    align-self: center;
    max-width: 100%;
    margin: 8px 0 0;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 700;
    color: #666;
    background: #f6f6f6;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    text-align: center;
    white-space: nowrap;
  }
  .ogb-src-list .src-ribbon-stack,
  .ogb-src-list .src-ribbon-new {
    position: static;
    top: auto;
    left: auto;
    align-self: center;
    margin-bottom: 2px;
  }

  .ogb-src-list .src-info-col {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .ogb-src-list .src-title {
    font-size: 14px;
    line-height: 1.3;
    min-height: calc(1.3em * 2);
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
  }

  /* Второстепенное скрыто — только на PDP */
  .ogb-src-list .src-desc,
  .ogb-src-list .src-details,
  .ogb-src-list .src-panel {
    display: none !important;
  }
}

/* ══════════════════════════════════════════════════════════
   МОБИЛЬНАЯ АДАПТАЦИЯ СТРАНИЦЫ ТОВАРА (ЭТАП 3, ≤768px)
   PDP (body.spk-product-page): крошки, фото, заголовок, блок
   покупки, характеристики, вкладки, sticky-панель покупки.
   Карточка каталога (.ogb-src-list): кнопка «Подробнее» вместо
   блока «Характеристики». Десктоп не затрагивается — новые
   элементы скрыты по умолчанию и включаются только в медиа-запросе.
   ══════════════════════════════════════════════════════════ */

/* Бейдж модели под фото на PDP — на десктопе такого бейджа нет, поэтому скрыт по умолчанию */
.spk-pdp-model-badge {
  display: none;
}

/* Кнопка «Подробнее» в карточке каталога — на десктопе остаётся аккордеон «Характеристики» */
.ogb-src-list .src-more-btn {
  display: none;
}

/* Sticky-панель «В корзину» — существует только на мобильных PDP */
.spk-pdp-sticky-bar {
  display: none;
}

@media (max-width: 768px) {
  /* 1. Верх страницы — плотный ритм первого экрана (ЭТАП 3.1) */
  body.spk-product-page .ogb-main {
    padding-top: 10px;
  }
  body.spk-product-page .ogb-page-head--pdp {
    margin-bottom: 4px;
    gap: 0;
  }

  /* 2. Крошки PDP — как в каталоге: одна строка, scroll, скрытый scrollbar */
  body.spk-product-page .ogb-page-head .ogb-breadcrumb.spk-pdp-bc,
  .spk-pdp-bc {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 4px 5px;
    margin: 0;
    padding: 0;
    padding-bottom: 0;
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
  }
  body.spk-product-page .ogb-page-head .ogb-breadcrumb.spk-pdp-bc::-webkit-scrollbar,
  .spk-pdp-bc::-webkit-scrollbar { display: none; }
  .spk-pdp-bc a,
  .spk-pdp-bc .ogb-bc-sep,
  .spk-pdp-bc .spk-pdp-bc-current {
    flex-shrink: 0;
    white-space: nowrap;
    word-break: normal;
  }
  .spk-pdp-bc .spk-pdp-bc-current {
    color: var(--fire);
    font-weight: 600;
  }

  /* 3. Бейджи «Хит» / «Советуем» / «Новинка» — компактнее, цвета без изменений */
  .spk-pdp-media .src-ribbon-stack,
  .spk-pdp-media .src-ribbon-new {
    position: static;
    top: auto;
    left: auto;
    align-self: center;
    margin-bottom: 0;
  }
  .spk-pdp-media .src-ribbon-stack {
    gap: 4px;
    margin: 0 0 2px;
  }
  .spk-pdp-media .src-ribbon-new {
    padding: 2px 6px;
    font-size: 8px;
    line-height: 1.2;
    letter-spacing: 0.5px;
  }

  /* 4. Бейдж модели — ниже и плотнее */
  .spk-pdp-model-badge {
    display: inline-flex;
    align-items: center;
    align-self: center;
    margin-top: 0;
    margin-bottom: 0;
    padding: 1px 8px;
    min-height: 0;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.02em;
    color: #666;
    background: #f6f6f6;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    white-space: nowrap;
  }

  /* 5. Заголовок товара — 22–24px, плотнее; длинные имена остаются читаемыми */
  body.spk-product-page .ogb-page-head .spk-pdp-title,
  body.spk-product-page .spk-pdp-title,
  .spk-pdp-title {
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: 0.01em;
    margin: 0 0 2px;
    padding-left: 0;
    text-wrap: unset;
  }

  /* ЭТАП 3.2 — блок покупки / вкладки: см. секцию ниже (после ≤900px) */

  /* 8. Типографика — второстепенный текст легче, меньше визуального шума */
  .spk-pdp-brand-desc,
  .spk-pdp-cert {
    font-size: 12.5px;
    color: #777;
  }
  .spk-pdp-brand-block {
    margin-top: 14px;
  }

  /* 9. Sticky-панель «В корзину» — отключена */
  .spk-pdp-sticky-bar,
  .spk-pdp-sticky-bar.is-visible {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
  }
  .spk-pdp-sticky-bar .btn-add-cart,
  .spk-pdp-sticky-bar .src-cart-btn {
    width: 100%;
    height: 46px;
    margin: 0;
    border-radius: var(--radius-control);
  }

  /* Карточка каталога — кнопка «Подробнее» вместо блока «Характеристики» */
  .ogb-src-list .src-details {
    display: none !important;
  }
  .ogb-src-list .src-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    width: 100%;
    box-sizing: border-box;
    height: 42px;
    min-height: 42px;
    margin-top: 0;
    padding: 0 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: var(--fire);
    border: 1px solid var(--fire);
    border-radius: var(--radius-control);
  }
  .ogb-src-list .src-more-btn:hover,
  .ogb-src-list .src-more-btn:active {
    background: var(--fire-deep);
    border-color: var(--fire-deep);
    color: #fff;
  }
}

/* ══════════════════════════════════════════════════════════
   Страница товара оросителя (orositel-product.html)
   ══════════════════════════════════════════════════════════ */
.src-title-link {
  color: inherit;
  text-decoration: none;
}
.src-title-link:hover {
  color: var(--fire);
  text-decoration: underline;
}
.ogb-page .src-img-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: inherit;
}
.ogb-page .src-img .src-product-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.ogb-page .src-img-link:hover .src-product-photo {
  opacity: 0.92;
}

.spk-pdp {
  padding: 0 0 32px;
  text-align: left;
  width: 100%;
}
.spk-pdp-bc .spk-pdp-bc-current {
  color: #555;
  max-width: 100%;
  word-break: break-word;
}
.spk-pdp-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.12;
  margin: 0 0 1px;
  color: #1a1a1a;
  max-width: 900px;
  text-wrap: balance;
}
.spk-pdp-bc {
  margin: 0 0 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}
.spk-pdp-brand {
  margin: 0 0 6px;
  font-size: 13px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

article.src-card.spk-pdp-card {
  display: block;
  overflow: visible;
  margin-bottom: 14px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
/* Единая рамка: фото + опции + краткие характеристики */
.spk-pdp-card-frame {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}
/* На странице товара убираем фикс. 264px списка — панель на всю ширину колонки */
article.src-card.spk-pdp-card .src-panel.spk-pdp-panel {
  width: 100%;
  max-width: none;
  flex-shrink: 1;
  border-left: none;
  box-sizing: border-box;
  gap: 0;
}
.spk-pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 0.5fr);
  column-gap: 14px;
  row-gap: 0;
  align-items: start;
}
.spk-pdp-media {
  position: relative;
  background: #fff;
  border: none;
  border-radius: 0;
  border-right: 1px solid #eee;
  padding: 8px;
  height: auto;
  min-height: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
}
.spk-pdp-mainimg {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  align-self: stretch;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: none;
  border-radius: 4px;
  box-shadow: none;
  overflow: hidden;
  padding: 22px;
  box-sizing: border-box;
}
.spk-pdp-photo {
  width: 86%;
  height: 86%;
  max-width: 86%;
  max-height: 86%;
  object-fit: contain;
  object-position: center center;
  transform: none;
  transform-origin: center center;
  margin: auto;
  display: block;
}
.spk-pdp-gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
  max-width: 100%;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  align-self: stretch;
}
.spk-pdp-gthumb {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  padding: 5px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.spk-pdp-gthumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.spk-pdp-gthumb:hover {
  border-color: #aaa;
}
.spk-pdp-gthumb.is-active {
  border-color: #B5122B;
  box-shadow: 0 0 0 2px rgba(181, 18, 43, 0.25);
}
.spk-pdp-imgfb {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #c9a44d;
}
.spk-pdp-imgfb svg {
  width: 96px;
  height: 96px;
  opacity: 0.45;
}

/* ── PDP: lightbox (увеличение фото) ───────────────────────── */
body.spk-pdp-lightbox-open {
  overflow: hidden;
}
.spk-pdp-mainimg {
  cursor: zoom-in;
}
.spk-pdp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.spk-pdp-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.spk-pdp-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}
.spk-pdp-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(96vw, 1200px);
  max-height: 92vh;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.spk-pdp-lightbox-dialog > button {
  pointer-events: auto;
}
.spk-pdp-lightbox-stage {
  pointer-events: none;
  width: 100%;
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.spk-pdp-lightbox-img {
  pointer-events: auto;
  display: block;
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}
.spk-pdp-lightbox-close {
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.spk-pdp-lightbox-close:hover {
  background: #B5122B;
  color: #fff;
}
.spk-pdp-lightbox-prev,
.spk-pdp-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.spk-pdp-lightbox-prev:hover,
.spk-pdp-lightbox-next:hover {
  background: rgba(181, 18, 43, 0.55);
  border-color: rgba(181, 18, 43, 0.8);
}
.spk-pdp-lightbox-prev {
  left: 0;
  margin-left: -8px;
}
.spk-pdp-lightbox-next {
  right: 0;
  margin-right: -8px;
}
.spk-pdp-lightbox-prev[hidden],
.spk-pdp-lightbox-next[hidden] {
  display: none;
}
@media (max-width: 640px) {
  .spk-pdp-lightbox-prev {
    left: 4px;
    margin-left: 0;
  }
  .spk-pdp-lightbox-next {
    right: 4px;
    margin-right: 0;
  }
  .spk-pdp-lightbox-close {
    top: 8px;
    right: 8px;
  }
}

/* Мобильный lightbox: крупное фото по центру экрана (не размер карточки).
   Размер дополнительно задаётся из JS через innerHeight — без vh/dvh-глюков. */
@media (max-width: 768px) {
  body.spk-pdp-lightbox-open {
    overflow: hidden;
    touch-action: none;
  }
  body.spk-pdp-lightbox-open .spk-pdp-sticky-bar {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .spk-pdp-lightbox.is-open {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: auto;
    max-height: none;
    margin: 0;
    padding: 0;
    display: block;
    box-sizing: border-box;
    z-index: 5000;
  }
  .spk-pdp-lightbox-backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }
  .spk-pdp-lightbox-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    max-width: 96vw;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .spk-pdp-lightbox-stage {
    width: auto;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .spk-pdp-lightbox-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 96vw;
    /* fallback до применения JS-размера: заметно крупнее карточки */
    max-height: 78%;
    object-fit: contain;
    object-position: center center;
    margin: 0;
    background: #fff;
    border-radius: 8px;
  }
  .spk-pdp-lightbox-prev,
  .spk-pdp-lightbox-next {
    top: 50%;
    transform: translateY(-50%);
  }
  .spk-pdp-lightbox-close {
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.55);
  }
}

.spk-pdp-aside {
  min-width: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-self: start;
  height: fit-content;
  justify-content: flex-start;
  background: #fff;
}
.spk-pdp-panel {
  border: none;
  border-radius: 0;
  /* +12px сверху — визуальный центр с фото */
  padding: 36px 20px 24px 16px;
  background: #fff;
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  box-sizing: border-box;
}
/* Единый вертикальный поток: опции → характеристики → покупка */
.spk-pdp-panel-split {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  height: fit-content;
}
.spk-pdp-options-col {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 0;
  margin: 0;
}
/* Без покрытия/температуры — характеристики без верхнего разделителя */
.spk-pdp-options-col--specs-top .spk-pdp-summary--inline {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
/* Секция покупки: qty + кнопка как один блок */
.spk-pdp-buy-col {
  border-left: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 20px 0 0;
  margin-top: 20px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  align-self: start;
  height: fit-content;
}

/* Плотнее опции только внутри PDP-карточки (каталог не трогаем) */
.spk-pdp-panel .src-coat-heading,
.spk-pdp-panel .src-temp-heading,
.spk-pdp-panel .src-diam-heading,
.spk-pdp-panel .src-spray-heading,
.spk-pdp-panel .src-kfactor-heading,
.acc-pdp-panel .src-coat-heading,
.acc-pdp-panel .src-temp-heading,
.acc-pdp-panel .src-diam-heading {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666;
}
.spk-pdp-panel .src-spray-heading,
.spk-pdp-panel .src-kfactor-heading,
.acc-pdp-panel .src-diam-heading {
  margin-top: 0;
}
.spk-pdp-panel .src-coat-row,
.acc-pdp-panel .src-coat-row {
  margin-bottom: 0;
}
.spk-pdp-panel .src-prop-row,
.acc-pdp-panel .src-prop-row {
  margin-top: 0;
}
.spk-pdp-panel .src-coat-wrap,
.spk-pdp-panel .src-temp-wrap,
.spk-pdp-panel .src-kfactor-wrap,
.spk-pdp-panel .src-spray-wrap,
.spk-pdp-panel .src-diam-wrap,
.acc-pdp-panel .src-coat-wrap,
.acc-pdp-panel .src-diam-wrap,
.acc-pdp-panel .src-temp-wrap {
  gap: 8px;
}
.spk-pdp-panel .src-coat-btn,
.spk-pdp-panel .src-temp-btn,
.spk-pdp-panel .src-kfactor-btn,
.spk-pdp-panel .src-spray-btn,
.acc-pdp-panel .src-coat-btn,
.acc-pdp-panel .src-temp-btn {
  min-height: 32px;
  height: 32px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-radius: 4px;
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.18s ease;
}
.spk-pdp-panel .src-coat-btn:hover:not(.active),
.spk-pdp-panel .src-temp-btn:hover:not(.active),
.spk-pdp-panel .src-kfactor-btn:hover:not(.active),
.spk-pdp-panel .src-spray-btn:hover:not(.active),
.acc-pdp-panel .src-coat-btn:hover:not(.active),
.acc-pdp-panel .src-temp-btn:hover:not(.active) {
  border-color: #bbb;
  background: #eee;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  transform: translateY(-1px);
}

.spk-pdp-brand-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  margin: 16px 0 0;
  background: #f9f9f9;
  border: 1px solid #ebebeb;
  border-radius: 8px;
}
.spk-pdp-brand-logo {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.spk-pdp-brand-logo--tyco {
  width: 110px;
  height: auto;
  max-height: 48px;
  mix-blend-mode: normal;
}
.spk-pdp-brand-logo--raphael {
  width: 140px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  mix-blend-mode: normal;
}
.spk-pdp-brand-block--raphael {
  background: #fff;
}
.spk-pdp-brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.spk-pdp-brand-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: #222;
  line-height: 1;
}
.spk-pdp-brand-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: #666;
  margin: 0;
}
/* Единый блок покупки: заголовок → счётчик → кнопка (без разделителя между qty и CTA) */
.spk-pdp-panel .src-buy-row.spk-pdp-buy-row,
.spk-pdp-buy-row {
  position: relative;
  display: flex;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin-top: 0 !important;
  padding: 0 !important;
  width: 100%;
  background: none;
}
/* Заголовок «Количество» в потоке — как у Покрытие / Температура */
.spk-pdp-buy-row::before {
  content: "Количество";
  display: block;
  width: 100%;
  margin: 0 0 -4px;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555;
  line-height: 1.2;
  pointer-events: none;
}
.spk-pdp-buy-row .src-qty {
  position: static;
  align-self: flex-start;
  height: 40px;
  border-radius: 4px;
  margin: 0;
}
.spk-pdp-buy-row .src-qty::before {
  content: none;
  display: none;
}
.spk-pdp-buy-row .src-qty-dec,
.spk-pdp-buy-row .src-qty-inc {
  width: 36px;
}
.spk-pdp-buy-row .src-qty-num {
  width: 48px;
  min-width: 48px;
  font-size: 13px;
}
.spk-pdp-buy-row .btn-add-cart,
.spk-pdp-buy-row .src-cart-btn {
  flex: none;
  width: 80%;
  max-width: 80%;
  align-self: flex-start;
  height: 52px;
  min-height: 52px;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.09em;
  border-radius: 5px;
  padding: 0 32px;
  margin: 0;
  box-shadow: 0 3px 12px rgba(181, 18, 43, 0.26);
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
}
.spk-pdp-buy-row .btn-add-cart:hover,
.spk-pdp-buy-row .src-cart-btn:hover {
  box-shadow: 0 6px 20px rgba(181, 18, 43, 0.34);
  transform: translateY(-1px);
}
.spk-pdp-buy-row .btn-add-cart:active,
.spk-pdp-buy-row .src-cart-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(181, 18, 43, 0.22);
}

.spk-pdp-summary {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  margin-bottom: 16px;
  width: 100%;
  box-sizing: border-box;
}
.spk-pdp-summary--inline {
  /* gap 8 + margin 4 ≈ 12px до секции — плотнее единый поток */
  margin: 4px 0 0;
  padding: 12px 0 0;
  border: none;
  border-radius: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: transparent;
  width: 100%;
}
.spk-pdp-summary--inline .spk-pdp-h2,
.spk-pdp-h2--specs {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  color: #555;
  text-transform: uppercase;
}
.spk-pdp-summary--inline .spk-pdp-quicklist {
  font-size: 13px;
  line-height: 1.3;
}
.spk-pdp-h2 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.spk-pdp-quicklist {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #0a0a0a;
  line-height: 1.35;
  font-size: 13px;
  font-weight: 700;
  width: 100%;
}
/* Спецификация: подпись светлее, значение контрастнее (размер шрифта тот же) */
.spk-pdp-quicklist li {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  column-gap: 16px;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  color: #0a0a0a;
  font-weight: 700;
}
.spk-pdp-quicklist li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.spk-pdp-quicklist li strong {
  grid-column: 1;
  color: #999;
  font-weight: 400;
  opacity: 1;
  min-width: 0;
}
.spk-pdp-quicklist li > span,
.spk-pdp-quicklist li > b {
  grid-column: 2;
  min-width: 0;
}
.spk-pdp-quicklist li span {
  color: #999;
  font-weight: 400;
}
.spk-pdp-quicklist li span::after { content: ':'; margin-left: 1px; }
.spk-pdp-quicklist li b {
  color: #0a0a0a;
  font-weight: 700;
  text-align: left;
  justify-self: start;
}
.spk-pdp-quicklist li .acc-thread-val {
  color: #0a0a0a;
  font-weight: 700;
}
.spk-pdp-quicklist li .acc-thread-val::after {
  content: none;
}
.acc-pdp-panel .spk-pdp-quicklist { margin-bottom: 0; }

/* Аксессуары PDP: тот же ритм 4 блоков */
.acc-pdp-panel .acc-pdp-panel-split {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  height: fit-content;
}
.acc-pdp-options-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  width: 100%;
  align-items: stretch;
}
.acc-pdp-options-col .src-coat-wrap,
.acc-pdp-options-col .src-diam-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}
.acc-pdp-options-col .src-diam-heading {
  margin-top: 2px;
}
.acc-pdp-panel .acc-pdp-spec-block {
  margin-top: 4px;
  padding-top: 0;
  width: 100%;
}
.acc-pdp-panel .acc-pdp-spec-block .acc-pdp-spec-row {
  margin-top: 3px;
  font-size: 13px;
  color: #8a8a8a;
  line-height: 1.35;
}
.acc-pdp-panel .acc-pdp-spec-block .acc-pdp-spec-row strong {
  color: #2c2c2c;
  font-weight: 700;
}
.acc-pdp-panel .acc-pdp-spec-block .spk-pdp-scrollspec {
  margin-top: 8px;
}
.acc-pdp-panel .spk-pdp-buy-col {
  align-self: start;
}

/* Миниатюры PDP аксессуаров — одна горизонтальная строка (как ogneborets) */
.spk-pdp-gallery-thumbs.acc-pdp-hero-thumbs {
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  width: 100%;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.spk-pdp-gallery-thumbs.acc-pdp-hero-thumbs::-webkit-scrollbar {
  display: none;
}
.spk-pdp-gallery-thumbs.acc-pdp-hero-thumbs .spk-pdp-gthumb {
  flex: 0 0 72px;
  scroll-snap-align: start;
}
.spk-pdp-gallery-thumbs.acc-pdp-hero-thumbs.acc-pdp-hero-thumbs--few {
  justify-content: center;
  overflow-x: visible;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.spk-pdp-scrollspec {
  margin-top: 8px;
  margin-bottom: 0;
  padding: 0;
  border: none;
  background: none;
  color: var(--fire);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}
.spk-pdp-scrollspec:hover {
  color: var(--fire-glow);
}

.spk-pdp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 2px solid #ddd;
  margin-bottom: 20px;
  width: 100%;
  scroll-margin-top: 88px;
}
.spk-pdp-tab {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  padding: 12px 18px;
  margin-bottom: -2px;
  border: none;
  background: transparent;
  color: #666;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.spk-pdp-tab:first-child {
  padding-left: 0;
}
.spk-pdp-tab:hover {
  color: var(--fire);
}
.spk-pdp-tab.is-active {
  color: #1a1a1a;
  border-bottom-color: var(--fire);
}
.spk-pdp-panes {
  min-height: 120px;
  width: 100%;
}
.spk-pdp-pane {
  padding: 0;
  margin: 0;
}
.spk-pdp-pane[hidden] {
  display: none !important;
}

/* ── Табпанели карточки товара (аксессуар) ── */
.spk-pdp-tabpanel[hidden] { display: none !important; }
.spk-pdp-tabpanel { margin-bottom: 32px; }
.spk-pdp-desc { max-width: 760px; line-height: 1.7; color: #333; }
.spk-pdp-desc p { margin: 0 0 12px; }

/* таблица характеристик */
.spk-pdp-specs-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px; max-width: 680px;
}
.spk-pdp-specs-table th,
.spk-pdp-specs-table td {
  padding: 10px 14px; text-align: left;
  border-bottom: none; vertical-align: top;
}
.spk-pdp-specs-table th {
  width: 42%; font-weight: 600; color: #555;
  background: #f8f8f8;
}
.spk-pdp-specs-table td { color: #222; }

/* документы — пустое состояние */
.spk-pdp-docs-empty {
  color: #888; font-size: 14px; padding: 24px 0;
}

/* ── Вкладка «Документы» — карточки файлов ── */
.spk-docs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 20px 24px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
}
.spk-docs-grid--inline {
  margin-top: 0;
}
.spk-pdp-desc-extras {
  margin: 24px 0;
}
.spk-pdp-video {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 24px 0;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}
/* Вертикальное видео (Rutube 9:16) — узкий плеер без широких чёрных полос */
.spk-pdp-video--portrait {
  max-width: 400px;
  padding-bottom: 0;
  height: auto;
  aspect-ratio: 9 / 16;
}
.spk-pdp-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.spk-docs-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 0;
  text-decoration: none;
  color: inherit;
  min-width: 200px;
  max-width: 260px;
  transition: opacity 0.15s;
}
.spk-docs-card:hover {
  opacity: 0.75;
}
.spk-docs-icon {
  flex-shrink: 0;
  width: 38px;
  height: 46px;
  position: relative;
}
.spk-docs-icon svg {
  width: 38px;
  height: 46px;
  display: block;
}
.spk-docs-badge {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  background: #d93030;
  border-radius: 2px;
  padding: 2px 4px;
  line-height: 1;
  position: absolute;
  bottom: 4px;
  left: 4px;
}
.spk-docs-info {
  min-width: 0;
}
.spk-docs-name {
  font-size: 12px;
  font-weight: 500;
  color: #222;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
  display: block;
  margin-bottom: 3px;
}
.spk-docs-size {
  font-size: 11px;
  color: #999;
}
.spk-pdp-prose {
  font-size: 15px;
  line-height: 1.65;
  color: #333;
  max-width: 100%;
  padding: 0;
  margin: 0;
}
.spk-pdp-prose p {
  margin: 0 0 12px;
}
.spk-pdp-prose ul {
  margin: 0 0 12px;
  padding-left: 1.35em;
}
.spk-pdp-prose li {
  margin-bottom: 8px;
}
.spk-pdp-prose li:last-child {
  margin-bottom: 0;
}
.spk-pdp-prose .spk-pdp-fig {
  margin: 16px 0 20px;
}
.spk-pdp-prose .spk-pdp-fig img {
  display: block;
  max-width: 100%;
  height: auto;
}
/* Характеристики на странице товара — сетка ogneborets (подпись ··· значение) */
.spk-pdp .src-details--pdp {
  margin: 20px 0 24px;
  max-width: 100%;
}
.spk-pdp .src-details--pdp .src-details-sum {
  font-size: 14px;
  font-weight: 600;
  color: #555;
}
.spk-pdp .src-details--pdp .src-details-body--ogb {
  display: block;
  padding-top: 12px;
}
.spk-pdp .src-details--pdp .src-details-body--ogb .src-ogb-row {
  margin-bottom: 6px;
}
.spk-pdp .src-details--pdp .src-details-body--ogb .src-ogb-row--one {
  width: 100%;
}
.spk-pdp .src-details--pdp .src-details-body--ogb .src-ogb-pair {
  display: flex;
  align-items: baseline;
  width: 100%;
  min-width: 0;
}
.spk-pdp .src-details--pdp .src-details-body--ogb .src-ogb-lbl {
  flex: 0 0 auto;
  max-width: none;
}
.spk-pdp .src-details--pdp .src-details-body--ogb .src-ogb-dots {
  flex: 1 1 0;
  min-width: 8px;
  width: auto;
  height: 0;
  margin: 0 2px 2px;
  border-bottom: 1px dotted #c5c5c5;
  align-self: flex-end;
}
.spk-pdp .src-details--pdp .src-details-body--ogb .src-ogb-val {
  flex: 0 0 auto;
  max-width: 58%;
  min-width: 0;
  margin-left: 0;
  text-align: right;
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
}
.spk-pdp-options-col--buy-only {
  min-height: 0;
}
/* Вкладка «Характеристики» PDP — 12px, как в каталоге ogneborets */
.spk-pdp-specgrid-wrap {
  overflow-x: auto;
  max-width: 100%;
}
body.ogb-page .ogb-main .spk-pdp .spk-pdp-specgrid-wrap .src-details-body--ogb {
  display: block;
  padding-top: 4px;
}
body.ogb-page .ogb-main .spk-pdp .spk-pdp-specgrid-wrap .src-ogb-row {
  margin-bottom: 3px;
}
body.ogb-page .ogb-main .spk-pdp .spk-pdp-specgrid-wrap .src-ogb-row--one {
  width: 100%;
}
body.ogb-page .ogb-main .spk-pdp .spk-pdp-specgrid-wrap .src-ogb-pair {
  display: flex;
  align-items: baseline;
  width: 100%;
  min-width: 0;
  font-size: 12px;
  line-height: 1.5;
}
body.ogb-page .ogb-main .spk-pdp .spk-pdp-specgrid-wrap .src-ogb-lbl {
  flex: 0 0 auto;
  max-width: none;
  font-size: 12px;
  color: #8a8a8a;
}
body.ogb-page .ogb-main .spk-pdp .spk-pdp-specgrid-wrap .src-ogb-dots {
  flex: 1 1 0;
  min-width: 8px;
  margin: 0 2px 2px;
  border-bottom: 1px dotted #c5c5c5;
  align-self: flex-end;
}
body.ogb-page .ogb-main .spk-pdp .spk-pdp-specgrid-wrap .src-ogb-val {
  flex: 0 0 auto;
  max-width: 58%;
  min-width: 0;
  margin-left: 0;
  text-align: right;
  font-size: 12px;
  font-weight: 600;
  word-break: break-word;
  overflow-wrap: anywhere;
}
body.ogb-page .ogb-main .spk-pdp .spk-pdp-specgrid-wrap .src-ogb-cert-title .src-ogb-lbl,
body.ogb-page .ogb-main .spk-pdp .spk-pdp-specgrid-wrap .src-ogb-cert-txt {
  font-size: 12px;
  line-height: 1.5;
}
body.ogb-page .ogb-main .spk-pdp .spk-pdp-specgrid-wrap .src-ogb-cert-txt {
  font-weight: 600;
}
.spk-pdp-cert {
  font-size: 14px;
  line-height: 1.65;
  color: #333;
  white-space: pre-wrap;
}
.spk-pdp-missing {
  padding: 40px 0;
  font-size: 16px;
}
.spk-pdp-missing a {
  color: var(--fire);
  font-weight: 600;
}

@media (max-width: 768px) {
  body.spk-product-page .spk-pdp-grid {
    grid-template-columns: 1fr;
  }
  body.spk-product-page .spk-pdp-media {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 8px;
    background: #fff;
  }
  body.spk-product-page .spk-pdp-mainimg {
    width: 100%;
    max-width: 100%;
    background: #fff;
    padding: 16px;
    box-shadow: none;
    border: none;
    border-radius: 4px;
  }
  body.spk-product-page .spk-pdp-gallery-thumbs {
    max-width: 100%;
    width: 100%;
    margin-top: 8px;
  }
  body.spk-product-page .spk-pdp-buy-row {
    background: none;
  }
  body.spk-product-page .spk-pdp-buy-row .btn-add-cart,
  body.spk-product-page .spk-pdp-buy-row .src-cart-btn {
    width: 100%;
    max-width: 100%;
  }
  body.spk-product-page .spk-pdp-panel {
    padding: 24px 16px 20px;
  }
  body.spk-product-page .spk-pdp-gthumb {
    width: 64px;
    height: 64px;
    padding: 5px;
  }
  body.spk-product-page .spk-pdp-panel-split,
  body.spk-product-page .acc-pdp-panel .acc-pdp-panel-split {
    max-width: none;
  }
  body.spk-product-page .spk-pdp-buy-col {
    border-left: none;
    padding-left: 0;
    padding-top: 4px;
    border-top: none;
    max-width: none;
  }
}

/* ══════════════════════════════════════════════════════════
   ЭТАП 3.1 — галерея PDP (≤768px)
   После одноколоночного блока ≤768px, чтобы переопределить padding/размер фото
   и миниатюр только на мобильных. Десктоп не затрагивается.
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  body.spk-product-page .spk-pdp-media {
    padding: 8px;
    gap: 6px;
    align-items: stretch;
    justify-content: flex-start;
  }
  body.spk-product-page .spk-pdp-mainimg {
    width: 100%;
    max-width: 100%;
    margin: 0;
    align-self: stretch;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    border-radius: 4px;
  }
  /* Не форсировать 100%×100% — иначе высокие фото (оросители)
     визуально «прилипают» к низу квадрата на DPR телефонов */
  body.spk-product-page .spk-pdp-photo,
  body.spk-product-page .spk-pdp-mainimg .spk-pdp-photo {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: contain;
    object-position: center center;
    margin: auto;
    align-self: center;
  }
  body.spk-product-page .spk-pdp-imgfb {
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
  }
  body.spk-product-page .spk-pdp-gallery-thumbs,
  body.spk-product-page .spk-pdp-gallery-thumbs.acc-pdp-hero-thumbs {
    gap: 6px;
    margin-top: 0;
    margin-bottom: 0;
    max-width: 94.5%;
    width: 94.5%;
    justify-content: center;
    align-items: center;
  }
  body.spk-product-page .spk-pdp-gallery-thumbs.acc-pdp-hero-thumbs.acc-pdp-hero-thumbs--few {
    width: fit-content;
    max-width: 94.5%;
    margin-left: auto;
    margin-right: auto;
  }
  body.spk-product-page .spk-pdp-gthumb,
  body.spk-product-page .spk-pdp-gallery-thumbs.acc-pdp-hero-thumbs .spk-pdp-gthumb {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    padding: 3px;
    box-sizing: border-box;
  }
  body.spk-product-page .spk-pdp-gthumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
  }
  /* Последний пункт крошек — фирменный красный (перебивает базовый #555) */
  body.spk-product-page .spk-pdp-bc .spk-pdp-bc-current {
    color: var(--fire);
    font-weight: 600;
    white-space: nowrap;
    word-break: normal;
  }
}

/* ══════════════════════════════════════════════════════════
   ЭТАП 3.2 — блок покупки и навигация PDP (≤768px)
   Варианты-chips, краткие характеристики, qty, CTA, вкладки.
   После ≤900px и diam-btn — десктоп/каталог не затрагиваются.
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Панель покупки — плотнее */
  body.spk-product-page .spk-pdp-panel,
  body.spk-product-page .acc-pdp-panel.spk-pdp-panel {
    padding: 12px 12px 14px;
  }
  body.spk-product-page .spk-pdp-options-col,
  body.spk-product-page .acc-pdp-options-col {
    gap: 6px;
  }
  body.spk-product-page .spk-pdp-panel .src-coat-heading,
  body.spk-product-page .spk-pdp-panel .src-temp-heading,
  body.spk-product-page .spk-pdp-panel .src-diam-heading,
  body.spk-product-page .spk-pdp-panel .src-spray-heading,
  body.spk-product-page .spk-pdp-panel .src-kfactor-heading,
  body.spk-product-page .acc-pdp-panel .src-coat-heading,
  body.spk-product-page .acc-pdp-panel .src-temp-heading,
  body.spk-product-page .acc-pdp-panel .src-diam-heading {
    margin: 0 0 5px;
    font-size: 10px;
    line-height: 1.2;
  }

  /* 1. Варианты — компактные chip-кнопки, равная высота/отступы/gap */
  body.spk-product-page .spk-pdp-panel .src-coat-wrap,
  body.spk-product-page .spk-pdp-panel .src-temp-wrap,
  body.spk-product-page .spk-pdp-panel .src-kfactor-wrap,
  body.spk-product-page .spk-pdp-panel .src-spray-wrap,
  body.spk-product-page .spk-pdp-panel .src-diam-wrap,
  body.spk-product-page .acc-pdp-panel .src-coat-wrap,
  body.spk-product-page .acc-pdp-panel .src-diam-wrap,
  body.spk-product-page .acc-pdp-panel .src-temp-wrap,
  body.spk-product-page .acc-pdp-options-col .src-coat-wrap,
  body.spk-product-page .acc-pdp-options-col .src-diam-wrap,
  body.spk-product-page .spk-opt-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
  }
  body.spk-product-page .spk-pdp-panel .src-coat-btn,
  body.spk-product-page .spk-pdp-panel .src-temp-btn,
  body.spk-product-page .spk-pdp-panel .src-kfactor-btn,
  body.spk-product-page .spk-pdp-panel .src-spray-btn,
  body.spk-product-page .spk-pdp-panel .src-diam-btn,
  body.spk-product-page .acc-pdp-panel .src-coat-btn,
  body.spk-product-page .acc-pdp-panel .src-temp-btn,
  body.spk-product-page .acc-pdp-panel .src-diam-btn,
  body.spk-product-page .src-diam-btn,
  body.spk-product-page .spk-opt-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 32px;
    height: 32px;
    padding: 0 12px;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    border: 1px solid #ddd;
    border-radius: var(--radius-control);
    background: #fff;
    color: #333;
    white-space: nowrap;
    cursor: pointer;
    transform: none;
    box-shadow: none;
  }
  body.spk-product-page .spk-pdp-panel .src-coat-btn:hover:not(.active),
  body.spk-product-page .spk-pdp-panel .src-temp-btn:hover:not(.active),
  body.spk-product-page .spk-pdp-panel .src-kfactor-btn:hover:not(.active),
  body.spk-product-page .spk-pdp-panel .src-spray-btn:hover:not(.active),
  body.spk-product-page .spk-pdp-panel .src-diam-btn:hover:not(.active),
  body.spk-product-page .acc-pdp-panel .src-coat-btn:hover:not(.active),
  body.spk-product-page .acc-pdp-panel .src-temp-btn:hover:not(.active),
  body.spk-product-page .src-diam-btn:hover:not(.active),
  body.spk-product-page .spk-opt-btn:hover:not(.active) {
    border-color: #bbb;
    background: #f7f7f7;
    color: #222;
    transform: none;
    box-shadow: none;
  }
  body.spk-product-page .spk-pdp-panel .src-coat-btn.active,
  body.spk-product-page .spk-pdp-panel .src-temp-btn.active,
  body.spk-product-page .spk-pdp-panel .src-kfactor-btn.active,
  body.spk-product-page .spk-pdp-panel .src-spray-btn.active,
  body.spk-product-page .spk-pdp-panel .src-diam-btn.active,
  body.spk-product-page .acc-pdp-panel .src-coat-btn.active,
  body.spk-product-page .acc-pdp-panel .src-temp-btn.active,
  body.spk-product-page .acc-pdp-panel .src-diam-btn.active,
  body.spk-product-page .src-diam-btn.active,
  body.spk-product-page .spk-opt-btn.active {
    background: var(--fire);
    border-color: var(--fire);
    color: #fff;
    box-shadow: none;
    transform: none;
  }

  /* 2. Краткие характеристики — компактнее, логика без изменений */
  body.spk-product-page .spk-pdp-summary--inline,
  body.spk-product-page .acc-pdp-panel .acc-pdp-spec-block {
    margin: 2px 0 0;
    padding: 8px 0 0;
  }
  body.spk-product-page .spk-pdp-summary--inline .spk-pdp-h2,
  body.spk-product-page .spk-pdp-h2--specs {
    margin: 0 0 4px;
  }
  body.spk-product-page .spk-pdp-quicklist li:nth-child(n + 4) {
    display: none;
  }
  body.spk-product-page .spk-pdp-quicklist li:nth-child(3) {
    border-bottom: none;
    padding-bottom: 0;
  }
  body.spk-product-page .spk-pdp-quicklist li {
    grid-template-columns: 110px minmax(0, 1fr);
    column-gap: 10px;
    padding: 4px 0;
  }
  body.spk-product-page .spk-pdp-summary--inline .spk-pdp-quicklist {
    font-size: 12.5px;
    line-height: 1.25;
  }
  body.spk-product-page .spk-pdp-scrollspec,
  body.spk-product-page .acc-pdp-panel .acc-pdp-spec-block .spk-pdp-scrollspec {
    margin-top: 4px;
    margin-bottom: 0;
    font-size: 12px;
  }

  /* 3. Количество — компактный блок, равные +/− */
  body.spk-product-page .spk-pdp-buy-col {
    margin-top: 10px;
    padding-top: 10px;
    border-top: none;
  }
  body.spk-product-page .spk-pdp-buy-row {
    gap: 8px !important;
  }
  body.spk-product-page .spk-pdp-buy-row::before {
    margin: 0 0 -2px;
    font-size: 10px;
  }
  body.spk-product-page .spk-pdp-buy-row .src-qty {
    height: 36px;
    border-radius: var(--radius-control);
    overflow: hidden;
  }
  body.spk-product-page .spk-pdp-buy-row .src-qty-dec,
  body.spk-product-page .spk-pdp-buy-row .src-qty-inc {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
  }
  body.spk-product-page .spk-pdp-buy-row .src-qty-num {
    width: 44px;
    min-width: 44px;
    height: 36px;
    font-size: 13px;
    font-weight: 600;
    padding: 0;
  }

  /* 4. «В корзину» — главный CTA */
  body.spk-product-page .spk-pdp-buy-row .btn-add-cart,
  body.spk-product-page .spk-pdp-buy-row .src-cart-btn {
    width: 100%;
    max-width: 100%;
    align-self: stretch;
    height: 48px;
    min-height: 48px;
    margin: 0;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    border-radius: var(--radius-control);
    box-sizing: border-box;
  }
  body.spk-product-page .spk-pdp-sticky-bar .btn-add-cart,
  body.spk-product-page .spk-pdp-sticky-bar .src-cart-btn {
    height: 48px;
    min-height: 48px;
    border-radius: var(--radius-control);
  }

  /* 5. Вкладки — как хлебные крошки: одна строка + horizontal scroll */
  body.spk-product-page .spk-pdp-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    margin: 12px 0 10px;
    border-bottom: 2px solid #e6e6e6;
  }
  body.spk-product-page .spk-pdp-tabs::-webkit-scrollbar {
    display: none;
  }
  body.spk-product-page .spk-pdp-tab {
    flex: 0 0 auto;
    flex-shrink: 0;
    white-space: nowrap;
    padding: 10px 14px;
    margin-bottom: -2px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 14px;
    letter-spacing: 0.06em;
    line-height: 1.2;
    color: #777;
    border-bottom: 2px solid transparent;
    background: transparent;
  }
  body.spk-product-page .spk-pdp-tab:first-child {
    padding-left: 2px;
  }
  body.spk-product-page .spk-pdp-tab:hover {
    color: var(--fire);
  }
  body.spk-product-page .spk-pdp-tab.is-active {
    color: var(--fire);
    border-bottom-color: var(--fire);
    font-weight: 400;
  }
}

/* ══════════════════════════════════════════════════════════
   PREMIUM POLISH — мобильная карточка товара (≤768px)
   Тонкая доводка thumbs / цвет / chips / specs / qty / CTA / tabs.
   Desktop (>768) не затрагивается.
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* 1. Миниатюры — +~18%, меньше padding, аккуратный active */
  body.spk-product-page .spk-pdp-gthumb,
  body.spk-product-page .spk-pdp-gallery-thumbs.acc-pdp-hero-thumbs .spk-pdp-gthumb {
    flex: 0 0 66px;
    width: 66px;
    height: 66px;
    padding: 2px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    transition:
      border-color 0.22s ease,
      box-shadow 0.22s ease,
      transform 0.22s ease;
  }
  body.spk-product-page .spk-pdp-gthumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
  }
  body.spk-product-page .spk-pdp-gthumb:hover {
    border-color: #ccc;
  }
  body.spk-product-page .spk-pdp-gthumb.is-active {
    border-color: var(--fire);
    border-width: 1.5px;
    box-shadow: 0 0 0 1px rgba(181, 18, 43, 0.18), 0 2px 8px rgba(181, 18, 43, 0.14);
  }
  body.spk-product-page .spk-pdp-gallery-thumbs,
  body.spk-product-page .spk-pdp-gallery-thumbs.acc-pdp-hero-thumbs {
    gap: 7px;
  }

  /* 2. Цвет покрытия — кружок рядом с текстом, единый компактный ряд */
  body.spk-product-page .src-color-line,
  body.spk-product-page .ogb-page .src-color-line,
  body.spk-product-page .spk-pdp-panel .src-color-line {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 2px;
    margin-bottom: 2px;
    font-size: 12px;
    line-height: 1.2;
    color: #666;
  }
  body.spk-product-page .src-color-line .src-color-lbl {
    display: inline;
  }
  body.spk-product-page .src-color-line .src-swatch,
  body.spk-product-page .src-color-line .src-swatch--round {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    margin: 0;
  }

  /* 3. Температура / варианты — плотнее на 2–3px */
  body.spk-product-page .spk-pdp-panel .src-temp-wrap,
  body.spk-product-page .spk-pdp-panel .src-coat-wrap,
  body.spk-product-page .spk-pdp-panel .src-diam-wrap,
  body.spk-product-page .spk-pdp-panel .src-kfactor-wrap,
  body.spk-product-page .spk-pdp-panel .src-spray-wrap,
  body.spk-product-page .acc-pdp-panel .src-temp-wrap,
  body.spk-product-page .acc-pdp-panel .src-coat-wrap,
  body.spk-product-page .acc-pdp-panel .src-diam-wrap {
    gap: 4px;
  }
  body.spk-product-page .spk-pdp-options-col,
  body.spk-product-page .acc-pdp-options-col {
    gap: 10px;
  }

  /* 4. Характеристики — лёгкие линии, больше воздуха (Apple Settings) */
  body.spk-product-page .spk-pdp-summary--inline,
  body.spk-product-page .acc-pdp-panel .acc-pdp-spec-block {
    margin: 4px 0 0;
    padding: 10px 0 0;
    border-top-color: rgba(0, 0, 0, 0.04);
  }
  body.spk-product-page .spk-pdp-quicklist li {
    padding: 7px 0;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.045);
  }
  body.spk-product-page .spk-pdp-quicklist li:last-child,
  body.spk-product-page .spk-pdp-quicklist li:nth-child(3) {
    border-bottom: none;
  }
  body.spk-product-page .spk-pdp-summary--inline .spk-pdp-quicklist {
    font-size: 13px;
    line-height: 1.35;
  }
  body.spk-product-page .spk-pdp-scrollspec {
    margin-top: 8px;
  }

  /* 5. Количество — крупнее +/−, жирнее цифра, лёгкий press */
  body.spk-product-page .spk-pdp-buy-col {
    margin-top: 14px;
    padding-top: 14px;
  }
  body.spk-product-page .spk-pdp-buy-row {
    gap: 10px !important;
  }
  body.spk-product-page .spk-pdp-buy-row .src-qty {
    height: 44px;
    border-radius: var(--radius-control);
    border-color: #ddd;
  }
  body.spk-product-page .spk-pdp-buy-row .src-qty-dec,
  body.spk-product-page .spk-pdp-buy-row .src-qty-inc {
    width: 44px;
    height: 44px;
    font-size: 18px;
    font-weight: 500;
    color: #333;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }
  body.spk-product-page .spk-pdp-buy-row .src-qty-dec:active,
  body.spk-product-page .spk-pdp-buy-row .src-qty-inc:active {
    background: #f0f0f0;
    transform: scale(0.94);
  }
  body.spk-product-page .spk-pdp-buy-row .src-qty-num {
    width: 48px;
    min-width: 48px;
    height: 44px;
    font-size: 15px;
    font-weight: 700;
    color: #111;
  }

  /* 6. «В корзину» — премиальный press/hover, размер тот же */
  body.spk-product-page .spk-pdp-buy-row .btn-add-cart,
  body.spk-product-page .spk-pdp-buy-row .src-cart-btn {
    box-shadow: 0 4px 14px rgba(181, 18, 43, 0.22);
    transition:
      background 0.22s ease,
      box-shadow 0.22s ease,
      transform 0.2s ease;
  }
  body.spk-product-page .spk-pdp-buy-row .btn-add-cart:hover,
  body.spk-product-page .spk-pdp-buy-row .src-cart-btn:hover {
    box-shadow: 0 6px 18px rgba(181, 18, 43, 0.3);
    transform: translateY(-1px);
  }
  body.spk-product-page .spk-pdp-buy-row .btn-add-cart:active,
  body.spk-product-page .spk-pdp-buy-row .src-cart-btn:active {
    transform: scale(0.985);
    box-shadow: 0 2px 8px rgba(181, 18, 43, 0.2);
  }
  body.spk-product-page .spk-pdp-sticky-bar .btn-add-cart,
  body.spk-product-page .spk-pdp-sticky-bar .src-cart-btn {
    box-shadow: 0 4px 14px rgba(181, 18, 43, 0.22);
    transition:
      background 0.22s ease,
      box-shadow 0.22s ease,
      transform 0.2s ease;
  }
  body.spk-product-page .spk-pdp-sticky-bar .btn-add-cart:active,
  body.spk-product-page .spk-pdp-sticky-bar .src-cart-btn:active {
    transform: scale(0.985);
  }

  /* 7. Вкладки — выше hit-area, крупнее текст, Safari-like underline */
  body.spk-product-page .spk-pdp-tabs {
    margin: 16px 0 12px;
    border-bottom: 1px solid #ebebeb;
  }
  body.spk-product-page .spk-pdp-tab {
    padding: 14px 16px;
    font-size: 15px;
    letter-spacing: 0.05em;
    color: #888;
    border-bottom-width: 2px;
    transition:
      color 0.22s ease,
      border-color 0.22s ease;
  }
  body.spk-product-page .spk-pdp-tab.is-active {
    color: var(--fire);
    border-bottom-color: var(--fire);
  }

  /* 8. Воздух между секциями — умеренно */
  body.spk-product-page .spk-pdp-panel .src-temp-heading,
  body.spk-product-page .spk-pdp-panel .src-coat-heading,
  body.spk-product-page .spk-pdp-panel .src-diam-heading {
    margin-bottom: 6px;
  }
  body.spk-product-page .spk-pdp-panel {
    padding: 14px 14px 16px;
  }
}

/* ══════════════════════════════════════════════════════════
   FINAL POLISH — финальная визуальная доводка PDP (≤768px)
   Сетка температуры, покрытие, qty, scrollspec, ритм, CTA.
   Desktop не затрагивается.
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Единая вертикальная сетка панели */
  body.spk-product-page .spk-pdp-panel,
  body.spk-product-page .acc-pdp-panel.spk-pdp-panel {
    padding: 14px;
  }
  body.spk-product-page .spk-pdp-options-col,
  body.spk-product-page .acc-pdp-options-col {
    gap: 12px;
    align-items: stretch;
  }
  body.spk-product-page .spk-pdp-panel .src-coat-heading,
  body.spk-product-page .spk-pdp-panel .src-temp-heading,
  body.spk-product-page .spk-pdp-panel .src-diam-heading,
  body.spk-product-page .spk-pdp-panel .src-spray-heading,
  body.spk-product-page .spk-pdp-panel .src-kfactor-heading,
  body.spk-product-page .acc-pdp-panel .src-coat-heading,
  body.spk-product-page .acc-pdp-panel .src-temp-heading,
  body.spk-product-page .acc-pdp-panel .src-diam-heading {
    margin: 0 0 8px;
    padding: 0;
  }

  /* 1. Температура — ровная сетка 3 колонки (2 строки по 3, без «сироты») */
  body.spk-product-page .spk-pdp-panel .src-temp-wrap,
  body.spk-product-page .acc-pdp-panel .src-temp-wrap {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }
  body.spk-product-page .spk-pdp-panel .src-temp-btn,
  body.spk-product-page .acc-pdp-panel .src-temp-btn {
    width: 100%;
    min-width: 0;
    height: 34px;
    min-height: 34px;
    padding: 0 6px;
    font-size: 12px;
    border-radius: var(--radius-control);
    box-sizing: border-box;
  }

  /* Диаметры — сетка 4 колонки (ровные ряды на большинстве телефонов) */
  body.spk-product-page .spk-pdp-panel .src-diam-wrap,
  body.spk-product-page .acc-pdp-panel .src-diam-wrap,
  body.spk-product-page .acc-pdp-options-col .src-diam-wrap {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }
  body.spk-product-page .spk-pdp-panel .src-diam-btn,
  body.spk-product-page .acc-pdp-panel .src-diam-btn,
  body.spk-product-page .src-diam-btn {
    width: 100%;
    min-width: 0;
    height: 34px;
    min-height: 34px;
    padding: 0 4px;
    font-size: 12px;
    border-radius: var(--radius-control);
  }

  /* 2. Покрытие — единая группа: длинная сверху на всю ширину, остальные ровно в ряд */
  body.spk-product-page .spk-pdp-panel .src-coat-wrap,
  body.spk-product-page .acc-pdp-panel .src-coat-wrap,
  body.spk-product-page .acc-pdp-options-col .src-coat-wrap {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }
  body.spk-product-page .spk-pdp-panel .src-coat-btn,
  body.spk-product-page .acc-pdp-panel .src-coat-btn {
    width: 100%;
    min-width: 0;
    height: 36px;
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: var(--radius-control);
    box-sizing: border-box;
    justify-content: center;
  }
  body.spk-product-page .spk-pdp-panel .src-coat-btn:first-child,
  body.spk-product-page .acc-pdp-panel .src-coat-btn:first-child {
    grid-column: 1 / -1;
  }

  /* 3. Количество — массивнее (уже ~44px, усиливаем визуально) */
  body.spk-product-page .spk-pdp-buy-col {
    margin-top: 16px;
    padding-top: 16px;
  }
  body.spk-product-page .spk-pdp-buy-row {
    gap: 12px !important;
  }
  body.spk-product-page .spk-pdp-buy-row .src-qty {
    height: 44px;
    border-width: 1.5px;
    border-color: #d8d8d8;
    border-radius: var(--radius-control);
  }
  body.spk-product-page .spk-pdp-buy-row .src-qty-dec,
  body.spk-product-page .spk-pdp-buy-row .src-qty-inc {
    width: 44px;
    height: 44px;
    font-size: 20px;
    font-weight: 600;
  }
  body.spk-product-page .spk-pdp-buy-row .src-qty-num {
    width: 52px;
    min-width: 52px;
    height: 44px;
    font-size: 16px;
    font-weight: 700;
  }

  /* 4. «Все характеристики» — заметное действие + стрелка */
  body.spk-product-page .spk-pdp-scrollspec,
  body.spk-product-page .acc-pdp-panel .acc-pdp-spec-block .spk-pdp-scrollspec {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    color: var(--fire);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    border-bottom: 1px solid rgba(181, 18, 43, 0.35);
    padding-bottom: 1px;
    transition: color 0.2s ease, border-color 0.2s ease;
  }
  body.spk-product-page .spk-pdp-scrollspec::after,
  body.spk-product-page .acc-pdp-panel .acc-pdp-spec-block .spk-pdp-scrollspec::after {
    content: "→";
    font-weight: 700;
    line-height: 1;
  }
  body.spk-product-page .spk-pdp-scrollspec:hover {
    color: var(--fire);
    border-bottom-color: var(--fire);
  }

  /* 5. Разделители характеристик — ещё мягче */
  body.spk-product-page .spk-pdp-summary--inline,
  body.spk-product-page .acc-pdp-panel .acc-pdp-spec-block {
    margin-top: 2px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.035);
  }
  body.spk-product-page .spk-pdp-quicklist li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  }
  body.spk-product-page .spk-pdp-quicklist li:last-child,
  body.spk-product-page .spk-pdp-quicklist li:nth-child(3) {
    border-bottom: none;
  }

  /* 6–7. Цвет покрытия + воздух — без смещений */
  body.spk-product-page .src-color-line,
  body.spk-product-page .spk-pdp-panel .src-color-line {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    margin-top: 4px;
    margin-bottom: 0;
    gap: 8px;
    align-items: center;
  }

  /* 8. CTA — мягкая тень + scale 0.98 */
  body.spk-product-page .spk-pdp-buy-row .btn-add-cart,
  body.spk-product-page .spk-pdp-buy-row .src-cart-btn,
  body.spk-product-page .spk-pdp-sticky-bar .btn-add-cart,
  body.spk-product-page .spk-pdp-sticky-bar .src-cart-btn {
    border-radius: var(--radius-control);
    box-shadow: 0 3px 12px rgba(181, 18, 43, 0.18);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  }
  body.spk-product-page .spk-pdp-buy-row .btn-add-cart:hover,
  body.spk-product-page .spk-pdp-buy-row .src-cart-btn:hover {
    box-shadow: 0 5px 16px rgba(181, 18, 43, 0.26);
    transform: translateY(-1px);
  }
  body.spk-product-page .spk-pdp-buy-row .btn-add-cart:active,
  body.spk-product-page .spk-pdp-buy-row .src-cart-btn:active,
  body.spk-product-page .spk-pdp-sticky-bar .btn-add-cart:active,
  body.spk-product-page .spk-pdp-sticky-bar .src-cart-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(181, 18, 43, 0.16);
  }
}

/* ══════════════════════════════════════════════════════════
   ЭТАП 3 — Premium Mobile UX: единый CTA + вкладки (≤768px)
   Qty + «В корзину» в одну строку. Desktop не затрагивается.
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Компактнее первый экран / блок покупки */
  body.spk-product-page .spk-pdp-buy-col {
    margin-top: 8px;
    padding-top: 8px;
    border-top: none;
  }

  body.spk-product-page .spk-pdp-panel .src-buy-row.spk-pdp-buy-row,
  body.spk-product-page .spk-pdp-buy-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start;
    gap: 8px !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
  }

  /* Подпись «Количество» скрыта — экономия воздуха, как на макете */
  body.spk-product-page .spk-pdp-buy-row::before {
    content: none;
    display: none;
  }

  /* Qty по содержимому — на 320px 29% слишком узко, цифра пропадает */
  body.spk-product-page .spk-pdp-buy-row .src-qty {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    min-width: 102px;
    height: 47px;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    margin: 0;
    padding: 0 2px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
  }

  body.spk-product-page .spk-pdp-buy-row .src-qty-dec,
  body.spk-product-page .spk-pdp-buy-row .src-qty-inc {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    color: #333;
    background: transparent;
    border: none;
    border-radius: 6px;
    box-sizing: border-box;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }

  body.spk-product-page .spk-pdp-buy-row .src-qty-dec:active,
  body.spk-product-page .spk-pdp-buy-row .src-qty-inc:active {
    background: #f0f0f0;
    transform: scale(0.94);
  }

  body.spk-product-page .spk-pdp-buy-row .src-qty-num {
    flex: 1 1 32px;
    width: auto;
    min-width: 28px;
    max-width: none;
    height: 100%;
    margin: 0;
    padding: 0;
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 45px;
    color: #111;
    border: none;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    background: transparent;
    box-sizing: border-box;
    -moz-appearance: textfield;
    appearance: textfield;
  }

  body.spk-product-page .spk-pdp-buy-row .src-qty-num::-webkit-outer-spin-button,
  body.spk-product-page .spk-pdp-buy-row .src-qty-num::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  /* CTA ~71% — та же высота 47px */
  body.spk-product-page .spk-pdp-buy-row .btn-add-cart,
  body.spk-product-page .spk-pdp-buy-row .src-cart-btn {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    min-width: 0;
    align-self: stretch;
    height: 47px;
    min-height: 47px;
    margin: 0;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    border-radius: 8px;
    box-sizing: border-box;
    box-shadow: 0 2px 10px rgba(181, 18, 43, 0.18);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  }

  body.spk-product-page .spk-pdp-buy-row .btn-add-cart:hover,
  body.spk-product-page .spk-pdp-buy-row .src-cart-btn:hover {
    box-shadow: 0 4px 14px rgba(181, 18, 43, 0.24);
    transform: none; /* без «прыжка» на тач */
  }

  body.spk-product-page .spk-pdp-buy-row .btn-add-cart:active,
  body.spk-product-page .spk-pdp-buy-row .src-cart-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 7px rgba(181, 18, 43, 0.14);
  }

  /* Вкладки — крупнее hit-area, scroll, красный active + линия */
  body.spk-product-page .spk-pdp-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    margin: 12px 0 8px;
    border-bottom: 1px solid #ebebeb;
  }

  body.spk-product-page .spk-pdp-tabs::-webkit-scrollbar {
    display: none;
  }

  body.spk-product-page .spk-pdp-tab {
    flex: 0 0 auto;
    flex-shrink: 0;
    white-space: nowrap;
    min-height: 44px;
    padding: 12px 16px;
    margin-bottom: -1px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 15px;
    letter-spacing: 0.05em;
    line-height: 1.2;
    color: #888;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    box-sizing: border-box;
    transition: color 0.22s ease, border-color 0.22s ease;
  }

  body.spk-product-page .spk-pdp-tab:first-child {
    padding-left: 4px;
  }

  body.spk-product-page .spk-pdp-tab:hover {
    color: var(--fire);
  }

  body.spk-product-page .spk-pdp-tab.is-active {
    color: var(--fire);
    border-bottom-color: var(--fire);
    font-weight: 400;
  }

  body.spk-product-page .spk-pdp-panes {
    min-height: 0;
  }

  /* Чуть плотнее панель покупки */
  body.spk-product-page .spk-pdp-panel,
  body.spk-product-page .acc-pdp-panel.spk-pdp-panel {
    padding-bottom: 14px;
  }
}

@media (max-width: 360px) {
  body.spk-product-page .spk-pdp-buy-row .src-qty {
    min-width: 92px;
    padding: 0;
  }
  body.spk-product-page .spk-pdp-buy-row .src-qty-dec,
  body.spk-product-page .spk-pdp-buy-row .src-qty-inc {
    flex: 0 0 28px;
    width: 28px;
    min-width: 28px;
    height: 32px;
    min-height: 32px;
    font-size: 16px;
  }
  body.spk-product-page .spk-pdp-buy-row .src-qty-num {
    min-width: 32px;
    font-size: 13px;
    line-height: 45px;
  }
}

/* ── Кнопка «Наверх» (страницы каталога, main.js) ───────────── */
.fc-scroll-top {
  position: fixed;
  z-index: 800;
  right: max(18px, env(safe-area-inset-right, 0px));
  bottom: max(22px, env(safe-area-inset-bottom, 0px));
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fire);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 3px 14px rgba(181, 18, 43, 0.32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.fc-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.fc-scroll-top:hover {
  filter: brightness(1.07);
}
.fc-scroll-top:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .fc-scroll-top {
    transition-duration: 0.01ms;
  }
}
@media (max-width: 768px) {
  .fc-scroll-top {
    display: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   ГАЛЕРЕЯ ТОВАРА (.spk-gallery-section)
   ═══════════════════════════════════════════════════════════ */
.spk-gallery-section {
  margin: 28px 0 0;
  padding: 0;
}
.spk-gallery-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.spk-gallery-title {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}
.spk-gallery-count {
  font-size: 13px;
  color: #888;
  background: #f3f3f3;
  border-radius: 20px;
  padding: 2px 10px;
  font-weight: 500;
  flex-shrink: 0;
}
.spk-gallery-view-btns {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.spk-gallery-view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  background: #fff;
  color: #aaa;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.spk-gallery-view-btn:hover {
  border-color: #999;
  color: #555;
}
.spk-gallery-view-btn.is-active {
  border-color: #B5122B;
  color: #B5122B;
  background: #fff5f6;
}

/* Сетка (grid) */
.spk-gallery-grid[data-view="grid"] {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
/* Список (list) */
.spk-gallery-grid[data-view="list"] {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.spk-gallery-grid[data-view="list"] .spk-gallery-item {
  aspect-ratio: 16/7;
}
.spk-gallery-grid[data-view="list"] .spk-gallery-item img {
  object-fit: cover;
}

/* Элемент галереи */
.spk-gallery-item {
  display: block;
  aspect-ratio: 1;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fafafa;
  overflow: hidden;
  cursor: zoom-in;
  padding: 0;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  position: relative;
}
.spk-gallery-item:hover {
  border-color: #ccc;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}
.spk-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}
.spk-gallery-item:hover img {
  transform: scale(1.04);
}

/* Адаптив */
@media (max-width: 600px) {
  .spk-gallery-grid[data-view="grid"] {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .spk-gallery-grid[data-view="list"] .spk-gallery-item {
    aspect-ratio: 4/3;
  }
}

/* ══════════════════════════════════════════════════════════
   Кнопка температуры «под заказ» + кнопка «ПОД ЗАКАЗ»
   ══════════════════════════════════════════════════════════ */

/* Метка на кнопке температуры, недоступной в стандартном наличии */
.src-temp-btn--order {
  position: relative;
}
.src-temp-btn--order::after {
  content: '';
  position: absolute;
  top: 3px; right: 3px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--fire);
  opacity: 0.75;
}
.src-temp-btn--order.active::after {
  background: #fff;
  opacity: 1;
}

/* Покрытие «под заказ» — такой же оранжевый маркер как на temp-btn--order */
.src-coat-btn--order {
  position: relative;
}
.src-coat-btn--order::after {
  content: '';
  position: absolute;
  top: 3px; right: 3px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--fire);
  opacity: 0.75;
}
.src-coat-btn--order.active::after {
  background: #fff;
  opacity: 1;
}

/* Блок «Диаметр резьбы» */
.src-diam-heading { margin-top: 10px; }
.src-diam-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  max-height: 168px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.src-diam-btn {
  padding: 5px 10px;
  border: 1.5px solid #d0d0d0;
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
  cursor: default;
  color: #333;
  font-family: inherit;
}
.src-diam-btn.active {
  border-color: var(--fire);
  background: var(--fire);
  color: #fff;
}

/* Диаметр «под заказ» — оранжевый маркер как на temp/coats */
.src-diam-btn--order {
  position: relative;
}
.src-diam-btn--order::after {
  content: '';
  position: absolute;
  top: 3px; right: 3px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--fire);
  opacity: 0.75;
}
.src-diam-btn--order.active::after {
  background: #fff;
  opacity: 1;
}

/* Кнопка «ПОД ЗАКАЗ» */
.src-cart-btn.is-pod-zakaz,
.btn-add-cart.is-pod-zakaz {
  background: #1a1a1a;
  font-size: 9.5px;
  letter-spacing: 0.04em;
}
.src-cart-btn.is-pod-zakaz:hover,
.btn-add-cart.is-pod-zakaz:hover {
  background: #333;
}

.src-cart-btn.is-unavailable,
.btn-add-cart.is-unavailable {
  background: #b8b8b8;
  color: #fff;
  font-size: 8.5px;
  letter-spacing: 0.02em;
  cursor: not-allowed;
  opacity: 1;
}
.src-cart-btn.is-unavailable:hover,
.btn-add-cart.is-unavailable:hover {
  background: #b8b8b8;
}

.uzu-pdp-unavailable {
  color: #c41e3a;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Информационный блок на PDP запорной арматуры (выделенный синим) */
.za-pdp-note--info {
  color: #1a1a1a;
  font-weight: 700;
  font-size: 0.95em;
  line-height: 1.55;
  margin: 0.75rem 0;
}

.za-pdp-video {
  position: relative;
  width: 100%;
  margin: 1rem 0;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
}
.za-pdp-video iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
}

/* ══════════════════════════════════════════════════════════
   Модал «Товар под заказ»
   ══════════════════════════════════════════════════════════ */
.pzm-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0, 0, 0, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}
.pzm-dialog {
  background: #fff;
  border-radius: 10px;
  width: 100%;
  max-width: 440px;
  padding: 32px 28px 28px;
  position: relative;
  box-shadow: 0 8px 40px rgba(0,0,0,.22);
  max-height: 90vh;
  overflow-y: auto;
}
.pzm-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none; border: none;
  font-size: 18px; line-height: 1;
  color: #777; cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color .15s;
}
.pzm-close:hover { color: var(--fire); }
.pzm-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.05em;
  margin: 0 0 20px;
  color: #0a0a0a;
}
.pzm-form { display: flex; flex-direction: column; gap: 12px; }
.pzm-field { display: flex; flex-direction: column; gap: 4px; }
.pzm-label {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pzm-req { color: var(--fire); }
.pzm-input {
  border: 1.5px solid #ddd;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
  width: 100%;
  box-sizing: border-box;
}
.pzm-input:focus { border-color: var(--fire); }
.pzm-input--readonly { background: #f5f5f5; color: #666; cursor: default; }
.pzm-textarea { resize: none; min-height: 72px; height: 72px; max-height: 72px; overflow-y: auto; }
.pzm-error {
  font-size: 13px;
  color: #d32f2f;
  background: #fff3f3;
  border: 1px solid #fcc;
  border-radius: 5px;
  padding: 8px 12px;
  margin: 0;
  display: none;
}
.pzm-hint {
  font-size: 11px;
  color: #999;
  margin-top: 3px;
}
.pzm-hint[hidden] {
  display: none !important;
}
.pzm-input--invalid {
  border-color: #e53935 !important;
  background: #fff5f5;
}
.pzm-hint--warn {
  color: #e53935;
  font-weight: 500;
}
.pzm-submit {
  background: var(--fire);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 13px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background .18s;
  margin-top: 4px;
}
.pzm-submit:hover:not(:disabled) { background: var(--fire-glow); }
.pzm-submit:disabled { background: #ccc; cursor: not-allowed; }
.pzm-submit:disabled { opacity: .65; cursor: default; }
.pzm-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  text-align: center;
}
.pzm-success p {
  font-size: 15px;
  line-height: 1.5;
  color: #333;
  margin: 0;
}
@media (max-width: 480px) {
  .pzm-dialog { padding: 24px 18px 20px; }
}

/* ── SEO + FAQ под каталогом оросителей (orositeli.html) ── */
.ogb-content .ogb-seo-block {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid #e8e8e8;
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  letter-spacing: normal;
}
.ogb-seo-prose {
  margin-bottom: 36px;
}
.ogb-seo-prose p {
  font-size: 14px;
  line-height: 1.75;
  color: #333;
  margin: 0 0 14px;
}
.ogb-seo-prose p:last-child {
  margin-bottom: 0;
}
.ogb-seo-prose ul {
  margin: 8px 0 0;
  padding-left: 20px;
}
.ogb-seo-prose li {
  font-size: 13px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 6px;
}
.ogb-seo-h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #111;
  margin: 24px 0 12px;
  text-transform: uppercase;
}
.ogb-seo-h3:first-of-type {
  margin-top: 8px;
}
.ogb-seo-panel {
  padding: 24px 28px;
  border: 1px solid #e8e8e8;
  background: #fff;
  margin-bottom: 20px;
}
.ogb-seo-panel:last-child {
  margin-bottom: 0;
}
.ogb-seo-panel .ogb-seo-prose {
  margin-bottom: 0;
}
.ogb-seo-prose .ogb-seo-dash {
  margin-bottom: 8px;
}
.ogb-seo-prose ol {
  margin: 8px 0 14px;
  padding-left: 22px;
}
.ogb-seo-prose ol li {
  font-size: 14px;
  line-height: 1.75;
  color: #333;
  margin-bottom: 10px;
}
.ogb-seo-cta {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.75;
  color: #333;
}
.ogb-seo-cta a {
  color: var(--fire, #B5122B);
  text-decoration: none;
}
.ogb-seo-cta a:hover {
  text-decoration: underline;
}
.ogb-seo-faq-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #111;
  margin: 0 0 20px;
  text-transform: uppercase;
}
.ogb-faq-list {
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
}
.ogb-faq-item {
  border-bottom: 1px solid #e5e5e5;
}
.ogb-faq-item:last-child {
  border-bottom: none;
}
.ogb-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: #222;
  cursor: pointer;
  list-style: none;
  background: #fafafa;
  transition: background 0.15s, color 0.15s;
}
.ogb-faq-q::-webkit-details-marker {
  display: none;
}
.ogb-faq-q::after {
  content: '';
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid #888;
  border-bottom: 2px solid #888;
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.2s, border-color 0.2s;
}
.ogb-faq-item[open] .ogb-faq-q {
  background: rgba(181, 18, 43, 0.06);
  color: var(--fire, #B5122B);
}
.ogb-faq-item[open] .ogb-faq-q::after {
  transform: rotate(-135deg);
  margin-top: 4px;
  border-color: var(--fire, #B5122B);
}
.ogb-faq-q:hover {
  background: #f3f3f3;
}
.ogb-faq-item[open] .ogb-faq-q:hover {
  background: rgba(181, 18, 43, 0.08);
}
.ogb-faq-a {
  padding: 0 18px 18px;
  background: #fff;
}
.ogb-faq-a p {
  font-size: 13px;
  line-height: 1.75;
  color: #444;
  margin: 0 0 12px;
}
.ogb-faq-a p:last-child {
  margin-bottom: 0;
}
.ogb-faq-a ul {
  margin: 8px 0 0;
  padding-left: 20px;
}
.ogb-faq-a li {
  font-size: 13px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 6px;
}
.ogb-faq-a sub {
  font-size: 0.85em;
}
@media (max-width: 768px) {
  .ogb-content .ogb-seo-block { margin-top: 28px; padding-top: 24px; }
  .ogb-seo-faq-title { font-size: 24px; }
  .ogb-faq-q { padding: 14px 14px; font-size: 13px; }
  .ogb-faq-a { padding: 0 14px 14px; }
}

/* ── PARTNERS PAGE (designers.html) ───────────────────────────── */
body.partners-page {
  background: #fff;
  color: #1a1a1a;
}
body.partners-page .topbar,
body.partners-page header {
  background: var(--black);
}
body.partners-page footer {
  background: var(--black);
  border-top: 1px solid var(--border-strong);
}
body.partners-page .section-title {
  color: var(--black);
}
body.partners-page .pp-cta .section-title,
body.partners-page .pp-cta-title {
  color: #ffffff !important;
}
body.partners-page .section-desc {
  color: var(--text-dark-muted);
}
body.partners-page .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
body.partners-page .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.pp-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur) var(--ease-premium), transform var(--dur) var(--ease-premium);
  transition-delay: var(--pp-delay, 0ms);
}
.pp-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.pp-badge {
  display: inline-block;
  margin-bottom: var(--space-16);
  padding: 10px 16px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: var(--text-caption);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.pp-hero {
  background: var(--black);
  padding: var(--space-64) 0 var(--space-48);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.pp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.7;
}
.pp-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: var(--space-48);
  align-items: center;
}
.pp-hero-title {
  margin: 0 0 var(--space-16);
  font-family: var(--font-display);
  font-size: var(--text-h1-page);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  color: #fff;
  font-weight: 400;
}
.pp-hero-lead {
  margin: 0 0 var(--space-32);
  max-width: 40rem;
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: rgba(255, 255, 255, 0.58);
}
.pp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
}
.pp-hero-visual {
  display: flex;
  justify-content: center;
}
.pp-schematic {
  width: 100%;
  max-width: 420px;
  height: auto;
}

.pp-section {
  padding: var(--space-64) 0;
  position: relative;
}
.pp-section--white { background: #fff; }
.pp-section--muted {
  background: #ececec;
}

.pp-section-head {
  max-width: 640px;
  margin: 0 auto var(--space-32);
  text-align: center;
}
.pp-section-head .section-label { justify-content: center; }
.pp-section-head .section-desc { margin-left: auto; margin-right: auto; }
.pp-section-head--left {
  max-width: none;
  margin: 0 0 var(--space-32);
  text-align: left;
}
.pp-section-head--left .section-label { justify-content: flex-start; }
.pp-section-head--left .section-desc {
  margin-left: 0;
  max-width: 520px;
}

/* Audience — card grid */
.pp-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-16);
}
.pp-audience-card {
  position: relative;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: var(--space-24);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: transform var(--dur) var(--ease-premium), box-shadow var(--dur) var(--ease-premium), border-color var(--dur);
}
.pp-audience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--fire);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-premium);
}
.pp-audience-card:hover {
  transform: translateY(-4px);
  border-color: #ddd;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}
.pp-audience-card:hover::before {
  transform: scaleX(1);
}
.pp-audience-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-16);
  color: var(--fire);
}
.pp-audience-icon svg {
  width: 24px;
  height: 24px;
}
.pp-audience-title {
  margin: 0 0 var(--space-8);
  font-size: var(--text-h4);
  font-weight: 700;
  color: #111;
  line-height: var(--leading-tight);
}
.pp-audience-text {
  margin: 0;
  font-size: var(--text-sm);
  line-height: var(--leading-body);
  color: var(--text-dark-muted);
}

/* legacy split (unused) */
.pp-split { display: none; }

/* Calculator — full in-page light hero */
.pp-calc-hero {
  position: relative;
  padding: var(--space-64) 0;
  overflow: hidden;
  background: #eaeaea;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}
.pp-calc-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 85% 15%, rgba(181, 18, 43, 0.07), transparent 60%),
    radial-gradient(ellipse 45% 40% at 8% 85%, rgba(181, 18, 43, 0.05), transparent 55%),
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
}
.pp-calc-hero-bg::before {
  content: '';
  position: absolute;
  left: -120px;
  bottom: -80px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 50%;
}
.pp-calc-hero-bg::after {
  content: '';
  position: absolute;
  right: -60px;
  top: 12%;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(181, 18, 43, 0.14);
  border-radius: 50%;
}
.pp-calc-hero-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.pp-calc-hero-content .section-label { justify-content: center; }
.pp-calc-hero-content .section-desc {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-32);
}
.pp-calc-stage {
  margin: 0 auto;
  max-width: 860px;
  padding: var(--space-48) var(--space-48) var(--space-64);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.08);
  text-align: center;
}
.pp-calc-label {
  display: block;
  margin-bottom: var(--space-16);
  font-size: var(--text-caption);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--gray);
}
.pp-calc-cost {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-8);
  margin-bottom: var(--space-32);
}
.pp-calc-cost-input {
  width: min(100%, 16ch);
  border: none;
  background: transparent;
  text-align: center;
  color: #111;
  font-family: var(--font-display);
  font-size: var(--text-h1);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-display);
  outline: none;
}
.pp-calc-cost-currency {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  letter-spacing: var(--tracking-display);
  color: #c4c4c4;
  line-height: var(--leading-display);
}
.pp-calc-slider {
  max-width: 520px;
  margin: 0 auto var(--space-48);
  padding-top: var(--space-8);
  border-top: 1px solid #eee;
}
.pp-calc-slider input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  margin-top: var(--space-24);
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--fire) 0%,
    var(--fire) var(--pp-fill, 24%),
    #e0e0e0 var(--pp-fill, 24%),
    #e0e0e0 100%
  );
  outline: none;
  cursor: pointer;
}
.pp-calc-slider input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--fire);
  box-shadow: 0 6px 16px rgba(181, 18, 43, 0.28);
  transition: transform var(--dur-fast) var(--ease-premium);
}
.pp-calc-slider input[type='range']::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}
.pp-calc-slider input[type='range']::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--fire);
  box-shadow: 0 6px 16px rgba(181, 18, 43, 0.28);
}
.pp-calc-slider input[type='range']::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: #e0e0e0;
}
.pp-calc-scale {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-16);
  font-size: var(--text-caption);
  color: #999;
}
.pp-calc-reward {
  padding: var(--space-32) var(--space-24);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(181, 18, 43, 0.05), rgba(181, 18, 43, 0.02));
}
.pp-calc-reward-label {
  margin: 0 0 var(--space-16);
  font-size: var(--text-caption);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--gray);
}
.pp-calc-reward-value {
  margin: 0 0 var(--space-16);
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  letter-spacing: var(--tracking-display);
  line-height: 0.95;
  color: var(--fire);
  font-weight: 400;
}
.pp-calc-formula {
  margin: 0;
  font-size: var(--text-sm);
  line-height: var(--leading-body);
  color: #888;
}
.pp-calc-formula strong {
  color: #444;
  font-weight: 700;
}

/* legacy aliases kept for safety */
.pp-calc-hero-inner { position: relative; z-index: 1; }

/* Benefits — icon grid with featured card */
.pp-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-16);
  padding-top: 0;
}
.pp-icon-item {
  position: relative;
  padding: var(--space-24);
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  overflow: hidden;
  transition: transform var(--dur) var(--ease-premium), box-shadow var(--dur) var(--ease-premium), border-color var(--dur);
}
.pp-icon-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--fire);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-premium);
}
.pp-icon-item:hover {
  transform: translateY(-4px);
  border-color: #ddd;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}
.pp-icon-item:hover::before {
  transform: scaleX(1);
}
.pp-icon-item--featured {
  grid-column: span 2;
  background: #111;
  border-color: #111;
  padding: var(--space-32);
}
.pp-icon-item--featured .pp-icon-mark { color: #fff; }
.pp-icon-item--featured .pp-icon-title { color: #fff; font-size: var(--text-h3); }
.pp-icon-item--featured .pp-icon-text { color: rgba(255, 255, 255, 0.7); }
.pp-icon-item--featured::before {
  transform: scaleX(1);
  height: 3px;
}
.pp-icon-item--featured:hover {
  border-color: #222;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.25);
}
.pp-icon-mark {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-16);
  color: var(--fire);
}
.pp-icon-mark svg {
  width: 36px;
  height: 36px;
}
.pp-icon-title {
  margin: 0 0 var(--space-8);
  font-size: var(--text-h4);
  font-weight: 700;
  color: #111;
  line-height: var(--leading-tight);
}
.pp-icon-text {
  margin: 0;
  font-size: var(--text-sm);
  line-height: var(--leading-body);
  color: var(--text-dark-muted);
}

/* Timeline — horizontal steps, not cards */
.pp-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-16);
  position: relative;
}
.pp-tl-num {
  display: inline-block;
  margin-bottom: var(--space-16);
  padding: 0 6px;
  background: #ececec;
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: var(--text-h4);
  letter-spacing: var(--tracking-display);
  color: var(--fire);
  line-height: 1;
}
.pp-timeline::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 3%;
  right: 3%;
  height: 1px;
  background: #ddd;
}
.pp-timeline li {
  position: relative;
  padding-top: 0;
}
.pp-tl-title {
  margin: 0 0 var(--space-8);
  font-size: var(--text-body);
  font-weight: 700;
  color: #111;
  line-height: var(--leading-tight);
}
.pp-tl-text {
  margin: 0;
  font-size: var(--text-sm);
  line-height: var(--leading-body);
  color: var(--text-dark-muted);
}

/* Materials — cards allowed */
.pp-mat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-16);
}
.pp-mat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: var(--space-32) var(--space-24);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: transform var(--dur) var(--ease-premium), box-shadow var(--dur) var(--ease-premium), border-color var(--dur);
}
.pp-mat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--fire);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-premium);
}
.pp-mat-card:hover {
  transform: translateY(-4px);
  border-color: #ddd;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.09);
}
.pp-mat-card:hover::before {
  transform: scaleX(1);
}
.pp-mat-ext {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: var(--space-16);
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(181, 18, 43, 0.1);
  color: var(--fire);
  font-size: var(--text-caption);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.pp-mat-title {
  margin: 0 0 var(--space-8);
  font-size: var(--text-h4);
  font-weight: 700;
  color: #111;
}
.pp-mat-text {
  margin: 0 0 var(--space-16);
  flex: 1;
  font-size: var(--text-sm);
  line-height: var(--leading-body);
  color: var(--text-dark-muted);
}
.pp-mat-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--fire);
}

/* FAQ — single centered block */
.pp-faq-block {
  max-width: 820px;
  margin: 0 auto;
}
.pp-faq-block .pp-section-head {
  margin-bottom: var(--space-32);
}
.pp-faq-layout {
  display: block;
}
.pp-faq {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.pp-faq-item {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}
.pp-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  padding: var(--space-16) 18px;
  font-size: var(--text-body);
  font-weight: 600;
  line-height: 1.45;
  color: #222;
  cursor: pointer;
  list-style: none;
  background: #fafafa;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.pp-faq-q::-webkit-details-marker { display: none; }
.pp-faq-q::after {
  content: '';
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid #888;
  border-bottom: 2px solid #888;
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform var(--dur-fast), border-color var(--dur-fast);
}
.pp-faq-item[open] .pp-faq-q {
  background: rgba(181, 18, 43, 0.06);
  color: var(--fire);
}
.pp-faq-item[open] .pp-faq-q::after {
  transform: rotate(-135deg);
  margin-top: 4px;
  border-color: var(--fire);
}
.pp-faq-q:hover { background: #f3f3f3; }
.pp-faq-item[open] .pp-faq-q:hover { background: rgba(181, 18, 43, 0.08); }
.pp-faq-a {
  padding: 0 18px 18px;
  background: #fff;
}
.pp-faq-a p {
  margin: 0;
  font-size: var(--text-sm);
  line-height: var(--leading-body);
  color: #444;
}

/* CTA */
.pp-cta {
  position: relative;
  background: var(--black);
  padding: var(--space-80) 0;
  overflow: hidden;
}
.pp-cta-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 0% 40%, rgba(181, 18, 43, 0.22), transparent 58%),
    radial-gradient(ellipse 40% 50% at 100% 90%, rgba(255, 255, 255, 0.04), transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
}
.pp-cta .section-title,
.pp-cta-title {
  margin: 0 0 var(--space-24);
  font-family: var(--font-display);
  font-size: var(--text-h1-page);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-display);
  font-weight: 400;
  color: #ffffff !important;
}
.pp-cta-lead {
  margin: 0 0 var(--space-16);
  max-width: 460px;
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}
.pp-cta-lead-sub {
  margin: 0;
  max-width: 460px;
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: rgba(255, 255, 255, 0.75);
}
.pp-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-64);
  align-items: start;
}
.pp-cta-copy {
  display: flex;
  flex-direction: column;
  padding-top: var(--space-8);
}
.pp-cta-block {
  margin-top: var(--space-32);
}
.pp-cta-why-title {
  margin: 0 0 var(--space-16);
  font-size: var(--text-h4);
  font-weight: 700;
  color: #fff;
  line-height: var(--leading-tight);
}
.pp-cta-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pp-cta-list li {
  position: relative;
  padding: 12px 0 12px 28px;
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.pp-cta-list li:last-child { border-bottom: none; }
.pp-cta-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 12px;
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--fire);
}
.pp-cta-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.pp-cta-contacts .pp-cta-why-title {
  margin-bottom: var(--space-8);
}
.pp-cta-contacts a,
.pp-cta-contacts span {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}
.pp-cta-contacts a:hover { color: #fff; }

.pp-form-wrap {
  background: #fff;
  border-radius: 24px;
  padding: var(--space-48) var(--space-48) var(--space-48);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
}
.pp-form-title {
  margin: 0 0 var(--space-8);
  font-size: var(--text-h3);
  font-weight: 700;
  color: #111;
  line-height: var(--leading-tight);
}
.pp-form-lead {
  margin: 0 0 var(--space-32);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
  color: #666;
}
.pp-form-kicker { display: none; }
.pp-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  margin-bottom: var(--space-24);
}
.pp-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pp-field--full { grid-column: 1 / -1; }
.pp-field span {
  font-size: var(--text-caption);
  font-weight: 600;
  color: #666;
}
.pp-field input,
.pp-field textarea {
  width: 100%;
  min-height: var(--input-height);
  padding: 14px 16px;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  background: #f7f7f7;
  font-size: var(--text-body);
  color: #111;
  outline: none;
  transition: border-color var(--dur-fast), background var(--dur-fast), box-shadow var(--dur-fast);
  font-family: inherit;
}
.pp-field textarea {
  min-height: 120px;
  height: 120px;
  max-height: 120px;
  resize: none;
  overflow-y: auto;
}
.pp-field input:focus,
.pp-field textarea:focus {
  border-color: rgba(181, 18, 43, 0.45);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(181, 18, 43, 0.1);
}
.pp-form-submit {
  width: 100%;
  min-height: var(--btn-height);
}
.pp-form-note {
  margin: 14px 0 0;
  font-size: var(--text-sm);
  color: #1a7a35;
  text-align: center;
}

@media (max-width: 1100px) {
  .pp-icon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-icon-item--featured { grid-column: span 2; }
  .pp-audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pp-timeline::before { display: none; }
}
@media (max-width: 900px) {
  .pp-hero-inner,
  .pp-cta-inner {
    grid-template-columns: 1fr;
  }
  .pp-mat-grid { grid-template-columns: 1fr 1fr; }
  .pp-calc-stage { padding: var(--space-32); }
}
@media (max-width: 640px) {
  .pp-hero { padding: var(--space-48) 0 var(--space-32); }
  .pp-section,
  .pp-cta,
  .pp-calc-hero { padding: var(--space-48) 0; }
  .pp-icon-grid,
  .pp-mat-grid,
  .pp-timeline,
  .pp-audience-grid {
    grid-template-columns: 1fr;
  }
  .pp-icon-item--featured { grid-column: span 1; }
  .pp-form-grid { grid-template-columns: 1fr; }
  .pp-form-wrap { padding: var(--space-24); }
  .pp-calc-cost-input,
  .pp-calc-cost-currency {
    font-size: var(--text-h2);
  }
  .pp-calc-reward-value {
    font-size: clamp(40px, 12vw, 56px);
  }
}


/* ============================================================
   Extracted page styles (unified from HTML inline <style>)
   ============================================================ */

/* ── FAQ page ── */
.faq-intro {
      max-width: 720px;
      margin: 0 auto 40px;
      font-size: 16px;
      line-height: 1.7;
      color: #555555 !important;
      text-align: center;
    }
    .partners-page .pp-faq-q,
    .partners-page .pp-faq summary {
      color: #111111 !important;
    }
    .partners-page .pp-faq-a,
    .partners-page .pp-faq-a p,
    .partners-page .pp-faq-a li {
      color: #444444 !important;
    }
    .partners-page .pp-faq-a p {
      margin: 0 0 14px;
      font-size: 15px;
      line-height: 1.7;
    }
    .partners-page .pp-faq-a p:last-child { margin-bottom: 0; }
    .faq-quote {
      margin: 16px 0;
      padding: 16px 20px;
      border-left: 3px solid #B5122B;
      background: rgba(181, 18, 43, 0.04);
      font-size: 14px !important;
      line-height: 1.65 !important;
      color: #444444 !important;
      font-style: italic;
    }

/* ── Garantiya page ── */
/* Align with index rhythm */
    body.partners-page.garantiya-page .pp-hero {
      padding: var(--space-80) 0 var(--space-64);
    }
    body.partners-page.garantiya-page .pp-hero-title {
      font-size: var(--text-h1);
    }
    body.partners-page.garantiya-page .pp-section {
      padding: var(--space-80) 0;
    }
    body.partners-page.garantiya-page .pp-cta {
      padding: var(--space-80) 0;
    }
    body.partners-page.garantiya-page .pp-cta-title {
      font-size: var(--text-h1);
    }
    body.partners-page.garantiya-page .section-title {
      font-size: var(--text-h2);
      margin-bottom: var(--space-16);
    }
    @media (max-width: 640px) {
      body.partners-page.garantiya-page .pp-hero,
      body.partners-page.garantiya-page .pp-section,
      body.partners-page.garantiya-page .pp-cta {
        padding: var(--space-64) 0;
      }
    }

    .gr-prose {
      max-width: 560px;
      margin: 0;
      font-size: var(--text-body);
      line-height: var(--leading-body);
      color: var(--text-dark-muted);
    }
    .gr-prose + .gr-prose { margin-top: var(--space-16); }

    .gr-note {
      margin-top: var(--space-24);
      padding: var(--space-16) var(--space-24);
      border-left: 2px solid var(--fire);
      background: rgba(181, 18, 43, 0.04);
      font-size: var(--text-body);
      line-height: var(--leading-body);
      color: var(--text-dark-muted);
    }

    .gr-split {
      display: grid;
      grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.9fr);
      gap: var(--space-48);
      align-items: start;
    }
    .gr-split--quality {
      grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.95fr);
      align-items: center;
    }
    .gr-split--return {
      grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
      align-items: start;
      gap: var(--space-48);
    }

    /* Term block — compact informational */
    .gr-term {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: var(--space-32);
      align-items: center;
      padding: var(--space-32);
      background: #fff;
      border: 1px solid #e8e8e8;
      border-radius: 16px;
      border-left: 3px solid var(--fire);
      max-width: 820px;
    }
    .gr-term-num {
      font-family: var(--font-display);
      font-size: clamp(40px, 5vw, 56px);
      letter-spacing: var(--tracking-display);
      line-height: 0.95;
      color: #111;
      margin: 0;
    }
    .gr-term-num span {
      display: block;
      font-size: var(--text-caption);
      letter-spacing: var(--tracking-label);
      color: var(--fire);
      margin-top: var(--space-8);
      font-family: var(--font-body);
      font-weight: 700;
    }
    .gr-term-label {
      display: block;
      margin-bottom: var(--space-8);
      font-size: var(--text-caption);
      font-weight: 700;
      letter-spacing: var(--tracking-label);
      text-transform: uppercase;
      color: var(--fire);
    }
    .gr-term-title {
      margin: 0 0 var(--space-8);
      font-size: var(--text-h4);
      font-weight: 700;
      color: #111;
      line-height: var(--leading-tight);
    }
    .gr-term-text {
      margin: 0;
      font-size: var(--text-body);
      line-height: var(--leading-body);
      color: var(--text-dark-muted);
    }

    /* Quality conditions list */
    .gr-cond {
      list-style: none;
      margin: 0;
      padding: 0;
      border-top: 1px solid #e8e8e8;
    }
    .gr-cond li {
      display: grid;
      grid-template-columns: 36px 1fr;
      gap: var(--space-8);
      align-items: baseline;
      padding: var(--space-16) 0;
      border-bottom: 1px solid #e8e8e8;
    }
    .gr-cond-num {
      font-family: var(--font-display);
      font-size: var(--text-h4);
      letter-spacing: var(--tracking-display);
      color: var(--fire);
      line-height: 1;
    }
    .gr-cond-title {
      margin: 0;
      font-size: var(--text-body);
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #111;
      line-height: var(--leading-tight);
    }
    .gr-cond-note {
      margin: var(--space-16) 0 0;
      font-size: var(--text-sm);
      line-height: var(--leading-body);
      color: var(--text-dark-muted);
    }

    /* Service numbered rows */
    .gr-list {
      margin: 0;
      padding: 0;
      list-style: none;
      max-width: 720px;
      border-top: 1px solid #ddd;
    }
    .gr-list li {
      display: grid;
      grid-template-columns: 40px 1fr;
      gap: var(--space-16);
      align-items: baseline;
      padding: var(--space-16) 0;
      border-bottom: 1px solid #ddd;
      font-size: var(--text-body);
      line-height: var(--leading-body);
      color: #111;
      background: transparent;
    }
    .gr-list li::before { display: none; }
    .gr-list-num {
      font-family: var(--font-display);
      font-size: var(--text-h4);
      letter-spacing: var(--tracking-display);
      color: var(--fire);
      line-height: 1;
    }

    /* Compact CTA form */
    body.garantiya-page .pp-form-wrap {
      padding: var(--space-32);
    }
    body.garantiya-page .pp-form-lead {
      margin-bottom: var(--space-16);
    }
    body.garantiya-page .pp-field textarea {
      min-height: 88px;
      height: 88px;
      max-height: 88px;
    }
    body.garantiya-page .pp-cta-inner {
      gap: var(--space-48);
    }

    @media (max-width: 900px) {
      .gr-split,
      .gr-split--quality,
      .gr-split--return {
        grid-template-columns: 1fr;
        gap: var(--space-32);
      }
      .gr-term {
        grid-template-columns: 1fr;
        gap: var(--space-16);
        padding: var(--space-24);
      }
    }

/* ── Oplata i dostavka page ── */
/* Align with index / garantiya / kompaniya rhythm */
    body.partners-page.oplata-page .pp-hero {
      padding: var(--space-80) 0 var(--space-64);
    }
    body.partners-page.oplata-page .pp-hero-title {
      font-size: var(--text-h1);
    }
    body.partners-page.oplata-page .pp-section {
      padding: var(--space-80) 0;
    }
    body.partners-page.oplata-page .pp-cta {
      padding: var(--space-80) 0;
    }
    body.partners-page.oplata-page .pp-cta-title {
      font-size: var(--text-h1);
    }
    body.partners-page.oplata-page .section-title {
      font-size: var(--text-h2);
      margin-bottom: var(--space-16);
    }
    @media (max-width: 640px) {
      body.partners-page.oplata-page .pp-hero,
      body.partners-page.oplata-page .pp-section,
      body.partners-page.oplata-page .pp-cta {
        padding: var(--space-64) 0;
      }
    }

    .pd-prose {
      max-width: 560px;
      margin: 0;
      font-size: var(--text-body);
      line-height: var(--leading-body);
      color: var(--text-dark-muted);
    }
    .pd-prose + .pd-prose { margin-top: var(--space-16); }

    .pd-note {
      margin-top: var(--space-16);
      padding: var(--space-16) var(--space-24);
      border-left: 2px solid var(--fire);
      background: rgba(181, 18, 43, 0.04);
      font-size: var(--text-body);
      line-height: var(--leading-body);
      color: var(--text-dark-muted);
    }

    /* Payment — calm editorial, no big accent card */
    .pd-pay-body {
      max-width: 720px;
    }
    .pd-pay-body .pd-prose {
      max-width: none;
    }
    .pd-pay-body .pd-note {
      margin-top: var(--space-24);
      max-width: 560px;
    }

    /* Delivery asymmetric */
    .pd-del-layout {
      display: grid;
      grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
      gap: var(--space-48);
      align-items: start;
    }
    .pd-methods {
      list-style: none;
      margin: 0;
      padding: 0;
      border-top: 1px solid rgba(255, 255, 255, 0.12);
    }
    .pd-methods li {
      display: grid;
      grid-template-columns: 44px minmax(0, 1fr);
      gap: var(--space-16);
      padding: var(--space-24) 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }
    .pd-methods-num {
      font-family: var(--font-display);
      font-size: var(--text-h4);
      letter-spacing: var(--tracking-display);
      color: var(--fire);
      line-height: 1;
      padding-top: 2px;
    }
    .pd-methods-title {
      margin: 0 0 var(--space-8);
      font-size: var(--text-h4);
      font-weight: 700;
      color: #fff;
      line-height: var(--leading-tight);
    }
    .pd-methods .pd-prose {
      color: rgba(255, 255, 255, 0.58);
      max-width: none;
    }
    .pd-methods .pd-note {
      background: rgba(255, 255, 255, 0.04);
      color: rgba(255, 255, 255, 0.7);
      border-left-color: var(--fire);
    }

    .pd-dark {
      background: var(--black);
      color: #fff;
    }
    .pd-dark .section-title { color: #fff !important; }
    .pd-dark .section-desc {
      color: rgba(255, 255, 255, 0.58) !important;
    }
    .pd-dark .section-label { color: var(--fire); }
    .pd-dark .section-label::before { background: var(--fire); }

    /* Terms — light numbered rows, not heavy cards */
    .pd-terms-list {
      list-style: none;
      margin: var(--space-32) 0 0;
      padding: 0;
      border-top: 1px solid #e8e8e8;
      max-width: 820px;
    }
    .pd-terms-list li {
      display: grid;
      grid-template-columns: 40px minmax(0, 1fr);
      gap: var(--space-16);
      padding: var(--space-16) 0;
      border-bottom: 1px solid #e8e8e8;
    }
    .pd-terms-num {
      font-family: var(--font-display);
      font-size: var(--text-h4);
      letter-spacing: var(--tracking-display);
      color: var(--fire);
      line-height: 1;
    }
    .pd-terms-title {
      margin: 0 0 4px;
      font-size: var(--text-body);
      font-weight: 700;
      color: #111;
    }
    .pd-terms-text {
      margin: 0;
      font-size: var(--text-sm);
      line-height: var(--leading-body);
      color: var(--text-dark-muted);
    }

    body.oplata-page .pp-form-wrap { padding: var(--space-32); }
    body.oplata-page .pp-field textarea { min-height: 88px; height: 88px; max-height: 88px; }
    body.oplata-page .pp-cta-inner { gap: var(--space-48); }

    @media (max-width: 900px) {
      .pd-del-layout {
        grid-template-columns: 1fr;
        gap: var(--space-32);
      }
      .pd-methods li {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: var(--space-12);
      }
    }

/* ── Kompaniya page ── */
/* Align company page rhythm with index.html (homepage etalon) */
    body.partners-page.company-page .pp-hero {
      padding: var(--space-80) 0 var(--space-64);
    }
    body.partners-page.company-page .pp-hero-title {
      font-size: var(--text-h1); /* same as .hero-title on index */
    }
    body.partners-page.company-page .pp-hero-lead {
      font-size: var(--text-body);
      line-height: var(--leading-body);
    }
    body.partners-page.company-page:not(.video-page) .pp-cta-list li {
      padding-left: 18px;
    }
    body.partners-page.company-page:not(.video-page) .pp-cta-list li::before {
      content: '';
      top: 20px;
      width: 12px;
      height: 0;
      font-size: 0;
      font-weight: 400;
      border: 0;
      border-top: 1px solid var(--fire);
      background: none;
      border-radius: 0;
      color: transparent;
    }
    @media (max-width: 768px) {
      body.partners-page.company-page .co-hero-lead-more {
        display: none;
      }
    }
    body.partners-page.company-page .pp-section {
      padding: var(--space-80) 0; /* same as index `section` */
    }
    body.partners-page.company-page .pp-cta {
      padding: var(--space-80) 0;
    }
    body.partners-page.company-page .pp-cta-title {
      font-size: var(--text-h1); /* match homepage section hero weight */
    }
    body.partners-page.company-page .section-title {
      font-size: var(--text-h2);
      letter-spacing: var(--tracking-display);
      line-height: var(--leading-display);
      margin-bottom: var(--space-16);
    }
    body.partners-page.company-page .section-desc,
    body.partners-page.company-page .co-prose {
      font-size: var(--text-body);
      line-height: var(--leading-body);
    }
    @media (max-width: 640px) {
      body.partners-page.company-page .pp-hero,
      body.partners-page.company-page .pp-section,
      body.partners-page.company-page .pp-cta {
        padding: var(--space-64) 0; /* keep compact on mobile, still above old 48 */
      }
    }

    /* Company page — layout helpers only; typography/spacing/colors from design tokens + partners-page */
    .co-prose {
      max-width: 560px;
      margin: 0;
      font-size: var(--text-body);
      line-height: var(--leading-body);
      color: var(--text-dark-muted);
    }
    .co-prose + .co-prose { margin-top: var(--space-16); }

    .co-dark {
      background: var(--black);
      color: #fff;
    }
    .co-dark .section-title { color: #fff !important; }
    .co-dark .section-desc,
    .co-dark .co-prose {
      color: rgba(255, 255, 255, 0.58) !important;
    }
    .co-dark .section-label { color: var(--fire); }
    .co-dark .section-label::before { background: var(--fire); }

    .co-split {
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
      gap: var(--space-48);
      align-items: center;
    }
    .co-split--media-right {
      grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    }
    /* ОГНЕБОРЕЦ: image slightly smaller → text ≈ image balance */
    #ogneborets .co-split {
      grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
      gap: var(--space-48);
      align-items: center;
    }
    #ogneborets .co-media {
      min-height: 0;
      height: clamp(280px, 38vw, 400px);
      margin: var(--space-16) 0;
      border-radius: 16px;
      align-self: center;
    }
    .co-media {
      position: relative;
      min-height: 380px;
      overflow: hidden;
      background: var(--dark2);
      border: 1px solid var(--border);
    }
    .co-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
    }

    /* ABOUT: fill empty right side without dominating */
    .co-about-layout {
      display: grid;
      grid-template-columns: minmax(0, 1.65fr) minmax(220px, 0.95fr);
      gap: var(--space-48);
      align-items: stretch;
    }
    .co-about-copy {
      min-width: 0;
    }
    .co-about-media {
      position: relative;
      min-height: 280px;
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid #e8e8e8;
      background: #f2f2f2;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
    }
    .co-about-media img {
      width: 100%;
      height: 100%;
      min-height: 280px;
      object-fit: cover;
      object-position: center;
      display: block;
    }

    .co-collage {
      /* reserved — DINARM editorial collage scoped below */
      display: contents;
    }

    /* DINARM editorial composition */
    #dinarm .co-dinarm {
      display: grid;
      grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr);
      gap: var(--space-48);
      align-items: center;
    }
    #dinarm .co-dinarm-copy {
      min-width: 0;
    }
    #dinarm .co-dinarm-copy .co-prose {
      max-width: 42ch;
    }
    #dinarm .co-collage {
      display: grid;
      grid-template-columns: 1.35fr 0.85fr;
      grid-template-rows: minmax(280px, 2.05fr) minmax(118px, 0.95fr);
      gap: var(--space-8);
      min-height: 440px;
      align-self: stretch;
    }
    #dinarm .co-collage figure {
      margin: 0;
      overflow: hidden;
      background: var(--dark2);
      border: 1px solid var(--border);
      border-radius: 16px;
      position: relative;
    }
    #dinarm .co-collage-main {
      grid-column: 1 / -1;
      grid-row: 1;
      min-height: 280px;
    }
    #dinarm .co-collage-b {
      grid-column: 1;
      grid-row: 2;
    }
    #dinarm .co-collage-c {
      grid-column: 2;
      grid-row: 2;
    }
    #dinarm .co-collage img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
    }

    .co-facts {
      border: 1px solid var(--border);
      background: rgba(255, 255, 255, 0.02);
      padding: var(--space-24);
    }
    .co-fact {
      padding: var(--space-16) 0;
      border-bottom: 1px solid var(--border);
    }
    .co-fact:first-child { padding-top: 0; }
    .co-fact:last-child { border-bottom: 0; padding-bottom: 0; }
    .co-fact-num {
      font-family: var(--font-display);
      font-size: var(--text-h2);
      letter-spacing: var(--tracking-display);
      line-height: 1;
      color: #fff;
      margin-bottom: var(--space-8);
    }
    .co-fact-num span { color: var(--fire); }
    .co-fact-label {
      font-size: var(--text-sm);
      line-height: var(--leading-body);
      color: rgba(255, 255, 255, 0.5);
    }

    .co-brand-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: var(--space-16) var(--space-24);
      margin-top: var(--space-48);
      padding-top: var(--space-32);
      border-top: 1px solid var(--border-light);
    }
    .co-brand-row span {
      font-size: var(--text-caption);
      font-weight: 700;
      letter-spacing: var(--tracking-label);
      text-transform: uppercase;
      color: #111;
    }
    .co-brand-row i {
      font-style: normal;
      color: var(--fire);
      font-weight: 700;
    }
    @media (max-width: 768px) {
      body.partners-page.company-page .co-brand-row {
        flex-wrap: nowrap;
        gap: 8px;
      }
      body.partners-page.company-page .co-brand-row span {
        letter-spacing: 1px;
        white-space: nowrap;
      }
    }

    .co-video {
      position: relative;
      width: min(100%, 1080px);
      margin: 0 auto;
      aspect-ratio: 16 / 9;
      background: #111;
      border: 1px solid #111;
      overflow: hidden;
    }
    .co-video iframe {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: 0;
    }
    .co-video-cap {
      width: min(100%, 1080px);
      margin: var(--space-16) auto 0;
      font-size: var(--text-sm);
      color: var(--text-dark-muted);
    }

    .co-cat-list {
      list-style: none;
      margin: var(--space-24) 0 var(--space-32);
      padding: 0;
      border-top: 1px solid rgba(255, 255, 255, 0.12);
      max-width: 420px;
    }
    .co-cat-list a {
      display: grid;
      grid-template-columns: 36px 1fr;
      gap: var(--space-8);
      align-items: center;
      padding: 12px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.12);
      color: rgba(255, 255, 255, 0.85);
      text-decoration: none;
      font-size: var(--text-body);
      font-weight: 600;
    }
    .co-cat-list a:hover { color: #fff; }
    .co-cat-list span {
      color: var(--fire);
      font-size: var(--text-caption);
      letter-spacing: 0.08em;
      font-weight: 700;
    }

    .co-adv-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: var(--space-16);
    }
    .co-adv {
      padding: var(--space-24);
      border: 1px solid #e8e8e8;
      background: #fff;
      border-radius: 16px;
    }
    .co-adv-num {
      display: block;
      margin-bottom: var(--space-16);
      font-family: var(--font-display);
      font-size: var(--text-h4);
      letter-spacing: var(--tracking-display);
      color: var(--fire);
      line-height: 1;
    }
    .co-adv-title {
      margin: 0;
      font-size: var(--text-h4);
      font-weight: 700;
      color: #111;
      line-height: var(--leading-tight);
    }

    .co-doc {
      display: grid;
      grid-template-columns: auto 1fr auto;
      gap: var(--space-24);
      align-items: center;
      padding: var(--space-32) var(--space-24);
      background: #fff;
      border: 1px solid #e8e8e8;
      border-radius: 16px;
      text-decoration: none;
      color: inherit;
      box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
      position: relative;
      overflow: hidden;
      transition: transform var(--dur) var(--ease-premium), box-shadow var(--dur) var(--ease-premium), border-color var(--dur);
    }
    .co-doc::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      background: var(--fire);
    }
    .co-doc:hover {
      transform: translateY(-4px);
      border-color: #ddd;
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    }
    .co-doc-mark {
      width: 52px;
      height: 52px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(181, 18, 43, 0.25);
      color: var(--fire);
      font-size: var(--text-caption);
      font-weight: 700;
      letter-spacing: 0.1em;
      flex-shrink: 0;
    }
    .co-doc-title {
      margin: 0 0 6px;
      font-size: var(--text-h4);
      font-weight: 700;
      color: #111;
      line-height: var(--leading-tight);
    }
    .co-doc-text {
      margin: 0;
      font-size: var(--text-sm);
      color: var(--text-dark-muted);
      line-height: var(--leading-body);
    }
    .co-doc-cta {
      font-size: var(--text-caption);
      font-weight: 700;
      letter-spacing: var(--tracking-button);
      text-transform: uppercase;
      color: var(--fire);
      white-space: nowrap;
    }

    .co-timeline {
      grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .pp-section--muted .co-adv {
      background: #fff;
    }

    @media (max-width: 1100px) {
      .co-adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .co-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    }
    @media (max-width: 900px) {
      .co-split,
      .co-split--media-right,
      #ogneborets .co-split,
      .co-about-layout {
        grid-template-columns: 1fr;
        min-width: 0;
        max-width: 100%;
      }
      .co-media,
      #ogneborets .co-media {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 0;
        height: auto;
        aspect-ratio: 4 / 3;
        margin: 0 0 var(--space-24);
        border-radius: 16px;
        overflow: hidden;
        box-sizing: border-box;
      }
      .co-media img,
      #ogneborets .co-media img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
      }
      .co-about-media {
        min-height: 240px;
        order: 2;
      }
      .co-about-copy { order: 1; }
      .co-about-media img { min-height: 240px; }
      #dinarm .co-dinarm {
        grid-template-columns: 1fr;
        gap: var(--space-32);
      }
      #dinarm .co-dinarm-copy { order: 1; }
      #dinarm .co-collage {
        order: 2;
        display: grid;
        grid-template-columns: 1.25fr 0.85fr;
        grid-template-rows: 220px 130px;
        min-height: 0;
      }
      #dinarm .co-collage-main {
        grid-column: 1 / -1;
        grid-row: 1;
        min-height: 220px;
      }
      .co-doc {
        grid-template-columns: auto 1fr;
      }
      .co-doc-cta { grid-column: 2; }
    }
    @media (max-width: 640px) {
      .co-adv-grid,
      .co-timeline { grid-template-columns: 1fr; }
      #dinarm .co-collage {
        grid-template-columns: 1fr;
        grid-template-rows: 220px 150px 150px;
      }
      #dinarm .co-collage-main,
      #dinarm .co-collage-b,
      #dinarm .co-collage-c {
        grid-column: 1;
      }
      #dinarm .co-collage-main { grid-row: 1; min-height: 220px; }
      #dinarm .co-collage-b { grid-row: 2; }
      #dinarm .co-collage-c { grid-row: 3; }
    }

/* ── Video page ── */
body.partners-page.video-page .topbar,
body.partners-page.video-page header {
  background: var(--black);
}
body.partners-page.video-page .topbar {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
body.partners-page.video-page .pp-hero {
  padding: var(--space-64) 0 var(--space-48);
}
body.partners-page.video-page .pp-hero-inner {
  grid-template-columns: 1fr;
}
body.partners-page.video-page .pp-hero-title {
  font-size: var(--text-h1);
}
body.partners-page.video-page .pp-hero-lead {
  max-width: 36em;
  font-size: var(--text-body);
  line-height: var(--leading-body);
}
body.partners-page.video-page .pp-section {
  padding: var(--space-80) 0;
}
body.partners-page.video-page .pp-cta {
  padding: var(--space-80) 0;
}
body.partners-page.video-page .section-title {
  font-size: var(--text-h2);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-display);
  margin-bottom: 0;
}

.vd-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-80);
}
.vd-item-head {
  max-width: 720px;
  margin-bottom: var(--space-24);
}
.vd-item-head .section-label {
  margin-bottom: var(--space-12);
}
.vd-prose {
  margin: var(--space-16) 0 0;
  max-width: 40em;
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--text-dark-muted);
}
.co-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: #111;
}
.vd-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #111;
  color: #fff;
}
.vd-play img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.vd-play-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #B5122B;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
@media (max-width: 640px) {
  body.partners-page.video-page .pp-hero,
  body.partners-page.video-page .pp-section,
  body.partners-page.video-page .pp-cta {
    padding: var(--space-48) 0;
  }
  .vd-list {
    gap: var(--space-48);
  }
}

/* ══════════════════════════════════════════════════════════
   PDP аксессуары + арматура + сигнализаторы + регуляторы — моб. (≤768px)
   Большое фото раздувает сетку карточки; контент уезжает вправо.
   Только #accProductMount / #zaProductMount / #sigProductMount / #rdProductMount.
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .spk-pdp,
  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .ogb-page-head,
  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .spk-pdp-title,
  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .spk-pdp-bc,
  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .spk-pdp-card,
  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .spk-pdp-card-frame,
  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .spk-pdp-grid,
  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .spk-pdp-media,
  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .spk-pdp-aside,
  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .spk-pdp-panel,
  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .acc-pdp-panel-split,
  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .acc-pdp-options-col,
  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .spk-pdp-buy-col,
  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .spk-pdp-buy-row,
  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .spk-pdp-tabs,
  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .spk-pdp-panes,
  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .spk-pdp-prose {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .spk-pdp-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .spk-pdp-media {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 8px;
  }

  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .spk-pdp-mainimg {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 12px;
    aspect-ratio: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .spk-pdp-photo,
  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .src-product-photo.spk-pdp-photo {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: contain;
    object-position: center center;
  }

  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .spk-pdp-model-badge {
    max-width: 100%;
    align-self: center;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .spk-pdp-gallery-thumbs,
  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .spk-pdp-gallery-thumbs.acc-pdp-hero-thumbs,
  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .spk-pdp-gallery-thumbs.acc-pdp-hero-thumbs.acc-pdp-hero-thumbs--few {
    width: 100%;
    max-width: 100%;
    margin: 8px 0 0;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
  }

  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .spk-pdp-gthumb,
  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .acc-pdp-hero-thumbs .spk-pdp-gthumb {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
  }

  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .spk-pdp-buy-row .btn-add-cart,
  body.spk-product-page :is(#accProductMount, #zaProductMount, #sigProductMount, #rdProductMount) .spk-pdp-buy-row .src-cart-btn {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
  }

  /* Аксессуары: покрытие и диаметр — две равные кнопки */
  body.spk-product-page #accProductMount .acc-pdp-panel .src-coat-wrap,
  body.spk-product-page #accProductMount .acc-pdp-options-col .src-coat-wrap,
  body.spk-product-page #accProductMount .acc-pdp-panel .src-diam-wrap,
  body.spk-product-page #accProductMount .acc-pdp-options-col .src-diam-wrap {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body.spk-product-page #accProductMount .acc-pdp-panel .src-coat-btn,
  body.spk-product-page #accProductMount .acc-pdp-panel .src-coat-btn:first-child,
  body.spk-product-page #accProductMount .acc-pdp-panel .src-diam-btn {
    grid-column: auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  /* Арматура, сигнализаторы, регуляторы: Ду — 4 колонки, кнопки не вылезают */
  body.spk-product-page :is(#zaProductMount, #sigProductMount, #rdProductMount) .acc-pdp-panel .src-diam-wrap,
  body.spk-product-page :is(#zaProductMount, #sigProductMount, #rdProductMount) .acc-pdp-options-col .src-diam-wrap {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body.spk-product-page :is(#zaProductMount, #sigProductMount, #rdProductMount) .acc-pdp-panel .src-diam-btn,
  body.spk-product-page :is(#zaProductMount, #sigProductMount, #rdProductMount) .acc-pdp-panel .src-coat-btn,
  body.spk-product-page :is(#zaProductMount, #sigProductMount, #rdProductMount) .acc-pdp-panel .src-coat-btn:first-child {
    grid-column: auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Сигнализаторы: воздух у миниатюр и ряда «В корзину» */
  body.spk-product-page #sigProductMount .spk-pdp-media {
    padding: 10px 12px 16px;
  }
  body.spk-product-page #sigProductMount .spk-pdp-gallery-thumbs,
  body.spk-product-page #sigProductMount .spk-pdp-gallery-thumbs.acc-pdp-hero-thumbs {
    margin-top: 10px;
    margin-bottom: 2px;
    justify-content: center;
  }
  body.spk-product-page #sigProductMount .acc-pdp-panel.spk-pdp-panel {
    padding-bottom: 16px;
  }
  body.spk-product-page #sigProductMount .spk-pdp-buy-row {
    align-items: stretch !important;
  }
  body.spk-product-page #sigProductMount .spk-pdp-buy-row .src-qty,
  body.spk-product-page #sigProductMount .spk-pdp-buy-row .btn-add-cart,
  body.spk-product-page #sigProductMount .spk-pdp-buy-row .src-cart-btn {
    height: 47px;
    min-height: 47px;
  }

  /* Регуляторы: схема «цвет пружины» и блок Raphael не шире карточки */
  body.spk-product-page #rdProductMount .spk-pdp-prose img,
  body.spk-product-page #rdProductMount .spk-pdp-prose .spk-pdp-fig,
  body.spk-product-page #rdProductMount .spk-pdp-prose .spk-pdp-fig img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    min-width: 0;
  }
  body.spk-product-page #rdProductMount .spk-pdp-brand-block {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    flex-wrap: wrap;
  }
  body.spk-product-page #rdProductMount .spk-pdp-brand-text,
  body.spk-product-page #rdProductMount .spk-pdp-brand-desc {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}
