:root {
  --bg: #0f1114;
  --bg-soft: #171a1f;
  --surface: #1d2229;
  --ink: #f4f1ea;
  --muted: #a7adb8;
  --line: rgba(244, 241, 234, 0.12);
  --accent: #8fa3b8;
  --accent-strong: #c9d6e3;
  --steel: #3e5368;
  --success: #7d9b78;
  --danger: #c47a7a;
  --radius: 18px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
  --header-h: 72px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* clip: не ломает sticky на desktop; на iOS ниже переопределяем */
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(62, 83, 104, 0.45), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(143, 163, 184, 0.18), transparent 55%),
    linear-gradient(180deg, #0c0e11 0%, #12151a 45%, #0f1114 100%);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: clip;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}
main, .site-footer { position: relative; z-index: 1; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(12, 14, 17, 0.92);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, box-shadow .3s ease;
  /* iOS: отдельный композитный слой, чтобы fixed не «отлипал» */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.site-header.is-scrolled {
  background: rgba(10, 12, 15, 0.96);
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.logo {
  flex-shrink: 0;
}
.logo img { height: 22px; width: auto; filter: brightness(1.05); }
.nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
}
.nav a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s ease;
  white-space: nowrap;
}
.nav a:hover, .nav a.is-active { color: var(--ink); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.55rem;
  flex-shrink: 0;
  margin-left: 0;
}
.phone-link {
  font-size: 0.85rem;
  color: var(--accent-strong);
  white-space: nowrap;
}
.cart-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
}
.cart-btn span {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent-strong);
  color: #111;
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 7px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  margin: 0;
  background: currentColor;
  border-radius: 0;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}

/* Hero slider: full-bleed across viewport */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0a0c0f;
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - var(--header-h));
  min-height: 360px;
}
.hero-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s ease;
}
.hero-slider__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.hero-slider__slide picture {
  position: absolute;
  inset: 0;
  display: block;
}
.hero-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
.hero-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: opacity .2s ease;
}
.hero-slider__nav:hover { opacity: 0.65; }
.hero-slider__nav--prev { left: 1rem; }
.hero-slider__nav--next { right: 1rem; }
.hero-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.45rem;
}
.hero-slider__dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(0,0,0,0.25);
  cursor: pointer;
}
.hero-slider__dots button.is-active {
  background: rgba(0,0,0,0.75);
  width: 22px;
}

/* Homepage: Reels (кругляшки с вертикальными видео) */
.reels-home {
  padding: 1.25rem 0 2rem;
}
.reels-home__rail {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  overflow-x: auto;
  padding: 0.75rem 0;
  scroll-snap-type: x mandatory;
}
.reel-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-snap-align: start;
  min-width: 92px;
}
.reel-item__button {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  outline: none;
}
.reel-item__ring {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  border: 3px solid rgba(141, 170, 175, 0.95);
  box-shadow: 0 0 0 7px rgba(141, 170, 175, 0.07);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.reel-item__thumb {
  position: absolute;
  inset: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  border-radius: 999px;
  object-fit: cover;
  transform: scale(1);
  transition: transform .22s ease, filter .22s ease;
}
.reel-item__thumb--placeholder {
  position: absolute;
  inset: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
}
.reel-item__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity .22s ease, transform .22s ease;
  color: var(--accent-strong);
}
.reel-item__label {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
  max-width: 110px;
  line-height: 1.2;
}
.reel-item__button:hover .reel-item__ring,
.reel-item__button:focus-visible .reel-item__ring {
  transform: translateY(-2px);
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 7px rgba(141, 170, 175, 0.14);
}
.reel-item__button:hover .reel-item__thumb,
.reel-item__button:focus-visible .reel-item__thumb {
  transform: scale(1.055);
  filter: brightness(1.05);
}
.reel-item__button:hover .reel-item__play,
.reel-item__button:focus-visible .reel-item__play {
  opacity: 1;
  transform: scale(1);
}

/* Modal reels player */
.reels-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0,0,0,0.92);
  display: flex;
  flex-direction: column;
  padding: 1rem;
}
.reels-modal[hidden] {
  display: none;
}
.reels-modal__top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.reels-progress {
  display: flex;
  gap: 6px;
  flex: 1;
}
.reels-progress__seg {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  overflow: hidden;
}
.reels-progress__fill {
  width: 0%;
  height: 100%;
  background: var(--accent-strong);
}
.reels-modal__close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.reels-modal__media {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 1rem 0;
}
.reels-video {
  width: min(390px, 100%);
  height: auto;
  max-height: 720px;
  aspect-ratio: 9/16;
  background: #000;
  border-radius: 26px;
  object-fit: cover;
}
.reels-modal__bottom {
  display: flex;
  justify-content: center;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.reels-modal__to-product {
  color: #111;
  background: var(--accent-strong);
  text-decoration: none;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  font-family: var(--font-display);
}

@media (max-width: 720px) {
  .reels-home {
    padding-bottom: 1rem;
  }
  .reel-item {
    min-width: 82px;
  }
  .reel-item__ring,
  .reel-item__thumb,
  .reel-item__thumb--placeholder {
    width: 82px;
    height: 82px;
    inset: 0;
  }
  .reel-item__thumb,
  .reel-item__thumb--placeholder {
    inset: 0;
    width: 82px;
    height: 82px;
  }
  .reel-item__ring {
    inset: unset;
  }
  .reels-modal {
    padding: 0;
  }
  .reels-modal__top {
    padding: 0.75rem 0.85rem 0;
  }
  .reels-modal__close {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }
  .reels-modal__media {
    padding: 0.75rem 0.85rem;
  }
  .reels-video {
    border-radius: 18px;
    width: 100%;
    height: 100%;
    max-height: none;
  }
  .reels-modal__bottom {
    padding: 0.85rem 0.85rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  }
  .reels-modal__to-product {
    width: 100%;
    text-align: center;
  }
}

.stores-collage {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #171b21;
  border: 1px solid var(--line);
}
.stores-collage img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,12,15,0.25) 0%, rgba(10,12,15,0.55) 45%, rgba(10,12,15,0.92) 100%),
    linear-gradient(90deg, rgba(10,12,15,0.75), transparent 55%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 4rem;
  max-width: 680px;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero h1, .page-hero h1, .section-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 1rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  max-width: 12ch;
  animation: fadeUp .9s ease both;
}
.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38ch;
  animation: fadeUp .9s ease .12s both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
  animation: fadeUp .9s ease .2s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  font-weight: 600;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--ink);
  color: #111;
}
.btn-primary:hover { background: #fff; }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.35); }
.btn-block { width: 100%; }

.section {
  padding: 5rem 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 2rem;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-home .section-title {
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  margin-bottom: 0.75rem;
}
.page-home .hero h1 {
  font-size: clamp(2.35rem, 6.2vw, 4.35rem);
}
.section-sub { color: var(--muted); max-width: 42ch; margin: 0; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.product-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  border: 1px solid transparent;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  background: rgba(255,255,255,0.05);
}
.product-card__link {
  display: grid;
  gap: 1rem;
  color: inherit;
  text-decoration: none;
}
.product-card__link:hover { color: inherit; }
.product-card .thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.12), transparent 45%),
    #1a1e24;
}
.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease, opacity .25s ease;
  display: block;
}
.product-card .thumb__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .28s ease, transform .5s ease;
  pointer-events: none;
  background: #1a1e24;
}
.product-card .thumb.is-playing .thumb__video {
  opacity: 1;
}
.product-card .thumb.is-playing img {
  opacity: 0;
}
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card:hover .thumb.is-playing img {
  transform: none;
}
.product-card:hover .thumb.is-playing .thumb__video {
  transform: scale(1.05);
}
.product-card .meta { display: grid; gap: 0.35rem; }
.product-card .cat {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.product-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
}
.product-card .tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.product-card .price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.5rem;
}
.product-card .price {
  color: inherit;
  text-decoration: none;
}
.product-card__buy { margin: 0; }
.product-card__btn {
  min-height: 38px;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}
.price {
  font-weight: 700;
  font-size: 1.05rem;
}

