/* 42.2 — sport brand storefront */
:root {
  --bg: #ffffff;
  --ink: #111111;
  --ink-soft: #2a2a2a;
  --muted: #8a8a8a;
  --line: #e6e6e6;
  --line-strong: #cfcfcf;
  --accent: #111111;
  --price: #111111;
  --old: #b5b5b5;
  --surface: #ffffff;
  --surface-alt: #f6f6f6;
  --inverse: #0a0a0a;
  --inverse-ink: #ffffff;
  --container: 1280px;
}

[data-theme="dark"] {
  --bg: #0c0c0e;
  --ink: #f3f3f3;
  --ink-soft: #cfcfcf;
  --muted: #8a8a8a;
  --line: #232326;
  --line-strong: #34343a;
  --accent: #f3f3f3;
  --price: #f3f3f3;
  --old: #5a5a5a;
  --surface: #0c0c0e;
  --surface-alt: #16161a;
  --inverse: #f3f3f3;
  --inverse-ink: #0a0a0a;
}
[data-theme="dark"] body { background: var(--bg); color: var(--ink); }
[data-theme="dark"] .product__media,
[data-theme="dark"] .news-card__img,
[data-theme="dark"] .cat { background: var(--surface-alt); }
[data-theme="dark"] .newsletter { background: #f3f3f3; color: #0a0a0a; }
[data-theme="dark"] .newsletter::before { color: rgba(0,0,0,.05); }
[data-theme="dark"] .newsletter input { border-color: rgba(0,0,0,.2); color: #0a0a0a; }
[data-theme="dark"] .newsletter input::placeholder { color: rgba(0,0,0,.45); }
[data-theme="dark"] .newsletter input:focus { border-color: #0a0a0a; background: rgba(0,0,0,.04); }
[data-theme="dark"] .newsletter__lead { color: rgba(0,0,0,.7); }
[data-theme="dark"] .newsletter button[type="submit"] { background: #0a0a0a; color: #fff; }
[data-theme="dark"] .newsletter button[type="submit"]:hover { background: #222; }
[data-theme="dark"] .product__fav { background: rgba(20,20,22,.85); color: var(--ink); }
[data-theme="dark"] .product__fav:hover, [data-theme="dark"] .product__fav.is-active { background: var(--ink); color: var(--bg); }
[data-theme="dark"] .icon-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
[data-theme="dark"] .btn-cta { background: #fff; color: #0a0a0a; }
[data-theme="dark"] .btn-cta .arrow { background: #0a0a0a; color: #fff; }
[data-theme="dark"] .btn-cta:hover { background: #0a0a0a; color: #fff; }
[data-theme="dark"] .btn-cta:hover .arrow { background: #fff; color: #0a0a0a; }

html, body { transition: background .25s ease, color .25s ease; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============= TOP BAR ============= */
.topbar {
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
}
.topbar__left a, .topbar__right a {
  margin-right: 24px;
  letter-spacing: 0.02em;
}
.topbar__right a { margin-right: 0; margin-left: 24px; }
.topbar__left a:hover, .topbar__right a:hover { opacity: .55; }

/* ============= HEADER ============= */
.header {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.header.is-stuck {
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
[data-theme="dark"] .header.is-stuck {
  box-shadow: 0 4px 24px rgba(0,0,0,.5);
}
.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  height: 86px;
}
.logo {
  font-family: 'Bebas Neue', 'Oswald', 'Inter', sans-serif;
  font-size: 44px;
  letter-spacing: 0.02em;
  line-height: 1;
  font-weight: 400;
  color: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
}
.logo .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--ink);
  border-radius: 50%;
  margin: 0 2px 6px 2px;
  vertical-align: middle;
}
.logo--image {
  font-size: 0;
  line-height: 0;
}
.logo__img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.logo__img--mobile { display: none; }
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-self: center;
  flex-wrap: wrap;
  justify-content: center;
}
.nav a {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.nav a:hover::after { transform: scaleX(1); }

.theme-toggle .theme-toggle__moon { display: none; }
[data-theme="dark"] .theme-toggle .theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle .theme-toggle__moon { display: block; }

.header__right {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-self: end;
}
.search {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 14px 8px 14px;
  height: 38px;
  width: 220px;
  transition: border-color .2s;
}
.search:focus-within { border-color: var(--ink); }
.search svg { width: 14px; height: 14px; opacity: .55; flex-shrink: 0; }
.search input {
  border: none;
  outline: none;
  background: transparent;
  margin-left: 8px;
  width: 100%;
  font: inherit;
  font-size: 13px;
  color: var(--ink);
}
.search input::placeholder { color: var(--muted); }
.icon-btn {
  width: 38px; height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, background .2s;
}
.icon-btn:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.icon-btn svg { width: 16px; height: 16px; }

/* Categories ribbon below header */
.catribbon {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.catribbon__inner {
  display: flex;
  gap: 0;
  height: 52px;
  align-items: stretch;
  justify-content: center;
}
.catribbon a {
  display: inline-flex;
  align-items: center;
  padding: 0 28px;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  transition: color .2s;
}
.catribbon a + a { border-left: 1px solid var(--line); }
.catribbon a:hover { color: #fff; background: var(--ink); }

/* ============= HERO (slider) ============= */
.hero {
  position: relative;
  height: calc(100vh - 130px);
  min-height: 560px;
  max-height: 820px;
  overflow: hidden;
  background: #0a0a0a;
}
.hero__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .7s cubic-bezier(.7,.0,.2,1);
}
.hero__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.85);
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px 0 96px;
}
.hero__body {
  max-width: 920px;
  width: 100%;
  color: #fff;
}
.hero__title {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-weight: 400;
  font-size: clamp(48px, 9vw, 120px);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0 0 18px;
  text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.hero__title em { font-style: italic; font-weight: 400; }
.hero__subtitle {
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 0 0 36px;
  color: rgba(255,255,255,.92);
  font-weight: 500;
}
.hero__cta { margin-top: 0; }
.hero__nav {
  position: absolute;
  z-index: 3;
  right: 32px;
  bottom: 32px;
  display: flex;
  gap: 12px;
}
.hero__arrow {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(0,0,0,.25);
  color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
  backdrop-filter: blur(6px);
}
.hero__arrow:hover { background: rgba(0,0,0,.55); border-color: #fff; }
.hero__arrow:disabled { opacity: .3; cursor: not-allowed; }
.btn-cta {
  background: #fff;
  color: var(--ink);
  border: none;
  padding: 22px 48px;
  font-size: 14px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: transform .25s, background .2s, color .2s;
}
.btn-cta:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-cta .arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.btn-cta:hover .arrow { background: #fff; color: var(--ink); }

/* ============= SECTION HEADERS ============= */
.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.section-head__title {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0;
  max-width: 14ch;
}
.section-head__lead {
  max-width: 480px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
  text-align: right;
}
.section-head__lead a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}
.section-head__lead a:hover { opacity: .6; }

/* ============= POPULAR CATEGORIES (hover-expand, full-bleed) ============= */
.cats-section { padding: 80px 0 80px; }
.cats-section .container {
  /* Полная ширина: контейнер растягивается на всю ширину viewport. */
  max-width: none;
  padding: 0;
}
.cats-section__inner {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 4fr;
  gap: 0;
  align-items: stretch;
}
.cats-section__head {
  padding: 0 56px;
}
.cats-section__head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-self: center;
}
.cats-section__title {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
  color: var(--ink);
}
.cats-section__title em { font-style: italic; font-weight: 400; }
.cats-section__lead {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 320px;
  margin: 0;
}
.cats-section__view-all {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  transition: background .2s, color .2s, border-color .2s;
}
.cats-section__view-all:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.cats {
  display: flex;
  gap: 0;
  border: 1px solid var(--line);
  min-height: 460px;
  align-items: stretch;
}
.cat {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  background: var(--surface-alt);
  border-right: 1px solid var(--line);
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  transition: flex-grow .45s ease;
}
.cat:last-child { border-right: none; }

/* «Активная по умолчанию» — первая. На hover (любой) первая сжимается. */
.cats > .cat:first-child { flex-grow: 2.4; }
.cats:hover > .cat { flex-grow: 1; }
.cats > .cat:hover { flex-grow: 2.4; }

.cat__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.cat__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.cats > .cat:first-child .cat__media { opacity: 1; }
.cats:hover > .cat .cat__media { opacity: 0; }
.cats > .cat:hover .cat__media { opacity: 1; }

.cat__text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 28px 14px;
  width: 100%;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: left;
}
.cat__name {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: lowercase;
  color: var(--ink);
}
.cat__count {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}
/* Текст активной/hover-карточки — белым поверх фото. */
.cats > .cat:first-child .cat__name,
.cats > .cat:first-child .cat__count,
.cats > .cat:hover .cat__name,
.cats > .cat:hover .cat__count { color: #fff; }
.cats:hover > .cat:first-child:not(:hover) .cat__name { color: var(--ink); }
.cats:hover > .cat:first-child:not(:hover) .cat__count { color: var(--muted); }

/* ============= COLLECTION SLIDER (RUSSIA, full-bleed) ============= */
.collection-section {
  padding: 0;
  margin: 0;
}
.collection {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: #0a0a0a;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.collection__track {
  display: flex;
  transition: transform .6s cubic-bezier(.7,.0,.2,1);
}
.collection__slide {
  flex: 0 0 100%;
  position: relative;
  aspect-ratio: 16 / 7;
  min-height: 460px;
}
.collection__slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.collection__slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.1) 60%);
}
.collection__overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 56px;
  color: #fff;
}
.collection__kicker {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: .9;
}
.collection__title {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: clamp(60px, 9vw, 140px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 16px 0 0;
  max-width: 12ch;
}
.collection__lead {
  max-width: 540px;
  font-size: 15px;
  line-height: 1.65;
  opacity: .9;
}
.collection__bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.collection__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--ink);
  border: none;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  transition: background .2s, color .2s;
}
.collection__btn:hover { background: var(--ink); color: #fff; outline: 1px solid #fff; }

/* slider arrows */
.slider-nav {
  display: inline-flex;
  gap: 10px;
}
.slider-nav button {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.08);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
  transition: background .2s, transform .2s;
}
.slider-nav button:hover { background: #fff; color: var(--ink); }
.slider-nav button:disabled { opacity: .35; cursor: not-allowed; }
.slider-nav--dark button {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--ink);
}
.slider-nav--dark button:hover { background: var(--ink); color: #fff; }

.collection__dots {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  position: absolute;
  left: 56px;
  bottom: 36px;
  z-index: 5;
}
.collection__dots button {
  width: 26px; height: 3px;
  border: none;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  border-radius: 2px;
  padding: 0;
  transition: background .2s;
}
.collection__dots button.is-active { background: #fff; width: 56px; }

/* Стрелки слайдера коллекций — позиционируются в правом верхнем углу. */
.slider-nav--collection {
  position: absolute;
  right: 32px;
  top: 32px;
  z-index: 5;
}

/* ============= PHILOSOPHY (full-bleed dark) ============= */
.philosophy {
  position: relative;
  min-height: 520px;
  background: #0a0a0a;
  color: #fff;
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: center;
}
.philosophy__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.philosophy__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.55) 50%, rgba(0,0,0,.25) 100%);
  z-index: 1;
}
.philosophy__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 96px 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.philosophy__head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 28px;
  position: relative;
  padding-left: 32px;
}
.philosophy__head::before {
  content: '';
  position: absolute;
  left: 0;
  top: -8px;
  bottom: -8px;
  width: 1px;
  background: rgba(255,255,255,.4);
}
.philosophy__kicker {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.philosophy__title {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.9;
  margin: 0;
  letter-spacing: 0.02em;
  font-weight: 400;
  color: #fff;
}
.philosophy__body {
  position: relative;
  padding-left: 32px;
  max-width: 720px;
}
.philosophy__body::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255,255,255,.4);
}
.philosophy__body p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,.85);
  margin: 0 0 14px;
  max-width: 60ch;
}
.philosophy__sig {
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}

