/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0a0a0a;
  --dark: #1a1a1a;
  --gray-dark: #333;
  --gray: #666;
  --gray-light: #999;
  --border: #e5e5e5;
  --bg: #f8f8f6;
  --white: #ffffff;
  --gold: #b8963e;
  --gold-light: #d4af6a;
  --primary: #1a1a1a;
  --primary-hover: #333;
  --radius: 4px;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); background: var(--white); line-height: 1.6; font-size: 15px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section__title { font-size: 32px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 8px; }
.section__subtitle { color: var(--gray); font-size: 15px; margin-bottom: 24px; }
.section__sub { color: var(--gray); margin-bottom: 40px; font-size: 16px; }
.section__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.section__link { color: var(--gold); font-weight: 500; transition: opacity 0.2s; }
.section__link:hover { opacity: 0.7; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: var(--radius); font-weight: 500; cursor: pointer; border: none; transition: all 0.2s; white-space: nowrap; }
.btn--primary { background: var(--dark); color: var(--white); }
.btn--primary:hover { background: var(--gold); }
.btn--outline { background: transparent; color: var(--dark); border: 1.5px solid var(--dark); }
.btn--outline:hover { background: var(--dark); color: var(--white); }
.btn--white { background: var(--white); color: var(--dark); }
.btn--white:hover { background: var(--gold); color: var(--white); }
.btn--ghost { background: transparent; color: var(--gray); }
.btn--ghost:hover { color: var(--dark); }
.btn--sm { padding: 8px 16px; font-size: 13px; }
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--full { width: 100%; }
.btn--whatsapp { background: #25D366; color: white; padding: 10px 20px; border-radius: var(--radius); }
.btn--telegram { background: #0088cc; color: white; padding: 10px 20px; border-radius: var(--radius); }
.btn-icon { display: flex; align-items: center; color: var(--gray); transition: color 0.2s; }
.btn-icon:hover { color: var(--gold); }

/* ===== HEADER ===== */
.header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); }
.header__top { background: var(--dark); color: rgba(255,255,255,0.7); font-size: 13px; padding: 8px 0; }
.header__top-inner { display: flex; justify-content: space-between; align-items: center; }
.header__contacts { display: flex; align-items: center; gap: 16px; }
.header__contacts a { color: rgba(255,255,255,0.8); transition: color 0.2s; }
.header__contacts a:hover { color: var(--white); }
.header__main { padding: 16px 0; }
.header__main-inner { display: flex; align-items: center; gap: 20px; flex-wrap: nowrap; }

.logo { display: flex; flex-direction: column; line-height: 1.2; }
.logo__text { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; color: var(--dark); }
.logo__sub { font-size: 11px; color: var(--gray-light); letter-spacing: 0.5px; text-transform: uppercase; }
.logo--white .logo__text, .logo--white .logo__sub { color: rgba(255,255,255,0.7); }
.logo--white .logo__text { color: var(--white); }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; flex-shrink: 0; }
.nav__link { padding: 6px 10px; color: var(--dark); font-size: 14px; font-weight: 500; border-radius: var(--radius); transition: all 0.2s; white-space: nowrap; }
.nav__link:hover { background: var(--bg); color: var(--gold); }
.nav__dropdown { position: relative; }
.nav__dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 200px; padding: 8px 0; z-index: 200; }
.nav__dropdown:hover .nav__dropdown-menu { display: block; }
.nav__dropdown-menu a { display: block; padding: 8px 16px; font-size: 14px; line-height: 1.3; white-space: nowrap; transition: background 0.2s; }
.nav__dropdown-menu a:hover { background: var(--bg); color: var(--gold); }
.nav__dropdown-menu--brands {
  display: none;
  grid-template-columns: 1fr 1fr;
  min-width: 420px;
  max-height: 70vh;
  overflow-y: auto;
  gap: 0 8px;
  padding: 10px 6px;
}
.nav__dropdown-menu--brands a { padding: 6px 14px; }
.nav__dropdown:hover .nav__dropdown-menu--brands { display: grid; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); transition: all 0.3s; }

/* ===== HERO ===== */
.hero { position: relative; min-height: 580px; display: flex; align-items: center; background: var(--dark); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1509 100%); opacity: 0.95; }
.hero--video .hero__bg { background: #000; opacity: 1; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease-in-out; pointer-events: none; }
.hero__video.is-active { opacity: 1; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.25) 100%), linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%); }
.hero .container { position: relative; z-index: 1; }
.hero__content { position: relative; z-index: 1; color: var(--white); max-width: 640px; padding: 80px 0; }
.hero__dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.hero__dot { width: 28px; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.35); border: none; padding: 0; cursor: pointer; transition: background 0.25s, width 0.25s; }
.hero__dot:hover { background: rgba(255,255,255,0.6); }
.hero__dot.is-active { background: var(--gold-light); width: 44px; }
.hero__tag { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px; }
.hero__title { font-size: 56px; font-weight: 700; line-height: 1.1; letter-spacing: -1px; margin-bottom: 20px; }
.hero__sub { font-size: 18px; color: rgba(255,255,255,0.7); margin-bottom: 40px; line-height: 1.6; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__actions .btn--outline { color: var(--white); border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); backdrop-filter: blur(2px); }
.hero__actions .btn--outline:hover { background: var(--white); color: var(--dark); border-color: var(--white); }
.hero__trust { list-style: none; display: flex; gap: 28px; margin: 36px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,0.15); flex-wrap: wrap; }
.hero__trust li { display: flex; flex-direction: column; font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.4; max-width: 210px; }
.hero__trust li span { font-size: 15px; font-weight: 700; color: var(--gold-light); letter-spacing: 0.3px; margin-bottom: 4px; }

/* ===== BRANDS ===== */
.brands-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
.brand-card { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px; border: 1.5px solid var(--border); border-radius: var(--radius); transition: all 0.2s; text-align: center; gap: 8px; }
.brand-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); }
.brand-card__logo { max-height: 40px; max-width: 100px; object-fit: contain; }
.brand-card__name { font-size: 18px; font-weight: 700; letter-spacing: -0.5px; }
.brand-card__country { font-size: 12px; color: var(--gray-light); }