.spotlight {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: stretch;
}
.spotlight-visual {
  min-height: 460px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: #161a20;
}
.spotlight-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spotlight-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}
.feature-list li {
  padding-left: 1.2rem;
  position: relative;
  color: var(--muted);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.review {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
}
.review p { margin: 0 0 1rem; color: var(--muted); }
.review strong { font-family: var(--font-display); }

.stores-grid, .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.store-card, .blog-card, .info-panel, .legal-box, .cart-panel, .checkout-panel {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.blog-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.blog-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}
.blog-card:hover {
  color: inherit;
  text-decoration: none;
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}
.blog-card .cat {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.blog-card__date {
  display: block;
  margin: -0.05rem 0 0.45rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}
.blog-card p { color: var(--muted); margin: 0; }

/* ——— Где купить: карточки точек ——— */
.where-stores {
  padding-bottom: 2.5rem;
}
.stores-home .store-loc-grid {
  margin-top: 1.5rem;
}
.store-loc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.store-loc-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 100%;
  padding: 1.35rem 1.35rem 1.2rem;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.015) 100%),
    rgba(255, 255, 255, 0.02);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.store-loc-card:hover {
  border-color: rgba(201, 214, 227, 0.22);
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
}
.store-loc-card__metro {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  max-width: 100%;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: rgba(143, 163, 184, 0.12);
  border: 1px solid rgba(143, 163, 184, 0.18);
}
.store-loc-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.store-loc-card__address {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  flex: 1 1 auto;
}
.store-loc-card__note {
  margin: 0;
  color: rgba(167, 173, 184, 0.88);
  font-size: 0.84rem;
  line-height: 1.45;
  font-style: italic;
}
.store-loc-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  margin-top: auto;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.store-loc-card__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}
.store-loc-card__phone::before {
  content: "";
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 auto;
  background: currentColor;
  opacity: 0.75;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.store-loc-card__phone:hover {
  color: var(--accent-strong);
}
.store-loc-card__map {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  font: inherit;
  cursor: pointer;
  background: transparent;
}
button.store-loc-card__map {
  appearance: none;
}
.store-loc-card__map:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.marketplace-strip__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.25rem;
}
.marketplace-logo {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.marketplace-logo__inner {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.marketplace-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(.55);
  transition: filter .2s ease;
}
.marketplace-logo__text {
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
  padding: 0 .3rem;
  color: #0d1016;
  filter: brightness(.55);
  transition: filter .2s ease;
}
.marketplace-logo:hover img,
.marketplace-logo:focus-visible img,
.marketplace-logo:hover .marketplace-logo__text,
.marketplace-logo:focus-visible .marketplace-logo__text {
  filter: brightness(1);
}

@media (max-width: 720px) {
  .marketplace-strip .container {
    overflow: visible;
  }
  .marketplace-strip__grid {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.75rem;
    margin-top: 1rem;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0.15rem max(1rem, calc(50vw - 50% + 0.25rem)) 0.35rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x;
  }
  .marketplace-strip__grid::-webkit-scrollbar {
    display: none;
  }
  .marketplace-logo {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    scroll-snap-align: start;
  }
}

.page-hero {
  padding: 3.5rem 0 1.5rem;
}
.page-hero p { color: var(--muted); max-width: 55ch; }

.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  padding-bottom: 3rem;
}
.gallery {
  display: grid;
  gap: 0.75rem;
}
.gallery-main {
  position: relative;
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  background: #171b21;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-main__play {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 10, 14, 0.28);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: #fff;
}
.gallery-main__play[hidden] { display: none !important; }
.gallery-play-icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(12, 14, 17, 0.72);
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: transform .2s ease, background .2s ease;
}
.gallery-play-icon svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
}
.gallery-main__play:hover .gallery-play-icon {
  transform: scale(1.06);
  background: rgba(12, 14, 17, 0.88);
}
.gallery-thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  padding-bottom: 0.15rem;
  scrollbar-width: thin;
}
.gallery-thumbs::-webkit-scrollbar {
  height: 4px;
}
.gallery-thumbs::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 999px;
}
.gallery-thumbs button,
.gallery-thumbs__btn {
  position: relative;
  flex: 0 0 auto;
  width: calc((100% - 2rem) / 5);
  min-width: 64px;
  max-width: 96px;
  border: 1px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  background: #171b21;
  cursor: pointer;
  scroll-snap-align: start;
}
.gallery-thumbs button.is-active,
.gallery-thumbs button:hover,
.gallery-thumbs__btn.is-active,
.gallery-thumbs__btn:hover {
  border-color: var(--accent);
}
.gallery-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.gallery-thumbs__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.45));
  color: #fff;
  pointer-events: none;
}
.gallery-thumbs__play svg {
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(12, 14, 17, 0.72);
  border: 1px solid rgba(255,255,255,0.25);
  box-sizing: content-box;
  margin-left: 2px;
}
.gallery-thumbs__btn--video.is-active {
  border-color: #c9a227;
}

/* Вертикальный fullscreen-плеер (как на маркетплейсах) */
.pv-player[hidden] { display: none !important; }
.pv-player {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: grid;
  place-items: center;
  padding: 0;
}
.pv-player__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
}
.pv-player__frame {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  height: min(92vh, 860px);
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
}
.pv-player__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}
/* Крестик снаружи video-слоя (iOS video перекрывает siblings внутри frame) */
.pv-player__close {
  position: absolute;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 0.35rem);
  right: max(0.75rem, env(safe-area-inset-right, 0px));
  z-index: 5;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  background: rgba(12, 14, 17, 0.55);
  color: rgba(255,255,255,0.88);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
.pv-player__close:hover,
.pv-player__close:active {
  background: rgba(12, 14, 17, 0.82);
  color: #fff;
}
body.has-pv-player { overflow: hidden; }
body.has-pv-player .site-header {
  /* шапка не должна перехватывать клики поверх плеера */
  pointer-events: none;
}

@media (max-width: 720px) {
  .pv-player__frame {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }
  .pv-player__close {
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 0.4rem);
    right: max(0.7rem, env(safe-area-inset-right, 0px));
  }
}
.buy-box .lead { color: var(--muted); }
.buy-sku {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-weight: 650;
}
.product-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  margin: 0 0 0.85rem;
}
.product-rating__meta {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}
a.product-rating__meta:hover { color: var(--ink); }
.product-rating__value {
  color: var(--ink);
  font-weight: 700;
}
.product-rating__count { color: var(--muted); }
.product-card .product-rating {
  margin: 0.15rem 0 0;
}
.product-card .product-rating__meta {
  font-size: 0.8rem;
}
.section-head .btn {
  flex-shrink: 0;
  white-space: nowrap;
  align-self: center;
}
.stars {
  display: inline-flex;
  align-items: center;
  gap: 0.14rem;
  line-height: 1;
  color: #c9a227;
}
.stars__item {
  width: 1em;
  height: 1em;
  display: block;
  flex: 0 0 auto;
}
.stars__item.is-full { fill: currentColor; }
.stars__item.is-empty {
  fill: transparent;
  stroke: rgba(255,255,255,0.28);
  stroke-width: 1.2;
  color: rgba(255,255,255,0.28);
}
.stars__item.is-half {
  color: #c9a227;
  stroke: #c9a227;
}
.stars--sm { font-size: 0.85rem; }
.stars--md { font-size: 1.05rem; }
.stars--lg { font-size: 1.2rem; }
.buy-perks {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}
.buy-perks li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.buy-perks svg {
  width: 18px;
  height: 18px;
  color: var(--accent-strong);
  flex: 0 0 auto;
}
.buy-price {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 1.25rem 0;
}
.qty-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}
.qty-row input {
  width: 72px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: center;
}
.product-body {
  padding: 2.5rem 0 5rem;
  border-top: 1px solid var(--line);
  margin-top: 1rem;
  background:
    radial-gradient(900px 320px at 50% 0%, rgba(143,163,184,0.08), transparent 60%),
    transparent;
  scroll-margin-top: 96px;
}
.product-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}
.product-tabs__btn {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 0.85rem 1.15rem;
  color: var(--muted);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.product-tabs__btn:hover { color: var(--ink); }
.product-tabs__btn.is-active {
  color: var(--ink);
  border-bottom-color: var(--accent-strong);
}
.product-tabs__panel[hidden] { display: none !important; }
.product-tabs__panel.is-active { display: block; }
.product-reviews__summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
}
.product-reviews__summary-text {
  display: grid;
  gap: 0.15rem;
}
.product-reviews__summary-text strong {
  font-size: 1.15rem;
}
.product-reviews__summary-text span {
  color: var(--muted);
  font-size: 0.92rem;
}
.product-reviews__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.product-review {
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.025);
}
.product-review__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.7rem;
}
.product-review__author {
  display: block;
  font-size: 1rem;
}
.product-review__date {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.82rem;
}
.product-review__text {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.product-reviews__empty {
  color: var(--muted);
  margin: 0 0 1.5rem;
}
.review-form-box {
  margin-top: 2.25rem;
  padding: 1.35rem 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
}
.review-form-box__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.review-form-box__note {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.review-form {
  display: grid;
  gap: 1rem;
}
.review-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.review-form__rating {
  margin: 0;
  padding: 0;
  border: 0;
}
.review-form__rating legend {
  margin-bottom: 0.55rem;
  font-weight: 600;
}
.review-stars {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 0.2rem;
}
.review-stars input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.review-stars label {
  cursor: pointer;
  color: rgba(255,255,255,0.22);
  transition: color .15s ease, transform .15s ease;
}
.review-stars label svg {
  width: 28px;
  height: 28px;
  display: block;
  fill: currentColor;
}
.review-stars label:hover,
.review-stars label:hover ~ label,
.review-stars input:checked ~ label,
.review-stars input:focus-visible ~ label {
  color: #c9a227;
}
.review-stars label:hover {
  transform: translateY(-1px);
}
.review-form__field {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
}
.review-form__field input,
.review-form__field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0,0,0,0.2);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  padding: 0.75rem 0.9rem;
}
.review-form__field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}
.review-form__field input:focus,
.review-form__field textarea:focus {
  outline: 2px solid rgba(201,162,39,0.35);
  border-color: rgba(201,162,39,0.55);
}
.review-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.review-form__hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 400;
}
.review-form .chk-agree {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
}
.review-form__ok {
  margin: 0;
  color: #7dcea0;
  font-weight: 600;
}
.review-form__error {
  margin: 0;
  color: #e07a7a;
  font-weight: 600;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.product-body .rich {
  color: var(--muted);
}
.product-body .rich h2,
.product-body .rich h3,
.product-body .rich h4,
.product-body .rich h5 {
  color: var(--ink);
  font-family: var(--font-display);
}
.product-body .rich img {
  border-radius: 16px;
  margin: 1rem 0;
}
.product-body .rich iframe {
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 16px;
}
.product-body .rich table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
.product-body .rich td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.8rem;
}

.product-desc-head {
  max-width: 860px;
  margin: 0 auto 2rem;
}
.product-desc-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin: 0;
  letter-spacing: -0.02em;
}

.product-description {
  opacity: 1 !important;
  transform: none !important;
  max-width: 860px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}
.product-description > *:first-child { margin-top: 0; }
.product-description h2,
.product-description h3,
.product-description h4,
.product-description h5 {
  color: var(--ink);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 2.4rem 0 0.9rem;
}
.product-description h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.product-description h3 { font-size: clamp(1.3rem, 2.5vw, 1.65rem); }
.product-description h4 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
.product-description h5 {
  font-size: 1.05rem;
  color: var(--accent-strong);
  margin-top: 1.8rem;
}
.product-description p {
  margin: 0 0 1.1rem;
}
.product-description strong,
.product-description b {
  color: var(--ink);
  font-weight: 650;
}
.product-description ul,
.product-description ol {
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.product-description li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 2.4rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
}
.product-description ul li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.2rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.product-description ol {
  counter-reset: pd;
}
.product-description ol li {
  counter-increment: pd;
}
.product-description ol li::before {
  content: counter(pd);
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #111;
  background: var(--accent-strong);
  padding: 0;
}
.product-description img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  margin: 1.4rem 0;
  background: #14181e;
  border: 1px solid var(--line);
}
.product-description p:has(> img:only-child) {
  margin: 0;
}
.product-description p:has(> img:only-child) img {
  margin: 1.4rem 0;
}

