/* Lynk & Co 900 — Accessories Shop */

:root {
  --bg: #f7f5f2;
  --bg-white: #ffffff;
  --bg-soft: #efeae4;
  --text: #1a1a1a;
  --text-muted: #6b6560;
  --accent: #c8a96e;
  --accent-dark: #a68b52;
  --club: #2d6a5a;
  --order: #1a1a1a;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'Manrope', system-ui, sans-serif;
  --topbar-h: 64px;
  --banner-h: 25vh;
  --banner-min: 160px;
  --banner-max: 280px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + 12px);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
picture { display: block; }

.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: var(--topbar-h);
  padding: 8px clamp(8px, 2vw, 20px);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.topbar__brand {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
}

.topbar__logo {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.topbar__logo span { color: var(--accent-dark); }

.topbar__model {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-soft);
  padding: 2px 7px;
  border-radius: 6px;
}

.topbar__nav {
  display: flex;
  gap: 5px;
  flex: 1;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.topbar__link {
  font-size: clamp(0.58rem, 2vw, 0.82rem);
  font-weight: 600;
  padding: 8px clamp(7px, 1.8vw, 14px);
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s;
}

.topbar__link:hover { background: var(--bg-soft); }
.topbar__link--club { background: rgba(45, 106, 90, 0.1); color: var(--club); }
.topbar__link--order { background: var(--order); color: #fff; }
.topbar__link--order:hover { background: #333; color: #fff; }

.cart-btn {
  position: relative;
  background: var(--bg-soft);
  border: none;
  border-radius: 12px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.cart-btn svg { width: 20px; height: 20px; }

.cart-btn__count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-btn__count[hidden] { display: none; }

/* Hero */
.hero-banner {
  position: relative;
  width: 100%;
  height: clamp(var(--banner-min), var(--banner-h), var(--banner-max));
  overflow: hidden;
  background: #0e0e0e;
}

.hero-banner__media {
  position: absolute;
  inset: 0;
}

.hero-banner__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: center;
  pointer-events: none;
}

.hero-banner__video--blur {
  object-fit: cover;
  transform: scale(1.06);
  filter: blur(7px) brightness(0.9) saturate(1.08);
  z-index: 0;
}

.hero-banner__video--main {
  object-fit: contain;
  z-index: 1;
  transform: scale(1.5);
}

.hero-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.28) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-banner__scroll {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  animation: bounce 2s ease infinite;
}

.hero-banner__scroll svg { width: 18px; height: 18px; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(4px); }
}

/* Gallery */
.gallery {
  padding: clamp(32px, 5vw, 48px) 0;
  background: var(--bg);
}

.gallery h2 {
  font-size: clamp(1.2rem, 3.5vw, 1.6rem);
  font-weight: 800;
  margin-bottom: 20px;
}

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

.gallery__item {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery__item--wide {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: contain;
  object-position: center;
  aspect-ratio: 4/3;
}

.gallery__item--wide img { aspect-ratio: auto; min-height: 280px; }

.gallery__item figcaption {
  padding: 10px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  color: var(--text-muted);
}

/* Site pitch under hero */
.site-pitch {
  background: linear-gradient(135deg, rgba(200, 169, 110, 0.14) 0%, rgba(200, 169, 110, 0.06) 100%);
  border-block: 1px solid rgba(200, 169, 110, 0.28);
  padding: clamp(14px, 3vw, 22px) 0;
}

.site-pitch__text {
  margin: 0;
  text-align: center;
  font-size: clamp(0.92rem, 2.8vw, 1.08rem);
  line-height: 1.5;
  font-weight: 500;
  color: var(--text);
  max-width: 52ch;
  margin-inline: auto;
}

h1.site-pitch__text {
  font-size: clamp(0.92rem, 2.8vw, 1.08rem);
  font-weight: 500;
}

.site-pitch__text strong {
  color: var(--accent-dark);
  font-weight: 800;
}

/* Trust */
.trust {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

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

.trust__item {
  text-align: center;
  padding: 8px;
}

.trust__item strong {
  display: block;
  font-size: clamp(0.72rem, 2vw, 0.85rem);
  margin-bottom: 2px;
}

.trust__item span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Colors */
.colors {
  padding: clamp(28px, 5vw, 48px) 0;
  background: var(--bg);
}

.colors__title {
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  font-weight: 800;
  text-align: center;
}

.colors__sub {
  text-align: center;
  color: var(--text-muted);
  margin: 8px 0 24px;
  font-size: 0.9rem;
}

.colors__subtitle {
  font-size: 0.95rem;
  font-weight: 800;
  margin: 12px 0 10px;
}

.colors__grid--body {
  margin-bottom: 18px;
}

.colors__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 2vw, 16px);
}

.color-card {
  background: var(--bg-white);
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s, opacity 0.25s, filter 0.25s;
  font-family: inherit;
  text-align: center;
}

.color-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.color-card--active:hover {
  transform: scale(1.04) translateY(-2px);
}

.colors__grid:has(.color-card--active) .color-card:not(.color-card--active) {
  opacity: 0.38;
  filter: grayscale(0.25) brightness(0.82);
}

.colors__grid:has(.color-card--active) .color-card:not(.color-card--active):hover {
  opacity: 0.55;
  filter: grayscale(0.1) brightness(0.92);
}

.color-card--active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.45), var(--shadow-lg);
  transform: scale(1.04);
  opacity: 1;
  filter: none;
  position: relative;
  z-index: 1;
}