/* ===== CATEGORIES ===== */
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 16px; background: var(--bg); border-radius: var(--radius); transition: all 0.2s; text-align: center; font-weight: 500; font-size: 14px; }
.cat-card:hover { background: var(--dark); color: var(--white); transform: translateY(-2px); }
.cat-card__icon { font-size: 32px; }

/* ===== WHY ===== */
.why-section { background: var(--bg); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { background: var(--white); padding: 28px; border-radius: var(--radius); }
.why-card__icon { font-size: 32px; margin-bottom: 16px; }
.why-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.why-card p { color: var(--gray); font-size: 14px; line-height: 1.6; }

/* ===== PRODUCTS GRID ===== */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.2s; }
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: transparent; }
.product-card__img-wrap { display: block; position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg); }
.product-card__img-link { display: block; width: 100%; height: 100%; }
.product-card__img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform 0.3s; }
.product-card:hover .product-card__img { transform: scale(1.04); }
.product-card__img--placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--gray-light); font-size: 13px; text-align: center; }
.product-card__badge { position: absolute; top: 12px; left: 12px; background: var(--gold); color: white; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 2px; letter-spacing: 0.5px; text-transform: uppercase; }
.product-card__body { padding: 16px; }
.product-card__brand { font-size: 12px; color: var(--gold); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 6px; }
.product-card__name { font-size: 14px; font-weight: 500; line-height: 1.4; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__name:hover { color: var(--gold); }
.product-card__price { margin-bottom: 12px; }
.product-card__price-current { font-size: 18px; font-weight: 700; }
.product-card__price-old { font-size: 13px; color: var(--gray-light); text-decoration: line-through; margin-left: 8px; }

/* ===== PROJECTS ===== */
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.projects-grid-full { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.project-card { border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--border); }
.project-card--large { border-radius: var(--radius); overflow: hidden; }
.project-card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.project-card__img--placeholder { width: 100%; aspect-ratio: 16/9; background: var(--bg); display: flex; align-items: center; justify-content: center; color: var(--gray-light); }
.project-card__body { padding: 20px; }
.project-card__body h3, .project-card__body h2 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.project-card__body p { color: var(--gray); font-size: 14px; }
.project-card__brands { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { background: var(--bg); padding: 3px 10px; border-radius: 20px; font-size: 12px; color: var(--gray-dark); }

/* ===== BLOG ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-grid-full { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.blog-card { display: flex; flex-direction: column; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.2s; }
.blog-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.blog-card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-card__img--placeholder { width: 100%; aspect-ratio: 16/9; background: var(--bg); }
.blog-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card__title { font-size: 17px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.blog-card__excerpt { color: var(--gray); font-size: 14px; line-height: 1.6; flex: 1; }
.blog-card__date { font-size: 12px; color: var(--gray-light); margin-top: 12px; }

/* ===== CTA ===== */
.cta-section { background: var(--dark); padding: 64px 0; }
.cta-box { text-align: center; color: var(--white); max-width: 600px; margin: 0 auto; }
.cta-box h2 { font-size: 36px; font-weight: 700; margin-bottom: 16px; }
.cta-box p { color: rgba(255,255,255,0.7); font-size: 17px; margin-bottom: 32px; }

/* ===== PAGE HEADER ===== */
/* .page-header — см. единое определение ниже (светлый градиент, тёмный текст) */

/* ===== BREADCRUMB ===== */
.breadcrumb { padding: 16px 0; font-size: 13px; color: var(--gray); }
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb__sep { color: var(--gray-light); margin: 0 2px; }

/* ===== CATALOG ===== */
.catalog-layout { padding: 40px 0; }
.catalog-inner { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.filters { background: var(--bg); padding: 24px; border-radius: var(--radius); position: sticky; top: 120px; max-height: calc(100vh - 140px); overflow-y: auto; }
.filters::-webkit-scrollbar { width: 6px; }
.filters::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.filter-group { margin-bottom: 24px; }
.filter-group h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray-light); margin-bottom: 12px; }
.checkbox { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 4px 0; font-size: 14px; }
.checkbox input { cursor: pointer; }
.filter-cat-group { margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.filter-cat-group:last-of-type { border-bottom: none; }
.filter-cat-parent { font-size: 14px; }
.filter-cat-child { padding-left: 20px; font-size: 13px; color: var(--gray); }
.filter-cat-reset { margin-top: 10px; font-style: italic; color: var(--gray-light); }
.price-range { display: flex; gap: 8px; margin-top: 14px; }
.price-range input { width: 50%; padding: 8px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 13px; }

/* Двойной ползунок цены */
.price-slider { position: relative; height: 32px; margin: 10px 6px 0; }
.price-slider__track {
  position: absolute; left: 0; right: 0; top: 50%;
  height: 4px; background: var(--border); border-radius: 2px; transform: translateY(-50%);
}
.price-slider__fill { position: absolute; height: 100%; background: var(--gold); border-radius: 2px; }
.price-slider__input {
  -webkit-appearance: none; appearance: none;
  position: absolute; left: 0; right: 0; top: 0;
  width: 100%; height: 32px;
  background: transparent; pointer-events: none;
  margin: 0;
}
.price-slider__input::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--gold);
  cursor: pointer; pointer-events: auto;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  margin-top: 0;
}
.price-slider__input::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--gold);
  cursor: pointer; pointer-events: auto;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.price-slider__input::-webkit-slider-runnable-track { background: transparent; height: 32px; }
.price-slider__input::-moz-range-track { background: transparent; height: 32px; }
.catalog-toolbar { display: flex; justify-content: flex-end; margin-bottom: 20px; }
.sort-form select { padding: 8px 12px; border: 1.5px solid var(--border); border-radius: var(--radius); cursor: pointer; }