/* ============= PRODUCT SLIDER (v1.1) ============= */
.section-products { padding: 80px 0; }
.products {
  position: relative;
}
.products__viewport {
  overflow: hidden;
  margin: 0 -10px;
}
.products__track {
  display: flex;
  gap: 20px;
  padding: 0 10px;
  transition: transform .55s cubic-bezier(.7,.0,.2,1);
}
.product {
  flex: 0 0 calc((100% - 60px) / 4);
  display: flex;
  flex-direction: column;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px 22px 24px;
  transition: border-color .2s ease;
}
.product:hover { border-color: var(--line-strong); }

.product__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.product__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.product__name {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product__price {
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink);
}
.product__price-old {
  color: var(--old);
  text-decoration: line-through;
  font-weight: 400;
  font-size: 13px;
}
.product__fav {
  position: relative;
  flex: 0 0 32px;
  width: 32px; height: 32px;
  background: transparent;
  color: var(--ink);
  border: none;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: color .2s;
}
.product__fav:hover,
.product__fav.is-active { color: #B600BD; }
.product__fav svg { width: 18px; height: 18px; }

.product__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: transparent;
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform .6s ease;
}
.product:hover .product__media img { transform: scale(1.04); }
.product__placeholder-logo {
  max-width: 60% !important;
  max-height: 60% !important;
  object-fit: contain;
  opacity: .35;
}
.product__media--placeholder {
  background: var(--bg);
}

.product__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  transition: background .2s, color .2s, border-color .2s;
  align-self: stretch;
  margin-top: auto;
}
.product__btn:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.product__btn--disabled {
  opacity: .4;
  pointer-events: none;
}
.product--placeholder { background: transparent; }