.color-card--active .color-card__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--accent);
  border-radius: inherit;
  pointer-events: none;
}

.color-card--active .color-card__name {
  color: var(--accent-dark);
  background: linear-gradient(180deg, rgba(200, 169, 110, 0.18), rgba(200, 169, 110, 0.08));
}

.color-card__img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #e8e4df;
  display: flex;
  align-items: center;
  justify-content: center;
}

.color-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.color-card__name {
  display: block;
  padding: 10px 6px;
  font-weight: 700;
  font-size: clamp(0.78rem, 2vw, 0.88rem);
}

/* Catalog */
.catalog {
  padding: clamp(28px, 4vw, 40px) 0 48px;
  background: var(--bg-white);
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.catalog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.catalog__tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
}

.catalog__title {
  font-size: clamp(1.2rem, 3.5vw, 1.6rem);
  font-weight: 800;
}

.catalog__back {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
}

/* Compare slider */
.compare {
  margin-bottom: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  padding: 16px;
}

.compare__title {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
}

.compare__slider {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  user-select: none;
}

.compare__after,
.compare__before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.compare__before-wrap {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  border-right: 2px solid #fff;
}

.compare__before {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}

.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.compare__handle::after {
  content: '◀ ▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  color: var(--text);
  font-size: 0.55rem;
  padding: 6px 8px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 2px;
}

/* Catalog media row: client photos + mount video */
.catalog__media-row {
  --media-content-h: 320px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 28px);
  margin: 24px 0 28px;
  align-items: start;
}

/* Client photos marquee */
.client-marquee {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.client-marquee__title {
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-muted);
  text-align: left;
  flex-shrink: 0;
}

.client-marquee__rows {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.2vw, 12px);
  height: var(--media-content-h);
  min-height: var(--media-content-h);
}