/* Side-by-side feature cards / multi-image rows from admin HTML */
.product-media-grid,
.product-description p:has(> img ~ img),
.product-description center:has(> img ~ img) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.4rem 0;
  align-items: start;
  text-align: left;
}
.product-media-grid--3,
.product-description p:has(> img:nth-of-type(3):last-of-type),
.product-description center:has(> img:nth-of-type(3):last-of-type) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.product-media-grid--4,
.product-description center:has(> img:nth-of-type(4)):not(:has(> img:nth-of-type(5))) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.product-description p:has(> img:nth-of-type(4)):not(:has(> img:nth-of-type(5))) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.product-media-grid img,
.product-media-grid p,
.product-media-grid figure,
.product-description p:has(> img ~ img) img,
.product-description center:has(> img ~ img) img {
  margin: 0 !important;
  width: 100%;
  border-radius: 14px;
}
.product-media-grid p:has(img),
.product-media-grid figure {
  margin: 0;
  min-width: 0;
}

/* WordPress / Elementor / legacy column markup preserved in descriptionHtml */
.product-description .wp-block-columns,
.product-description .wp-block-gallery,
.product-description .elementor-container,
.product-description .elementor-row,
.product-description .e-con.e-flex,
.product-description .vc_row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.4rem 0;
  align-items: stretch;
}
.product-description .wp-block-column,
.product-description .wp-block-image,
.product-description .elementor-column,
.product-description .elementor-widget-wrap,
.product-description .vc_column_container,
.product-description .vc_column-inner {
  flex: 1 1 0;
  min-width: min(100%, 240px);
  max-width: 100%;
}
.product-description .wp-block-columns.is-layout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.product-description .wp-block-columns.is-layout-grid:has(> :nth-child(3):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.product-description img.alignleft,
.product-description .alignleft {
  float: left;
  width: auto;
  max-width: calc(50% - 0.5rem);
  margin: 0.35rem 1rem 1rem 0;
}
.product-description img.alignright,
.product-description .alignright {
  float: right;
  width: auto;
  max-width: calc(50% - 0.5rem);
  margin: 0.35rem 0 1rem 1rem;
}
.product-description::after {
  content: "";
  display: table;
  clear: both;
}
.product-video {
  position: relative;
  width: 100%;
  margin: 1.75rem 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  aspect-ratio: 16 / 9;
}
.product-video iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  max-width: none;
}
.product-video-tab {
  max-width: 820px;
}
.product-video-content {
  display: grid;
  gap: 1.25rem;
}
.product-video-content .product-video {
  margin: 0;
}
.product-video-doc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin: 0;
}
.product-video-doc img {
  width: 120px;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
}
.product-video-empty {
  color: var(--muted);
  margin: 0;
}
.product-description table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.5rem 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.product-description td,
.product-description th {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.product-description tr:last-child td,
.product-description tr:last-child th {
  border-bottom: 0;
}
.product-description td:first-child,
.product-description th:first-child {
  color: var(--ink);
  font-weight: 600;
  width: 48%;
}
.product-description blockquote {
  margin: 1.5rem 0;
  padding: 1.2rem 1.4rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 16px 16px 0;
  background: rgba(255,255,255,0.04);
  color: var(--ink);
  font-size: 1.08rem;
}
.product-description center {
  display: block;
  margin: 1.5rem 0;
}
.product-description a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .product-media-grid,
  .product-media-grid--3,
  .product-media-grid--4,
  .product-description p:has(> img ~ img),
  .product-description center:has(> img ~ img),
  .product-description p:has(> img:nth-of-type(3):last-of-type),
  .product-description center:has(> img:nth-of-type(3):last-of-type),
  .product-description p:has(> img:nth-of-type(4)):not(:has(> img:nth-of-type(5))),
  .product-description center:has(> img:nth-of-type(4)):not(:has(> img:nth-of-type(5))),
  .product-description .wp-block-columns,
  .product-description .wp-block-gallery,
  .product-description .elementor-container,
  .product-description .elementor-row,
  .product-description .e-con.e-flex,
  .product-description .vc_row,
  .product-description .wp-block-columns.is-layout-grid,
  .product-description .wp-block-columns.is-layout-grid:has(> :nth-child(3):last-child) {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .product-description .wp-block-column,
  .product-description .elementor-column,
  .product-description .vc_column_container {
    flex: 1 1 100%;
    min-width: 0;
    max-width: 100%;
  }
  .product-description img.alignleft,
  .product-description img.alignright,
  .product-description .alignleft,
  .product-description .alignright {
    float: none;
    display: block;
    max-width: 100%;
    width: 100%;
    margin: 1rem 0;
  }
  .product-description { font-size: 1rem; }
  .product-description li { padding-left: 2.2rem; }
}

/* Sticky mini buy bar */
.sticky-buy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 0.75rem 0 calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(10, 12, 15, 0.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -16px 40px rgba(0,0,0,0.35);
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform .28s ease, opacity .28s ease;
}
.sticky-buy.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.sticky-buy__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.sticky-buy__info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}
.sticky-buy__thumb {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  background: #171b21;
  border: 1px solid var(--line);
  flex: 0 0 auto;
}
.sticky-buy__text {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
.sticky-buy__text strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-buy__text span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}
.sticky-buy__form {
  flex: 0 0 auto;
}
.sticky-buy__form .btn {
  min-width: 132px;
  min-height: 44px;
}
body.has-sticky-buy {
  padding-bottom: 88px;
}

