/* Keroma — минималистичная тема, белый фон */
:root {
  --bg: #ffffff;
  --surface: #f7f7f8;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --border: #e8e8ea;
  --accent: #2d2d2d;
  --accent-hover: #000000;
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1120px;
  --space: clamp(1rem, 4vw, 2.5rem);
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
  filter: grayscale(1);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

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

/* Layout */
.container {
  width: min(100% - var(--space) * 2, var(--max));
  margin-inline: auto;
}

.section {
  padding-block: clamp(3rem, 8vw, 5.5rem);
}

.section--tight {
  padding-block: clamp(2rem, 5vw, 3rem);
}

.section--surface {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}

.logo {
  display: inline-block;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  text-decoration: none;
  padding: 0.3em 0.5em;
  border: 1px solid var(--text);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  font: inherit;
  color: var(--text);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: rotate(-45deg) translate(4px, -4px);
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  position: relative;
  transition: transform 0.2s, background 0.2s;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 3rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem var(--space) 1.25rem;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav li {
    border-bottom: 1px solid var(--border);
  }

  .site-nav li:last-child {
    border-bottom: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0;
  }
}

/* Hero */
.hero {
  padding-block: clamp(2.5rem, 6vw, 4rem) clamp(3rem, 8vw, 5rem);
}

.hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr 1.05fr;
  }
}

.hero__eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  font-weight: 600;
}

.hero__lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 36ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 1.5rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero__meta strong {
  display: block;
  color: var(--text);
  font-weight: 600;
}

.hero__visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  background: var(--surface);
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn--ghost:hover {
  border-color: var(--text-muted);
}

.btn--dark {
  background: #111;
  color: #fff;
  border-color: #111;
}

.btn--dark:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* Typography blocks */
.section-head {
  max-width: 640px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Cards grid */
.cards-3 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .cards-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--bg);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card--pain {
  border-color: #e0e0e0;
}

.card-with-us {
  display: block;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0.35rem 0 0.55rem;
}

.card--solution {
  border-color: var(--text);
}

/* Two column with image */
.split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .split.split--top {
    align-items: start;
  }
}

.page-hero--compact {
  padding-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.section--raschet-tight {
  padding-top: clamp(1.75rem, 4.5vw, 2.75rem);
}

.raschet-aside-title {
  margin: 0 0 1.1rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.raschet-form-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.raschet-aside-note {
  margin-top: 1.5rem;
}

.split__img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 11;
}

.split__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__content h2 {
  margin-top: 0;
}

/* Steps */
.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: relative;
  padding-top: 2.5rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* List benefits */
.benefits {
  display: grid;
  gap: 0.75rem 2rem;
}

@media (min-width: 640px) {
  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

.benefits li {
  list-style: none;
  position: relative;
  padding-left: 1.35rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.benefits ul {
  margin: 0;
  padding: 0;
}

.benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text);
}

/* Одна колонка, каждый пункт с новой строки (перебивает grid у .benefits на всех ширинах) */
.benefits.benefits--stacked {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
}

.benefits.benefits--stacked li {
  display: block;
  width: 100%;
  flex: 0 0 auto;
  margin: 0;
  line-height: 1.6;
  padding: 0.25rem 0 0.25rem 1.35rem;
}

/* Pricing / guarantee box */
.info-boxes {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .info-boxes {
    grid-template-columns: repeat(2, 1fr);
  }
}

.info-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--bg);
}

.info-box h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.info-box p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* FAQ */
.faq {
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.1rem 2rem 1.1rem 0;
  font: inherit;
  font-weight: 500;
  font-size: 1rem;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
  color: var(--text);
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--text-muted);
  font-weight: 400;
}

.faq-item.is-open .faq-question::after {
  content: "−";
}