.products__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 24px;
}
.products__head .nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.see-all {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}
.see-all:hover { opacity: .6; }

/* ============= NEWS (slider 3-of-9) ============= */
.section-news { padding: 80px 0; }
.section-news__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 24px;
}
.section-news__head .nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.section-news__lead {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 0 32px;
}

.news-slider {
  position: relative;
}
.news-slider__viewport {
  overflow: hidden;
  margin: 0 -10px;
}
.news-slider__track {
  display: flex;
  gap: 24px;
  padding: 0 10px;
  transition: transform .55s cubic-bezier(.7,.0,.2,1);
}
.section-news .news-card {
  flex: 0 0 calc((100% - 48px) / 3);
  display: flex;
  flex-direction: column;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .2s ease;
}
.section-news .news-card:hover { border-color: var(--line-strong); }
.section-news .news-card__img {
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--bg);
  overflow: hidden;
  border-radius: 0;
}
.section-news .news-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 24px;
  flex: 1;
}
.section-news .news-card__date {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-weight: 600;
  margin: 0;
}
.section-news .news-card__title {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  text-wrap: pretty;
  flex: 1;
}
.section-news .news-card__title a { color: inherit; }
.section-news .news-card__title a:hover { opacity: .65; }
.news-card__btn {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  align-self: stretch;
  transition: background .2s, color .2s, border-color .2s;
}
.news-card__btn:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
/* legacy: archive/single news cards still use this on inner pages */
.news-card__more {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  align-self: flex-start;
  margin-top: auto;
}

/* ============= NEWSLETTER (full-bleed) ============= */
.newsletter-section {
  background: #0a0a0a;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '42.2';
  position: absolute;
  right: -40px; bottom: -80px;
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: 360px;
  line-height: 1;
  color: rgba(255,255,255,.04);
  pointer-events: none;
  z-index: 0;
}
.newsletter {
  position: relative;
  z-index: 1;
  background: transparent;
  border-radius: 0;
  padding: 96px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.newsletter__title {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin: 0;
}
.newsletter__title small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: .7;
  font-weight: 500;
}
.newsletter__lead {
  margin-top: 20px;
  color: rgba(255,255,255,.75);
  font-size: 15px;
  line-height: 1.65;
  max-width: 50ch;
}
.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 2;
}
.newsletter__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.newsletter input {
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  padding: 18px 20px;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .2s, background .2s;
}
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.newsletter input:focus { border-color: #fff; background: rgba(255,255,255,.05); }
.newsletter button[type="submit"] {
  margin-top: 6px;
  background: #fff;
  color: var(--ink);
  border: none;
  border-radius: 999px;
  padding: 20px 28px;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  transition: transform .2s, background .2s;
}
.newsletter button[type="submit"]:hover { transform: translateY(-2px); background: #ddd; }
.newsletter__success {
  margin-top: 8px;
  color: #9ee493;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: none;
}
.newsletter__form.is-success .newsletter__success { display: block; }

/* ============= FOOTER ============= */
.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  font-size: 13px;
  color: var(--ink-soft);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer__nav { display: flex; gap: 28px; }
.footer__nav a { letter-spacing: 0.18em; text-transform: uppercase; font-size: 12px; }
.footer__nav a:hover { opacity: .55; }
.footer__copy { color: var(--muted); }
.footer__copy a:hover { color: var(--ink); }

/* ============= MOBILE MENU + RESPONSIVE ============= */
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 18px; height: 18px; }
.search--mobile { display: none; }

@media (max-width: 1100px) {
  .container { padding: 0 24px; }
  .header__inner { gap: 16px; }
  .nav { gap: 18px; }
  .nav a { font-size: 12px; letter-spacing: 0.16em; }
  .search { width: 160px; }

  .cats-section__inner { grid-template-columns: 1fr; gap: 32px; }
  .cats-section__head { padding: 0 24px; }
  .cats { min-height: 380px; }
  .cats > .cat:first-child { flex-grow: 2; }
  .cats > .cat:hover { flex-grow: 2; }

  .product { flex: 0 0 calc((100% - 40px) / 3); }
  .section-news .news-card { flex: 0 0 calc((100% - 24px) / 2); }

  .newsletter { padding: 72px 24px; grid-template-columns: 1fr; gap: 32px; }
  .topbar__inner .topbar__left a:nth-child(n+2) { display: none; }
}

@media (max-width: 768px) {
  body { font-size: 14px; }
  .topbar { display: none; }

  .header__inner {
    grid-template-columns: auto 1fr auto;
    height: 64px;
    gap: 12px;
  }
  .logo { font-size: 32px; }
  .logo__img { height: 36px; max-width: 160px; }
  /* Если у логотипа есть отдельный мобильный вариант — скрываем десктопный и показываем мобильный. */
  .logo--has-mobile .logo__img--desktop { display: none; }
  .logo--has-mobile .logo__img--mobile { display: block; }
  .nav--cats { display: none; }
  .nav { display: none; }
  .header__right { gap: 8px; }
  .search { display: none; }
  .menu-toggle { display: inline-flex; }

  .hero {
    height: auto;
    min-height: 0;
    aspect-ratio: 9 / 14;
    max-height: none;
  }
  .hero__content { padding: 32px 0 96px; align-items: flex-start; padding-top: 36vh; }
  .hero__body { text-align: left; max-width: 100%; }
  .hero__title { font-size: clamp(48px, 12vw, 80px); margin-bottom: 12px; }
  .hero__subtitle { font-size: 11px; letter-spacing: 0.22em; margin-bottom: 24px; }
  .hero__cta { display: inline-flex; }
  .hero__nav { right: 16px; bottom: 16px; }
  .hero__arrow { width: 38px; height: 38px; }
  .btn-cta { padding: 14px 24px; font-size: 11px; }

  .section { padding: 56px 0; }
  .section--tight { padding: 40px 0; }
  .section-head { flex-direction: column; align-items: stretch; gap: 16px; }
  .section-head__lead { text-align: left; }
  .section-head__title { font-size: 36px; }

  /* CATS на мобильном — вертикальный список */
  .cats-section { padding: 48px 0; }
  .cats-section__title { font-size: 36px; }
  .cats-section__inner { gap: 24px; }
  .cats-section__view-all { width: 100%; justify-content: center; }
  .cats {
    flex-direction: column;
    min-height: 0;
    border: none;
  }
  .cats > .cat,
  .cats > .cat:first-child,
  .cats:hover > .cat,
  .cats > .cat:hover {
    flex: none;
    height: 220px;
    border: 1px solid var(--line);
    border-bottom: none;
  }
  .cats > .cat:last-child { border-bottom: 1px solid var(--line); }
  .cat__media { opacity: 1 !important; }
  .cat__text { padding: 20px; align-items: flex-start; }
  .cat__name { color: #fff !important; font-size: 36px; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
  .cat__count { color: rgba(255,255,255,.85) !important; }

  .collection__slide { aspect-ratio: auto; min-height: 420px; }
  .collection__overlay { padding: 28px 24px; }
  .collection__title { font-size: 48px; }
  .collection__bottom { flex-direction: column; align-items: stretch; gap: 16px; }

  /* PHILOSOPHY mobile */
  .philosophy { min-height: 480px; }
  .philosophy__inner { padding: 56px 24px; }
  .philosophy__head { flex-direction: column; gap: 8px; align-items: flex-start; padding-left: 20px; }
  .philosophy__head::before { top: 0; bottom: 0; }
  .philosophy__body { padding-left: 20px; }
  .philosophy__title { font-size: 44px; }
  .philosophy__overlay { background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.78) 100%); }

  /* PRODUCTS — 2 в ряд на мобильном */
  .section-products { padding: 48px 0; }
  .product { flex: 0 0 calc((100% - 16px) / 2); padding: 16px 14px 18px; }
  .product__head { margin-bottom: 12px; }
  .product__name { font-size: 10px; }
  .product__price { font-size: 14px; }
  .product__btn { padding: 12px 16px; font-size: 10px; letter-spacing: 0.18em; }
  .products__track { gap: 16px; }
  .products__head .nav-actions { gap: 12px; }
  .products__head .see-all { font-size: 11px; }

  /* NEWS — 1 в ряд на мобильном */
  .section-news { padding: 48px 0; }
  .section-news .news-card { flex: 0 0 100%; }
  .news-slider__track { gap: 16px; }

  .newsletter { padding: 56px 16px; border-radius: 0; }
  .newsletter__title { font-size: 36px; }
  .newsletter__row { grid-template-columns: 1fr; }
  .newsletter::before { font-size: 200px; right: -20px; bottom: -40px; }

  .footer__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer__nav { flex-wrap: wrap; gap: 16px; }
}