.client-marquee__viewport {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.client-marquee__track {
  display: flex;
  align-items: stretch;
  gap: clamp(10px, 1.5vw, 14px);
  height: 100%;
  width: max-content;
  animation: clientMarquee 28s linear infinite;
  will-change: transform;
}

.client-marquee--paused .client-marquee__track,
.client-marquee__viewport:hover .client-marquee__track {
  animation-play-state: paused;
}

.client-marquee__track--rev {
  animation: clientMarqueeRev 32s linear infinite;
}

.client-marquee--paused .client-marquee__track--rev,
.client-marquee__viewport:hover .client-marquee__track--rev {
  animation-play-state: paused;
}

.client-marquee__slide {
  flex: 0 0 auto;
  height: 100%;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: zoom-in;
  background: var(--bg-soft);
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-marquee__slide:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.client-marquee__slide img {
  height: 100%;
  width: auto;
  max-width: min(320px, 42vw);
  object-fit: contain;
  object-position: center;
  display: block;
  pointer-events: none;
}

@keyframes clientMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes clientMarqueeRev {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.mount-videos {
  display: contents;
}

.mount-video {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mount-video__title {
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.mount-video__player {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  background: #111;
  box-shadow: var(--shadow);
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .catalog__media-row {
    grid-template-columns: 1fr;
    --media-content-h: clamp(220px, 56vw, 300px);
  }

}

.client-lightbox {
  padding: 0;
  border: none;
  background: transparent;
  max-width: none;
  max-height: none;
  overflow: visible;
}

.client-lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  margin: auto;
  width: fit-content;
  height: fit-content;
}

.client-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.client-lightbox__close {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
}

.client-lightbox__img {
  display: block;
  width: min(92vw, 960px);
  max-height: 90vh;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  margin: auto;
}

/* Featured */
.product-featured {
  margin-bottom: 20px;
}

.product-featured__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 100%;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-featured__img-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.product-featured__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-featured__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.2s;
}

.product-featured__img-btn:hover img {
  transform: scale(1.02);
}

.product-featured__body {
  padding: clamp(16px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-featured__badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  background: rgba(200, 169, 110, 0.15);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  width: fit-content;
}

.product-featured__body h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 800;
  margin-bottom: 6px;
}

.product-featured__body p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.product-featured__price {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.product-featured__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  width: 100%;
}

.product-featured__actions .btn {
  width: 100%;
  justify-content: center;
}

.catalog__media-row--collapsible {
  margin-top: 16px;
}

.catalog__media-row--collapsible[hidden] {
  display: none;
}

/* Product grid */
.catalog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.product-card {
  background: var(--bg);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.product-card__click {
  flex: 1;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
}

.product-card__img {
  aspect-ratio: 1;
  overflow: hidden;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-card__empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}

.product-card__body { padding: 12px 14px 8px; }

.product-card__body h4 {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
}

.product-card__footer { margin-top: 6px; }

.product-card__price {
  font-weight: 800;
  font-size: 0.9rem;
}

.product-card__add {
  margin: 0 12px 12px;
  width: calc(100% - 24px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 20px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn:active { transform: scale(0.97); }
.btn--sm { padding: 8px 14px; font-size: 0.78rem; }
.btn--block { width: 100%; }

/* Primary — тёмный акцент + белый текст (контраст) */
.btn--accent {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  box-shadow: 0 2px 10px rgba(166, 139, 82, 0.32);
}
.btn--accent:hover {
  background: #8f7540;
  border-color: #8f7540;
  color: #fff;
  box-shadow: 0 4px 16px rgba(143, 117, 64, 0.4);
}

.btn--dark {
  background: var(--club);
  border-color: var(--club);
  color: #fff;
  box-shadow: 0 2px 10px rgba(45, 106, 90, 0.28);
}
.btn--dark:hover {
  background: #245a4c;
  border-color: #245a4c;
  color: #fff;
}

.btn--ghost {
  background: var(--bg-soft);
  border-color: transparent;
  color: var(--text);
}
.btn--ghost:hover {
  background: #e5ded4;
  color: var(--text);
}

/* Secondary — та же «пилюля», белый фон + тёмный текст */
.btn--outline {
  background: var(--bg-white);
  border-color: rgba(26, 26, 26, 0.2);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.btn--outline:hover {
  border-color: var(--accent-dark);
  color: var(--accent-dark);
  background: rgba(200, 169, 110, 0.14);
  box-shadow: 0 2px 10px rgba(166, 139, 82, 0.18);
}

/* Sections */
.section { padding: clamp(40px, 7vw, 64px) 0; }

.section-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  margin-bottom: 6px;
}

.section h2 {
  font-size: clamp(1.2rem, 3.5vw, 1.65rem);
  font-weight: 800;
  margin-bottom: 14px;
}

/* Client reviews carousel */
.reviews {
  background: var(--bg-white);
  border-block: 1px solid var(--border);
}

.reviews__lead {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.reviews__slider {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.5vw, 12px);
}

.reviews__nav {
  flex: 0 0 auto;
  width: clamp(44px, 5.5vw, 52px);
  height: clamp(44px, 5.5vw, 52px);
  border: 2px solid var(--accent-dark);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 4px 16px rgba(168, 139, 82, 0.45);
  color: #fff;
  font-size: clamp(1.55rem, 3.2vw, 1.9rem);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 2px;
  transition: background 0.15s, box-shadow 0.15s, transform 0.15s, border-color 0.15s;
}

.reviews__nav:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 6px 20px rgba(168, 139, 82, 0.55);
}

.reviews__nav:active {
  transform: scale(0.96);
}

.reviews__viewport {
  flex: 1;
  min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}

.reviews__track {
  display: flex;
  gap: clamp(12px, 2vw, 16px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 14px;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.reviews__track:active {
  cursor: grabbing;
}

.reviews__track::-webkit-scrollbar {
  height: 6px;
}

.reviews__track::-webkit-scrollbar-thumb {
  background: rgba(200, 169, 110, 0.55);
  border-radius: 999px;
}

.review-card {
  flex: 0 0 calc((100% - 2 * clamp(12px, 2vw, 16px)) / 3);
  scroll-snap-align: start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: clamp(14px, 2.5vw, 20px);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.review-card__case {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-dark);
  margin-bottom: 10px;
}

.review-card__text {
  flex: 1;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 12px;
}

.review-card__author {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.review-card__product {
  font-size: 0.82rem;
  color: var(--text);
  padding-top: 8px;
  border-top: 1px solid var(--border);
  font-weight: 800;
}

.about { background: var(--bg); }

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: stretch;
}

.about__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about__text p { color: var(--text-muted); margin-bottom: 14px; font-size: 0.92rem; }

.about__list { list-style: none; display: grid; gap: 7px; }

.about__list li {
  padding-left: 18px;
  position: relative;
  font-size: 0.88rem;
  font-weight: 500;
}

.about__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.about__visual {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  height: 100%;
  min-height: clamp(300px, 36vw, 460px);
}

.about__visual--dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(8px, 1.2vw, 12px);
  height: 100%;
}

.about__pic {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-white);
  min-height: 0;
  height: 100%;
  padding: clamp(4px, 0.8vw, 8px);
}

.about__pic img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.club { background: var(--bg-white); }

.club__card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(45, 106, 90, 0.07) 0%, var(--bg) 70%);
  border: 1px solid rgba(45, 106, 90, 0.12);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
}

.club__bg {
  position: absolute;
  inset: 0;
  opacity: 0.18;
}

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

.club__content {
  position: relative;
  z-index: 1;
}

.club__content p { color: var(--text-muted); margin-bottom: 16px; max-width: 560px; font-size: 0.92rem; }

.club__links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }

.club__max { font-size: 0.82rem; color: var(--text-muted); }

/* Order */
.order { background: var(--bg); }

.order__layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

.order__lead {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.92rem;
}

.cart-panel {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.cart-panel__empty {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  padding: 12px;
}

.cart-panel__list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.cart-item__name { font-weight: 600; }

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-item__controls button {
  width: 26px;
  height: 26px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
}

.cart-item__sum { font-weight: 700; white-space: nowrap; }

.cart-item__remove {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0 4px;
}

.cart-panel__total {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  padding-top: 4px;
}

.cart-panel__total strong { font-size: 1.15rem; }

.order-form {
  display: grid;
  gap: 14px;
}

.order-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.order-form label { display: grid; gap: 5px; }

.order-form label span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.order-form input,
.order-form select,
.order-form textarea {
  font-family: inherit;
  font-size: 0.92rem;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.order-status {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 600;
}

.order-status--success {
  background: rgba(45, 106, 90, 0.12);
  color: #1f5c4d;
  border: 1px solid rgba(45, 106, 90, 0.22);
}

.order-status--error {
  background: rgba(180, 60, 50, 0.1);
  color: #8b2e26;
  border: 1px solid rgba(180, 60, 50, 0.2);
}

.order-form button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.order-qr {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--topbar-h) + 16px);
}

.order-qr img {
  display: block;
  margin: 0 auto 12px;
  border-radius: 8px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.order-qr p { font-size: 1rem; margin-bottom: 4px; }

.order-qr span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Cart bar */
.cart-bar[hidden] { display: none !important; }

.cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 250;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px clamp(12px, 4vw, 24px);
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
}

.cart-bar__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-bar__sum { font-weight: 700; font-size: 0.88rem; }

.cart-bar__hold {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cart-bar__hold input {
  flex: 1;
  min-width: 0;
  font-family: inherit;
  font-size: 0.92rem;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
}

.cart-bar__hold input:focus {
  outline: none;
  border-color: var(--accent);
}

.cart-bar__hold .btn { flex: 0 0 auto; white-space: nowrap; }

body:has(.cart-bar:not([hidden])) { padding-bottom: 108px; }

/* Modal */
.modal {
  border: none;
  padding: 0;
  max-width: none;
  width: 100%;
  height: 100%;
  max-height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.modal::backdrop { background: rgba(0, 0, 0, 0.45); }

.modal__inner {
  background: var(--bg-white);
  border-radius: var(--radius);
  max-width: 520px;
  width: calc(100% - 24px);
  max-height: calc(100vh - 48px);
  margin: auto;
  margin-top: 24px;
  overflow-y: auto;
  position: relative;
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.modal__gallery {
  position: relative;
  aspect-ratio: 4/3;
  background: #eee;
  overflow: hidden;
}

.modal__slides {
  position: absolute;
  inset: 0;
}

.modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 2px solid var(--accent-dark);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 4px 16px rgba(168, 139, 82, 0.5);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 2px;
  transition: background 0.15s, box-shadow 0.15s, transform 0.15s, border-color 0.15s;
}

.modal__nav:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 6px 20px rgba(168, 139, 82, 0.6);
}

.modal__nav:active {
  transform: translateY(-50%) scale(0.96);
}

.modal__nav[hidden] {
  display: none;
}

.modal__nav--prev { left: 10px; }
.modal__nav--next { right: 10px; }

.modal__counter {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.88);
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  pointer-events: none;
}

.modal__counter[hidden] {
  display: none;
}

.modal__pic {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__pic--active { opacity: 1; z-index: 1; }

.modal__pic picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.modal__pic img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  margin: auto;
}

.modal__body { padding: 20px; }

.modal__body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 6px;
  padding-right: 32px;
}

.modal__price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent-dark);
  margin-bottom: 10px;
}