/* RetailCRM chat: не перекрывать sticky «Купить» (кнопка чата z-index ~10M) */
body.has-sticky-buy #retailcrm-consultant-app {
  bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  --consultantOffsetBottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 640px) {
  .sticky-buy__text strong { max-width: 42vw; }
  .sticky-buy__form .btn { min-width: 104px; padding-inline: 1rem; }
  body.has-sticky-buy {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
}


.cart-layout, .checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.25rem;
  padding-bottom: 4rem;
}
.cart-item {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 2.35rem 1rem 0;
  border-bottom: 1px solid var(--line);
}
.cart-item:last-child { border-bottom: 0; }
.cart-item img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 14px;
  background: #171b21;
}
.cart-item__body { min-width: 0; }
.cart-item h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  padding-right: 0.25rem;
}
.cart-item .price {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.cart-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.1rem;
}
.cart-item .qty-row {
  margin-bottom: 0;
}
.cart-item__remove {
  position: absolute;
  top: 0.55rem;
  right: 0;
  z-index: 1;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 300;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background 0.15s ease;
}
.cart-item__remove:hover,
.cart-item__remove:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}
.cart-item .chk-line-total {
  margin-top: 0;
  font-weight: 700;
  font-size: 1.05rem;
  margin-left: auto;
}
.form-grid {
  display: grid;
  gap: 0.85rem;
}
.form-grid label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--ink);
  padding: 0.75rem 0.9rem;
}
.form-grid textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted); }
.form-status {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}
.form-status--ok { color: #7dcea0; }
.form-status--err { color: #e07a7a; }
.form-grid .chk-agree {
  margin-top: 0.15rem;
}
.toast-host {
  position: fixed;
  z-index: 12000;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.55rem;
  pointer-events: none;
  max-width: min(360px, calc(100vw - 2rem));
}
.toast {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(22, 26, 30, 0.96);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.is-in {
  opacity: 1;
  transform: translateY(0);
}
.toast--ok { border-color: rgba(125, 206, 160, 0.45); color: #9be7a8; }
.toast--err { border-color: rgba(224, 122, 122, 0.45); color: #f0a0a0; }
.flash {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
}
.flash-ok { background: rgba(125,155,120,0.15); }
.flash-err { background: rgba(196,122,122,0.15); }

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,0.28);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 1.5rem;
}
.footer-brand p, .site-footer ul a { color: var(--muted); }
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.15rem;
}
.footer-social__link {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  display: inline-grid;
  place-items: center;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.footer-social__link svg {
  width: 18px;
  height: 18px;
  display: block;
}
.footer-social__link:hover {
  color: var(--ink);
  border-color: rgba(201, 214, 227, 0.35);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}
.site-footer h4 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1rem;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.site-footer a:hover { color: var(--ink); }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

.empty-state {
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}

.two-col {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1.1fr 0.9fr;
}

@media (max-width: 980px) {
  .two-col { grid-template-columns: 1fr; }
  .header-inner { gap: 0.75rem; }
  .header-actions {
    margin-left: auto;
    gap: 0.55rem;
  }
  .nav {
    display: none;
    flex: none;
    justify-content: flex-start;
  }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 1rem 1.5rem;
    background: rgba(10,12,15,0.97);
    border-bottom: 1px solid var(--line);
  }
  .menu-toggle {
    display: inline-grid;
    place-items: center;
    align-content: center;
  }
  .phone-link { display: none; }
  .stores-collage {
    /* 100vw + scrollbar ????? ???? ?????????????? ?????? ???????? */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    max-width: 100%;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  .stores-collage img {
    width: auto;
    max-width: none;
    height: clamp(200px, 48vw, 280px);
  }
  .reviews,
  .stores-grid,
  .blog-grid,
  .spotlight,
  .product-layout,
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .store-loc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  .store-loc-card {
    padding: 1.15rem 1.15rem 1.05rem;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .product-card {
    padding: 0.7rem 0.65rem 0.95rem;
    gap: 0.65rem;
  }
  .product-card__link { gap: 0.65rem; }
  .product-card h3 { font-size: 1.05rem; }
  .product-card .tagline { font-size: 0.82rem; }
  .product-card .price { font-size: 0.95rem; }
  .product-card__btn {
    min-height: 34px;
    padding: 0.4rem 0.7rem;
    font-size: 0.78rem;
  }
  .product-card .product-rating__meta {
    display: none;
  }
  .section-head {
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.35rem;
  }
  .section-head .btn {
    min-height: 32px;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem 1rem;
  }
  .footer-brand,
  .footer-col--contacts {
    grid-column: 1 / -1;
  }
  .footer-col--menu h4 { font-size: 0.95rem; }
  .footer-col--menu ul { gap: 0.4rem; font-size: 0.92rem; }
  .hero { min-height: 78vh; }
  .spotlight-visual { min-height: 320px; }
  .gallery-thumbs button,
  .gallery-thumbs__btn {
    width: 72px;
    min-width: 72px;
    max-width: 72px;
  }
}

@media (max-width: 640px) {
  .store-loc-grid {
    grid-template-columns: 1fr;
  }
  .store-loc-card__title {
    font-size: 1.05rem;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
  .product-card .tagline {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-card .price-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }
  .product-card__btn { width: 100%; }
  .cart-item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 0.65rem 0.75rem;
    padding: 0.7rem 1.85rem 0.7rem 0;
  }
  .cart-item img {
    width: 56px;
    height: 56px;
    border-radius: 10px;
  }
  .cart-item h3 {
    margin: 0 0 0.15rem;
    font-size: 0.95rem;
    line-height: 1.25;
  }
  .cart-item .price {
    margin: 0 0 0.35rem;
    font-size: 0.82rem;
  }
  .cart-item__meta {
    gap: 0.4rem 0.75rem;
  }
  .cart-item .chk-qty label {
    font-size: 0.8rem;
    gap: 0.35rem;
  }
  .cart-item .chk-qty input {
    width: 52px;
    min-height: 32px;
    height: 32px;
    padding: 0.2rem 0.3rem;
    border-radius: 8px;
    font-size: 0.9rem;
  }
  .cart-item .chk-line-total {
    font-size: 0.95rem;
  }
  .cart-item__remove {
    top: 0.35rem;
    right: -0.15rem;
    width: 32px;
    height: 32px;
    font-size: 1.4rem;
  }
  .product-tabs__btn { padding: 0.75rem 0.85rem; font-size: 0.95rem; }
  .product-tabs [data-reviews-tab-label] { display: none; }
  .product-review__head { flex-direction: column; gap: 0.45rem; }
  .review-form__row { grid-template-columns: 1fr; }
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 0.85rem 0 0;
  border-bottom: 1px solid transparent;
}
.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.55rem;
  opacity: 0.45;
}
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs [aria-current="page"] { color: var(--accent-strong); }

.page-hero--compact { padding-top: 1.5rem; padding-bottom: 0.5rem; }
.page-hero--compact h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0;
}
.article-wrap { max-width: 820px; margin-inline: auto; }
.article-hero-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  margin: 0.55rem 0 0;
}
.article-hero-rating .stars {
  color: #c9a227;
  filter: drop-shadow(0 0 8px rgba(201, 162, 39, 0.28));
}
.article-hero-rating__meta {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 0.95rem;
}
.article-hero-rating__value {
  color: #e8c84a;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.article-hero-rating__count {
  color: var(--muted);
}
.article-hero-date {
  margin: 0.55rem 0 0;
  color: var(--muted);
}
.article-cover {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.article-body { opacity: 1 !important; }

.related-posts {
  padding-top: 0.5rem;
}
.related-posts .section-head {
  margin-bottom: 1.25rem;
}
.related-posts__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 900px) {
  .related-posts__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .related-posts__grid {
    grid-template-columns: 1fr;
  }
}

.article-body.rich {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}
.article-body.rich > p,
.article-body.rich #wrap_cart > p { margin: 0 0 1.1rem; }
.article-body.rich h2,
.article-body.rich h3,
.article-body.rich h4 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  margin: 2rem 0 1rem;
  line-height: 1.25;
}
.article-body.rich h5 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 1.25rem 0 0.65rem;
  line-height: 1.35;
}
.article-body.rich img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.25rem auto;
  border-radius: 16px;
}
.article-body.rich .promo-cta {
  text-align: center;
  margin: 1.5rem 0 0.5rem;
}

/* Article body links ? clearly clickable */
.article-body.rich a:not(.btn):not(.promo-products__card):not(.blog-card) {
  color: var(--accent-strong);
  text-decoration: underline;
  text-decoration-color: rgba(201, 214, 227, 0.45);
  text-underline-offset: 0.18em;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.article-body.rich a:not(.btn):not(.promo-products__card):not(.blog-card):hover {
  color: #e8eef4;
  text-decoration-color: rgba(232, 238, 244, 0.85);
}

/* Table of contents panel */
.article-body.rich .article-toc,
.article-body.rich aside.toc {
  margin: 0 0 1.75rem;
  padding: 1.15rem 1.25rem 1.2rem;
  border: 1px solid rgba(201, 214, 227, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(165deg, rgba(62, 83, 104, 0.28) 0%, rgba(29, 34, 41, 0.55) 48%, rgba(23, 26, 31, 0.72) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.article-body.rich .article-toc__title,
.article-body.rich .toc-title {
  margin: 0 0 0.85rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.article-body.rich .article-toc ul,
.article-body.rich aside.toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.article-body.rich .article-toc li,
.article-body.rich aside.toc li {
  position: relative;
  margin: 0 0 0.55rem;
  padding: 0 0 0 0.95rem;
  color: var(--muted);
}
.article-body.rich .article-toc li:last-child,
.article-body.rich aside.toc li:last-child { margin-bottom: 0; }
.article-body.rich .article-toc li::before,
.article-body.rich aside.toc li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-strong);
  opacity: 0.75;
}
.article-body.rich .article-toc a,
.article-body.rich aside.toc a {
  color: var(--accent-strong) !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(201, 214, 227, 0.4) !important;
  text-underline-offset: 0.18em;
  font-weight: 560;
  line-height: 1.45;
}
.article-body.rich .article-toc a:hover,
.article-body.rich aside.toc a:hover {
  color: #e8eef4 !important;
  text-decoration-color: rgba(232, 238, 244, 0.9) !important;
}

/* Callout / info blocks */
.article-body.rich .block-callout,
.article-body.rich .block-important,
.article-body.rich .block-tips,
.article-body.rich .block-warning,
.article-body.rich div.block-info:not(.article-faq__item) {
  margin: 1.35rem 0;
  padding: 1rem 1.15rem 1.05rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}
.article-body.rich .block-callout {
  border-left: 3px solid rgba(201, 214, 227, 0.55);
  background:
    linear-gradient(135deg, rgba(62, 83, 104, 0.22), rgba(255, 255, 255, 0.02));
}
.article-body.rich .block-important,
.article-body.rich .block-tips {
  border-left: 3px solid rgba(143, 163, 184, 0.55);
}
.article-body.rich .block-warning {
  border-left: 3px solid rgba(196, 122, 122, 0.55);
}
.article-body.rich .block-danger {
  margin: 1.35rem 0;
  padding: 1rem 1.15rem 1.05rem;
  border-radius: 14px;
  border: 1px solid rgba(196, 122, 122, 0.35);
  border-left: 3px solid var(--danger);
  background: linear-gradient(135deg, rgba(196, 122, 122, 0.12), rgba(255, 255, 255, 0.02));
}
.article-body.rich .block-callout > p:first-child,
.article-body.rich .block-important > p:first-child,
.article-body.rich .block-tips > p:first-child,
.article-body.rich .block-warning > p:first-child,
.article-body.rich .block-danger > p:first-child,
.article-body.rich div.block-info > p:first-child {
  margin-top: 0;
}
.article-body.rich .block-callout > p:last-child,
.article-body.rich .block-important > p:last-child,
.article-body.rich .block-tips > p:last-child,
.article-body.rich .block-warning > p:last-child,
.article-body.rich .block-danger > p:last-child,
.article-body.rich div.block-info > p:last-child {
  margin-bottom: 0;
}

/* Lists */
.article-body.rich ul {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
}
.article-body.rich ul > li {
  position: relative;
  margin: 0 0 0.55rem;
  padding-left: 1.35rem;
}
.article-body.rich ul > li::before {
  content: "\25B6";
  position: absolute;
  left: 0;
  top: 0.15em;
  color: var(--ink);
  font-size: 0.65em;
  line-height: 1.7;
}
.article-body.rich .block-important ul > li::before,
.article-body.rich .block-tips ul > li::before,
.article-body.rich .block-callout ul > li::before {
  content: "\25B6";
  color: var(--ink);
  font-size: 0.65em;
}
.article-body.rich ul.list-negative {
  margin: 1.1rem 0;
  padding: 1rem 1.15rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(220, 53, 69, 0.28);
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.12), rgba(255, 245, 245, 0.03));
}
.article-body.rich .block-danger ul.list-negative,
.article-body.rich .block-warning ul.list-negative,
.article-body.rich .block-important ul.list-negative {
  margin: 0.35rem 0 0;
  padding: 0;
  border: none;
  background: transparent;
}
.article-body.rich ul.list-negative > li::before {
  content: "\2715";
  color: #dc3545;
  font-size: 0.9em;
  font-weight: 700;
  top: 0.05em;
}
.article-body.rich ol {
  margin: 0 0 1.1rem;
  padding-left: 1.35em;
}
.article-body.rich ol > li {
  margin: 0 0 0.55rem;
}
.article-body.rich ol.ol-steps {
  list-style: none;
  margin: 1.25rem 0 1.4rem;
  padding: 0;
  counter-reset: ol-steps;
}
.article-body.rich ol.ol-steps > li {
  position: relative;
  margin: 0 0 0.85rem;
  padding: 0.85rem 1rem 0.85rem 3rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  line-height: 1.55;
}
.article-body.rich ol.ol-steps > li:last-child { margin-bottom: 0; }
.article-body.rich ol.ol-steps > li::before {
  counter-increment: ol-steps;
  content: counter(ol-steps);
  position: absolute;
  left: 0.85rem;
  top: 0.9rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #11151b;
  background: var(--accent-strong);
}
.article-body.rich .ol-steps__title {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-weight: 700;
}

/* FAQ accordion */
.article-body.rich .article-faq {
  margin: 0.5rem 0 0.25rem;
  border: 1px solid rgba(201, 214, 227, 0.16);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
}
.article-body.rich .article-faq__item,
.article-body.rich details.block-info {
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  border-bottom: 1px solid rgba(201, 214, 227, 0.12);
  background: transparent;
  border-radius: 0;
}
.article-body.rich .article-faq__item:last-child,
.article-body.rich .article-faq > details.block-info:last-child,
.article-body.rich details.block-info:last-of-type {
  border-bottom: none;
}
.article-body.rich .article-faq__item > summary,
.article-body.rich details.block-info > summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  margin: 0;
  padding: 1.05rem 3.25rem 1.05rem 1.15rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 2.2vw, 1.02rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.4;
  transition: background .2s ease;
}
.article-body.rich .article-faq__item > summary::-webkit-details-marker,
.article-body.rich details.block-info > summary::-webkit-details-marker {
  display: none;
}
.article-body.rich .article-faq__item > summary::marker,
.article-body.rich details.block-info > summary::marker {
  content: "";
}
.article-body.rich .article-faq__item > summary:hover,
.article-body.rich details.block-info > summary:hover {
  background: rgba(201, 214, 227, 0.05);
}
.article-body.rich .article-faq__item > summary h5,
.article-body.rich details.block-info > summary h5 {
  display: inline;
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}
.article-body.rich .article-faq__item > summary::after,
.article-body.rich details.block-info > summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-strong);
  font-size: 1.55rem;
  font-weight: 300;
  line-height: 1;
}
.article-body.rich .article-faq__item[open] > summary::after,
.article-body.rich details.block-info[open] > summary::after {
  content: "?";
  font-size: 1.7rem;
}
.article-body.rich .article-faq__answer,
.article-body.rich .article-faq__item > p,
.article-body.rich .article-faq__item > div,
.article-body.rich details.block-info > p,
.article-body.rich details.block-info > div {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.65;
}
.article-body.rich .article-faq__answer > p:first-child,
.article-body.rich details.block-info > p:first-child {
  margin-top: 0;
}
.article-body.rich .article-faq__answer > p:last-child,
.article-body.rich details.block-info > p:last-child {
  margin-bottom: 0;
}