/* slide-in mobile menu (drawer + overlay) */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.is-open {
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background .35s ease;
}
.mobile-menu.is-open .mobile-menu__overlay {
  background: rgba(0, 0, 0, .5);
}
.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 88%;
  max-width: 480px;
  background: var(--bg);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  padding: 18px 24px 32px;
  transform: translateX(100%);
  transition: transform .35s ease;
  box-shadow: -8px 0 24px rgba(0, 0, 0, .08);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}
.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.mobile-menu__top .logo { font-size: 28px; }
.mobile-menu__top .logo__img { height: 32px; max-width: 140px; width: auto; }
.mobile-menu__close {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.mobile-menu__close svg { width: 22px; height: 22px; }

.mobile-menu__search {
  position: relative;
  margin-bottom: 28px;
}
.mobile-menu__search input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0 56px 0 24px;
  font: inherit;
  font-size: 15px;
  background: transparent;
  color: var(--ink);
  outline: none;
  -webkit-appearance: none;
}
.mobile-menu__search input::placeholder { color: var(--ink-soft); opacity: .8; }
.mobile-menu__search input:focus { border-color: var(--ink); }
.mobile-menu__search button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: transparent;
  border: 0;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.mobile-menu__search button svg { width: 20px; height: 20px; }

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
}
.mobile-menu__nav a {
  display: block;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  padding: 10px 0;
  color: var(--ink);
  letter-spacing: 0;
}
.mobile-menu__nav a:hover,
.mobile-menu__nav a.is-current { opacity: .65; }

.mobile-menu__sec {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
}
.mobile-menu__sec a {
  display: block;
  font-size: 15px;
  padding: 6px 0;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
}
.mobile-menu__sec a:hover,
.mobile-menu__sec a.is-current { color: var(--ink); }

/* lock scroll under the menu */
body.has-menu-open { overflow: hidden; }

@media (max-width: 480px) {
  .mobile-menu__panel { width: 90%; padding: 16px 20px 28px; }
  .mobile-menu__nav a { font-size: 22px; }
}

/* ==================================================================
   PAGE: ABOUT (О бренде)
   ================================================================== */

.page-about { display: block; }

/* ----- HERO ----- */
.about-hero {
  position: relative;
  min-height: 460px;
  background: var(--inverse);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.about-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.about-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.65) 100%);
  z-index: 1;
}
.about-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 56px;
  min-height: 460px;
}
.about-hero__top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.85);
}
.about-hero__body {
  margin-top: auto;
  max-width: 720px;
}
.about-hero__title {
  margin: 0 0 16px;
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  font-size: clamp(40px, 6vw, 72px);
  text-transform: uppercase;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35em;
}
.about-hero__title-kicker { font-weight: 400; }
.about-hero__title-brand {
  font-style: italic;
  letter-spacing: 0.01em;
}
.about-hero__intro {
  font-size: 14px;
  line-height: 1.6;
  max-width: 520px;
  color: rgba(255,255,255,.92);
  margin: 0;
}