.modal__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.modal__kit {
  list-style: none;
  margin-bottom: 12px;
  font-size: 0.82rem;
}

.modal__kit li {
  padding: 4px 0 4px 16px;
  position: relative;
}

.modal__kit li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--club);
  font-weight: 700;
}

.modal__meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Footer */
.footer {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-white);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}

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

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

/* FAQ (SEO) */
.faq__lead {
  color: var(--text-muted);
  margin: 8px 0 20px;
  max-width: 48ch;
}

.faq__list {
  display: grid;
  gap: 10px;
  max-width: 720px;
}

.faq__item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.faq__item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: '+';
  float: right;
  color: var(--accent-dark);
  font-weight: 800;
}

.faq__item[open] summary::after { content: '−'; }

.faq__item p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.faq__item a {
  color: var(--accent-dark);
  text-decoration: underline;
}

.faq__seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
  font-size: 0.85rem;
}

.faq__seo-links a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq__seo-links a:hover { color: var(--text); }

.car-guide {
  background: var(--bg-white);
  border-block: 1px solid var(--border);
}

.car-guide__lead {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 22px;
  max-width: 560px;
}

.car-guide__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.car-guide__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.car-guide__card:hover {
  border-color: rgba(200, 169, 110, 0.55);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.car-guide__card--bot {
  background: linear-gradient(145deg, #fff8ec 0%, var(--bg) 70%);
  border-color: rgba(200, 169, 110, 0.35);
}

.car-guide__card-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
}

.car-guide__card strong {
  font-size: 1.02rem;
  font-weight: 800;
}

.car-guide__card span:last-child {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.car-guide__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

/* LOCKED: хаб «Все о машине» — разделы как крупные кнопки с «Развернуть +». Не упрощать до голого details. */
.seo-page__content.guide-hub,
.guide-hub {
  max-width: 820px;
}

.guide-accordion {
  display: grid;
  gap: 2.5rem;
  margin: 8px 0 28px;
}

.guide-block {
  margin: 0;
  padding: 0;
  border: 2px solid rgba(26, 26, 26, 0.12);
  border-radius: calc(var(--radius) + 4px);
  background: var(--bg-white);
  scroll-margin-top: 88px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(26, 26, 26, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.guide-block:hover {
  border-color: rgba(200, 169, 110, 0.55);
  box-shadow: 0 12px 32px rgba(26, 26, 26, 0.1);
}

.guide-block[open] {
  border-color: rgba(200, 169, 110, 0.65);
  box-shadow: 0 14px 36px rgba(200, 169, 110, 0.14);
}

.guide-block--bot {
  background: linear-gradient(145deg, #fff8ec 0%, #fff 55%);
  border-color: rgba(200, 169, 110, 0.45);
}

.guide-block--forum {
  background: linear-gradient(145deg, #f4f7f6 0%, #fff 60%);
  border-color: rgba(45, 106, 90, 0.28);
}

.guide-block > summary {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "tag action"
    "title action"
    "preview action";
  gap: 6px 16px;
  align-items: center;
  padding: 22px 22px;
  cursor: pointer;
  list-style: none;
  min-height: 118px;
}

.guide-block > summary::-webkit-details-marker { display: none; }
.guide-block > summary::marker { content: ""; }

.guide-block__tag {
  grid-area: tag;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
}

.guide-block__title {
  grid-area: title;
  font-size: clamp(1.15rem, 2.6vw, 1.35rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
}

.guide-block__title strong {
  font-weight: 800;
}

.guide-block__preview {
  grid-area: preview;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 52ch;
}

.guide-block__action {
  grid-area: action;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: center;
  padding: 12px 14px;
  border-radius: 999px;
  background: var(--order);
  color: #fff !important;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(26, 26, 26, 0.18);
}

.guide-block--bot .guide-block__action {
  background: var(--order);
}

.guide-block--forum .guide-block__action {
  background: var(--club);
}

.guide-block__action-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.guide-block[open] .guide-block__action {
  background: var(--bg-soft);
  color: var(--text) !important;
  box-shadow: none;
}

.guide-block[open] .guide-block__action-icon {
  background: rgba(26, 26, 26, 0.08);
  color: var(--text);
}

.guide-block__body {
  padding: 4px 22px 22px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.guide-block__body h3 {
  margin: 18px 0 8px;
  font-size: 1.02rem;
}

.guide-block__body p,
.guide-block__body li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.guide-block__body ul,
.guide-block__body ol {
  padding-left: 1.2em;
  margin: 0 0 10px;
}

.guide-block__body .seo-page__cta {
  margin: 18px 0 0;
}

.guide-block__soon {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(45, 106, 90, 0.08);
  border: 1px dashed rgba(45, 106, 90, 0.35);
  color: var(--text) !important;
}

@media (max-width: 640px) {
  .guide-block > summary {
    grid-template-columns: 1fr;
    grid-template-areas:
      "tag"
      "title"
      "preview"
      "action";
    min-height: 0;
    padding: 18px 16px;
  }

  .guide-block__action {
    justify-self: start;
    margin-top: 4px;
  }
}


/* SEO landing pages */
.seo-page .topbar__brand { text-decoration: none; }

.seo-page__content {
  max-width: 720px;
}

.seo-page__content h1 {
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1.25;
  margin-bottom: 12px;
}

.seo-page__lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 22px;
}

.seo-page__hero {
  width: 100%;
  border-radius: var(--radius);
  margin: 8px 0 28px;
  box-shadow: var(--shadow);
}

.seo-bag-featured {
  margin: 8px 0 28px;
}

.seo-bag-featured__title {
  font-size: 1.35rem;
  margin: 0;
}

.seo-bag-clients {
  margin: 0 0 28px;
}

.seo-page__content h2 {
  font-size: 1.15rem;
  margin: 28px 0 10px;
}

.seo-page__content h3 {
  font-size: 1.02rem;
  margin: 18px 0 8px;
  font-weight: 700;
}

.seo-page__content p,
.seo-page__content li {
  color: var(--text-muted);
  margin-bottom: 8px;
}

.seo-page__content ul,
.seo-page__content ol {
  padding-left: 1.2em;
  margin-bottom: 12px;
}

/* Ссылки в тексте — акцент; кнопки .btn не перекрашивать (иначе белый→золотой на золотом) */
.seo-page__content a:not(.btn) {
  color: var(--accent-dark);
}

.seo-page__content a.btn--accent,
.seo-page__content a.btn--dark {
  color: #fff;
}

.seo-page__content a.btn--outline,
.seo-page__content a.btn--ghost {
  color: var(--text);
}

.seo-page__content a.btn--outline:hover {
  color: var(--accent-dark);
}

.seo-page__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 18px;
}

.forum-topics__intro {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 16px;
  max-width: 62ch;
}

.forum-topics {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
  margin: 0 0 28px;
}

.forum-topics__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 14px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.forum-topics__item:hover {
  border-color: rgba(45, 106, 90, 0.35);
  box-shadow: 0 8px 22px rgba(45, 106, 90, 0.08);
}

.forum-topics__main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: inherit;
  flex: 1;
}

.forum-topics__title {
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.3;
  color: var(--text);
}

.forum-topics__desc {
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.forum-topics__site {
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--club) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.seo-page__videos {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.seo-page__videos li {
  margin: 0 0 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.seo-page__videos a {
  display: inline-block;
  margin-top: 6px;
  font-weight: 800;
  text-decoration: none;
  color: var(--accent, #b8860b);
}

.seo-page__videos strong {
  color: var(--text, #1a1a1a);
  font-weight: 700;
}

.seo-page__videos a:hover {
  text-decoration: underline;
}

.seo-page__more {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
}

/* HowTo → accessories bridge */
.seo-merch {
  margin: 28px 0 8px;
  padding: 18px 18px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.seo-merch__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.seo-merch__text {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.seo-merch__links {
  margin: 0 0 14px;
  padding-left: 1.15em;
}

.seo-merch__links li {
  margin-bottom: 6px;
  color: var(--text-muted);
}

.seo-merch__links a {
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: none;
}

.seo-merch__links a:hover {
  text-decoration: underline;
}

.seo-merch__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.topbar__link--acc {
  background: rgba(168, 139, 82, 0.12);
  color: var(--accent-dark);
}

.topbar__link--acc:hover {
  background: rgba(168, 139, 82, 0.22);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(60px);
  background: var(--order);
  color: #fff;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  z-index: 300;
  pointer-events: none;
  max-width: 90vw;
}

.toast--show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 2; grid-row: span 1; }
  .gallery__item--wide img { min-height: 160px; }
  .about__visual--dual { grid-template-columns: 1fr 1fr; min-height: clamp(260px, 50vw, 380px); }
  .trust {
    padding: 8px 0;
  }

  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 8px;
  }

  .trust__item {
    padding: 4px 2px;
  }

  .trust__item strong {
    font-size: 0.68rem;
    margin-bottom: 1px;
    line-height: 1.25;
  }

  .trust__item span {
    font-size: 0.62rem;
    line-height: 1.3;
    display: block;
  }

  .site-pitch {
    padding: 10px 0;
  }

  .site-pitch__text {
    font-size: 0.86rem;
    line-height: 1.45;
  }
  .colors__grid { grid-template-columns: repeat(2, 1fr); }
  .product-featured__card { grid-template-columns: 1fr; }
  .about__inner { grid-template-columns: 1fr; }
  .about__visual { order: -1; }
  .order__layout { grid-template-columns: 1fr; }
  .order-qr { position: static; }
  .order-form__row { grid-template-columns: 1fr; }
  .catalog__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .reviews__viewport {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .reviews__track {
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 8px;
  }

  .reviews__track::-webkit-scrollbar {
    display: none;
  }

  .review-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    min-height: auto;
  }
  .cart-item { grid-template-columns: 1fr; gap: 6px; }
  .cart-item__controls { justify-self: start; }
  .hero-banner__scroll span { display: none; }
}

@media (max-width: 380px) {
  .topbar__link { padding: 7px 6px; font-size: 0.55rem; }
  .catalog__grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .cart-bar__hold { flex-direction: column; align-items: stretch; }
  .cart-bar__hold .btn { width: 100%; }
  body:has(.cart-bar:not([hidden])) { padding-bottom: 168px; }
}


/* SEO: ТО tables, articles, service-rating mock */
.seo-page__note {
  margin: 0 0 22px;
  padding: 12px 14px;
  border-left: 3px solid var(--accent, #b8860b);
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.seo-table-wrap {
  overflow-x: auto;
  margin: 12px 0 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.seo-table th,
.seo-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.seo-table th {
  background: var(--bg-soft);
  font-weight: 700;
}

.seo-table code {
  font-size: 0.86em;
}

.seo-articles {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.seo-articles li {
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}

.seo-articles a {
  font-weight: 700;
  text-decoration: none;
}

.seo-articles p {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.seo-mock {
  position: relative;
  margin: 8px 0 28px;
  padding: 18px 18px 16px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-soft), transparent);
  overflow: hidden;
}

.seo-mock__badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #1a1a1a;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.seo-mock__title {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.seo-mock__text {
  margin: 0 0 14px;
  color: var(--text-muted);
}

.seo-mock__ui {
  opacity: 0.72;
  filter: grayscale(0.15);
  pointer-events: none;
  user-select: none;
}

.seo-mock__label {
  display: block;
  margin-bottom: 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

.seo-mock__label select {
  display: block;
  width: 100%;
  max-width: 320px;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
}

.seo-mock__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.seo-mock__card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.seo-mock__stars {
  color: #b8860b;
  letter-spacing: 1px;
}

.seo-mock__hint {
  margin: 14px 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .seo-mock__cards { grid-template-columns: 1fr; }
}


/* SEO FAQ accordion */
.seo-faq { margin: 8px 0 22px; display: grid; gap: 8px; }
.seo-faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  padding: 0;
}
.seo-faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  font-weight: 700;
  color: var(--text, #1a1a1a);
}
.seo-faq__item summary::-webkit-details-marker { display: none; }
.seo-faq__item[open] summary { border-bottom: 1px solid var(--border); }
.seo-faq__item p {
  margin: 0;
  padding: 12px 14px 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Выбор канала: ТГ или Макс */
.channel-pick {
  border: none;
  padding: 0;
  margin: auto;
  background: transparent;
  max-width: none;
  width: fit-content;
  height: fit-content;
  color: var(--text);
}

.channel-pick::backdrop { background: rgba(0, 0, 0, 0.45); }

.channel-pick__card {
  background: var(--bg-white);
  border-radius: var(--radius);
  width: min(360px, calc(100vw - 32px));
  padding: 22px 20px 18px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.channel-pick__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.channel-pick__title {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 32px 4px 0;
}

.channel-pick__lead {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 16px;
}

.channel-pick__actions {
  display: grid;
  gap: 8px;
}