/* ===== BRAND FILTER ===== */
.brand-filter { display: flex; flex-wrap: wrap; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.brand-filter__btn { padding: 8px 16px; border: 1.5px solid var(--border); border-radius: 20px; font-size: 13px; font-weight: 500; transition: all 0.2s; }
.brand-filter__btn:hover, .brand-filter__btn--active { border-color: var(--dark); background: var(--dark); color: var(--white); }
.brand-filter__btn--all:not(.brand-filter__btn--active) { border-color: var(--dark); }

/* ===== BRAND HERO ===== */
.brand-hero { background: var(--dark); background-size: cover; background-position: center; padding: 80px 0; }
.brand-hero__content { color: var(--white); max-width: 600px; }
.brand-hero__logo { max-height: 60px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.brand-hero__name { font-size: 52px; font-weight: 700; margin-bottom: 8px; }
.brand-hero__country { color: var(--gold-light); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.brand-hero__desc { color: rgba(255,255,255,0.7); font-size: 17px; line-height: 1.7; }
.brand-hero__more {
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
  padding: 11px 22px;
  border: 1px solid rgba(212, 175, 71, 0.55);
  border-radius: 999px;
  color: var(--gold-light, #d4af47);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.brand-hero__more:hover {
  background: rgba(212, 175, 71, 0.12);
  border-color: var(--gold-light, #d4af47);
  color: #fff;
}
.brand-seo__title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.4px;
}
#brand-about { scroll-margin-top: 80px; }
@media (max-width: 720px) {
  .brand-seo__title { font-size: 24px; margin-bottom: 18px; }
  .brand-hero__more { font-size: 13px; padding: 10px 18px; }
}

/* ===== PRODUCT PAGE ===== */
.product-page { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 40px 0; }
.gallery__main { position: relative; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--bg); }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.gallery__main--placeholder { display: flex; align-items: center; justify-content: center; color: var(--gray-light); font-size: 18px; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.92); border: 1.5px solid var(--border); cursor: pointer; font-size: 26px; line-height: 1; display: flex; align-items: center; justify-content: center; color: var(--dark); transition: background .15s, transform .15s; z-index: 2; }
.gallery__nav:hover { background: white; transform: translateY(-50%) scale(1.05); }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }
.gallery__counter { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,0.6); color: white; padding: 4px 10px; border-radius: 12px; font-size: 12px; font-weight: 500; z-index: 2; }
.gallery__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gallery__thumb { width: 72px; height: 72px; object-fit: contain; border: 1.5px solid var(--border); border-radius: var(--radius); cursor: pointer; padding: 4px; background: var(--white); transition: border-color .15s, transform .15s; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); display: none; align-items: center; justify-content: center; z-index: 999; padding: 40px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 95vw; max-height: 90vh; object-fit: contain; cursor: default; user-select: none; }
.lightbox__close { position: absolute; top: 18px; right: 24px; background: none; border: none; color: white; font-size: 42px; line-height: 1; cursor: pointer; padding: 4px 12px; border-radius: 8px; transition: background .15s; }
.lightbox__close:hover { background: rgba(255,255,255,0.1); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.12); border: none; cursor: pointer; font-size: 36px; line-height: 1; color: white; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.lightbox__nav:hover { background: rgba(255,255,255,0.25); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__counter { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.85); font-size: 14px; background: rgba(0,0,0,0.4); padding: 6px 14px; border-radius: 14px; }
.gallery__thumb:hover { border-color: var(--gold); transform: translateY(-1px); }
.gallery__thumb.active { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.product-info__brand { font-size: 13px; color: var(--gold); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 12px; }
.product-info__brand a { color: var(--gold); }
.product-info__name { font-size: 28px; font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
.product-info__sku { font-size: 13px; color: var(--gray-light); margin-bottom: 16px; }
.product-info__price { margin-bottom: 16px; display: flex; align-items: baseline; gap: 12px; }
.price-main { font-size: 36px; font-weight: 700; }
.price-old { font-size: 18px; color: var(--gray-light); text-decoration: line-through; }
.price-discount { background: #e8f5e9; color: #2e7d32; font-size: 13px; font-weight: 600; padding: 3px 8px; border-radius: 3px; }
.product-info__status { margin-bottom: 20px; }
.in-stock { color: #2e7d32; font-weight: 500; font-size: 14px; }
.out-of-stock { color: var(--gray); font-size: 14px; }
.product-info__short-desc { color: var(--gray); font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
.product-info__actions { display: flex; gap: 12px; margin-bottom: 24px; }
.product-info__guarantees { display: flex; flex-direction: column; gap: 8px; }
.guarantee-item { font-size: 13px; color: var(--gray); }

/* Tabs */
.product-tabs { padding: 40px 0; border-top: 1px solid var(--border); }
.tabs__nav { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 32px; }
.tab-btn { background: none; border: none; padding: 12px 24px; font-size: 15px; font-weight: 500; color: var(--gray); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.2s; }
.tab-btn.active, .tab-btn:hover { color: var(--dark); border-bottom-color: var(--dark); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr:nth-child(even) td { background: var(--bg); }
.specs-table td { padding: 10px 16px; border-bottom: 1px solid var(--border); font-size: 14px; }
.specs-table td:first-child { color: var(--gray); width: 40%; }

/* ===== ARTICLE ===== */
.article { max-width: 800px; margin: 40px auto; }
.article__header h1 { font-size: 38px; font-weight: 700; margin-bottom: 12px; }
.article__header time { color: var(--gray-light); font-size: 14px; }
.article__cover { width: 100%; border-radius: var(--radius); margin: 24px 0; }
.article__content { font-size: 16px; line-height: 1.8; color: var(--dark); }
.article__content h2 { font-size: 26px; font-weight: 700; margin: 32px 0 16px; }
.article__content h3 { font-size: 20px; font-weight: 600; margin: 24px 0 12px; }
.article__content p { margin-bottom: 16px; }
.article__content ul, .article__content ol { padding-left: 24px; margin-bottom: 16px; }
.article__content li { margin-bottom: 8px; }
.article__cta { max-width: 800px; margin: 40px auto; background: var(--bg); padding: 40px; border-radius: var(--radius); text-align: center; }
.article__cta h3 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.article__cta p { color: var(--gray); margin-bottom: 24px; }

/* ===== ABOUT ===== */
.about-section { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; align-items: start; }
.about-text h2 { font-size: 26px; font-weight: 700; margin: 32px 0 16px; }
.about-text h2:first-child { margin-top: 0; }
.about-text p { color: var(--gray); line-height: 1.8; margin-bottom: 12px; }
.about-list li { padding: 6px 0; font-size: 15px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card { background: var(--bg); padding: 24px; border-radius: var(--radius); text-align: center; }
.stat-card__num { font-size: 40px; font-weight: 700; color: var(--gold); }
.stat-card__label { font-size: 13px; color: var(--gray); margin-top: 4px; }

/* ===== CONTACTS ===== */
.contacts-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-block { margin-bottom: 28px; }
.contact-block h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray-light); margin-bottom: 8px; }
.contact-link { font-size: 20px; font-weight: 600; }
.contact-link:hover { color: var(--gold); }
.messenger-links { display: flex; gap: 12px; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--gray); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 15px; transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--dark); }
.form-note { font-size: 11px; color: var(--gray-light); margin-top: 8px; text-align: center; }

/* ===== MODAL ===== */
.modal { display: none; position: fixed; inset: 0; z-index: 1000; }
.modal.open { display: flex; align-items: center; justify-content: center; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.modal__box { position: relative; background: var(--white); border-radius: var(--radius); padding: 40px; width: 100%; max-width: 460px; margin: 20px; }
.modal__box h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.modal__box p { color: var(--gray); margin-bottom: 24px; }
.modal__close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--gray); }
.modal__close:hover { color: var(--dark); }

/* ===== FAB ===== */
.fab { position: fixed; bottom: 32px; right: 32px; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: white; font-size: 22px; border: none; cursor: pointer; box-shadow: 0 4px 16px rgba(184,150,62,0.4); z-index: 999; transition: transform 0.2s; }
.fab:hover { transform: scale(1.1); }

/* ===== PAGINATION ===== */
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 40px 0; }
.pagination__btn { padding: 10px 20px; border: 1.5px solid var(--border); border-radius: var(--radius); font-weight: 500; transition: all 0.2s; }
.pagination__btn:hover { border-color: var(--dark); background: var(--dark); color: white; }

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 80px 0; }
.empty-state p { color: var(--gray); font-size: 17px; margin-bottom: 24px; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 60px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer__col h4 { color: var(--white); font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 8px; }
.footer__col a { color: rgba(255,255,255,0.6); font-size: 14px; transition: color 0.2s; }
.footer__col a:hover { color: var(--gold-light); }
.footer__col p { font-size: 14px; margin-bottom: 6px; }
.footer__col--brand p { font-size: 14px; margin: 16px 0; line-height: 1.7; }
.footer__social { display: flex; gap: 12px; margin-top: 16px; }
.footer__social a { color: rgba(255,255,255,0.6); font-size: 13px; }
.footer__social a:hover { color: var(--gold-light); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.4); }