/* ----- BREADCRUMBS ----- */
.about-breadcrumbs .breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,.85);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.about-breadcrumbs .breadcrumb a { color: rgba(255,255,255,.85); }
.about-breadcrumbs .breadcrumb a:hover { color: #fff; }
.about-breadcrumbs .breadcrumb .breadcrumb__sep,
.about-breadcrumbs .breadcrumb__sep { color: rgba(255,255,255,.5); margin: 0 4px; }
.about-breadcrumbs .breadcrumb__current,
.about-breadcrumbs .breadcrumb .breadcrumb_last { color: #fff; }

/* ----- BACK BUTTON (mobile only by default) ----- */
.about-back {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.about-back:hover { background: rgba(0,0,0,.45); }
.about-back svg { width: 14px; height: 14px; flex: 0 0 14px; }

/* ----- WHY US ----- */
.about-why { padding: 80px 0 60px; background: var(--bg); }
.about-why__title {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  font-size: clamp(36px, 5vw, 56px);
  text-transform: uppercase;
  margin: 0 0 40px;
  color: var(--ink);
}
.about-why__title em { font-style: italic; font-weight: 400; }
.about-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.about-why__card {
  background: var(--bg);
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 260px;
}
.about-why__icon {
  width: 64px;
  height: 64px;
  color: var(--ink);
}
.about-why__icon svg,
.about-why__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.about-why__card-title {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
  line-height: 1.4;
}
.about-why__card-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ----- PHILOSOPHY (about page variant) ----- */
.about-philosophy { padding: 80px 0; }
.about-philosophy__title {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  font-size: clamp(36px, 5vw, 56px);
  text-transform: uppercase;
  margin: 0 0 40px;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
.about-philosophy__title em { font-style: italic; font-weight: 400; }
.about-philosophy__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-philosophy__body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.about-philosophy__body p { margin: 0 0 14px; }
.about-philosophy__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-philosophy__logo svg,
.about-philosophy__logo img,
.about-philosophy__logo-svg {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  color: var(--ink);
}

/* ----- REQUISITES ----- */
.about-requisites {
  padding: 60px 0 100px;
  border-top: 1px solid var(--line);
}
.about-requisites__title {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  font-size: clamp(36px, 5vw, 56px);
  text-transform: uppercase;
  margin: 0 0 36px;
  color: var(--ink);
  padding-top: 40px;
}
.about-requisites__title em { font-style: italic; font-weight: 400; }
.about-requisites__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  align-items: start;
}
.about-requisites__col-title {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--ink);
}
.about-requisites__list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-requisites__row {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.about-requisites__row--upper { text-transform: uppercase; }
.about-requisites__row--wrap { white-space: normal; }
.about-requisites__col--coop { display: flex; flex-direction: column; gap: 16px; }
.about-requisites__coop-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.about-requisites__btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  min-width: 220px;
}
.about-requisites__btn:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* ----- DARK THEME OVERRIDES ----- */
[data-theme="dark"] .about-why__grid { background: var(--line); border-color: var(--line); }
[data-theme="dark"] .about-why__card { background: var(--bg); }
[data-theme="dark"] .about-philosophy__title,
[data-theme="dark"] .about-requisites__title { border-color: var(--line); }
[data-theme="dark"] .about-requisites { border-color: var(--line); }
[data-theme="dark"] .about-requisites__btn { border-color: var(--line-strong); color: var(--ink); }
[data-theme="dark"] .about-requisites__btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
[data-theme="dark"] .about-philosophy__logo svg,
[data-theme="dark"] .about-philosophy__logo-svg { color: var(--ink); }

/* ----- RESPONSIVE ----- */
@media (max-width: 1024px) {
  .about-why__grid { grid-template-columns: repeat(2, 1fr); }
  .about-philosophy__grid { gap: 32px; }
  .about-requisites__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .about-hero { min-height: 380px; }
  .about-hero__content { padding-top: 16px; padding-bottom: 28px; min-height: 380px; }
  .about-back { display: inline-flex; }
  .about-breadcrumbs { display: none; }
  .about-hero__title {
    flex-direction: row;
    flex-wrap: wrap;
    font-size: clamp(34px, 9vw, 48px);
    gap: 0.25em;
  }
  .about-hero__intro { font-size: 13px; }

  .about-why { padding: 36px 0 24px; }
  .about-why__title { font-size: 36px; margin-bottom: 24px; }
  .about-why__grid {
    grid-template-columns: 1fr;
    gap: 0;
    border: none;
    background: transparent;
  }
  .about-why__card {
    flex-direction: row;
    align-items: center;
    gap: 18px;
    min-height: 0;
    padding: 18px 0;
    border-top: 1px solid var(--line);
  }
  .about-why__card:last-child { border-bottom: 1px solid var(--line); }
  .about-why__icon { width: 56px; height: 56px; flex: 0 0 56px; }
  .about-why__card-title { font-size: 12px; }
  .about-why__card-desc { display: none; }

  .about-philosophy { padding: 36px 0 24px; }
  .about-philosophy__title { font-size: 36px; padding-top: 24px; margin-bottom: 16px; }
  .about-philosophy__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-philosophy__logo { order: -1; }
  .about-philosophy__logo svg,
  .about-philosophy__logo img,
  .about-philosophy__logo-svg { max-width: 320px; }

  .about-requisites { padding: 24px 0 60px; }
  .about-requisites__title { font-size: 36px; padding-top: 24px; margin-bottom: 24px; }
  .about-requisites__grid { grid-template-columns: 1fr; gap: 28px; }
  .about-requisites__btn { width: 100%; min-width: 0; }
}

/* ============= 404 PAGE ============= */
.page-404 {
  padding: 64px 0 120px;
}
.page-404__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}
.page-404__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.page-404__code {
  font-family: 'Inter', system-ui, sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(120px, 16vw, 220px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.page-404__divider {
  border: 0;
  border-top: 1px solid var(--line-strong);
  margin: 48px 0 64px;
}
.page-404__body {
  max-width: 420px;
}
.page-404__lead {
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 18px;
  color: var(--ink);
}
.page-404__text {
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 48px;
  color: var(--ink);
}
.page-404__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 22px 56px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.page-404__cta:hover {
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-2px);
}
.page-404__brand {
  border-left: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 64px;
  color: var(--ink);
}
.page-404__brand svg {
  width: 100%;
  height: auto;
  max-width: 720px;
  display: block;
}

@media (max-width: 768px) {
  .page-404 { padding: 24px 0 0; }
  .page-404__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .page-404__code {
    font-size: clamp(96px, 28vw, 140px);
  }
  .page-404__divider { margin: 28px 0 32px; }
  .page-404__body { max-width: none; }
  .page-404__text { margin-bottom: 32px; }
  .page-404__cta {
    width: 100%;
    padding: 22px 24px;
    font-size: 12px;
  }
  .page-404__brand {
    border-left: 0;
    border-top: 1px solid var(--line-strong);
    padding: 36px 0 56px;
    margin-top: 36px;
  }
  .page-404__brand svg { max-width: 100%; }
}

/* ============= PRIVACY PAGE ============= */
.page-privacy {
  background: var(--bg);
  color: var(--ink);
  padding: 28px 0 96px;
}

.page-privacy__head {
  margin: 0 0 28px;
}

.page-privacy .breadcrumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.page-privacy .breadcrumbs .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.page-privacy .breadcrumbs .breadcrumb a {
  color: var(--muted);
  transition: color .2s ease;
}
.page-privacy .breadcrumbs .breadcrumb a:hover { color: var(--ink); }
.page-privacy .breadcrumbs .breadcrumb__sep { color: var(--line-strong); margin: 0 4px; }
.page-privacy .breadcrumbs .breadcrumb__current,
.page-privacy .breadcrumbs .breadcrumb_last { color: var(--ink); }

.page-privacy__title {
  margin: 0;
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
  font-size: clamp(40px, 6.4vw, 80px);
  text-transform: uppercase;
  color: var(--ink);
}

.page-privacy__article { margin: 0; }

.page-privacy__content {
  max-width: 1120px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.page-privacy__content > *:first-child { margin-top: 0; }
.page-privacy__content > *:last-child { margin-bottom: 0; }

.page-privacy__content h2 {
  margin: 48px 0 20px;
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.1;
  font-size: clamp(22px, 2.4vw, 30px);
  text-transform: uppercase;
  color: var(--ink);
}
.page-privacy__content h3 {
  margin: 32px 0 14px;
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--ink);
}
.page-privacy__content p {
  margin: 0 0 14px;
}
.page-privacy__content a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page-privacy__content a:hover { text-decoration: none; }

.page-privacy__content ul,
.page-privacy__content ol {
  margin: 14px 0 18px;
  padding: 0;
  list-style: none;
}
.page-privacy__content ul li,
.page-privacy__content ol li {
  position: relative;
  padding: 6px 0 6px 56px;
  margin: 0;
}
.page-privacy__content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 32px;
  height: 1px;
  background: var(--ink);
}
.page-privacy__content ol {
  counter-reset: privacy-ol;
}
.page-privacy__content ol li {
  counter-increment: privacy-ol;
}
.page-privacy__content ol li::before {
  content: counter(privacy-ol) ".";
  position: absolute;
  left: 0;
  top: 6px;
  width: 32px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

/* Вложенные списки наследуют тот же стиль маркера */
.page-privacy__content ul ul,
.page-privacy__content ol ul,
.page-privacy__content ul ol,
.page-privacy__content ol ol {
  margin: 6px 0 6px;
}

/* Адаптив */
@media (max-width: 768px) {
  .page-privacy { padding: 16px 0 56px; }
  .page-privacy__head { margin-bottom: 20px; }
  .page-privacy .breadcrumbs { font-size: 12px; margin-bottom: 16px; }
  .page-privacy__title {
    font-size: clamp(32px, 9vw, 44px);
    line-height: 1.05;
  }
  .page-privacy__content {
    font-size: 13px;
    line-height: 1.55;
  }
  .page-privacy__content h2 {
    margin: 32px 0 14px;
    font-size: 22px;
  }
  .page-privacy__content h3 {
    margin: 22px 0 10px;
    font-size: 18px;
  }
  .page-privacy__content ul li,
  .page-privacy__content ol li {
    padding-left: 32px;
  }
  .page-privacy__content ul li::before {
    width: 18px;
    top: 0.9em;
  }
  .page-privacy__content ol li::before {
    width: 22px;
  }
}

/* ==================================================================
   PAGE: CATALOG (/shop/) — сетка категорий 3+2
   ================================================================== */

.page-catalog {
  background: var(--bg);
  color: var(--ink);
  padding: 28px 0 96px;
}

.page-catalog__head { margin: 0 0 28px; }

.page-catalog .breadcrumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.page-catalog .breadcrumbs .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.page-catalog .breadcrumbs .breadcrumb a {
  color: var(--muted);
  transition: color .2s ease;
}
.page-catalog .breadcrumbs .breadcrumb a:hover { color: var(--ink); }
.page-catalog .breadcrumbs .breadcrumb__sep { color: var(--line-strong); margin: 0 4px; }
.page-catalog .breadcrumbs .breadcrumb__current,
.page-catalog .breadcrumbs .breadcrumb_last { color: var(--ink); }

.page-catalog__title {
  margin: 0;
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
  font-size: clamp(40px, 6.4vw, 80px);
  text-transform: uppercase;
  color: var(--ink);
}

.page-catalog__empty {
  padding: 48px 0;
  color: var(--muted);
  font-size: 15px;
}

/* Сетка карточек: на десктопе 3 колонки, выравнивающаяся в 3+2 */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--surface-alt);
}