.faq-answer {
  display: none;
  padding: 0 0 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* CTA strip */
.cta-strip {
  text-align: center;
  padding-block: clamp(3rem, 7vw, 4.5rem);
  border-top: 1px solid var(--border);
}

.cta-strip h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.cta-strip p {
  margin: 0 auto 1.5rem;
  max-width: 520px;
  color: var(--text-muted);
}

/* Forms */
.form {
  max-width: 560px;
}

.form-row {
  margin-bottom: 1rem;
}

.form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: 2px solid var(--text);
  outline-offset: 1px;
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.form-msg {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-msg.is-visible {
  display: block;
}

.form-msg--ok {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.form-msg--err {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 2.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.site-footer h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.site-footer p,
.site-footer li {
  margin: 0;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li + li {
  margin-top: 0.35rem;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
}

.footer-legal {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
}

/* Product grid page */
.product-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}

.product-card__img {
  aspect-ratio: 4 / 3;
  background: var(--surface);
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  padding: 1.25rem;
}

.product-card__body h2 {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}

.product-card__body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

a.product-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.2s ease;
}

a.product-card--link:hover {
  border-color: #d4d4d8;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

a.product-card--link:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

a.product-card--link .product-card__body h2 {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.15s ease;
}

a.product-card--link:hover .product-card__body h2 {
  text-decoration-color: var(--text-muted);
}

/* Product detail: carousel + lightbox */
.product-detail-intro {
  max-width: 62ch;
  margin-bottom: 1.75rem;
  color: var(--text-muted);
}

.product-detail-intro p {
  margin: 0 0 1rem;
}

.product-detail-intro p:last-child {
  margin-bottom: 0;
}

.product-specs__title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.product-specs__table-wrap {
  margin-top: 0;
  max-width: 36rem;
}

.product-specs__table {
  min-width: 0;
}

.product-specs__table th {
  width: 48%;
  white-space: normal;
}

.carousel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.carousel__viewport {
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}

.carousel__track {
  display: flex;
  transition: transform 0.35s ease;
  will-change: transform;
}

.carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: #111;
  cursor: zoom-in;
  display: block;
  aspect-ratio: 16 / 10;
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.carousel__arrow:hover {
  background: #fff;
  border-color: var(--text-muted);
}

.carousel__arrow:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.carousel__arrow--prev {
  left: 0.65rem;
}

.carousel__arrow--next {
  right: 0.65rem;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.carousel__dot[aria-current="true"] {
  background: var(--text);
  transform: scale(1.15);
}

.carousel__dot:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.lightbox__panel {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1200px);
  max-height: 90vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.lightbox__close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 640px) {
  .lightbox__close {
    top: auto;
    bottom: calc(100% + 0.5rem);
    right: 0;
  }
}

.lightbox__frame {
  position: relative;
  width: 100%;
  max-height: calc(90vh - 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: calc(90vh - 3.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.12);
}

.lightbox__nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.lightbox__nav--prev {
  left: 0.35rem;
}

.lightbox__nav--next {
  right: 0.35rem;
}

@media (max-width: 520px) {
  .lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .lightbox__nav--prev {
    left: 0.15rem;
  }

  .lightbox__nav--next {
    right: 0.15rem;
  }
}

.lightbox__counter {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

body.lightbox-open {
  overflow: hidden;
}

.breadcrumbs {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* Page hero small */
.page-hero {
  padding-block: clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
  max-width: 55ch;
}

/* Cookie */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--text);
  color: #fff;
  padding: 1rem var(--space);
  font-size: 0.85rem;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-bar.is-visible {
  display: flex;
}

.cookie-bar a {
  color: #fff;
  text-decoration: underline;
}

.cookie-bar button {
  font: inherit;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 0;
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

/* Contract note */
.doc-note {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

.doc-note a {
  font-weight: 500;
}

/* Готовая линейка: промо-полоса и таблица типоразмеров */
.line-promo {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.line-promo__text {
  flex: 1 1 240px;
  min-width: 0;
}

.line-promo__text h2 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.line-promo__text p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.line-promo__actions {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.size-table-wrap {
  overflow-x: auto;
  margin-top: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.size-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.size-table th,
.size-table td {
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 0.9rem;
  text-align: left;
  vertical-align: top;
}

.size-table th {
  background: var(--surface);
  font-weight: 600;
  white-space: nowrap;
}

.size-table tbody tr:last-child td {
  border-bottom: 0;
}

.size-table tbody tr:hover td {
  background: #fafafa;
}

.size-table-note {
  margin-top: 1rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.section--after-page-hero {
  padding-top: clamp(1.5rem, 4vw, 2.25rem);
}

.section-head--table {
  margin-bottom: 1.5rem;
}

.section-head--table h2 {
  margin-bottom: 0.65rem;
}

.page-actions {
  margin-top: 0.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}