/* Video embed in articles */
.article-body.rich .myvideo {
  position: relative;
  margin: 1.35rem 0;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #000;
}
.article-body.rich .myvideo iframe,
.article-body.rich .myvideo object,
.article-body.rich .myvideo embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.article-body.rich table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}
.article-body.rich th,
.article-body.rich td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.8rem;
  text-align: left;
  vertical-align: top;
}
.article-body.rich th {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 640px) {
  .article-body.rich .article-toc,
  .article-body.rich aside.toc {
    padding: 1rem 0.95rem;
    border-radius: 14px;
  }
  .article-body.rich .article-faq__item > summary,
  .article-body.rich details.block-info > summary {
    padding: 0.95rem 2.75rem 0.95rem 0.95rem;
    font-size: 0.86rem;
    letter-spacing: 0.03em;
  }
  .article-body.rich .article-faq__answer,
  .article-body.rich .article-faq__item > p,
  .article-body.rich details.block-info > p {
    padding: 0 0.95rem 0.95rem;
  }
}

.promo-offer {
  margin: 2rem auto;
  padding: 1.5rem 1.25rem 1.35rem;
  max-width: 420px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(201, 214, 227, 0.08), rgba(255, 255, 255, 0.02));
}
.promo-offer__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  padding: 0.35rem 0.85rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: var(--accent-strong);
  color: #11151b;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.promo-offer__text {
  margin: 0 auto 1rem;
  max-width: 32ch;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.45;
}
.promo-offer__code-wrap {
  display: grid;
  gap: 0.35rem;
  justify-items: center;
}
.promo-offer__code-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.promo-offer__code {
  display: inline-block;
  padding: 0.7rem 1.15rem;
  border-radius: 12px;
  border: 1px dashed rgba(201, 214, 227, 0.45);
  background: rgba(0, 0, 0, 0.28);
  color: var(--accent-strong);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  user-select: all;
}
.promo-note {
  margin: 1.75rem 0 0;
  font-size: 0.86rem;
  color: var(--muted);
  opacity: 0.9;
}

.promo-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0.5rem 0 0.25rem;
}
@media (min-width: 720px) {
  .promo-products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}
.promo-products__card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.promo-products__card:hover {
  border-color: rgba(201, 214, 227, 0.35);
  transform: translateY(-2px);
}
.promo-products__card.is-sold {
  opacity: 0.72;
}
.promo-products__media {
  display: block;
  aspect-ratio: 1;
  background: rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.promo-products__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 !important;
  border-radius: 0 !important;
}
.promo-products__body {
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem 0.8rem 0.9rem;
  flex: 1;
}
.promo-products__sold {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.promo-products__title {
  font-size: 0.86rem;
  line-height: 1.3;
  color: var(--ink);
  font-weight: 600;
}
.promo-products__price {
  font-size: 0.92rem;
  color: var(--accent-strong);
  font-family: var(--font-display);
}

.legal-box {
  max-width: 900px;
  opacity: 1 !important;
}
.legal-box h2, .legal-box h3, .legal-box h4 {
  color: var(--ink);
  font-family: var(--font-display);
  margin-top: 1.5rem;
}

/* Homepage cinematic blocks */
.fullbleed-band {
  position: relative;
  min-height: 70vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  margin: 2rem 0;
}
.fullbleed-band__media {
  position: absolute;
  inset: 0;
}
.fullbleed-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}
.fullbleed-band__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,12,15,.15), rgba(10,12,15,.88));
}
.fullbleed-band__copy {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
  max-width: 640px;
}
.fullbleed-band__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 0 0 1rem;
  line-height: 1.05;
}
.fullbleed-band__copy p {
  color: var(--muted);
  max-width: 40ch;
}

.story-rail { display: grid; gap: 0; }
.story-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 72vh;
}
.story-row.is-reverse { direction: rtl; }
.story-row.is-reverse > * { direction: ltr; }
.story-row__media {
  position: relative;
  overflow: hidden;
  background: #14181e;
}
.story-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 72vh;
}
.story-row__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 4rem);
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.story-row__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.75rem;
}
.story-row__desc { color: var(--muted); max-width: 38ch; }

.home-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.home-mosaic figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: #171b21;
}
.home-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.home-mosaic figure:hover img { transform: scale(1.05); }
.home-mosaic figure:nth-child(2),
.home-mosaic figure:nth-child(5),
.home-mosaic figure:nth-child(8) {
  aspect-ratio: 4/3;
  transform: translateY(1.25rem);
}

.reviews-stage .review {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}
.contact-stage__panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 240px at 10% 0%, rgba(143,163,184,0.18), transparent 60%),
    rgba(255,255,255,0.03);
}

/* About art page */
.about-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0c0e11;
}
.about-hero__media {
  position: relative;
}
.about-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: unset;
}
.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12, 14, 17, 0.18) 0%, rgba(12, 14, 17, 0.04) 45%, rgba(12, 14, 17, 0.42) 100%),
    radial-gradient(90% 80% at 50% 50%, transparent 42%, rgba(8, 10, 12, 0.38) 100%);
}
.about-stats {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.25);
}
.about-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.about-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 0.35rem;
}
.about-stats span { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 980px) {
  .about-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 0.75rem;
    width: 100%;
  }
  .about-stats strong {
    font-size: clamp(1.35rem, 5.5vw, 1.85rem);
  }
  .about-stats span {
    font-size: 0.82rem;
    line-height: 1.3;
  }
}
.about-story { padding: 5rem 0; }
.about-story__simple {
  max-width: 72ch;
}
.about-story__simple h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 1rem;
}
.about-story__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
}
.about-story__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-top: 0;
}
.about-story__visual {
  display: grid;
  gap: 1rem;
}
.about-story__visual img {
  width: 100%;
  border-radius: 22px;
  aspect-ratio: 5/4;
  object-fit: cover;
  background: #171b21;
}
.about-story__visual img:last-child {
  width: 78%;
  margin-left: auto;
  margin-top: -3rem;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
}
.about-mission {
  padding: 5rem 0;
  background:
    radial-gradient(700px 280px at 80% 20%, rgba(62,83,104,0.35), transparent 60%),
    rgba(255,255,255,0.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-mission h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  max-width: 14ch;
  margin: 0 0 1rem;
}
.about-mission p { max-width: 46ch; color: var(--muted); }
.about-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  padding: 0.5rem;
}
.about-mosaic figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.about-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-mosaic figure:nth-child(1) { grid-column: span 2; }
.about-mosaic figure:nth-child(2) { grid-column: span 2; aspect-ratio: 16/10; align-self: end; }
.about-mosaic figure:nth-child(3) { grid-column: span 2; }
.about-mosaic figure:nth-child(4) { grid-column: span 3; aspect-ratio: 16/9; }
.about-mosaic figure:nth-child(5),
.about-mosaic figure:nth-child(6) { grid-column: span 1.5; grid-column: span 3; aspect-ratio: 16/10; }
.about-cta {
  text-align: center;
  padding: 5rem 0;
}
.about-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.75rem;
}