.cat-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--surface-alt);
  color: var(--ink);
  overflow: hidden;
  text-decoration: none;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cat-card:nth-child(3n) { border-right: 0; }
.catalog-grid .cat-card:nth-last-child(-n+3):nth-child(3n+1),
.catalog-grid .cat-card:nth-last-child(-n+3):nth-child(3n+1) ~ .cat-card { border-bottom: 0; }

.cat-card__media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-alt);
}
.cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cat-card--placeholder .cat-card__media {
  background: var(--surface-alt);
}
.cat-card--placeholder .cat-card__logo {
  width: 56%;
  height: auto;
  max-width: 240px;
  opacity: .5;
  object-fit: contain;
}

.cat-card__caption {
  position: absolute;
  left: 24px;
  top: 24px;
  bottom: 24px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  pointer-events: none;
}
.cat-card__name {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
.cat-card__count {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-size: clamp(13px, 1.1vw, 16px);
  color: var(--ink);
  opacity: .85;
  letter-spacing: 0;
}

.cat-card:hover .cat-card__media img {
  transform: scale(1.03);
  transition: transform .5s ease;
}
.cat-card .cat-card__media img { transition: transform .5s ease; }

/* Тёмная тема: карточка темнее, заглушка и текст — белые */
[data-theme="dark"] .catalog-grid {
  border-color: var(--line);
  background: var(--surface-alt);
}
[data-theme="dark"] .cat-card {
  background: var(--surface-alt);
  border-color: var(--line);
}
[data-theme="dark"] .cat-card__name,
[data-theme="dark"] .cat-card__count { color: var(--ink); }
[data-theme="dark"] .cat-card--placeholder .cat-card__logo { opacity: .35; }

/* Адаптив каталога */
@media (max-width: 900px) {
  .page-catalog { padding: 16px 0 56px; }
  .page-catalog__head { margin-bottom: 18px; }
  .page-catalog .breadcrumbs { font-size: 12px; margin-bottom: 14px; }
  .page-catalog__title { font-size: clamp(32px, 9vw, 56px); }

  .catalog-grid { grid-template-columns: 1fr; }
  .cat-card {
    aspect-ratio: 4 / 5;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .cat-card:last-child { border-bottom: 0; }
  .cat-card__caption { left: 18px; top: 18px; bottom: 18px; }
}

/* ==================================================================
   WOOCOMMERCE: базовая стилизация под токены темы
   single product, archive товаров, корзина, оформление, аккаунт
   ================================================================== */

.woocommerce-page,
.woocommerce {
  color: var(--ink);
}

/* типографика заголовков WC */
.woocommerce h1.entry-title,
.woocommerce-products-header__title,
.woocommerce h2 {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
}

/* кнопки */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--bg);
  border: 0;
  border-radius: 999px;
  padding: 14px 28px;
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, opacity .2s ease;
  cursor: pointer;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce-page a.button:hover,
.woocommerce-page button.button:hover,
.woocommerce-page input.button:hover { opacity: .85; }

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt {
  background: var(--ink);
  color: var(--bg);
}

/* поля ввода */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text,
.woocommerce-page form .form-row textarea,
.select2-container--default .select2-selection--single {
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 16px;
  font: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus { border-color: var(--ink); }
.woocommerce form .form-row label { color: var(--ink-soft); font-size: 13px; }

/* notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
  background: var(--surface-alt);
  color: var(--ink);
  border-left: 4px solid var(--ink);
  border-radius: 8px;
  padding: 14px 18px;
}
.woocommerce-error { border-left-color: #d33; }

/* archive товаров (taxonomy-product_cat и т.п.) */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  background: var(--surface-alt);
  border-radius: 12px;
  padding: 16px;
  position: relative;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  padding: 12px 0 4px;
  text-transform: none;
  letter-spacing: 0;
}
.woocommerce ul.products li.product .price {
  color: var(--price);
  font-weight: 700;
  font-size: 16px;
}
.woocommerce ul.products li.product .price del {
  color: var(--old);
  font-weight: 400;
  margin-right: 6px;
}
.woocommerce ul.products li.product img {
  border-radius: 8px;
  margin-bottom: 0;
}

/* single product */
.woocommerce div.product { margin: 0 0 64px; }
.woocommerce div.product .product_title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 3.6vw, 44px);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
  margin: 0 0 12px;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--price);
  font-size: 22px;
  font-weight: 700;
}
.woocommerce div.product p.price del { color: var(--old); }
.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--ink-soft);
  margin: 18px 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent;
  border: 0;
  border-radius: 0;
  margin: 0;
  padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  padding: 14px 18px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); }