/* ===== SEARCH ===== */
.header__search { position: relative; display: flex; align-items: center; flex-shrink: 0; }
.header__search input { padding: 8px 14px; border: 1.5px solid var(--border); border-radius: 20px; font-size: 14px; width: 180px; outline: none; transition: border-color 0.2s, width 0.2s; }
.header__search input:focus { border-color: var(--gold); width: 240px; }
.header__search button { position: absolute; right: 10px; background: none; border: none; cursor: pointer; font-size: 14px; }
.search-dropdown { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: white; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); z-index: 300; }
.search-dropdown.open { display: block; }
.search-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 13px; transition: background 0.15s; }
.search-item:last-child { border-bottom: none; }
.search-item:hover { background: var(--bg); }
.search-item__name { font-weight: 500; }
.search-item__brand { color: var(--gray-light); font-size: 12px; }
.search-item__price { font-weight: 600; color: var(--gold); white-space: nowrap; }
.search-form-big { display: flex; gap: 12px; margin-top: 16px; max-width: 600px; }
.search-form-big input { flex: 1; padding: 12px 18px; border: 2px solid rgba(255,255,255,0.3); border-radius: var(--radius); font-size: 16px; background: rgba(255,255,255,0.1); color: white; }
.search-form-big input::placeholder { color: rgba(255,255,255,0.5); }
.search-form-big input:focus { outline: none; border-color: var(--gold-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .logo__sub { display: none; }
  .header__main-inner { gap: 14px; }
  .nav__link { padding: 6px 8px; font-size: 13px; }
  .header__search input { width: 140px; }
  .header__search input:focus { width: 200px; }
}

@media (max-width: 1024px) {
  .brands-grid { grid-template-columns: repeat(4, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__col--brand { grid-column: span 3; }
  .hero__title { font-size: 42px; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .hero__title { font-size: 32px; }
  .hero__sub { font-size: 15px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .catalog-inner { grid-template-columns: 1fr; }
  .filters { position: static; }
  .product-page { grid-template-columns: 1fr; }
  .about-section { grid-template-columns: 1fr; }
  .contacts-layout { grid-template-columns: 1fr; }
  .blog-grid, .blog-grid-full { grid-template-columns: 1fr; }
  .projects-grid, .projects-grid-full { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col--brand { grid-column: span 2; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .section__title { font-size: 26px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .product-info__actions { flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__col--brand { grid-column: span 1; }
}

/* ===== Страница бренда: навигация и секции по категориям ===== */
.brand-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
  margin: 0 -24px 24px;
  padding: 14px 24px;
}
.brand-nav__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
}
.brand-nav__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.brand-nav__group-title {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999;
  font-weight: 600;
}
.brand-nav__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.brand-nav__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  color: #222;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.brand-nav__chip:hover {
  border-color: #222;
  background: #222;
  color: #fff;
}
.brand-nav__count {
  font-size: 11px;
  background: #f2f2f2;
  color: #666;
  padding: 1px 7px;
  border-radius: 999px;
  font-weight: 600;
}
.brand-nav__chip:hover .brand-nav__count {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.brand-cat {
  scroll-margin-top: 120px;
}
.brand-cat__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.brand-cat__brand {
  color: #999;
  font-weight: 400;
  font-size: 0.75em;
  margin-left: 8px;
}
.brand-cat__all {
  font-size: 13px;
  color: #666;
  text-decoration: none;
  border-bottom: 1px dashed #ccc;
  white-space: nowrap;
}
.brand-cat__all:hover {
  color: #222;
  border-bottom-color: #222;
}
.brand-cat__more {
  margin-top: 20px;
  text-align: center;
}

@media (max-width: 720px) {
  .brand-nav { margin: 0 -16px 20px; padding: 12px 16px; }
  .brand-nav__inner { gap: 16px 20px; }
}

/* ===== Описание товара ===== */
.product-description p {
  margin-bottom: 14px;
  line-height: 1.75;
  color: #333;
  font-size: 15px;
}
.product-description p:last-child { margin-bottom: 0; }
.product-description h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: #111;
  letter-spacing: -0.01em;
}
.product-description h3:first-child { margin-top: 0; }
.product-description ul {
  margin: 0 0 16px;
  padding-left: 22px;
  line-height: 1.75;
  color: #333;
  font-size: 15px;
}
.product-description ul li { margin-bottom: 6px; }
.product-description strong { color: #111; font-weight: 600; }

/* ===== Чекбокс "Сравнить" на карточке товара ===== */
.product-card { position: relative; }
.product-card__compare {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--dark);
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s, background .2s;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}
.product-card:hover .product-card__compare,
.product-card__compare:has(input:checked) { opacity: 1; }
.product-card__compare:hover { background: var(--white); }
.product-card__compare input { cursor: pointer; accent-color: var(--gold); }
.product-card__compare:has(input:checked) { background: var(--gold); color: var(--white); }

/* ===== Плавающая панель сравнения ===== */
.compare-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--dark);
  color: var(--white);
  transform: translateY(100%);
  transition: transform .3s ease;
  z-index: 150;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
}
.compare-bar.open { transform: translateY(0); }
.compare-bar__inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 16px; }
.compare-bar__info { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.compare-bar__label { font-size: 13px; color: var(--gray-light); }
.compare-bar__count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 26px; height: 26px; padding: 0 8px;
  background: var(--gold); color: var(--white);
  border-radius: 13px; font-weight: 600; font-size: 13px;
}
.compare-bar__category { font-weight: 500; }
.compare-bar__actions { display: flex; align-items: center; gap: 10px; }
.compare-bar__clear {
  background: transparent; border: 1px solid rgba(255,255,255,0.3);
  color: var(--white); width: 32px; height: 32px; border-radius: 50%;
  font-size: 20px; line-height: 1; cursor: pointer; transition: background .2s;
}
.compare-bar__clear:hover { background: rgba(255,255,255,0.1); }

/* ===== Страница сравнения ===== */
.compare-wrap { overflow-x: auto; margin-bottom: 24px; }
.compare-table { border-collapse: collapse; width: 100%; min-width: 600px; background: var(--white); }
.compare-table th, .compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  vertical-align: top;
  text-align: left;
  font-size: 14px;
}
.compare-table th:last-child, .compare-table td:last-child { border-right: none; }
.compare-table__label {
  width: 200px;
  background: var(--bg);
  font-weight: 500;
  color: var(--gray-dark);
  text-transform: capitalize;
  position: sticky;
  left: 0;
  z-index: 1;
}
.compare-table__product { min-width: 220px; position: relative; padding-top: 36px; }
.compare-remove {
  position: absolute; top: 8px; right: 8px;
  background: var(--white); border: 1px solid var(--border);
  width: 26px; height: 26px; border-radius: 50%;
  cursor: pointer; font-size: 16px; line-height: 1;
  color: var(--gray); transition: all .2s;
}
.compare-remove:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }
.compare-product-link { display: block; color: var(--dark); }
.compare-product__img {
  width: 100%; height: 160px; object-fit: contain;
  background: var(--bg); border-radius: var(--radius); margin-bottom: 10px;
}
.compare-product__img--placeholder { background: var(--bg); }
.compare-product__brand { font-size: 12px; color: var(--gray-light); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.compare-product__name { font-weight: 500; line-height: 1.35; }
.compare-table__price { font-weight: 600; color: var(--gold); font-size: 16px; }
.compare-table__row--diff { background: #fff8ea; }
.compare-table__row--diff .compare-table__label { background: #fff2d6; color: var(--dark); font-weight: 600; }

.compare-actions {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; padding: 16px 0;
}

@media (max-width: 768px) {
  .compare-table__label { width: 140px; font-size: 12px; padding: 10px; }
  .compare-table__product { min-width: 180px; }
  .compare-product__img { height: 120px; }
  .compare-bar__inner { padding: 10px 16px; }
  .compare-bar__category { display: none; }
}

/* ===== REVIEWS ===== */
.reviews-section { padding: 48px 0; border-top: 1px solid var(--border); }
.reviews-summary { display: flex; align-items: center; gap: 24px; margin-bottom: 32px; padding: 20px 24px; background: var(--bg); border-radius: var(--radius); }
.reviews-summary__avg { display: flex; align-items: center; gap: 14px; }
.reviews-summary__number { font-size: 42px; font-weight: 700; color: var(--dark); line-height: 1; }
.reviews-summary__stars { display: flex; gap: 2px; font-size: 20px; }
.reviews-summary__count { color: var(--gray); font-size: 14px; }
.review-star { color: #ddd; font-size: 18px; line-height: 1; }
.review-star--on { color: var(--gold); }

.reviews-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.review { padding: 20px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.review__head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.review__author { font-weight: 600; color: var(--dark); }
.review__rating { display: flex; gap: 2px; }
.review__date { color: var(--gray-light); font-size: 13px; margin-left: auto; }
.review__comment { color: var(--gray-dark); line-height: 1.55; }
.reviews-empty { color: var(--gray); padding: 24px 0; }

.review-form-wrap { margin-top: 32px; padding: 24px; background: var(--bg); border-radius: var(--radius); max-width: 640px; }
.review-form-wrap h3 { font-size: 18px; margin-bottom: 16px; }
.review-form .form-group { margin-bottom: 14px; }
.review-form label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--gray-dark); }
.review-form input[type="text"], .review-form textarea {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--white); outline: none; transition: border-color .15s;
  font-family: inherit; font-size: 14px;
}
.review-form input[type="text"]:focus, .review-form textarea:focus { border-color: var(--dark); }
.review-form textarea { resize: vertical; min-height: 96px; }

.rating-input { display: flex; gap: 4px; }
.rating-input__star {
  background: none; border: none; cursor: pointer;
  font-size: 26px; line-height: 1; color: #ddd;
  padding: 2px 4px; transition: color .1s;
}
.rating-input__star:hover, .rating-input__star--on { color: var(--gold); }

/* ===== WHY US PAGE ===== */
.page-header { padding: 48px 0 32px; background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%); color: var(--dark); }
.page-header h1 { font-size: 40px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 10px; color: var(--dark); }
.page-header p { color: var(--gray); font-size: 16px; }
.page-header__sub { color: var(--gray); font-size: 16px; max-width: 680px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.why-card {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all .2s;
}
.why-card:hover { border-color: var(--gold); box-shadow: 0 4px 20px rgba(184,150,62,0.12); }
.why-card__icon { font-size: 36px; margin-bottom: 14px; line-height: 1; }
.why-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.why-card p { color: var(--gray); font-size: 14px; line-height: 1.55; }

.why-compare { background: var(--bg); border-radius: 10px; padding: 48px 32px; }
.compare-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}
.compare-col {
  background: var(--white);
  border-radius: 10px;
  padding: 24px;
  border: 2px solid var(--border);
}
.compare-col--us { border-color: #c5e1a5; }
.compare-col--them { border-color: #ffccbc; background: #fff9f7; }
.compare-col__head {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.compare-col ul { display: flex; flex-direction: column; gap: 10px; }
.compare-col li {
  font-size: 14px;
  line-height: 1.5;
  padding-left: 22px;
  position: relative;
  color: var(--gray-dark);
}
.compare-col--us li::before { content: "✓"; position: absolute; left: 0; color: #558b2f; font-weight: 700; }
.compare-col--them li::before { content: "✕"; position: absolute; left: 0; color: #d84315; font-weight: 700; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.step {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  position: relative;
}
.step__num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--dark); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px;
  margin-bottom: 14px;
}
.step h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--gray); font-size: 14px; line-height: 1.5; }

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.guarantee-block {
  padding: 22px 24px;
  background: var(--bg);
  border-radius: 10px;
  border-left: 4px solid var(--gold);
}
.guarantee-block h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.guarantee-block p { color: var(--gray-dark); font-size: 14px; line-height: 1.55; }

.why-cta__box {
  background: var(--dark);
  color: var(--white);
  border-radius: 10px;
  padding: 48px 32px;
  text-align: center;
}
.why-cta__box h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.why-cta__box p { color: rgba(255,255,255,0.75); font-size: 16px; margin-bottom: 24px; }
.why-cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.why-cta__box .btn--primary { background: var(--gold); color: var(--dark); }
.why-cta__box .btn--primary:hover { background: var(--gold-light); color: var(--dark); }
.why-cta__box .btn--outline { border-color: rgba(255,255,255,0.4); color: var(--white); }
.why-cta__box .btn--outline:hover { background: var(--white); color: var(--dark); border-color: var(--white); }

@media (max-width: 768px) {
  .compare-box { grid-template-columns: 1fr; }
  .why-compare { padding: 32px 20px; }
  .page-header h1 { font-size: 28px; }
}

/* FAQ */
.faq-section { background: var(--bg-soft, #f7f5f1); }
.faq-list { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border, #e6e2d8); border-radius: 8px; padding: 0; overflow: hidden; transition: box-shadow .2s; }
.faq-item[open] { box-shadow: 0 6px 24px rgba(0,0,0,0.05); }
.faq-item__q { cursor: pointer; font-weight: 600; font-size: 17px; padding: 20px 56px 20px 24px; color: var(--dark, #1a1a1a); list-style: none; position: relative; user-select: none; }
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after { content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 300; color: var(--gold, #b8986b); transition: transform .2s; }
.faq-item[open] .faq-item__q::after { content: '−'; }
.faq-item__a { padding: 0 24px 20px 24px; color: var(--muted, #555); line-height: 1.6; font-size: 15px; }
@media (max-width: 640px) {
  .faq-item__q { font-size: 15px; padding: 16px 48px 16px 18px; }
  .faq-item__a { font-size: 14px; padding: 0 18px 16px 18px; }
}

/* Selection landing */
.selection-hero { padding: 48px 0 24px; }
.selection-hero h1 { font-size: 34px; font-weight: 600; margin: 0 0 14px; }
.selection-hero__intro { max-width: 820px; color: var(--muted, #555); line-height: 1.7; font-size: 16px; }

/* Installation */
.install-hero { padding: 56px 0 32px; background: linear-gradient(180deg, #f7f5f1 0%, #fff 100%); }
.install-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border, #e6e2d8); border-radius: 8px; overflow: hidden; }
.install-table th, .install-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border, #e6e2d8); }
.install-table th { background: #faf8f4; font-weight: 600; font-size: 14px; color: var(--dark, #1a1a1a); }
.install-table tr:last-child td { border-bottom: none; }
.install-table td:last-child { text-align: right; font-weight: 600; color: var(--gold, #b8986b); white-space: nowrap; }

/* Stock status badges */
.stock-badge { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 500; letter-spacing: 0.3px; }
.stock-badge--in_stock { background: #e8f5e9; color: #2e7d32; }
.stock-badge--preorder { background: #fff3e0; color: #e65100; }
.stock-badge--showroom { background: #e3f2fd; color: #1565c0; }

/* Best price button */
.btn--best-price { background: #fff; border: 2px solid var(--gold, #b8986b); color: var(--gold, #b8986b); padding: 12px 24px; border-radius: 6px; cursor: pointer; font-weight: 600; transition: all .2s; }
.btn--best-price:hover { background: var(--gold, #b8986b); color: #fff; }

/* Blog category tabs */
.blog-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; border-bottom: 1px solid var(--border, #e6e2d8); }
.blog-tab { padding: 10px 18px; color: var(--muted, #555); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 500; font-size: 15px; transition: all .2s; }
.blog-tab:hover { color: var(--dark, #1a1a1a); }
.blog-tab.active { color: var(--dark, #1a1a1a); border-bottom-color: var(--gold, #b8986b); }

/* ===== LEGAL PAGES (privacy / offer / delivery / payment / warranty) ===== */
.legal { max-width: 820px; margin: 0 auto; padding: 40px 0 80px; font-size: 16px; line-height: 1.7; color: var(--dark); }
.legal h2 { font-size: 22px; font-weight: 600; margin: 32px 0 12px; color: var(--dark); letter-spacing: -0.2px; }
.legal h3 { font-size: 18px; font-weight: 600; margin: 24px 0 8px; color: var(--dark); }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 14px 24px; }
.legal li { margin: 4px 0; }
.legal a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--dark); }
.legal strong { font-weight: 600; color: var(--dark); }
.legal .requisites { list-style: none; margin-left: 0; background: var(--bg); padding: 16px 20px; border-radius: var(--radius); font-size: 15px; }
.legal .requisites li { margin: 6px 0; }
.legal__cta { margin-top: 32px; padding: 20px 24px; background: var(--bg); border-left: 3px solid var(--gold); border-radius: var(--radius); }
.legal__cta p { margin: 0; }
.page-header__sub { color: var(--gray); font-size: 14px; margin-top: 8px; }

/* ===== FOOTER: реквизиты ===== */
.footer__requisites { margin-top: 32px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.08); font-size: 12px; line-height: 1.6; color: rgba(255,255,255,0.5); }
.footer__requisites p { margin: 0 0 4px; }
.footer__requisites strong { color: rgba(255,255,255,0.75); font-weight: 500; }
.footer__bottom p a { color: rgba(255,255,255,0.7); text-decoration: underline; }
.footer__bottom p a:hover { color: var(--gold-light); }

/* ===== COOKIE BANNER ===== */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9000; background: var(--dark); color: var(--white); border-radius: 8px; box-shadow: 0 12px 40px rgba(0,0,0,0.28); padding: 16px 20px; max-width: 980px; margin-left: auto; margin-right: auto; }
.cookie-banner__inner { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.cookie-banner__text { flex: 1 1 320px; font-size: 13px; line-height: 1.55; color: rgba(255,255,255,0.85); margin: 0; }
.cookie-banner__text a { color: var(--gold-light); text-decoration: underline; }
.cookie-banner__text a:hover { color: var(--white); }
.cookie-banner .btn--primary { background: var(--gold); color: var(--dark); flex: 0 0 auto; }
.cookie-banner .btn--primary:hover { background: var(--gold-light); }
@media (max-width: 480px) { .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 12px 14px; } .cookie-banner__inner { gap: 10px; } }

/* ===== 404 PAGE ===== */
.not-found { padding: 80px 0 100px; background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%); }
.not-found__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.not-found__code { font-size: 120px; font-weight: 700; color: var(--gold); letter-spacing: -4px; line-height: 1; margin-bottom: 12px; }
.not-found__title { font-size: 32px; font-weight: 700; margin-bottom: 14px; letter-spacing: -0.3px; }
.not-found__text { font-size: 16px; line-height: 1.6; color: var(--gray); margin-bottom: 28px; }
.not-found__actions { display: flex; gap: 12px; justify-content: center; margin-bottom: 36px; flex-wrap: wrap; }
.not-found__links { display: flex; gap: 10px 18px; flex-wrap: wrap; justify-content: center; padding-top: 28px; border-top: 1px solid var(--border); }
.not-found__links a { color: var(--gray); font-size: 14px; transition: color .15s; }
.not-found__links a:hover { color: var(--gold); }
@media (max-width: 640px) {
  .not-found { padding: 56px 0 72px; }
  .not-found__code { font-size: 84px; }
  .not-found__title { font-size: 24px; }
}

/* ===== CATEGORY SEO BLOCKS ===== */
.category-intro {
  margin-top: 18px;
  max-width: 860px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--gray);
}
.category-intro strong { color: var(--dark); font-weight: 600; }
.category-seo {
  max-width: 960px;
  margin: 56px auto 40px;
  padding: 0 4px;
  color: var(--dark);
}
.category-seo h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 36px 0 14px;
  letter-spacing: -0.3px;
}
.category-seo h2:first-child { margin-top: 0; }
.category-seo h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 22px 0 10px;
}
.category-seo p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 14px;
  color: #2a2a2a;
}
.category-seo a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.category-seo a:hover { color: var(--gold-light); }
.category-seo strong { font-weight: 600; color: var(--dark); }
@media (max-width: 720px) {
  .category-seo h2 { font-size: 22px; }
  .category-seo p, .category-intro { font-size: 14px; }
}

/* === FAQ block (category + brand) === */
.category-faq, .brand-faq {
  max-width: 960px;
  margin: 40px auto 64px;
  padding: 0 4px;
}
.category-faq .section__title, .brand-faq .section__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  border: 1px solid #e9e9e9;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.faq-item[open] {
  border-color: #d4af47;
  box-shadow: 0 4px 14px rgba(184, 150, 62, 0.08);
}
.faq-item__q {
  padding: 16px 48px 16px 18px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  position: relative;
  user-select: none;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  color: var(--gold);
  transition: transform 0.2s;
}
.faq-item[open] .faq-item__q::after {
  content: '−';
}
.faq-item__a {
  padding: 0 18px 18px;
  font-size: 14px;
  line-height: 1.65;
  color: #2a2a2a;
}
.brand-seo { max-width: 960px; margin: 40px auto 16px; }
@media (max-width: 720px) {
  .category-faq, .brand-faq { margin: 32px auto 48px; }
  .category-faq .section__title, .brand-faq .section__title { font-size: 22px; }
  .faq-item__q { font-size: 14px; padding: 14px 44px 14px 14px; }
  .faq-item__a { font-size: 13px; padding: 0 14px 14px; }
}

/* === Header cart icon === */
.header__cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--dark, #1a1a1a); margin-right: 10px; border-radius: 8px; transition: background 0.15s; }
.header__cart:hover { background: rgba(0,0,0,0.05); }
.header__cart-badge { position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; background: var(--gold, #b8963e); color: #fff; font-size: 11px; font-weight: 700; border-radius: 10px; display: none; align-items: center; justify-content: center; line-height: 1; }
.header__cart-badge.is-visible { display: inline-flex; }

/* === Toast === */
.cart-toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px); background: #1a1a1a; color: #fff; padding: 12px 20px; border-radius: 8px; font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s; z-index: 9999; box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.cart-toast--show { opacity: 1; transform: translate(-50%, 0); }

/* === Cart page === */
.cart-page { padding: 40px 0 80px; }
.cart-page__title { font-size: 32px; font-weight: 700; margin-bottom: 24px; }
.cart-empty { text-align: center; padding: 80px 20px; background: #fafafa; border-radius: 12px; }
.cart-empty p { font-size: 18px; color: #666; margin-bottom: 20px; }
.cart-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; align-items: start; }
.cart-items { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 20px; }
.cart-items__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 14px; color: #666; border-bottom: 1px solid #f0f0f0; padding-bottom: 12px; }
.cart-clear { background: none; border: none; color: #c0392b; cursor: pointer; font-size: 13px; }
.cart-clear:hover { text-decoration: underline; }

.cart-item { display: grid; grid-template-columns: 90px 1fr auto auto 30px; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid #f5f5f5; }
.cart-item:last-child { border-bottom: none; }
.cart-item__img { width: 90px; height: 90px; border-radius: 8px; overflow: hidden; background: #fafafa; display: flex; align-items: center; justify-content: center; }
.cart-item__img img { width: 100%; height: 100%; object-fit: contain; }
.cart-item__img-ph { font-size: 11px; color: #aaa; }
.cart-item__brand { font-size: 12px; color: #999; margin-bottom: 3px; }
.cart-item__name { font-size: 14px; font-weight: 500; color: var(--dark, #1a1a1a); text-decoration: none; display: block; line-height: 1.35; }
.cart-item__name:hover { color: var(--gold, #b8963e); }
.cart-item__price { font-size: 13px; color: #666; margin-top: 4px; }
.cart-item__price-each { color: #999; font-size: 12px; }
.cart-item__qty { display: inline-flex; align-items: center; border: 1px solid #e5e5e5; border-radius: 8px; overflow: hidden; }
.qty-btn { width: 32px; height: 34px; background: #fafafa; border: none; cursor: pointer; font-size: 16px; font-weight: 600; color: #444; }
.qty-btn:hover { background: #f0f0f0; }
.qty-input { width: 44px; height: 34px; border: none; border-left: 1px solid #e5e5e5; border-right: 1px solid #e5e5e5; text-align: center; font-size: 14px; font-weight: 600; background: #fff; outline: none; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-item__sum { font-size: 15px; font-weight: 700; white-space: nowrap; text-align: right; min-width: 110px; }
.cart-item__remove { width: 28px; height: 28px; border-radius: 50%; background: none; border: none; color: #999; font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; }
.cart-item__remove:hover { background: #fff0f0; color: #c0392b; }

.cart-side { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 20px; }
.cart-summary { background: #fafafa; border-radius: 12px; padding: 20px; }
.cart-summary__row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 14px; color: #666; }
.cart-summary__row--total { font-size: 22px; font-weight: 700; color: var(--dark, #1a1a1a); border-top: 1px solid #e5e5e5; margin-top: 8px; padding-top: 14px; }
.cart-summary__note { font-size: 12px; color: #888; margin-top: 12px; line-height: 1.5; }

.cart-form { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.cart-form__title { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 12px; font-weight: 600; color: #666; text-transform: uppercase; letter-spacing: 0.4px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea { padding: 10px 12px; border: 1.5px solid #e5e5e5; border-radius: 8px; font-size: 14px; font-family: inherit; outline: none; transition: border-color 0.2s; background: #fff; }
.field input:focus, .field textarea:focus { border-color: var(--dark, #1a1a1a); }
.field textarea { resize: vertical; min-height: 70px; }
.field--radio { border: none; padding: 0; margin: 0; }
.radio { display: flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 14px; cursor: pointer; }
.radio input { margin: 0; }
.req { color: #c0392b; font-weight: 700; }
.checkbox-line { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #666; line-height: 1.5; cursor: pointer; }
.checkbox-line input { margin-top: 3px; }
.checkbox-line a { color: var(--dark, #1a1a1a); text-decoration: underline; }

.order-status { margin-top: 8px; font-size: 13px; min-height: 18px; }
.order-status--error { color: #c0392b; }

.order-success { max-width: 500px; margin: 60px auto; text-align: center; padding: 40px 20px; background: #f0fff4; border: 1px solid #b2dfdb; border-radius: 12px; }
.order-success h2 { font-size: 24px; margin-bottom: 12px; color: #27ae60; }
.order-success p { font-size: 16px; color: #444; margin-bottom: 24px; }

@media (max-width: 960px) {
  .cart-grid { grid-template-columns: 1fr; }
  .cart-side { position: static; }
}
@media (max-width: 620px) {
  .cart-page__title { font-size: 24px; }
  .cart-item { grid-template-columns: 70px 1fr auto; gap: 12px; padding: 14px 0; }
  .cart-item__img { width: 70px; height: 70px; }
  .cart-item__qty { grid-column: 2 / 3; justify-self: start; }
  .cart-item__sum { grid-column: 3 / 4; align-self: center; min-width: 0; }
  .cart-item__remove { grid-column: 3 / 4; justify-self: end; }
}

/* product-card: двухкнопочный layout */
.product-card__actions { display: flex; flex-direction: column; gap: 6px; }