@media (max-width: 980px) {
  /* iOS Chrome/Safari: overflow-x: clip ломает position:fixed у шапки */
  html, body {
    overflow-x: hidden;
  }
  .site-header {
    background: #0c0e11;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .story-row,
  .story-row.is-reverse,
  .about-story__grid,
  .contact-stage__panel {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .story-row__media img { min-height: 48vh; }
  .home-mosaic { grid-template-columns: repeat(2, 1fr); }
  .home-mosaic figure:nth-child(2),
  .home-mosaic figure:nth-child(5),
  .home-mosaic figure:nth-child(8) { transform: none; }
  .about-mosaic { grid-template-columns: repeat(2, 1fr); }
  .about-mosaic figure { grid-column: span 1 !important; aspect-ratio: 4/5 !important; }
}

/* Мобильный баннер слайдера: только узкие экраны (≤500). Выше — ПК-баннер и 16:9 */
@media (max-width: 500px) {
  .hero-slider {
    aspect-ratio: auto;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100svh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    max-height: none;
  }
  .hero-slider__slide img {
    object-fit: cover;
    object-position: center center;
  }
  .hero-slider__nav { width: 40px; height: 40px; }
  .hero-slider__nav svg { width: 22px; height: 22px; }
}

/* ?? ???? / ?????? ????? ?? */
.cart-main { display: grid; gap: 1.25rem; }
.delivery-panel__head h3 {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
}
.delivery-panel__head p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.delivery-city {
  margin: 0 0 1.15rem;
  max-width: 420px;
}
.delivery-city__label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 0.55rem;
  margin-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}
.delivery-city__field {
  position: relative;
  display: flex;
  align-items: center;
}
.delivery-city__pin,
.delivery-city__chevron {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  pointer-events: none;
  z-index: 1;
}
.delivery-city__pin {
  left: 0.85rem;
  color: var(--accent-strong);
}
.delivery-city__chevron {
  right: 0.85rem;
  opacity: 0.55;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.delivery-city.is-open .delivery-city__chevron {
  transform: translateY(-50%) rotate(180deg);
  opacity: 0.85;
}
.delivery-city__input {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  padding: 0.75rem 2.4rem 0.75rem 2.55rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.delivery-city__input::placeholder {
  color: rgba(167, 173, 184, 0.7);
}
.delivery-city__input:focus {
  border-color: rgba(201, 214, 227, 0.35);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(143, 163, 184, 0.12);
}
.delivery-city__suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  max-height: 260px;
  overflow: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #1a1f26;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.delivery-city__suggest[hidden] {
  display: none;
}
.delivery-city__option {
  padding: 0.65rem 0.95rem;
  font-size: 0.92rem;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.35;
}
.delivery-city__option:hover,
.delivery-city__option.is-active {
  background: rgba(143, 163, 184, 0.16);
}
@media (max-width: 640px) {
  .delivery-city { max-width: none; }
}
.delivery-city__status {
  margin: 0.45rem 0 0;
  font-size: 0.86rem;
  color: var(--muted);
  min-height: 1.2em;
}
.delivery-city__status.is-err {
  color: #e8a0a0;
}
.delivery-city__status.is-loading {
  color: var(--muted);
}
.delivery-city.is-busy .delivery-city__input {
  opacity: 0.72;
}
.cdek-map {
  height: 460px;
  min-height: 460px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  position: relative;
}
.cdek-map--booting::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.06) 45%, transparent 60%),
    rgba(20, 24, 28, 0.35);
  background-size: 200% 100%, auto;
  animation: cdekMapShimmer 1.1s linear infinite;
}
@keyframes cdekMapShimmer {
  0% { background-position: 100% 0, 0 0; }
  100% { background-position: -100% 0, 0 0; }
}
.cdek-map--error {
  border-color: rgba(240, 160, 160, 0.45);
}
.cdek-map-error {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(240, 160, 160, 0.35);
  background: rgba(120, 40, 40, 0.25);
  color: #f0d0d0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.9rem;
  line-height: 1.45;
}
.cdek-map-error[hidden] { display: none; }
.cdek-map-error code {
  font-size: 0.86em;
  color: #fff;
  word-break: break-all;
}
.cdek-map-error a { color: #9ec8ff; }

/* Hide official CDEK SegmentedControl (green/white) ? we drive mode via .cdek-mode-tabs */
.delivery-panel #cdek-map .cdek-xvnk8x,
.delivery-panel #cdek-map .cdek-xvnk8x[data-v-e8e63356],
#cdek-map .cdek-xvnk8x[data-cdek-native-tabs="1"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* Hide CDEK tariff picker («Выберите тариф») — always use cheapest in cdek-cart.js */
#cdek-map .cdek-paz0c8,
#cdek-map .cdek-elq2oy,
#cdek-map .cdek-18beit {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* Door mode: keep map mounted (no display:none) so PVZ markers survive tab switch */
[data-cdek-map-shell].is-door-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  pointer-events: none !important;
}