/* cart */
.woocommerce table.shop_table,
.woocommerce-page table.shop_table {
  border: 1px solid var(--line);
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg);
}
.woocommerce table.shop_table th { background: var(--surface-alt); color: var(--ink); }
.woocommerce table.shop_table td { border-top: 1px solid var(--line); color: var(--ink); }
.woocommerce .cart-collaterals .cart_totals h2 {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: 28px;
  text-transform: uppercase;
  margin: 0 0 16px;
}

/* checkout */
.woocommerce-checkout #order_review {
  background: var(--surface-alt);
  border-radius: 12px;
  padding: 24px;
}
.woocommerce-checkout #payment {
  background: transparent;
  border-radius: 12px;
}

/* my-account */
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 8px;
  color: var(--ink);
}
.woocommerce-MyAccount-navigation ul li.is-active a { background: var(--ink); color: var(--bg); }

/* mini-cart / dropdown в шапке (если активен) */
.woocommerce ul.cart_list,
.woocommerce ul.product_list_widget { padding: 0; margin: 0; list-style: none; }

@media (max-width: 1100px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (max-width: 768px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .woocommerce div.product .product_title { font-size: 26px; }
  .woocommerce table.shop_table thead { display: none; }
  .woocommerce table.shop_table tr { display: block; padding: 12px; border-top: 1px solid var(--line); }
  .woocommerce table.shop_table td { display: flex; justify-content: space-between; border: 0; padding: 6px 0; }
}

/* ============= CART COUNT BADGE in header ============= */
.icon-btn { position: relative; }
.cart-count {
  position: absolute;
  top: -6px; right: -6px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #B600BD;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
  transform: scale(0);
  transition: transform .2s ease;
}
.cart-count.is-visible { transform: scale(1); }

/* =====================================================================
   SINGLE PRODUCT — карточка товара
   ===================================================================== */
.single-product-page {
  padding: 0 0 96px;
  color: var(--ink);
}
.single-product-page .breadcrumbs {
  padding: 18px 0 14px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.single-product-page .breadcrumbs a { color: var(--muted); }
.single-product-page .breadcrumbs a:hover { color: var(--ink); }
.single-product-page .breadcrumb__current,
.single-product-page .breadcrumb_last { color: var(--ink); }
.sp-container { padding-top: 0; }

/* Mobile back-bar — спрятан на десктопе */
.sp-mobile-bar { display: none; }

/* Layout: 2 columns, sticky right */
.sp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 1fr);
  gap: 56px;
  align-items: start;
  margin-top: 8px;
}

/* ---------- GALLERY ---------- */
.sp-gallery {
  position: relative;
  background: var(--surface-alt);
  border-radius: 4px;
  overflow: hidden;
  min-height: 560px;
}
.sp-gallery__swiper { width: 100%; }
.sp-gallery__slide {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-alt);
}
.sp-gallery__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.sp-gallery__slide--placeholder { background: var(--surface-alt); }
.sp-gallery__placeholder {
  width: 50% !important; height: auto !important;
  object-fit: contain !important;
  opacity: .35;
  filter: grayscale(1);
}
.sp-gallery__fav {
  position: absolute;
  z-index: 2;
  top: 18px; right: 18px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(4px);
  color: var(--ink-soft);
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .2s, background .2s, transform .2s;
}
.sp-gallery__fav svg { width: 18px; height: 18px; }
.sp-gallery__fav:hover { color: #B600BD; transform: scale(1.05); }
.sp-gallery__fav.is-active { color: #B600BD; }
.sp-gallery__fav.is-active svg { fill: #B600BD; }

.sp-gallery__nav {
  position: absolute;
  z-index: 2;
  bottom: 18px; left: 18px;
  display: flex;
  gap: 10px;
}
.sp-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, border-color .2s;
}
.sp-arrow svg { width: 16px; height: 16px; }
.sp-arrow:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sp-arrow.is-disabled { opacity: .4; pointer-events: none; }

/* ---------- SUMMARY ---------- */
.sp-summary { position: relative; }
.sp-summary__sticky {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sp-summary__sku {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.sp-summary__title {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}
.sp-summary__price {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  color: var(--ink);
}
.sp-summary__price del {
  color: var(--old);
  font-weight: 500;
  font-size: 22px;
  margin-left: 10px;
  text-decoration: line-through;
}
.sp-summary__price ins { text-decoration: none; }

/* form */
.sp-form { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.sp-field { display: flex; flex-direction: column; gap: 8px; }
.sp-field__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.sp-field__label {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.sp-field__link {
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  border-bottom: 1px solid #B600BD;
  padding-bottom: 1px;
  cursor: pointer;
}
.sp-field__link:hover { color: #B600BD; }

/* select */
.sp-select { position: relative; }
.sp-select__btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: border-color .2s;
  text-align: left;
}
.sp-select__btn:hover,
.sp-select.is-open .sp-select__btn { border-color: var(--ink); }
.sp-select__value {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sp-select.is-empty .sp-select__value { color: var(--muted); }
.sp-select__chevron { transition: transform .2s; flex-shrink: 0; opacity: .6; }
.sp-select.is-open .sp-select__chevron { transform: rotate(180deg); }
.sp-select__swatch { display: inline-flex; align-items: center; }
.sp-select__swatch:empty { display: none; }
.sp-swatch {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--surface-alt);
  border: 1px solid var(--line);
}
.sp-swatch--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-swatch--empty { background: var(--surface-alt); }
.sp-select__list {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0; right: 0;
  list-style: none;
  margin: 0; padding: 6px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  max-height: 280px;
  overflow: auto;
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
  display: none;
}
[data-theme="dark"] .sp-select__list { box-shadow: 0 18px 40px rgba(0,0,0,.6); }
.sp-select.is-open .sp-select__list { display: block; }
.sp-select__opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s;
  font-size: 14px;
}
.sp-select__opt:hover { background: var(--surface-alt); }
.sp-select__opt.is-selected { background: var(--surface-alt); font-weight: 600; }
.sp-select__opt[aria-disabled="true"] {
  opacity: .35;
  cursor: not-allowed;
}

/* add to cart */
.sp-add-btn {
  margin-top: 12px;
  width: 100%;
  padding: 18px 24px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.sp-add-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sp-add-btn[disabled] { opacity: .55; cursor: not-allowed; }
.sp-add-btn.is-loading { opacity: .8; pointer-events: none; }
.sp-add-btn.is-success { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- TABS ---------- */
.sp-tabs { margin-top: 56px; }
.sp-tabs__nav {
  display: flex;
  gap: 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.sp-tabs__tab {
  border: 0;
  background: transparent;
  padding: 14px 0;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  position: relative;
  cursor: pointer;
  transition: color .2s;
}
.sp-tabs__tab:hover { color: var(--ink); }
.sp-tabs__tab.is-active { color: var(--ink); }
.sp-tabs__tab.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: #B600BD;
}
.sp-tabs__count { color: var(--muted); margin-left: 6px; font-weight: 500; }
.sp-tabs__panel { display: none; }
.sp-tabs__panel.is-active,
.sp-tabs__panel:not([hidden]) { display: block; }

.sp-prose {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 720px;
}
.sp-prose p { margin: 0 0 14px; }
.sp-tabs__empty { color: var(--muted); font-size: 14px; }

/* specs (точечные строки) */
.sp-specs {
  list-style: none;
  margin: 24px 0 14px;
  padding: 0;
  max-width: 720px;
}
.sp-specs__row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}
.sp-specs__row.is-hidden { display: none; }
.sp-specs__row.is-visible { display: flex; }
.sp-specs__label { white-space: nowrap; }
.sp-specs__dots {
  flex: 1;
  border-bottom: 1px dotted var(--line-strong);
  transform: translateY(-3px);
  min-width: 24px;
}
.sp-specs__value {
  white-space: nowrap;
  color: var(--ink);
  font-weight: 500;
}
.sp-specs__more {
  background: transparent;
  border: 0;
  padding: 4px 0;
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  border-bottom: 1px solid #B600BD;
  cursor: pointer;
  margin-top: 4px;
}
.sp-specs__more:hover { color: #B600BD; }

/* ---------- RELATED ---------- */
.sp-related { padding: 88px 0 0; }
.sp-related__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.sp-related__head .section-head__title em { font-style: italic; font-weight: 400; }
.sp-related__swiper { width: 100%; }
.sp-related .swiper-slide { height: auto; display: flex; }
.sp-related .swiper-slide .product { width: 100%; }
.sp-related .swiper-slide.swiper-slide-active .product,
.sp-related .swiper-slide .product { box-sizing: border-box; }

/* slider-nav reuse — но переопределим иконки если нужно */
.sp-related .slider-nav button {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.sp-related .slider-nav button:hover:not(:disabled) {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}
.sp-related .slider-nav button:disabled { opacity: .35; cursor: not-allowed; }
.sp-related .slider-nav { display: inline-flex; gap: 10px; }

/* ---------- MODALS ---------- */
.sp-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.sp-modal[hidden] { display: none; }
.sp-modal__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(2px);
  cursor: pointer;
}
[data-theme="dark"] .sp-modal__overlay { background: rgba(0,0,0,.6); }
.sp-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: var(--bg);
  border-radius: 6px;
  padding: 32px 36px;
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
}
[data-theme="dark"] .sp-modal__dialog {
  background: #1a1a1d;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.sp-modal__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  border: 0;
  background: transparent;
  color: var(--ink);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s;
}
.sp-modal__close:hover { background: var(--surface-alt); }
.sp-modal__title {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0.04em;
  margin: 0 0 18px;
}
.sp-modal__title--upper { text-transform: uppercase; }
.sp-modal__body { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.sp-modal__body table { width: 100%; border-collapse: collapse; }
.sp-modal__body th, .sp-modal__body td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 13px;
}
.sp-modal__body th { background: var(--surface-alt); color: var(--ink); font-weight: 600; }
body.has-modal-open { overflow: hidden; }

/* cart-added modal */
.sp-modal__dialog--cart { padding: 36px; }
.sp-cart-added__row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.sp-cart-added__media {
  width: 80px; height: 80px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface-alt);
}
.sp-cart-added__media img { width: 100%; height: 100%; object-fit: cover; }
.sp-cart-added__name {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: 18px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.sp-cart-added__attrs {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.sp-cart-added__attrs span + span::before {
  content: ' I ';
  color: var(--line-strong);
  margin: 0 4px;
}
.sp-cart-added__price {
  font-style: italic;
  font-weight: 800;
  font-size: 18px;
  white-space: nowrap;
}
.sp-cart-added__actions { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  text-decoration: none;
}
.sp-btn--primary { width: 100%; max-width: 360px; }
.sp-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sp-btn--text {
  border: 0;
  background: transparent;
  padding: 6px 12px;
  letter-spacing: 0.22em;
}
.sp-btn--text:hover { background: transparent; color: var(--muted); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .sp-layout { gap: 36px; }
  .sp-summary__sticky { top: 96px; }
}
@media (max-width: 860px) {
  .sp-layout { grid-template-columns: 1fr; gap: 24px; }
  .sp-summary__sticky { position: static; }
  .sp-gallery { min-height: 0; }
  .sp-related { padding-top: 56px; }
}
@media (max-width: 768px) {
  .single-product-page { padding: 0 0 56px; }
  .single-product-page .breadcrumbs { display: none; }

  /* Mobile back-bar появляется над галереей сразу под шапкой («← Название»). */
  .sp-mobile-bar {
    display: block;
    position: relative;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .sp-mobile-bar .container {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 52px;
    padding: 0 16px;
  }
  .sp-mobile-bar__back {
    border: 0;
    background: transparent;
    color: var(--ink);
    width: 32px; height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: -6px;
    cursor: pointer;
  }
  .sp-mobile-bar__title {
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink);
    line-height: 1;
  }

  .sp-container { padding: 0 16px; }
  .sp-summary__sku { letter-spacing: 0.16em; }
  .sp-summary__title { font-size: 28px; }
  .sp-summary__price { font-size: 24px; }
  .sp-add-btn { padding: 16px 20px; font-size: 12px; letter-spacing: 0.18em; }
  .sp-tabs { margin-top: 24px; }
  .sp-tabs__nav { gap: 24px; }
  .sp-specs__value { white-space: normal; text-align: right; }
  .sp-related { padding-top: 36px; }
  .sp-related__head { margin-bottom: 18px; }
  .sp-related__head .slider-nav { display: none; }

  .sp-modal { padding: 0; align-items: stretch; }
  .sp-modal__dialog { width: 100%; height: 100vh; max-height: 100vh; border-radius: 0; padding: 56px 20px 24px; }
  .sp-modal__dialog--cart { padding: 56px 20px 24px; }
  .sp-modal__close { top: 12px; right: 12px; }
}

[data-theme="dark"] .sp-gallery__fav { background: rgba(20,20,22,.7); color: var(--ink); }
[data-theme="dark"] .sp-gallery__fav:hover { color: #B600BD; }
[data-theme="dark"] .sp-arrow { background: rgba(20,20,22,.85); }
[data-theme="dark"] .sp-arrow:hover { background: var(--ink); color: var(--bg); }
[data-theme="dark"] .cart-count { background: #B600BD; color: #fff; }