/* Our delivery mode tabs ? dark cart theme, no CDEK green */
.cdek-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
}
.cdek-mode-tabs__btn {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
  text-align: center;
  padding: 0.85rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(244, 241, 234, 0.28);
  background: transparent;
  color: rgba(244, 241, 234, 0.72);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.cdek-mode-tabs__btn:hover {
  color: var(--ink);
  border-color: rgba(244, 241, 234, 0.45);
}
.cdek-mode-tabs__btn.is-active {
  background: var(--ink);
  color: #111;
  border-color: var(--ink);
}
@media (max-width: 640px) {
  .cdek-mode-tabs {
    grid-template-columns: 1fr;
  }
}

.cdek-door-form {
  margin: 0 0 0.25rem;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 0.85rem;
}
.cdek-door-form[hidden] { display: none; }
.cdek-door-form__lead {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
}
.cdek-door-form__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.7fr);
  gap: 0.75rem;
}
.cdek-door-form__grid label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.86rem;
  color: var(--muted);
}
.cdek-door-form__grid input {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  padding: 0.75rem 0.9rem;
}
.cdek-door-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  min-height: 1.25rem;
}
.cdek-door-form__actions:empty,
.cdek-door-form__actions:has(.cdek-door-form__status:empty) {
  display: none;
}
.cdek-door-form__status:empty { display: none; }
.cdek-door-form__status {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.4;
}
.cdek-door-form__status.is-err { color: #f0c0c0; }
.cdek-door-form__status.is-ok { color: #c8e0c4; }
@media (max-width: 640px) {
  .cdek-door-form__grid {
    grid-template-columns: 1fr;
  }
}

.delivery-selected {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px dashed var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  align-items: baseline;
}
.delivery-selected.is-set {
  border-style: solid;
  color: var(--ink);
  background: rgba(255,255,255,0.03);
}
.delivery-selected__price {
  margin-left: auto;
  font-weight: 700;
}
.delivery-selected .muted { color: var(--muted); }
.totals {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1rem;
}
.totals > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}
.totals dt { margin: 0; }
.totals dd { margin: 0; color: var(--ink); font-weight: 600; }
.totals__grand {
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
  font-size: 1.15rem;
  color: var(--ink);
}
.totals__grand dd { font-weight: 700; }
.totals__discount dd { color: var(--accent-strong); }
.totals__discount.is-hidden { display: none; }

.cart-promo {
  margin: 0 0 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.cart-promo__label {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.cart-promo__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}
.cart-promo__row input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--ink);
  padding: 0.7rem 0.85rem;
  font: inherit;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cart-promo__row input:focus {
  outline: none;
  border-color: rgba(201, 214, 227, 0.45);
}
.cart-promo__row input[readonly] {
  opacity: 0.85;
}
.cart-promo__msg {
  min-height: 1.2em;
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.cart-promo__msg.is-ok { color: #8fd6b0; }
.cart-promo__msg.is-err { color: #f0a0a0; }

.split-widget {
  margin: 1rem 0;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(252, 224, 0, 0.35);
  background:
    linear-gradient(145deg, rgba(252, 224, 0, 0.12), rgba(255,255,255,0.02) 55%),
    rgba(0,0,0,0.15);
}
.split-widget__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}
.split-widget__brand {
  font-weight: 800;
  letter-spacing: 0.01em;
}
.split-widget__hint {
  color: var(--muted);
  font-size: 0.82rem;
}
.split-widget__lead {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.split-widget__plan {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.split-widget__plan li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.split-widget__plan strong { color: var(--ink); }
.split-widget__note {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.split-widget__mount {
  margin-top: 0.5rem;
  min-height: 76px;
}
.split-widget--card {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
.split-widget__compact {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.card-split {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.pay-methods {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem 1rem;
  margin: 0.25rem 0;
}
.pay-methods legend {
  padding: 0 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.pay-option {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.65rem 0.35rem;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.pay-option:last-child { border-bottom: 0; }
.pay-option input { width: auto; min-height: auto; margin-top: 0.2rem; }
.pay-option span { display: grid; gap: 0.15rem; }
.pay-option small { color: var(--muted); font-size: 0.82rem; }
.pay-option--split strong { color: #f0d000; }
.split-pay-box { margin: 1rem 0 1.25rem; position: relative; }
.split-pay-box > .btn { margin-top: 1.25rem; position: relative; z-index: 5; }
.split-pay-box > [data-split-status]:not([hidden]):not(:empty) {
  margin-top: 0.75rem;
  font-weight: 600;
}
.buy-box .split-widget { margin-top: 1rem; }

@media (max-width: 900px) {
  .cdek-map { height: 380px; min-height: 380px; }
}

/* ?? ????? ?????? ?? */
.pay-root { margin: 1rem 0 1.25rem; }
.pay-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}
.pay-tab {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.pay-tab.is-active {
  color: var(--ink);
  border-color: rgba(252, 224, 0, 0.55);
  background: rgba(252, 224, 0, 0.1);
}
.pay-panel { display: grid; gap: 0.75rem; }
.yookassa-mount {
  min-height: 180px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.yookassa-status {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}
.yookassa-status.is-error { color: #ff8f8f; }

/* ?? ????????? ?????????? ?? */
.chk { max-width: 820px; padding-bottom: 4rem; }
.chk-panel {
  padding: 1.25rem 1.35rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
}
.chk-lead {
  margin: 0 0 1.1rem;
  color: var(--muted);
}
.chk-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.chk-sum { font-size: 1.1rem; }
.chk-line-total { margin-top: 0.75rem; font-weight: 700; }
.chk-qty label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.chk-qty input { width: 72px; min-height: 40px; }
.chk-agree {
  display: flex !important;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.82em;
  line-height: 1.4;
}
.chk-agree input { width: auto; min-height: auto; margin-top: 0.2rem; flex: 0 0 auto; }
.chk-agree a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.chk-agree a:hover,
.chk-agree a:focus-visible {
  color: #fff;
  opacity: 0.85;
}
.chk-steps {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.chk-steps__item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.chk-steps__num {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font-weight: 700;
  flex: 0 0 auto;
}
.chk-steps__item.is-current { color: var(--ink); }
.chk-steps__item.is-current .chk-steps__num {
  background: rgba(252, 224, 0, 0.2);
  border-color: rgba(252, 224, 0, 0.55);
  color: var(--ink);
}
.chk-steps__item.is-done .chk-steps__num {
  background: rgba(255,255,255,0.08);
  color: var(--ink);
}
.chk-thanks { text-align: center; padding: 2.5rem 1.5rem; }
.chk-thanks h2 {
  font-family: var(--font-display);
  margin: 0.35rem 0 0.75rem;
}
.chk-thanks__eyebrow {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--accent);
  margin: 0;
}
button.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
@media (max-width: 700px) {
  .chk-steps { grid-template-columns: 1fr 1fr; }
  .chk-steps__label { font-size: 0.78rem; }
}

/* ?? ???????: ???? ???????? ?? */
.cart-one {
  padding-bottom: 4rem;
  overflow: visible;
}
.cart-one__form {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.7fr);
  gap: 1.25rem;
  align-items: start;
  overflow: visible;
}
.cart-one__main {
  display: grid;
  gap: 1rem;
  min-width: 0;
  overflow: visible;
}
.cart-one__h {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.85rem;
}
.cart-one__aside {
  position: static;
  align-self: start;
  overflow: visible;
}
@media (min-width: 981px) {
  .cart-one__aside {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
    z-index: 2;
  }
}
.cart-perks {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.cart-perks li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.25;
}
.cart-perks li::marker {
  content: "";
}
.cart-perks svg {
  width: 15px;
  height: 15px;
  min-width: 15px;
  min-height: 15px;
  max-width: 15px;
  max-height: 15px;
  display: block;
  flex: 0 0 15px;
  color: var(--accent-strong);
}
.cart-perks span {
  min-width: 0;
}
.pay-methods--plain {
  border: 0;
  padding: 0;
  margin: 0;
}
@media (max-width: 980px) {
  .cart-one__form { grid-template-columns: 1fr; }
}

/* ?? ??????????? ?????? ????? ?? */
.yapay-split {
  margin-top: 1rem;
  width: 100%;
  min-height: 120px;
  border-radius: 16px;
  overflow: visible;
  background: #fff;
  color: #000;
  padding: 0;
}
.yapay-split--product,
.yapay-split--checkout {
  min-height: 180px;
}
.yapay-split__mount {
  width: 100%;
  min-height: 160px;
}
/* ?????? ???? ????? ?? ?????? ??????? iframe/?????? */
.yapay-split,
.yapay-split * {
  color-scheme: light;
}
.yapay-badge {
  margin-top: 0.65rem;
  min-height: 28px;
}
.buy-box .yapay-split { margin-top: 1rem; }

/* ?? ?????? ?????: ?????????? ??? ????? ???? ?? */
.yapay-split {
  margin-top: 1rem;
  width: 100%;
  min-height: 0;
  border-radius: 16px;
  background: transparent;
  color: #111;
}
.yapay-split:not(.is-mounted) {
  min-height: 0;
  background: transparent;
}
.yapay-split.is-mounted:not(.is-fallback) {
  background: #fff;
  min-height: 120px;
  overflow: hidden;
}
.yapay-split__mount { width: 100%; min-height: 0; }
.yapay-split.is-mounted:not(.is-fallback) .yapay-split__mount { min-height: 140px; }
.yapay-badge {
  margin-top: 0.65rem;
  min-height: 32px;
  color: #fff;
}
.yapay-badge__fallback {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #f2f2f2;
  font-size: 0.82rem;
  font-weight: 600;
}
.buy-box .yapay-split { margin-top: 1rem; }

.split-fallback {
  background: #fff;
  color: #111;
  border-radius: 16px;
  padding: 14px 16px 16px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.split-fallback__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.split-fallback__logo {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #2d9f4c 0 70%, #e11d48 70% 100%);
  flex: 0 0 auto;
}
.split-fallback__title {
  font-weight: 700;
  font-size: 15px;
}
.split-fallback__sum {
  font-size: 16px;
  font-weight: 700;
}
.split-fallback__pill {
  margin-left: auto;
  background: #1a9f4b;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
}
.split-fallback__tabs {
  display: flex;
  gap: 4px;
  background: #f1f2f4;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 14px;
}
.split-fallback__tabs span {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
  padding: 7px 4px;
  border-radius: 8px;
}
.split-fallback__tabs .is-active {
  background: #fff;
  color: #111;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.split-fallback__bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-bottom: 10px;
}
.split-fallback__bar i {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: #e5e7eb;
}
.split-fallback__bar i:first-child { background: #1a9f4b; }
.split-fallback__plan {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.split-fallback__plan li {
  display: grid;
  gap: 2px;
  font-size: 12px;
  color: #6b7280;
}
.split-fallback__plan strong {
  color: #111;
  font-size: 13px;
}

/* Product-card Split badge: vertically centered in white pill, no bottom clip (iOS) */
.product-card {
  overflow: visible;
}
.product-card .yapay-badge {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 0.65rem;
  margin-bottom: 0.15rem;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  background: #fff;
  color: #111;
  color-scheme: light;
  overflow: visible;
  min-height: 36px;
  line-height: 1;
}
.product-card .yapay-badge yandex-pay-badge,
.product-card .yapay-badge iframe,
.product-card .yapay-badge > * {
  color-scheme: light;
  max-width: none;
  white-space: nowrap;
  line-height: 1;
  vertical-align: middle;
  align-self: center;
}
.product-card .yapay-badge.is-scaled > * {
  display: block;
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .product-card {
    padding-bottom: 1.1rem;
  }
  .product-card .yapay-badge {
    margin-top: 0.45rem;
    margin-bottom: 0.2rem;
    padding: 0.3rem 0.32rem;
    border-radius: 999px;
    min-height: 32px;
  }
}

/* YaPay: ??????? ?? ???????????? */
.yapay-split[hidden] { display: none !important; }
.yapay-split.is-mounted {
  display: block;
  margin-top: 1rem;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  color-scheme: light;
}
.yapay-split__mount { width: 100%; min-height: 120px; }

.one-click {
  margin-top: 1.15rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.one-click__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
}
.one-click__note {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.one-click__form {
  display: grid;
  gap: 0.65rem;
}
.one-click__form .chk-agree {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
}
.one-click__form label:not(.chk-agree) {
  display: grid;
  gap: 0.3rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.one-click__form input:not([type="checkbox"]) {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--ink);
  padding: 0 0.85rem;
  font: inherit;
}
.one-click__form .chk-agree input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  min-height: 0;
  margin: 0.15rem 0 0;
  flex: 0 0 auto;
  accent-color: var(--accent-strong, #c9d6e3);
  border-radius: 4px;
}
.one-click__ok {
  margin: 0.5rem 0 0;
  color: #9be7a8;
  font-size: 0.92rem;
}

.buy-actions__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.5rem;
  width: 100%;
}
.buy-actions__row .btn {
  width: 100%;
  min-height: 54px;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.buy-actions__buy.btn-primary {
  background: var(--ink);
  color: #111;
}
.buy-actions__oneclick.btn-ghost {
  border-width: 1.5px;
  border-color: var(--accent-strong);
  color: var(--accent-strong);
  background: transparent;
}
.buy-actions__oneclick.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: rgba(255,255,255,0.04);
}
@media (max-width: 560px) {
  .buy-actions__row { grid-template-columns: 1fr; }
  .buy-actions__row .btn { white-space: normal; }
}

.buy-oneclick-link {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.buy-oneclick-link:hover {
  color: var(--ink);
}
.one-click[hidden] { display: none !important; }
.one-click {
  margin-top: 1rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
}

.one-click-modal[hidden] { display: none !important; }
.one-click-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.one-click-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, 0.72);
  backdrop-filter: blur(4px);
}
.one-click-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 1.5rem 1.35rem 1.4rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--bg-soft, #171a1f);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.one-click-modal__x {
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
}
.one-click-modal__x:hover { color: var(--ink); }
body.has-one-click-modal { overflow: hidden; }
.one-click-modal .one-click__title {
  margin: 0 2rem 0.5rem 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.store-map-modal[hidden] { display: none !important; }
.store-map-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.store-map-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, 0.72);
  backdrop-filter: blur(4px);
}
.store-map-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  padding: 1.15rem 1.15rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--bg-soft, #171a1f);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.store-map-modal__x {
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
}
.store-map-modal__x:hover { color: var(--ink); }
.store-map-modal__title {
  margin: 0 2rem 0.85rem 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.25;
}
.store-map-modal__frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f1115;
}
.store-map-modal__map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.store-map-modal__map .ymaps-2-1-79-map,
.store-map-modal__map .leaflet-container {
  width: 100%;
  height: 100%;
}
.store-map-modal__ext {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
}
.store-map-modal__ext a {
  color: var(--accent-strong);
}
body.has-store-map-modal { overflow: hidden; }

@media (max-width: 640px) {
  .store-map-modal__dialog {
    padding: 1rem 0.85rem 0.85rem;
  }
  .store-map-modal__frame-wrap {
    aspect-ratio: 4 / 3;
  }
}

.one-click-modal .one-click__note {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* ——— Специалисты / эксперты ——— */
.experts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.expert-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  background: rgba(255,255,255,0.03);
  color: inherit;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.expert-card:hover {
  color: inherit;
  text-decoration: none;
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-2px);
  background: rgba(255,255,255,0.045);
}
.expert-card__photo {
  flex: 0 0 140px;
  width: 140px;
  max-width: 38%;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  aspect-ratio: 4 / 5;
  align-self: flex-start;
}
.expert-card__photo img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.expert-card__body {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.expert-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.expert-card__specialty {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 650;
}
.expert-card__summary {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  margin-top: 0.15rem;
}
.expert-card__more {
  margin-top: auto;
  padding-top: 0.65rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--accent-strong);
}
.expert-card--article {
  width: 100%;
  max-width: none;
}
.experts-seo__box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  max-width: 75ch;
}

.expert-profile__layout {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 2rem;
  align-items: start;
}
.expert-profile__photo {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.expert-profile__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.expert-facts {
  margin: 0 0 1.25rem;
  display: grid;
  gap: 1rem;
}
.expert-facts__row {
  display: grid;
  gap: 0.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.expert-facts__row:last-child { border-bottom: 0; padding-bottom: 0; }
.expert-facts dt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.expert-facts dd {
  margin: 0;
  color: var(--ink);
  line-height: 1.55;
}
.expert-profile__bio p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.expert-certs {
  margin-top: 1.25rem;
}
.expert-certs__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.85rem;
}
.expert-certs__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}
.expert-certs__item {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: #fff;
}
.expert-certs__item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.article-expert {
  width: 100%;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

/* ——— Оценка статьи + шаринг + соцсети ——— */
.article-engage {
  position: relative;
  margin-top: 2rem;
  padding: 1.55rem 1.45rem 1.6rem;
  border-radius: 20px;
  border: 1px solid rgba(201, 214, 227, 0.16);
  background:
    linear-gradient(145deg, rgba(62, 83, 104, 0.28), rgba(29, 34, 41, 0.92) 45%, rgba(15, 17, 20, 0.96)),
    rgba(23, 26, 31, 0.9);
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}
.article-engage__glow {
  position: absolute;
  inset: -40% auto auto -20%;
  width: 70%;
  height: 80%;
  background: radial-gradient(circle, rgba(143, 163, 184, 0.22), transparent 68%);
  pointer-events: none;
}
.article-engage__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.6rem 2rem;
  align-items: start;
}
.article-engage__title {
  margin: 0.2rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.article-engage__subtitle {
  margin: 0.15rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
}
.article-engage__lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 34rem;
}
.article-engage__lead--sm {
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
}
.article-engage__meta {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.article-engage__meta strong {
  color: var(--accent-strong);
  font-variant-numeric: tabular-nums;
}
.article-engage__msg {
  margin: 0.65rem 0 0;
  font-size: 0.92rem;
  color: var(--success);
}
.article-engage__msg.is-error { color: var(--danger); }
.article-engage__aside {
  display: grid;
  gap: 1.35rem;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(201, 214, 227, 0.12);
}
.article-rate-stars {
  display: inline-flex;
  gap: 0.35rem;
}
.article-rate-stars__btn {
  appearance: none;
  border: 0;
  padding: 0.15rem;
  margin: 0;
  background: transparent;
  color: rgba(244, 241, 234, 0.2);
  cursor: pointer;
  transition: color .18s ease, transform .18s ease, filter .18s ease;
}
.article-rate-stars__btn svg {
  width: 34px;
  height: 34px;
  display: block;
  fill: currentColor;
  filter: drop-shadow(0 0 0 transparent);
}
.article-rate-stars__btn:hover,
.article-rate-stars__btn.is-preview,
.article-rate-stars__btn.is-on {
  color: var(--accent-strong);
  transform: translateY(-2px);
}
.article-rate-stars__btn.is-on svg,
.article-rate-stars__btn.is-preview svg {
  filter: drop-shadow(0 0 10px rgba(201, 214, 227, 0.35));
}
.article-rate-stars__btn:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
  border-radius: 8px;
}
.article-rate-stars.is-busy {
  opacity: 0.65;
  pointer-events: none;
}
.article-share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.article-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.45rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(201, 214, 227, 0.16);
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease, color .2s ease;
}
.article-share__btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.article-share__btn:hover {
  transform: translateY(-1px);
  border-color: rgba(201, 214, 227, 0.38);
  background: rgba(143, 163, 184, 0.14);
  color: var(--accent-strong);
}
.article-share__btn--copy.is-copied {
  border-color: rgba(125, 155, 120, 0.45);
  color: var(--success);
}
.article-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.article-social__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 214, 227, 0.14);
  background: linear-gradient(180deg, rgba(62, 83, 104, 0.35), rgba(255, 255, 255, 0.03));
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.article-social__link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.article-social__link:hover {
  transform: translateY(-1px);
  border-color: rgba(201, 214, 227, 0.4);
  color: var(--accent-strong);
  background: linear-gradient(180deg, rgba(143, 163, 184, 0.28), rgba(255, 255, 255, 0.05));
}

@media (max-width: 860px) {
  .article-engage {
    padding: 1.25rem 1.1rem 1.35rem;
  }
  .article-engage__grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }
  .article-engage__aside {
    padding-left: 0;
    border-left: 0;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(201, 214, 227, 0.12);
  }
  .article-rate-stars__btn svg {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 900px) {
  .experts-grid { grid-template-columns: 1fr; }
  .expert-profile__layout { grid-template-columns: 1fr; }
  .expert-certs__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .expert-card {
    gap: 0.85rem;
    padding: 0.85rem;
  }
  .expert-card__photo {
    flex: 0 0 100px;
    width: 100px;
    max-width: 34%;
  }
  .expert-card__name { font-size: 1.02rem; }
  .expert-card__summary { font-size: 0.86rem; }
  .expert-certs__grid { grid-template-columns: 1fr 1fr 1fr; gap: 0.45rem; }
}

/* ——— Lightbox сертификатов экспертов ——— */
.cert-lightbox[hidden] { display: none !important; }
.cert-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.cert-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 12, 0.86);
  backdrop-filter: blur(5px);
}
.cert-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  height: min(92vh, 920px);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #12151b;
  box-shadow: 0 28px 70px rgba(0,0,0,0.5);
  overflow: hidden;
}
.cert-lightbox__x {
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  z-index: 3;
  border: 0;
  background: rgba(0,0,0,0.35);
  color: #fff;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.cert-lightbox__x:hover { background: rgba(0,0,0,0.55); }
.cert-lightbox__toolbar {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  gap: 0.4rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(10, 12, 16, 0.82);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
}
.cert-lightbox__btn {
  min-width: 2.2rem;
  min-height: 2.2rem;
  padding: 0 0.65rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.cert-lightbox__btn:hover { background: rgba(255,255,255,0.14); }
.cert-lightbox__stage {
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: zoom-in;
  touch-action: none;
  user-select: none;
}
.cert-lightbox__stage.is-zoomed { cursor: grab; }
.cert-lightbox__stage.is-dragging { cursor: grabbing; }
.cert-lightbox__img {
  max-width: 92%;
  max-height: calc(92vh - 4.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  transform-origin: center center;
  transition: transform 0.08s linear;
  pointer-events: none;
}
body.has-cert-lightbox { overflow: hidden; }
.expert-certs__item { cursor: zoom-in; }

/* ——— Эксперты на главной: редакционный cast ——— */
.experts-home--cast {
  position: relative;
}
.experts-cast {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem 2.5rem;
  align-items: center;
  padding: 1.6rem 1.7rem;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(120% 90% at 85% 20%, rgba(143, 163, 184, 0.12) 0%, transparent 55%),
    linear-gradient(160deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.015) 100%);
  overflow: hidden;
}
.experts-cast__intro {
  max-width: 34rem;
}
.experts-cast__title {
  margin: 0.35rem 0 0.75rem;
}
.experts-cast__lead {
  margin: 0 0 1.15rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 38ch;
}
.experts-cast__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  min-width: 0;
}
.experts-cast__faces {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 1.6rem;
}
.experts-cast__face {
  position: relative;
  width: clamp(92px, 11vw, 128px);
  aspect-ratio: 1;
  margin-left: -1.55rem;
  border-radius: 999px;
  overflow: hidden;
  border: 3px solid rgba(18, 20, 26, 0.95);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.14),
    0 16px 34px rgba(0,0,0,0.35);
  background: rgba(255,255,255,0.04);
  transition: transform 0.28s ease, box-shadow 0.28s ease, z-index 0s;
  z-index: calc(10 - var(--i, 0));
  flex: 0 0 auto;
}
.experts-cast__face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: filter 0.28s ease, transform 0.28s ease;
  filter: saturate(0.92) brightness(0.96);
}
.experts-cast__face:hover,
.experts-cast__face:focus-visible,
.experts-cast__face.is-active {
  transform: translateY(-10px) scale(1.06);
  z-index: 30;
  box-shadow:
    0 0 0 1px rgba(201, 214, 227, 0.45),
    0 22px 40px rgba(0,0,0,0.42);
  outline: none;
}
.experts-cast__face:hover img,
.experts-cast__face:focus-visible img,
.experts-cast__face.is-active img {
  filter: none;
  transform: scale(1.03);
}
.experts-cast__meta {
  text-align: center;
  min-height: 3.1rem;
  display: grid;
  gap: 0.2rem;
  justify-items: center;
}
.experts-cast__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.experts-cast__role {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
  max-width: 36ch;
}

@media (max-width: 900px) {
  .experts-cast {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.35rem 1.2rem 1.45rem;
    text-align: center;
  }
  .experts-cast__intro {
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .experts-cast__lead {
    max-width: 46ch;
  }
  .experts-cast__faces {
    padding-left: 1.2rem;
  }
  .experts-cast__face {
    width: clamp(78px, 18vw, 104px);
    margin-left: -1.15rem;
  }
}

@media (max-width: 520px) {
  .experts-cast__face {
    width: 72px;
    margin-left: -0.95rem;
    border-width: 2px;
  }
  .experts-cast__name {
    font-size: 1.05rem;
  }
}

