/* STATS Boutique — premium light theme */
:root {
  --gold: #c5a059;
  --gold-light: #d4b06a;
  --gold-dark: #a88642;
  --cream: #f9f7f2;
  --cream-dark: #f0ebe3;
  --white: #ffffff;
  --charcoal: #1f1f1f;
  --text: #2a2a2a;
  --text-muted: #6b6b6b;
  --text-light: #9a9a9a;
  --border: rgba(42, 42, 42, 0.08);
  --shadow: 0 4px 24px rgba(42, 42, 42, 0.06);
  --shadow-hover: 0 12px 40px rgba(197, 160, 89, 0.15);
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --header-h: 112px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  padding-top: var(--header-h);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.wrap {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

.mob-only { display: none; }

/* Icons */
.ico { width: 1.25rem; height: 1.25rem; display: block; }
[data-icon] { display: inline-flex; align-items: center; justify-content: center; }
[data-icon] .ico { width: 1.125rem; height: 1.125rem; }

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--gold-light), var(--gold-dark));
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  box-shadow: 0 4px 16px rgba(197, 160, 89, 0.3);
  transition: transform 0.3s var(--spring), box-shadow 0.3s;
}

.logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.35);
}

.logo--footer { margin-bottom: 12px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 14px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: transform 0.25s var(--spring), box-shadow 0.25s, background 0.2s;
}

.btn:active { transform: scale(0.97); }

.btn--gold {
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  color: #fff;
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.35);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(197, 160, 89, 0.45);
}

.btn--dark {
  background: var(--charcoal);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn--dark:hover { background: #333; transform: translateY(-1px); }

.btn--ghost {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn--lg { padding: 16px 28px; font-size: 1rem; border-radius: 16px; }
.btn--sm { padding: 8px 18px; font-size: 0.8125rem; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: var(--text);
  transition: background 0.2s, transform 0.25s var(--spring);
}

.icon-btn--ghost:hover {
  background: rgba(197, 160, 89, 0.1);
  transform: translateY(-2px);
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(249, 247, 242, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.header.is-scrolled { box-shadow: var(--shadow); }

.header__row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 24px;
}

.search {
  flex: 1;
  max-width: 480px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 18px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.25s;
}

.search:focus-within {
  border-color: rgba(197, 160, 89, 0.4);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.12);
}

.search__icon { color: var(--text-light); flex-shrink: 0; }

.search input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.9375rem;
  outline: none;
  color: var(--text);
}

.search input::placeholder { color: var(--text-light); }

.search__clear {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--cream-dark);
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.search__clear:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--charcoal);
}

.search-mobile {
  display: none;
  padding: 0 24px 12px;
}

.search-mobile .search {
  max-width: none;
  width: 100%;
}

body.is-searching .hero,
body.is-searching .categories,
body.is-searching .promos,
body.is-searching .popular {
  display: none;
}

.search-results {
  padding: 32px 0 8px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.search-results[hidden] {
  display: none !important;
}

.products-empty--search {
  grid-column: 1 / -1;
  padding: 48px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.header__sub {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px 12px;
}

.nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-scroll {
  flex: 1;
  min-width: 0;
}

.nav a {
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}

.nav a:hover {
  color: var(--text);
  background: rgba(197, 160, 89, 0.08);
}

.catalog-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 16px 0 20px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  animation: fadeDown 0.28s var(--ease);
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.catalog-menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
}

.catalog-menu__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 500;
  background: var(--cream);
  transition: background 0.2s, transform 0.25s var(--spring);
}

.catalog-menu__link:hover {
  background: rgba(197, 160, 89, 0.12);
  transform: translateX(4px);
}

.catalog-menu__link [data-icon] { color: var(--gold-dark); }

/* Hero */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  filter: blur(2px);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.1); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(249, 247, 242, 0.92) 0%,
    rgba(249, 247, 242, 0.75) 45%,
    rgba(249, 247, 242, 0.35) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 64px 24px 72px;
  max-width: 640px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 20px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero__badge [data-icon] { color: var(--gold-dark); }

.hero__title {
  margin: 0 0 28px;
  font-size: clamp(2.25rem, 5.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--charcoal);
}

.hero__title em {
  font-style: normal;
  color: var(--gold-dark);
}

/* Categories auto-carousel (homepage) */
.hero + .categories.categories--auto.wrap {
  padding-left: 0;
  padding-right: 0;
}

.hero + .categories.categories--auto .categories__grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 16px 6px;
  gap: 12px;
}

.hero + .categories.categories--auto .categories__grid::-webkit-scrollbar {
  display: none;
}

.hero + .categories.categories--auto .cat-tile {
  flex: 0 0 min(132px, 30vw);
  min-height: 120px;
  padding: 20px 12px;
  scroll-snap-align: start;
}

.hero + .categories.categories--auto .cat-tile__icon {
  width: 52px;
  height: 52px;
}

/* Categories */
.categories { padding: 32px 0 16px; }

.categories__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 16px;
  min-height: 160px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.35s var(--spring), box-shadow 0.35s, border-color 0.25s;
}

.cat-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(197, 160, 89, 0.25);
}

.cat-tile__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--cream);
  color: var(--gold-dark);
  transition: transform 0.35s var(--spring), background 0.25s;
}

.cat-tile__icon .ico { width: 1.75rem; height: 1.75rem; }

.cat-tile:hover .cat-tile__icon {
  transform: scale(1.08);
  background: rgba(197, 160, 89, 0.12);
}

.cat-tile__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Promos */
.promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px 0;
}

.promo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 200px;
  padding: 32px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
  text-decoration: none;
  color: inherit;
}

.promo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.promo--gold {
  background: linear-gradient(135deg, #e8d5a8 0%, var(--gold) 50%, var(--gold-dark) 100%);
  color: var(--charcoal);
}

.promo--light {
  background: var(--white);
  border: 1px solid var(--border);
}

.promo__tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
}

.promo h2 {
  margin: 0 0 16px;
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  overflow-wrap: normal;
  word-break: normal;
}

.promo__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0.85;
  transition: gap 0.2s;
}

.promo__link [data-icon="arrowR"] .ico,
.section-bar__link [data-icon] .ico,
.btn [data-icon="arrowR"] .ico,
.bonus-popup__cta {
  animation: arrowNudge 1.8s ease-in-out infinite;
}

.bonus-popup__cta { display: inline-block; }

@keyframes arrowNudge {
  0%, 100% { transform: translateX(0); }
  40% { transform: translateX(4px); }
  55% { transform: translateX(1px); }
  70% { transform: translateX(5px); }
}

@media (prefers-reduced-motion: reduce) {
  .promo__link [data-icon="arrowR"] .ico,
  .section-bar__link [data-icon] .ico,
  .btn [data-icon="arrowR"] .ico,
  .bonus-popup__cta {
    animation: none;
  }
}

.promo:hover .promo__link { gap: 10px; }

.promo__visual--phones {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.promo__visual--trade {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo__visual--trade .ico {
  width: 56px;
  height: 56px;
  color: rgba(255, 255, 255, 0.95);
}

.promo__visual--bank {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  background: rgba(197, 160, 89, 0.16);
  color: var(--gold-dark);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.promo__visual--bank .ico { width: 56px; height: 56px; }
.promo__visual--zero {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 4px 20px rgba(197, 160, 89, 0.3);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  transition: transform 0.3s var(--spring), color 0.3s;
}

.promo__visual--zero.is-counting {
  animation: percentPulse 0.35s ease-out;
}

.promo__visual--zero.is-done {
  color: var(--gold-dark);
  transform: scale(1.05);
}

@keyframes percentPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* Popular products */
.popular { padding: 40px 0 24px; }

.catalog-sections { padding: 8px 0 32px; }

.catalog-group {
  padding: 28px 0 8px;
}

.catalog-group + .catalog-group {
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

.catalog-group__head {
  margin-bottom: 20px;
}

.catalog-group__title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--charcoal);
}

.catalog-subsection {
  margin-bottom: 28px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.catalog-subsection__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.catalog-subsection__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--charcoal);
}

.catalog-subsection__count {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.catalog-show-more {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  background: var(--cream);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-dark);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.catalog-show-more:hover {
  background: var(--white);
  border-color: var(--gold);
}

.products-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.product--compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px 16px;
  text-align: center;
  border-radius: 20px;
  height: 100%;
}

.product--compact .product__img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 168px;
  height: auto;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(ellipse 78% 42% at 50% 90%, rgba(40, 32, 18, 0.1), transparent 70%),
    linear-gradient(180deg, #fbfaf7 0%, #f2ece3 100%);
}

.product--compact .product__img--photo .product__photo,
.product--compact .product__photo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 86%;
  height: 86%;
  max-width: none;
  max-height: none;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  transform: translate(-50%, -50%) scale(1.06);
  filter: drop-shadow(0 14px 22px rgba(28, 22, 12, 0.18));
  pointer-events: none;
}

.product__photo--iphone,
.product--compact .product__photo--iphone {
  width: 88%;
  height: 90%;
  max-height: none;
  min-height: 0;
  object-fit: contain;
}

.product--compact .product__img .device {
  transform: scale(0.92);
  z-index: 1;
}

.product--compact .product__name {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--charcoal);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product--compact .product__storage {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin: 0 0 10px;
  width: 100%;
}
.product__storage button.storage-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: #f3eee4;
  color: #2b271f;
  font: inherit;
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
}
.product__storage button.storage-chip.is-active {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}
.product__storage .is-more {
  background: transparent;
  color: #8a8376;
  padding: 2px 4px;
}
.product--compact .product__meta {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-light);
}

.product--compact .product__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.product--compact .color-dot {
  width: 14px;
  height: 14px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  background: var(--swatch, #ccc);
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s var(--spring), box-shadow 0.2s;
}

.product--compact .color-dot:hover {
  transform: scale(1.1);
}

.product--compact .color-dot.is-active {
  box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--charcoal);
  transform: scale(1.08);
}

.product--compact .product__price {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
}

.product--compact .product__open {
  width: 100%;
  margin-top: auto;
  border-radius: 999px;
  min-height: 40px;
}

.product.is-collapsed {
  display: none;
}

body.modal-open {
  overflow: hidden;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.product-modal[hidden] {
  display: none;
}

.product-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
}

.product-modal__panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  overflow: auto;
  padding: 20px 16px 28px;
  border-radius: 24px 24px 0 0;
  background: var(--white);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.15);
  animation: modalSlideUp 0.35s var(--ease);
}

@keyframes modalSlideUp {
  from { transform: translateY(100%); opacity: 0.6; }
  to { transform: translateY(0); opacity: 1; }
}

.product-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--cream-dark);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.product--modal-card {
  box-shadow: none;
  border: none;
  padding: 8px 4px 0;
}

.product--modal-card:hover {
  transform: none;
  box-shadow: none;
}

.cat-section {
  padding: 32px 0;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.cat-section + .cat-section {
  border-top: 1px solid var(--border);
}

.section-bar__count {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  min-width: 0;
}

.section-bar__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  min-width: 0;
  line-height: 1.2;
}

.section-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-dark);
  transition: gap 0.2s;
}

.section-bar__link:hover { gap: 8px; }

.section-bar--center {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  margin-bottom: 28px;
}

.section-bar--center .section-bar__title {
  width: 100%;
}

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

.product {
  position: relative;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.35s var(--spring), box-shadow 0.35s;
}

.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.product__badge--used {
  background: #1f1f1f;
  color: #fff;
}

.product__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  color: #fff;
}

.product__fav {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--text-light);
  transition: color 0.2s, background 0.2s, transform 0.25s var(--spring);
}

.product__fav:hover {
  color: #e11;
  background: rgba(225, 17, 17, 0.08);
  transform: scale(1.1);
}

.product__img {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--gold);
}

.product__img .ico { width: 3.5rem; height: 3.5rem; opacity: 0.7; }

.device-preview,
.device {
  --device-color: #888888;
  --device-light: #aaaaaa;
  --device-dark: #666666;
  --device-glow: rgba(255, 255, 255, 0.15);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--spring);
}

.product:hover .device-preview,
.product:hover .device {
  transform: scale(1.04);
}

.device__shell {
  position: relative;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.12));
}

/* —— Phone (iPhone) —— */
.device--iphone .device__shell,
.device--android .device__shell {
  width: 74px;
  height: 148px;
}

.device__bezel {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 3px;
  border-radius: 22px;
  background: linear-gradient(145deg, var(--device-light) 0%, var(--device-color) 42%, var(--device-dark) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.06);
}

.device__bezel.android {
  border-radius: 20px;
}

.device__bezel.tablet {
  width: 108px;
  height: 140px;
  border-radius: 18px;
}

.device__bezel.watch {
  width: 68px;
  height: 84px;
  border-radius: 22px;
  padding: 4px;
}

.device__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 19px;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.device__bezel.android .device__screen {
  border-radius: 17px;
}

.device__screen.tablet {
  border-radius: 14px;
}

.device__screen.watch {
  border-radius: 18px;
}

.device__wallpaper {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, var(--device-glow) 0%, transparent 45%),
    radial-gradient(circle at 70% 80%, var(--device-color) 0%, transparent 50%),
    linear-gradient(160deg, var(--device-dark) 0%, #0c0c0c 55%, #050505 100%);
  opacity: 0.95;
}

.device__island {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 8px;
  border-radius: 999px;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
  z-index: 2;
}

.device__hole {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  z-index: 2;
}

.device__cam-dot {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #222;
  z-index: 2;
}

.device__btn {
  position: absolute;
  background: linear-gradient(180deg, var(--device-light), var(--device-dark));
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.device__btn--silent { left: -2px; top: 36px; width: 2px; height: 14px; }
.device__btn--vol-up { left: -2px; top: 54px; width: 2px; height: 22px; }
.device__btn--vol-down { left: -2px; top: 82px; width: 2px; height: 22px; }
.device__btn--power { right: -2px; top: 58px; width: 2px; height: 32px; }
.device__btn--power.android { right: -2px; top: 48px; height: 28px; }

/* —— Laptop —— */
.device--laptop .device__shell {
  width: 120px;
}

.device__lid {
  padding: 4px 4px 0;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, var(--device-light), var(--device-color));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.device__screen.laptop {
  height: 72px;
  border-radius: 6px 6px 0 0;
}

.device__base {
  height: 8px;
  margin: 0 -6px;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, var(--device-color), var(--device-dark));
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.device__trackpad {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.15);
}

/* —— Watch —— */
.device--watch .device__shell {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.device__band {
  width: 34px;
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--device-dark), var(--device-color));
  opacity: 0.85;
}

.device__watch-face {
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
}

/* —— Earbuds —— */
.device--earbuds .device__shell {
  width: 72px;
  height: 88px;
}

.device__buds-lid {
  width: 52px;
  height: 18px;
  margin: 0 auto -4px;
  border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, var(--device-light), var(--device-color));
}

.device__buds-case {
  position: relative;
  width: 72px;
  height: 68px;
  border-radius: 28px;
  background: linear-gradient(155deg, var(--device-light) 0%, var(--device-color) 50%, var(--device-dark) 100%);
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.35),
    inset 0 -2px 6px rgba(0, 0, 0, 0.12);
}

.device__buds-light {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.device__buds-slot {
  position: absolute;
  width: 18px;
  height: 22px;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.2);
}

.device__buds-slot--l { left: 16px; bottom: 14px; }
.device__buds-slot--r { right: 16px; bottom: 14px; }

/* —— Dyson —— */
.device--dyson .device__shell {
  width: 64px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.device__dyson-head {
  width: 56px;
  height: 36px;
  border-radius: 50% 50% 46% 46%;
  background: linear-gradient(145deg, var(--device-light), var(--device-color) 60%, var(--device-dark));
}

.device__dyson-neck {
  width: 14px;
  height: 48px;
  margin-top: -4px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--device-dark), var(--device-color), var(--device-light));
}

.device__dyson-handle {
  width: 38px;
  height: 40px;
  margin-top: -2px;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--device-light), var(--device-color), var(--device-dark));
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

/* —— Camera —— */
.device--camera .device__shell {
  width: 100px;
  height: 72px;
}

.device__cam-body {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--device-light), var(--device-color), var(--device-dark));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.device__cam-lens {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #444 0%, #111 45%, #000 100%);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2);
}

.device__cam-flash {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
}

.product--variants .device--iphone .device__shell,
.product--variants .device--android .device__shell {
  width: 68px;
  height: 136px;
}

.product__name {
  margin: 0 0 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.35;
}

.product__price {
  margin: 0 0 16px;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.products-grid--variants {
  grid-template-columns: repeat(4, 1fr);
}

.product--variants {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 24px 20px 20px;
  text-align: center;
}

.product--variants .product__name {
  margin-bottom: 14px;
  font-size: 1rem;
  font-weight: 700;
}

.variant-picker {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.product__colors {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 0 0 8px;
  flex-wrap: wrap;
}

.color-swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.06);
  background: var(--swatch, #ccc);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: transform 0.2s var(--spring), box-shadow 0.2s;
}

.color-swatch:hover {
  transform: scale(1.06);
}

.color-swatch.is-active {
  box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--charcoal);
  transform: scale(1.05);
}

.product__color-label {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-light);
  min-height: 1.2em;
}

.product__memory,
.product__sim {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 6px 8px;
  border-radius: 999px;
  background: var(--cream-dark);
}

.product__sim {
  margin-top: 8px;
}

.mem-btn,
.sim-btn {
  min-width: 44px;
  min-height: 36px;
  padding: 8px 12px;
  border: none;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s var(--spring);
}

.mem-btn:hover,
.sim-btn:hover {
  color: var(--charcoal);
}

.mem-btn.is-active,
.sim-btn.is-active {
  background: var(--white);
  color: var(--charcoal);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transform: scale(1.02);
}

.product--variants .product__price {
  margin: 0 0 14px;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.product--variants .product__details {
  width: 100%;
  margin-top: auto;
}

.product--variants .product__cart {
  display: none;
}

@media (max-width: 1024px) {
  .products-grid--variants { grid-template-columns: repeat(2, 1fr); }
}

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

.product__cart {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--cream);
  color: var(--gold-dark);
  transition: background 0.2s, transform 0.25s var(--spring), color 0.2s;
}

.product__cart:hover {
  background: var(--gold);
  color: #fff;
  transform: scale(1.08);
}

.hero__badge a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.hero__badge a:hover { color: var(--gold-dark); }

.products-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 32px;
}

.products-empty--inline {
  grid-column: 1 / -1;
  padding: 28px 16px;
  font-size: 0.875rem;
  text-align: center;
  color: var(--text-muted);
}

.product__img img,
.product__photo {
  max-width: 100%;
  max-height: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.08));
}

.product--variants .product__img {
  height: 130px;
  margin-bottom: 10px;
}

.product--variants .product__photo,
.product__photo--dyson {
  max-height: 128px;
}

.product__photo--mac {
  max-height: 118px;
}

.product__specs {
  margin: 0 0 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.product__old {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-light);
  text-decoration: line-through;
  font-weight: 500;
}

/* Map */
.map-section { padding: 16px 0 48px; }

.map-section .map-wrap {
  max-width: 960px;
  margin: 0 auto;
}

.map-section .map-info {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.map-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--white);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 480px;
  border: 0;
}

.map-info {
  margin-top: 16px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  text-align: center;
}

.map-info p { margin: 0 0 6px; color: var(--text-muted); font-size: 0.9375rem; }
.map-info strong { color: var(--charcoal); }

.map-info__phone {
  display: inline-block;
  margin-top: 8px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gold-dark);
}

.map-info__phone:hover { text-decoration: underline; }

.map-ratings {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.map-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 96px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--cream);
  border: 1px solid var(--border);
  color: inherit;
  transition: transform 0.25s var(--spring), box-shadow 0.25s, border-color 0.25s;
}

.map-rating:hover {
  transform: translateY(-2px);
  border-color: rgba(197, 160, 89, 0.35);
  box-shadow: 0 8px 24px rgba(42, 42, 42, 0.06);
}

.map-rating__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 40px;
  margin-bottom: 2px;
}

.map-rating__icon img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.map-rating__stars {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  line-height: 1;
  color: #e8a317;
}

.map-rating__score {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
}

.map-rating__score small {
  font-weight: 500;
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.map-rating__name {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Features */
.features {
  padding: 48px 0 64px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 8px;
  border-radius: var(--radius-lg);
  background: var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature {
  padding: 28px 24px;
  background: var(--white);
  text-align: center;
  transition: background 0.25s;
}

.feature:hover { background: var(--cream); }

.feature__icon {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold);
}

.feature__icon .ico { width: 1.5rem; height: 1.5rem; }

.feature strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--charcoal);
}

.feature p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Footer */
.footer {
  padding: 48px 0 40px;
  background: var(--cream-dark);
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
  gap: 32px;
}

.footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-light);
}

.footer__title {
  display: block;
  margin-bottom: 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__col a:hover { color: var(--gold-dark); }

.footer__contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer__contact [data-icon] { color: var(--gold); flex-shrink: 0; }

.footer__hours {
  margin: 4px 0 0;
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* Cookie */
.cookie {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-hover);
  animation: slideUp 0.5s var(--ease);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie p { margin: 0; flex: 1; font-size: 0.8125rem; color: var(--text-muted); }
.cookie.is-hidden { display: none; }

/* Bonus popup */
.bonus-popup {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 900;
  width: min(300px, calc(100vw - 40px));
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s var(--spring);
}

.bonus-popup.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.bonus-popup__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
}

.bonus-popup__body {
  padding: 20px 20px 18px;
  cursor: pointer;
}

.bonus-popup__icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(197, 160, 89, 0.15);
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.bonus-popup__icon .ico { width: 22px; height: 22px; }

.bonus-popup__title {
  display: block;
  font-size: 1.0625rem;
  margin-bottom: 6px;
  color: var(--charcoal);
}

.bonus-popup__text {
  margin: 0 0 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.bonus-popup__timer {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--gold-dark);
}

.bonus-popup__cta {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold-dark);
}

.order-form__bonus {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.35);
  font-size: 0.875rem;
  color: var(--charcoal);
}

.order-form__bonus .ico {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold-dark);
  margin-top: 1px;
}

.order-form.is-bonus-highlight {
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.35);
}

/* Search quick categories */
.search-quick {
  position: fixed;
  left: 12px;
  right: auto;
  bottom: auto;
  top: 72px;
  width: min(520px, calc(100vw - 24px));
  z-index: 220;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(20, 16, 12, 0.16);
  max-height: min(70vh, 520px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.search-quick[hidden] { display: none !important; }

.search-quick__title {
  margin: 0 0 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.search-quick__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  min-height: 0;
}

.search-quick__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--cream);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
  transition: background 0.2s, border-color 0.2s;
}

.search-quick__item:hover {
  background: rgba(197, 160, 89, 0.1);
  border-color: rgba(197, 160, 89, 0.3);
}

.search-quick__icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--white);
  color: var(--gold-dark);
  flex-shrink: 0;
}

.search-quick__icon .ico { width: 18px; height: 18px; }

.search-quick__name { flex: 1; min-width: 0; }

.search-quick__arrow {
  color: var(--gold-dark);
  flex-shrink: 0;
}

.search-quick__arrow .ico { width: 16px; height: 16px; }

body.is-searching .search-quick:not([hidden]) ~ .cookie,
body.is-searching .cookie:has(~ .search-quick:not([hidden])) {
  bottom: auto;
}

body.is-searching .cookie:not(.is-hidden) {
  opacity: 0;
  pointer-events: none;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--d, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stats band */
.stats-band {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 44px 0;
}

.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stats-band__num {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gold);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stats-band__label {
  margin-top: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #5c5c5c;
}

.stats-label-short { display: none; }

.stats-band__num.counting {
  color: var(--ink);
}

@media (max-width: 720px) {
  .stats-label-full { display: none; }
  .stats-label-short { display: inline; }
}

/* Catalog page */
.catalog-page-head {
  padding: 32px 24px 8px;
}

.catalog-page-head__back {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.catalog-page-head__back:hover { color: var(--gold); }

.catalog-page-head__title {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.catalog-page-head__sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.page-catalog .categories {
  padding-top: 8px;
  padding-bottom: 8px;
}

.page-catalog .catalog-sections {
  padding-top: 8px;
  padding-bottom: 48px;
}

/* Sub pages: repair, promos */
.nav a.is-active {
  color: var(--gold);
  font-weight: 600;
}

.sub-hero {
  padding: 28px 24px 20px;
  text-align: center;
}

.sub-hero__back {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.sub-hero__back:hover { color: var(--gold); }

.sub-hero__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: rgba(197, 160, 89, 0.15);
  color: var(--gold);
}

.sub-hero__icon .ico { width: 32px; height: 32px; }

.sub-hero__title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.sub-hero__lead {
  max-width: 520px;
  margin: 0 auto;
  color: var(--text-muted);
  line-height: 1.6;
}

.sub-services {
  padding: 8px 0 32px;
}

.sub-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.sub-services__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 500;
}

.sub-services__item .ico {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
}

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

.order-form__row .order-form__field {
  min-width: 0;
}

.order-form__row--repair .order-form__field span {
  white-space: nowrap;
}

@media (min-width: 520px) {
  .order-form__row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

.feature--link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}

.feature--link:hover { transform: translateY(-2px); }

/* Promo cards page */
.promo-cards {
  padding: 16px 0 48px;
}

.promo-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.promo-card--featured {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #faf6ee 0%, #fff 60%);
  border-color: rgba(197, 160, 89, 0.35);
}

.promo-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(197, 160, 89, 0.18);
  color: #9a7b3c;
  flex-shrink: 0;
}

.promo-card__icon .ico { width: 28px; height: 28px; }

.promo-card__icon--pink { background: rgba(236, 72, 153, 0.12); color: #db2777; }
.promo-card__icon--green { background: rgba(34, 197, 94, 0.12); color: #16a34a; }
.promo-card__icon--gold { background: rgba(197, 160, 89, 0.2); color: #9a7b3c; }
.promo-card__icon--blue { background: rgba(59, 130, 246, 0.12); color: #2563eb; }
.promo-card__icon--purple { background: rgba(168, 85, 247, 0.12); color: #9333ea; }
.promo-card__icon--orange { background: rgba(249, 115, 22, 0.12); color: #ea580c; }
.promo-card__icon--teal { background: rgba(20, 184, 166, 0.12); color: #0d9488; }
.promo-card__icon--red { background: rgba(239, 68, 68, 0.12); color: #dc2626; }

.promo-card__badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.promo-card h2,
.promo-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.promo-card--featured h2 { font-size: 1.5rem; }

.promo-card p {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.promo-card__list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

.promo-card__hint {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
}

.promo-cards__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.promo-cta {
  padding-bottom: 56px;
}

.promo-cta__box {
  padding: 36px 32px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: var(--charcoal);
  text-align: center;
}

.promo-cta__box h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  color: var(--charcoal);
}

.promo-cta__box p {
  margin: 0 0 24px;
  color: var(--text-muted);
}

.promo-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.promo-cta__box .btn--ghost {
  background: var(--cream);
  border-color: var(--border);
  color: var(--charcoal);
}

.promo-cta__box .btn--ghost:hover {
  background: rgba(197, 160, 89, 0.12);
  border-color: rgba(197, 160, 89, 0.35);
  color: var(--charcoal);
}

.section-tag {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Reviews marquee */
.reviews-section { padding: 56px 0 24px; }

.reviews-section__head {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 28px;
}

.reviews-section__title {
  margin: 0 0 10px;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  line-height: 1.2;
}

.reviews-section__lead {
  margin: 0;
  max-width: none;
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.reviews-marquee {
  overflow: hidden;
  margin-top: 28px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.reviews-marquee__track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
  animation: reviewsScroll var(--marquee-duration, 55s) linear infinite;
}

.reviews-marquee:hover .reviews-marquee__track {
  animation-play-state: paused;
}

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

@media (prefers-reduced-motion: reduce) {
  .reviews-marquee__track { animation: none; flex-wrap: wrap; width: auto; }
}

.review-card {
  flex: 0 0 min(340px, 85vw);
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.review-card__stars {
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-card__text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 16px;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__author img,
.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #1f1f1f;
}

.review-card__avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #f3e2b3;
  font-weight: 700;
  font-size: 0.95rem;
}

.review-card__author strong {
  display: block;
  font-size: 0.875rem;
}

.review-card__author span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Order / lead form */
.order-section {
  padding: 56px 0;
}

.order-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.order-section__info {
  text-align: center;
  max-width: 440px;
  justify-self: center;
}

.order-section__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  line-height: 1.15;
}

.order-section__text {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 24px;
}

.order-section__contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.order-section__contacts a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}

.order-section__contacts a:hover { color: var(--gold); }

.order-form {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
}

.order-form__field {
  display: block;
  margin-bottom: 16px;
}

.order-form__field span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.order-form__field input,
.order-form__field select,
.order-form__field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
  background: var(--cream);
}

.order-form__submit { width: 100%; margin-top: 4px; }

.order-form__legal {
  margin: 12px 0 0;
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-align: center;
}

.order-form__success {
  padding: 14px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  font-size: 0.875rem;
}

/* Cart */
.cart-btn { position: relative; }

.cart-btn__badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
}

.cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  z-index: 0;
}

.cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: min(420px, 100%);
  height: 100%;
  background: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 0;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
  animation: cartSlideIn 0.28s var(--ease);
}

@keyframes cartSlideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
}

.cart-drawer__head h2 {
  margin: 0;
  font-size: 1.25rem;
}

.cart-drawer__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
}

.cart-drawer__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 20px;
  -webkit-overflow-scrolling: touch;
}

.cart-drawer__empty {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item__name { font-weight: 600; font-size: 0.9375rem; }

.cart-item__meta {
  grid-column: 1;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cart-item__price {
  grid-column: 2;
  grid-row: 1 / 3;
  font-weight: 700;
  white-space: nowrap;
}

.cart-item__remove {
  grid-column: 1 / -1;
  justify-self: start;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: underline;
}

.cart-drawer__foot {
  flex-shrink: 0;
  padding: 16px 20px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
}

.split-block {
  box-sizing: border-box;
  width: 100%;
  margin: 10px 0 0;
  padding: 12px 12px 12px;
  border: 1px solid #d4ead8;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fdf9 0%, #eef8f1 100%);
  text-align: center;
}
.split-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.split-block__brand {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1d3d24;
}
.split-block__badge {
  font-size: 0.625rem;
  font-weight: 700;
  color: #0a7a2f;
  background: #fff;
  border: 1px solid #cfe8d3;
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}
.split-block__tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 8px;
  padding: 3px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #d7eadb;
}
.split-block__tab {
  height: 32px;
  margin: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 650;
  color: #3d5a44;
  cursor: pointer;
  line-height: 1;
}
.split-block__tab.is-active {
  background: #16833c;
  color: #fff;
  box-shadow: 0 4px 10px rgba(22, 131, 60, 0.25);
}
.split-block__pay {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  color: #1a1a1a;
  line-height: 1.2;
  white-space: nowrap;
}
.split-block__word {
  font-weight: 500;
  font-size: 0.75rem;
  color: #5b6d60;
}
.split-block__go {
  width: 100%;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #1a1a1a;
  color: #fff;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 650;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}
.split-block__go:hover {
  background: #16833c;
}
.split-block--card {
  margin-top: auto;
  padding: 10px;
}
.product--compact .split-block--card {
  min-height: 0;
}
.product--compact .split-block__pay {
  font-size: 0.875rem;
  margin-bottom: 8px;
}
.product--compact .split-block__tab {
  height: 26px;
  font-size: 0.625rem;
  padding: 0 2px;
}
.product--compact .split-block__go {
  height: 34px;
  font-size: 0.75rem;
}

.split-approve {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.split-approve[hidden] { display: none; }
.split-approve__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 20, 0.55);
  backdrop-filter: blur(8px);
}
.split-approve__card {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  padding: 28px 24px 22px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
  text-align: center;
  animation: splitApproveIn 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes splitApproveIn {
  from { transform: translateY(16px) scale(0.96); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.split-approve__check { margin-bottom: 8px; }
.split-approve__eyebrow {
  margin: 0 0 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #16833c;
}
.split-approve__title {
  margin: 0 0 10px;
  font-size: 1.5rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #141414;
}
.split-approve__sum {
  margin: 0 0 12px;
  padding: 12px;
  border-radius: 16px;
  background: #f4fbf6;
  font-size: 1.25rem;
  font-weight: 750;
  color: #141414;
}
.split-approve__sum span {
  display: inline;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4d6b56;
}
.split-approve__sum small {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #7a8b80;
}
.split-approve__text {
  margin: 0 0 16px;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: #3f3f3f;
}
.split-approve__store {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f7f4ee;
  font-size: 0.875rem;
  color: #3d3a34;
}
.split-approve__store strong {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
}
.split-approve__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.split-approve__x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #f3eee4;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: #3d3a34;
}
.split-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  margin-top: 8px;
}
.split-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.split-form__field input::placeholder {
  color: #b3aa9c;
  letter-spacing: 0.01em;
}
.split-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 650;
  color: #5c574c;
}
.split-form__field input {
  height: 44px;
  padding: 0 14px;
  border: 1px solid #e6dfd2;
  border-radius: 14px;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1a1a1a;
  background: #fff;
}
.split-form__field input:focus {
  outline: none;
  border-color: #c5a059;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18);
}
.split-form__submit { width: 100%; justify-content: center; margin-top: 4px; }
.split-approve__clock {
  margin: 8px 0 12px;
  font-size: 2.5rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: #141414;
}
.split-wait-ring {
  width: 56px;
  height: 56px;
  margin: 4px auto 12px;
  border-radius: 50%;
  border: 3px solid #e8f7ee;
  border-top-color: #16833c;
  animation: splitSpin 0.9s linear infinite;
}
@keyframes splitSpin { to { transform: rotate(360deg); } }

.product--compact {
  padding: 16px 14px 14px;
}
.product--compact .product__img {
  min-height: 168px;
  margin-bottom: 8px;
}
.product--compact .product__storage {
  margin-bottom: 8px;
}
.product--compact .product__dots {
  margin-bottom: 8px;
}
.product--compact .product__price {
  margin-bottom: 8px;
}
.product--compact .split-block--card {
  padding: 8px 8px 9px;
}
.product--compact .split-block__go {
  height: 32px;
}

.product__actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  width: 100%;
}

.product--compact .product__cart-add {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--cream);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.product--compact .product__cart-add:hover {
  background: rgba(197, 160, 89, 0.15);
  border-color: var(--gold);
}

.product--compact .product__add-cart-compact {
  width: 100%;
  flex: 1;
}

/* Cart order modal */
.cart-order-modal {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

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

.cart-order-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.cart-order-modal__panel {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  max-height: min(90vh, 640px);
  overflow-y: auto;
  background: var(--white);
  border-radius: 20px;
  padding: 24px 22px 22px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  animation: cartOrderIn 0.28s var(--ease);
}

@keyframes cartOrderIn {
  from { transform: scale(0.96) translateY(8px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.cart-order-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
}

.cart-order-modal__title {
  margin: 0 32px 4px 0;
  font-size: 1.25rem;
}

.cart-order-modal__hint {
  margin: 0 0 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.cart-order-modal__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
}

.cart-order-item {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--cream);
  border: 1px solid var(--border);
}

.cart-order-item__name {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 2px;
}

.cart-order-item__meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.cart-order-item__price {
  font-weight: 700;
  font-size: 0.9375rem;
}

.cart-order-modal__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 16px;
  border-top: 1px solid var(--border);
  margin-bottom: 4px;
  font-size: 1.0625rem;
}

.cart-order-modal__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.cart-order-modal__input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 1rem;
  margin-bottom: 14px;
  background: var(--white);
}

.cart-order-modal__input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
}

.cart-order-modal__form .btn {
  width: 100%;
}

.cart-order-modal__success {
  margin: 8px 0 0;
  padding: 14px;
  border-radius: 14px;
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  font-size: 0.9375rem;
  text-align: center;
}

.product--compact .product__open { flex: 1; }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  animation: toastIn 0.25s var(--ease);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Responsive */
@media (max-width: 1024px) {
  .categories__grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid--compact { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 721px) {
  .product-modal {
    align-items: center;
    padding: 24px;
  }

  .product-modal__panel {
    border-radius: 24px;
    max-height: 88vh;
    animation: modalFadeIn 0.3s var(--ease);
  }

  @keyframes modalFadeIn {
    from { transform: scale(0.96); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
  }
}

@media (max-width: 720px) {
  :root { --header-h: 128px; }
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: clip;
  }
  body { overflow-x: clip; max-width: 100vw; }
  .wrap { padding: 0 16px; max-width: 100%; }
  .mob-only { display: inline-flex; }

  :is(h1, h2, h3, h4, p, li, a, label, .hero__badge a, .product__name, .promo-card p, .order-section__text) {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .promo h2 {
    overflow-wrap: normal;
    word-break: normal;
  }

  /* Header */
  .header__row {
    gap: 10px;
    padding: 10px 16px;
  }

  .logo {
    padding: 8px 14px;
    font-size: 0.875rem;
    border-radius: 12px;
  }

  .header__row .search { display: none; }
  .search-mobile.is-open { display: block; padding: 0 16px 10px; }

  .header__sub {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0 0 10px;
  }

  .header__sub.wrap { padding-left: 0; padding-right: 0; }

  .header__sub > .btn--ghost {
    flex-shrink: 0;
    margin-left: auto;
    margin-right: 16px;
    padding: 8px 14px;
    font-size: 0.8125rem;
    border-radius: 12px;
  }

  .nav-scroll {
    order: 0;
    flex: 1;
    width: auto;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
  }

  .nav-scroll::-webkit-scrollbar { display: none; }

  .nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    width: max-content;
    padding: 8px 16px 0;
  }

  .nav a {
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 7px 14px;
    font-size: 0.8125rem;
    white-space: nowrap;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--border);
  }

  .nav a.is-active {
    background: var(--charcoal);
    color: var(--white);
    border-color: var(--charcoal);
  }

  .icon-btn { width: 38px; height: 38px; }

  /* Hero */
  .hero { min-height: 240px; }
  .hero__content { padding: 28px 16px 36px; }
  .hero__title { font-size: clamp(1.25rem, 5.5vw, 1.625rem); line-height: 1.2; }
  .hero__badge {
    font-size: 0.6875rem;
    padding: 6px 10px;
    max-width: 100%;
    white-space: normal;
    text-align: left;
    line-height: 1.35;
  }
  .hero__badge a { white-space: normal; }
  .btn--lg { padding: 11px 18px; font-size: 0.875rem; border-radius: 14px; }

  /* Categories carousel */
  .categories {
    padding: 16px 0 8px;
  }

  .categories.wrap {
    padding-left: 0;
    padding-right: 0;
  }

  .categories__grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    padding: 0 16px 4px;
  }

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

  .cat-tile {
    flex: 0 0 104px;
    min-height: 104px;
    padding: 14px 8px;
    gap: 8px;
    border-radius: 16px;
    scroll-snap-align: start;
  }

  .cat-tile__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .cat-tile__icon .ico { width: 1.25rem; height: 1.25rem; }
  .cat-tile__label { font-size: 0.6875rem; line-height: 1.2; }

  /* Stats — one row */
  .stats-band { padding: 20px 0; }
  .stats-band__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  .stats-band__num {
    font-size: clamp(1.125rem, 4.8vw, 1.375rem);
  }
  .stats-band__label {
    margin-top: 4px;
    font-size: 0.5625rem;
    line-height: 1.2;
    padding: 0 1px;
    hyphens: auto;
    -webkit-hyphens: auto;
  }

  /* Promos — compact on phone */
  .promos {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 0;
  }

  .promo {
    min-height: auto;
    padding: 12px 12px;
    border-radius: 14px;
    gap: 8px;
    align-items: center;
  }

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

  .promo h2 {
    font-size: 0.8125rem;
    margin-bottom: 4px;
    line-height: 1.3;
  }

  .promo__tag { margin-bottom: 4px; font-size: 0.625rem; }
  .promo__link { font-size: 0.75rem; gap: 4px; }
  .promo__visual--trade,
  .promo__visual--phones,
  .promo__visual--bank { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; }
  .promo__visual--trade .ico,
  .promo__visual--bank .ico { width: 22px; height: 22px; }
  .promo__visual--zero { font-size: 1.5rem; flex-shrink: 0; }

  /* Products */
  .popular { padding: 24px 0 12px; }
  .section-bar {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .section-bar__title { font-size: 1.0625rem; flex: 1 1 auto; }
  .section-bar__link { font-size: 0.75rem; flex-shrink: 0; white-space: nowrap; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product__img { height: auto; min-height: 150px; }
  .product { border-radius: 14px; }
  .product__body { padding: 10px; }
  .product__name { font-size: 0.8125rem; }
  .product__price { font-size: 0.9375rem; }

  /* Reviews */
  .reviews-section { padding: 28px 0 12px; }
  .reviews-section__head { margin-bottom: 16px; padding: 0; }
  .reviews-section__title { font-size: 1.25rem; }
  .reviews-section__lead { font-size: 0.8125rem; }
  .reviews-marquee {
    margin-top: 14px;
    margin-left: -16px;
    margin-right: -16px;
    mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  }
  .reviews-marquee__track { gap: 12px; }
  .review-card {
    flex: 0 0 min(260px, 82vw);
    padding: 16px;
    border-radius: 16px;
  }
  .review-card__text { font-size: 0.8125rem; margin-bottom: 12px; line-height: 1.5; }
  .review-card__stars { font-size: 0.8125rem; margin-bottom: 8px; }
  .review-card__author img, .review-card__avatar { width: 36px; height: 36px; }

  /* Order */
  .order-section { padding: 32px 0; }
  .order-section__grid { grid-template-columns: 1fr; gap: 20px; }
  .order-section__info { max-width: 100%; justify-self: center; }
  .order-section__title { font-size: 1.375rem; margin-bottom: 10px; }
  .order-section__text { font-size: 0.875rem; margin-bottom: 16px; }
  .order-form { padding: 18px; border-radius: 16px; max-width: 100%; }

  /* Map */
  .map-section { padding: 12px 0 32px; }
  .map-wrap iframe { height: 300px; }
  .map-info { padding: 16px; margin-top: 12px; }
  .map-info p { font-size: 0.8125rem; line-height: 1.4; }
  .map-ratings { gap: 8px; margin-top: 16px; }
  .map-rating { min-width: 88px; padding: 10px 12px; }

  /* Promos page */
  .promo-cta { padding-bottom: 32px; }
  .promo-cta__box { padding: 22px 16px; border-radius: 16px; }
  .promo-cta__box h2 { font-size: 1.0625rem; line-height: 1.25; }
  .promo-cta__box p { font-size: 0.8125rem; margin-bottom: 16px; line-height: 1.45; }
  .promo-cta__actions { flex-direction: column; align-items: stretch; }
  .promo-cta__box .btn--lg { width: 100%; padding: 11px 14px; font-size: 0.875rem; }
  .promo-cards { padding: 8px 0 16px; }
  .promo-card { padding: 14px; border-radius: 14px; }
  .promo-card--featured { grid-template-columns: 1fr; gap: 10px; }
  .promo-cards__grid { grid-template-columns: 1fr; gap: 8px; }
  .promo-card h2 { font-size: 1rem; line-height: 1.25; }
  .promo-card h3 { font-size: 0.9375rem; line-height: 1.25; }
  .promo-card p { font-size: 0.8125rem; line-height: 1.45; }
  .promo-card__hint { font-size: 0.75rem; }
  .sub-hero__title { font-size: 1.375rem; line-height: 1.2; }
  .sub-hero__lead { font-size: 0.8125rem; line-height: 1.45; }
  .features { padding: 8px 0 24px; }
  .features__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .feature {
    padding: 16px 10px;
  }
  .feature__icon { margin-bottom: 8px; }
  .feature__icon .ico { width: 1.25rem; height: 1.25rem; }
  .feature strong { font-size: 0.8125rem; }
  .feature p { font-size: 0.6875rem; line-height: 1.35; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; gap: 20px; }
  .footer { padding: 32px 0 24px; }

  /* Sub pages */
  .sub-hero { padding: 20px 0 12px; }
  .catalog-page-head { padding: 20px 16px 4px; }
  .catalog-page-head__title { font-size: 1.375rem; line-height: 1.2; }
  .sub-services { padding: 4px 0 20px; }
  .sub-services.wrap { padding-left: 0; padding-right: 0; }
  .sub-services__grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    padding: 0 16px 4px;
  }
  .sub-services__grid::-webkit-scrollbar { display: none; }
  .sub-services__item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    white-space: nowrap;
    font-size: 0.8125rem;
    padding: 12px 14px;
  }
  .promo-cards { padding: 8px 0 24px; }
  .promo-card { padding: 18px; border-radius: 16px; }
  .promo-card--featured { grid-template-columns: 1fr; gap: 12px; }
  .promo-cards__grid { grid-template-columns: 1fr; gap: 10px; }
  .promo-card p { font-size: 0.875rem; }

  /* Features */
  .cookie { flex-direction: column; align-items: stretch; padding: 12px 16px; }
  .bonus-popup {
    right: 10px;
    bottom: auto;
    top: calc(var(--header-h) + 8px);
    width: min(240px, calc(100vw - 20px));
  }

  .bonus-popup__body { padding: 12px 14px 10px; }
  .bonus-popup__icon { width: 32px; height: 32px; margin-bottom: 6px; border-radius: 10px; }
  .bonus-popup__icon .ico { width: 18px; height: 18px; }
  .bonus-popup__title { font-size: 0.9375rem; margin-bottom: 4px; }
  .bonus-popup__text { font-size: 0.75rem; margin-bottom: 8px; }
  .bonus-popup__cta { font-size: 0.75rem; }
  .bonus-popup__close { width: 24px; height: 24px; font-size: 1rem; }

  .cookie { margin-bottom: 0; }
  .cart-drawer__panel { max-width: 100%; }
}

@media (max-width: 400px) {
  :root { --header-h: 124px; }
  .stats-band__label { font-size: 0.5625rem; }
  .stats-band__num { font-size: 1.0625rem; }
  .cat-tile { flex: 0 0 96px; min-height: 96px; }
  .product__img { height: auto; min-height: 168px; }
}

@media (hover: none) {
  .product:hover {
    transform: none;
    box-shadow: var(--shadow);
  }
  .product:hover .device-preview,
  .product:hover .device {
    transform: none;
  }
}

/* Mobile product photos: edge-to-edge studio frame */
@media (max-width: 720px) {
  .products-grid--compact {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .product--compact {
    padding: 0 0 12px;
    border-radius: 18px;
    overflow: hidden;
    align-items: stretch;
  }

  .product--compact .product__badge {
    top: 10px;
    left: 10px;
    z-index: 2;
  }

  .product--compact .product__img,
  .product--compact .product__img--photo {
    aspect-ratio: 4 / 5;
    min-height: 196px;
    height: auto !important;
    margin: 0 0 10px;
    border-radius: 0;
    background:
      radial-gradient(ellipse 68% 34% at 50% 94%, rgba(48, 38, 22, 0.16), transparent 72%),
      linear-gradient(168deg, #f9f6f0 0%, #f0e9de 48%, #e9e0d2 100%);
  }

  .product--compact .product__img--photo .product__photo,
  .product--compact .product__photo,
  .product--compact .product__photo--iphone,
  .product--compact .product__photo--mac,
  .product--compact .product__photo--dyson {
    width: 92%;
    height: 92%;
    max-width: none;
    max-height: none;
    min-height: 0;
    transform: translate(-50%, -47%) scale(1.14);
    filter: drop-shadow(0 18px 26px rgba(22, 16, 10, 0.22));
  }

  .product--compact .product__img .device {
    transform: scale(1.08);
  }

  .product--compact .product__name,
  .product--compact .product__storage,
  .product--compact .product__meta,
  .product--compact .product__dots,
  .product--compact .product__price,
  .product--compact .split-block--card,
  .product--compact .product__actions {
    width: 100%;
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
  }

  .product--compact .product__name {
    font-size: 0.875rem;
    margin-bottom: 6px;
  }

  .product--compact .product__price {
    font-size: 1rem;
    letter-spacing: -0.02em;
  }
}

/* Site preloader */
.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  transition: opacity 0.85s var(--ease), visibility 0.85s;
}

.site-preloader::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 42%, rgba(42, 42, 42, 0.03) 0%, transparent 72%);
  pointer-events: none;
}

.site-preloader--hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-preloader--hide .site-preloader__logo,
.site-preloader--hide .site-preloader__visit {
  opacity: 0;
  transform: translateY(6px);
  filter: blur(2px);
}

.site-preloader__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 24px;
  text-align: center;
}

.site-preloader__logo {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  color: var(--charcoal);
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  line-height: 1;
  animation: preloaderReveal 1.05s var(--ease) both;
  transition:
    opacity 0.75s var(--ease),
    transform 0.85s var(--ease),
    filter 0.75s var(--ease);
}

.site-preloader__visit {
  margin: 0;
  max-width: min(320px, 88vw);
  font-size: clamp(0.8125rem, 2.8vw, 0.9375rem);
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  animation: preloaderVisit 1.05s var(--ease) 0.18s both;
  transition:
    opacity 0.75s var(--ease),
    transform 0.85s var(--ease),
    filter 0.75s var(--ease);
}

.site-preloader__visit strong {
  font-weight: 700;
  color: var(--charcoal);
  font-variant-numeric: tabular-nums;
}

@keyframes preloaderVisit {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes preloaderReveal {
  0% {
    opacity: 0;
    transform: scale(0.94) translateY(10px);
    filter: blur(6px);
  }
  55% {
    opacity: 1;
    transform: scale(1.01) translateY(0);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-preloader__logo,
  .site-preloader__visit {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .site-preloader--hide .site-preloader__logo,
  .site-preloader--hide .site-preloader__visit {
    filter: none;
  }
}

/* photos with white studio bg should not show the cream page behind them */
.product--compact .product__img--photo {
  background: #fff !important;
}
.product--compact .product__img--photo .product__photo,
.product--compact .product__img--photo .product__photo--iphone,
.product--compact .product__img--photo .product__photo--mac,
.product--compact .product__img--photo .product__photo--dyson {
  filter: none;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
}

/* suggestion dropdown */
.search-suggest__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 8px;
}

.search-suggest__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--border);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
}

.search-suggest__chip .ico { width: 14px; height: 14px; }

.search-suggest__chip:hover,
.search-suggest__row:hover,
.search-suggest__chip.is-active,
.search-suggest__row.is-active {
  background: rgba(197, 160, 89, 0.12);
}

.search-suggest__row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  text-decoration: none;
}

.search-suggest__thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--cream);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
}

.search-suggest__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.search-suggest__thumb .ico { width: 18px; height: 18px; }

.search-suggest__meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-suggest__name {
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-suggest__name mark {
  background: rgba(197, 160, 89, 0.28);
  color: inherit;
  border-radius: 3px;
  padding: 0 1px;
}

.search-suggest__cat {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.search-suggest__price {
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--charcoal);
}

.search-suggest__all {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: var(--ink, #1c1915);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  flex-shrink: 0;
}

.search-suggest__all.is-active { outline: 2px solid rgba(197, 160, 89, 0.8); outline-offset: 1px; }

.search-suggest__status {
  margin: 4px 8px 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.hero + .categories.categories--auto .categories__grid {
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 40px), transparent);
}

.categories__grid {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

/* account-spin */
.home-spin { margin: 28px auto 8px; }
.home-spin-card {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 22px 18px 18px;
  box-shadow: var(--shadow);
}
.home-spin-lead {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  max-width: 68ch;
}
.home-spin-wrap { position: relative; margin: 0 0 16px; }
.home-spin-pointer { display: none; }
.home-spin-track-window {
  position: relative;
  overflow: hidden;
  height: 154px;
  border-radius: 22px;
  background: var(--cream);
  border: 1px solid var(--border);
}
.home-spin-track-window::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 14px;
  width: 124px;
  height: 126px;
  transform: translateX(-50%);
  border-radius: 18px;
  box-shadow: 0 0 0 2px var(--gold), 0 10px 28px rgba(197, 160, 89, .22);
  pointer-events: none;
}
.home-spin-track {
  display: flex;
  gap: 12px;
  height: 100%;
  align-items: center;
  will-change: transform;
}
.home-spin-item {
  flex: 0 0 124px;
  height: 126px;
  box-sizing: border-box;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 10px 8px;
  background: #fff;
  color: var(--text);
  border: 1px solid rgba(42, 42, 42, .06);
  box-shadow: 0 8px 18px rgba(42, 42, 42, .04);
}
.home-spin-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #f6f1e7;
  color: var(--gold-dark);
}
.home-spin-item__icon svg { width: 22px; height: 22px; display: block; }
.home-spin-item__name {
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -.01em;
}
.home-spin-item.is-picked {
  border-color: var(--gold);
}
.home-spin-btn { min-width: 180px; }
.home-spin-btn[hidden],
.home-spin-status[hidden] { display: none !important; }
.home-spin-status { margin: 12px 0 0; font-size: 14px; color: var(--text-muted); }
.home-spin-result:empty { display: none; }
.home-spin-result { margin: 14px 0 0; }
.spin-ticket {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fffdf8;
  border: 1px dashed var(--gold);
}
.spin-ticket span { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-dark); }
.spin-ticket strong { font-size: 18px; }
.spin-ticket code { font-family: inherit; font-size: 14px; color: var(--text); }
.spin-ticket small { color: var(--text-muted); line-height: 1.4; }
.spin-feed { margin-top: 18px; border-top: 1px solid var(--border); padding-top: 14px; }
.spin-feed h3 { margin: 0 0 10px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); }
.spin-feed ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.spin-feed li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  background: var(--cream);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 14px;
}
.spin-feed__prize { color: var(--gold-dark); text-align: right; }
.spin-feed__empty { color: var(--text-muted); }
.spin-feed li.is-fresh { animation: spinFresh 1.1s ease; }
@keyframes spinFresh { from { background: rgba(197, 160, 89, .28); } }
@media (prefers-reduced-motion: reduce) {
  .home-spin-track { transition: none !important; }
  .spin-feed li.is-fresh { animation: none; }
}

.account-modal[hidden] { display: none !important; }
.account-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 18, 15, .46);
}
.account-card {
  width: min(460px, 100%);
  background: #fffdf8;
  color: #1c1915;
  border-radius: 24px;
  padding: 22px 20px 18px;
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
  max-height: min(92vh, 840px);
  overflow: auto;
}
.account-card h2 { margin: 0 0 6px; font-size: 24px; }
.account-card__lead { margin: 0 0 14px; color: #6b645b; font-size: 14px; }
.account-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.account-tabs button {
  border: 0;
  background: #f3eee6;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font: inherit;
}
.account-tabs button.is-on { background: #1c1915; color: #fff; }
.account-form { display: grid; gap: 12px; }
.account-form[hidden],
.account-tabs[hidden],
#accountHome[hidden],
.account-form label[hidden],
.account-consent[hidden],
.account-note[hidden],
#accountSendCode[hidden],
#accountCodeLabel[hidden],
#accountGuestLead[hidden],
#accountForgot[hidden] { display: none !important; }
.account-guest { width: 100%; margin-top: 12px; }
.code-cells { display: flex; gap: 6px; }
.account-form label { display: grid; gap: 6px; font-size: 13px; color: #6b645b; }
.account-form input[type="text"],
.account-form input[type="password"] {
  border: 1px solid #e6dfd4;
  border-radius: 12px;
  padding: 12px 12px;
  font: inherit;
  color: #1c1915;
  background: #fff;
}
.phone-cells {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
}
.phone-cells__prefix {
  font-weight: 700;
  font-size: 16px;
  color: #1c1915;
  min-width: 28px;
}
.phone-cells__group { display: flex; gap: 3px; }
.phone-cells__sep {
  width: 6px;
  height: 2px;
  border-radius: 2px;
  background: #d9d0c3;
  flex: none;
}
.account-form .phone-cell {
  width: 28px;
  height: 40px;
  padding: 0;
  text-align: center;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  border: 1px solid #e6dfd4;
  border-radius: 10px;
  background: #fff;
  color: #1c1915;
}
.account-form .phone-cell.is-next,
.account-form .phone-cell:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, .28);
  outline: none;
}
.phone-cells__live {
  margin: 2px 0 0;
  min-height: 1.2em;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  color: #1c1915;
}
.account-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  color: #6b645b;
}
.account-consent input { width: 18px; height: 18px; margin-top: 1px; flex: none; }
.account-consent a { color: var(--gold-dark); }
.account-note { margin: 0; color: #6b645b; font-size: 13px; }
@media (max-width: 420px) {
  .account-card { padding: 18px 12px 16px; }
  .account-form .phone-cell { width: 22px; height: 36px; font-size: 15px; }
  .phone-cells__prefix { font-size: 14px; min-width: 22px; }
  .phone-cells__sep { width: 4px; }
}
.account-error { color: #b42318; min-height: 1.2em; margin: 0; font-size: 14px; }
.account-close {
  float: right;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #6b645b;
}
.loyalty-card {
  margin: 0 0 16px;
  padding: 16px;
  border-radius: 22px;
  text-align: center;
  color: var(--text);
  background:
    radial-gradient(140px 90px at 100% 0%, rgba(212, 176, 106, .35), transparent 70%),
    linear-gradient(180deg, #fffdf8, #f6f1e7);
  border: 1px solid rgba(168, 134, 66, .35);
  box-shadow: 0 10px 28px rgba(168, 134, 66, .12);
}
.loyalty-card__top {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.loyalty-card__name { display: block; margin: 10px 0 4px; font-size: 22px; }
.loyalty-card__qr {
  width: 168px;
  height: 168px;
  margin: 6px auto;
  display: block;
  background: #fffdf8;
  border-radius: 12px;
}
.loyalty-card__code {
  margin: 0;
  font-size: 20px;
  letter-spacing: .16em;
  font-variant-numeric: tabular-nums;
}
.loyalty-card__note { margin: 8px 0 0; color: var(--text-muted); font-size: 13px; line-height: 1.4; }
.loyalty-card__points { margin: 4px 0 0; font-size: 18px; font-weight: 700; color: var(--gold-dark); }
.account-prizes { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.account-prizes li { background: #f6f1e7; border-radius: 12px; padding: 10px 12px; }
.account-prizes small { display: block; color: #6b645b; margin-top: 2px; }
.icon-btn.is-account { box-shadow: none; }
.icon-btn:focus { outline: none; }
.icon-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.spin-toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  background: #1c1915;
  color: #fff;
  border-radius: 999px;
  padding: 12px 16px;
  z-index: 450;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
/* /account-spin */

/* open-pages */
.product__imglink,
.product__name-link { color: inherit; text-decoration: none; }
.product__name-link:hover { color: #8a6a2f; }
.product__img {
  background:
    radial-gradient(120% 90% at 50% 0%, #fff 0%, #f6f1e8 72%);
}
.product--compact,
.product--variants {
  border: 1px solid rgba(28, 25, 21, .06);
  box-shadow: 0 14px 34px rgba(28, 25, 21, .06);
}
.product-page { padding: 28px 0 72px; }
.product-page__back {
  display: inline-flex;
  margin: 0 0 18px;
  color: #6b645b;
  text-decoration: none;
}
.page-product .product-page .product {
  max-width: 560px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 28px;
  background: #fffdf8;
}
.page-product { background: #f6f1e8; }
.page-product .catalog-page-head { display: none; }
.page-product .product__img { min-height: 320px; border-radius: 22px; }
.page-product .product__price { font-size: 28px; letter-spacing: -0.03em; }
.catalog-group[hidden],
.catalog-subsection[hidden] { display: none !important; }

.page-product .categories,
.page-product .search-results,
.page-product .catalog-page-head { display: none !important; }
.page-product .product-page { padding-top: 28px; }
.page-product .product--variants {
  display: grid;
  grid-template-columns: minmax(240px, 1.05fr) minmax(220px, .95fr);
  gap: 8px 28px;
  align-items: center;
  max-width: 920px;
  padding: 28px;
}
.page-product .product__img { grid-row: 1 / span 6; min-height: 380px; }
.page-product .product__fav { grid-column: 2; justify-self: end; }
@media (max-width: 720px) {
  .page-product .product--variants { grid-template-columns: 1fr; padding: 16px; }
  .page-product .product__img { grid-row: auto; min-height: 260px; }
}

.page-product .product-page .product {
  opacity: 1 !important;
  transform: none !important;
  max-width: 920px;
}

.page-product .product__photo {
  width: min(320px, 78%) !important;
  height: auto !important;
  max-height: 360px;
  filter: drop-shadow(0 18px 24px rgba(40, 32, 16, .16));
}

.account-forgot {
  justify-self: start;
  border: 0;
  background: transparent;
  color: #8a6a2f;
  font: inherit;
  text-align: left;
  padding: 0;
  cursor: pointer;
}

.account-error {
  font-weight: 700;
  line-height: 1.35;
}

/* orders-cabinet-start */
#accountHome { display: flex; flex-direction: column; gap: 12px; }
#accountPanes { order: 1; }
#accountOrders,
#accountLeadsPane,
#accountPrizesPane,
#accountSpin { order: 2; }
#accountLoyalty { order: 3; }
#accountLogout { order: 4; width: 100%; }
#accountOrders[hidden],
#accountLeadsPane[hidden],
#accountPrizesPane[hidden],
#accountSpin[hidden] { display: none !important; }
.account-panes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.account-panes button {
  border: 0;
  background: #f3eee6;
  color: #1c1915;
  border-radius: 999px;
  padding: 8px 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.account-panes button.is-on { background: #1c1915; color: #fff; }
.order-ticket {
  position: relative;
  background: #fffdf8;
  border: 1px solid rgba(168, 134, 66, .35);
  border-radius: 22px;
  padding: 16px 16px 14px;
  box-shadow: 0 12px 32px rgba(42, 42, 42, .06);
  overflow: hidden;
  animation: orderIn .35s ease;
}
.order-ticket + .order-ticket { margin-top: 12px; }
.order-ticket::before {
  content: "";
  display: block;
  height: 7px;
  margin: -16px -16px 14px;
  background: linear-gradient(90deg, #a88642, #f0e2bc, #a88642);
}
.order-ticket__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.order-ticket__brand {
  display: block;
  color: #a88642;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
}
.order-ticket__num { margin-top: 2px; font-size: 26px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.order-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(197, 160, 89, .18);
  color: #8a6a2f;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.order-ticket[data-status="assembly"] .order-status { background: #efe7d6; color: #6d5420; }
.order-ticket[data-status="ready"] .order-status { background: #1c1915; color: #f6edd9; }
.order-ticket[data-status="done"] .order-status { background: #e7f2ea; color: #24613a; }
.order-ticket[data-status="cancelled"] { opacity: .78; }
.order-ticket[data-status="cancelled"] .order-status { background: #f8e8e6; color: #9f1239; }
.order-steps {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin: 14px 0;
  padding: 0;
}
.order-steps::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 4px;
  height: 2px;
  background: #e6dfd4;
}
.order-steps li {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #8a8175;
  font-size: 11px;
  line-height: 1.25;
}
.order-steps li::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: #e6dfd4;
  box-shadow: 0 0 0 4px #fffdf8;
}
.order-steps li.is-done,
.order-steps li.is-now { color: #1c1915; font-weight: 700; }
.order-steps li.is-done::before,
.order-steps li.is-now::before { background: #c5a059; }
.order-steps li.is-now::before { box-shadow: 0 0 0 4px rgba(197, 160, 89, .28); }
.order-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.order-lines li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: 15px; }
.order-lines span { min-width: 0; overflow-wrap: anywhere; }
.order-lines small { display: block; margin-top: 2px; color: #8a8175; font-size: 12px; }
.order-lines b { font-weight: 700; white-space: nowrap; }
.order-ticket__sum {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 12px;
  padding-top: 14px;
  background-image: radial-gradient(circle, #e4d8c4 1.15px, transparent 1.25px);
  background-size: 10px 2px;
  background-repeat: repeat-x;
  background-position: top left;
}
.order-ticket__sum span { color: #6b645b; font-size: 13px; }
.order-ticket__sum strong { font-size: 28px; font-weight: 700; letter-spacing: -.04em; }
.order-note {
  margin: 10px 0 0;
  white-space: pre-wrap;
  background: #f6f1e7;
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 14px;
  line-height: 1.4;
}
.order-ready {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: #1c1915;
  color: #f6edd9;
  font-size: 13px;
  line-height: 1.4;
}
.order-done { margin: 12px 0 0; color: #24613a; font-size: 13px; }
.order-cancel { margin: 0 0 12px; color: #9f1239; font-weight: 700; }
.order-meta { margin: 10px 0 0; color: #6b645b; font-size: 13px; line-height: 1.45; }
.order-empty {
  display: grid;
  justify-items: center;
  gap: 6px;
  border: 1px dashed rgba(168, 134, 66, .5);
  border-radius: 22px;
  padding: 22px 16px;
  text-align: center;
  background: rgba(255, 253, 248, .75);
}
.order-empty__mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 2px;
  border-radius: 50%;
  background: #1c1915;
  color: #f3e6c4;
  font-weight: 700;
}
.order-empty strong { font-size: 18px; }
.order-empty p { margin: 0; color: #6b645b; font-size: 14px; line-height: 1.45; }
@keyframes orderIn { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) {
  .order-ticket { animation: none; }
}
/* orders-cabinet-end */

/* phone-stable-start */
@media (max-width: 720px) {
  .account-modal {
    padding: 0;
    align-items: end;
  }
  .account-card {
    width: 100%;
    max-height: 92vh;
    max-height: 100dvh;
    border-radius: 18px 18px 0 0;
    padding: 14px 12px calc(14px + env(safe-area-inset-bottom));
  }
  .account-form input,
  .account-form textarea {
    font-size: 16px;
  }
  .phone-cells,
  .code-cells {
    width: 100%;
    min-width: 0;
    gap: 3px;
  }
  .phone-cells__group {
    flex: 1 1 0;
    min-width: 0;
    gap: 2px;
  }
  .account-form .phone-cell {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    height: 42px;
    font-size: 16px;
  }
  .phone-cells__prefix {
    font-size: 16px;
    min-width: 0;
  }
  .phone-cells__sep { width: 3px; }
  .order-ticket__num { font-size: 22px; }
  .order-ticket__sum strong { font-size: 24px; }
  .order-steps li { font-size: 10px; }
  .account-panes button {
    font-size: 12px;
    padding: 8px 4px;
    white-space: nowrap;
  }
}
/* phone-stable-end */

.promo__phone {
  display: block;
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.promo-reach {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 0;
  padding-bottom: 4px;
}
.promo-reach a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.promo-reach__call { background: #1f1f1f; color: #fff; }
.promo-reach__wa { background: #fff; color: #1f1f1f; border: 1px solid #e6dfd4; }
#accountSpin .home-spin-card {
  margin: 0;
  padding: 2px 0 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}
#accountSpin .home-spin-btn { width: 100%; }
#accountSpin .home-spin-track-window { height: 138px; }
#accountSpin .spin-feed { margin-top: 14px; }

@media (max-width: 720px) {
  :root { --header-h: 176px; }
  .header { position: sticky; }
  body { padding-top: 0; }
  .icon-btn { width: 34px; height: 34px; }
  .header__actions { gap: 4px; }
  #searchMobBtn {
    position: absolute;
    top: 11px;
    right: 162px;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    z-index: 2;
  }
  .nav-scroll {
    flex: 1 1 100%;
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
    scroll-snap-type: none;
  }
  .nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
    padding: 6px 12px 8px;
  }
  .nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 8px 2px;
    font-size: 0.75rem;
    text-align: center;
  }

  .hero { min-height: 280px; }
  .hero__content { padding: 32px 16px 40px; }
  .hero__title { font-size: 1.7rem; line-height: 1.15; }
  .hero__badge { font-size: 0.8125rem; padding: 8px 12px; }

  .categories { padding: 20px 0 12px; }
  .cat-tile {
    flex-basis: 118px;
    min-height: 116px;
    padding: 16px 10px;
  }
  .cat-tile__label { font-size: 0.8125rem; }

  .stats-band { padding: 22px 0; }
  .stats-band__grid { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .stats-band__num { font-size: 1.6rem; }
  .stats-band__label { font-size: 0.8125rem; line-height: 1.3; hyphens: manual; }
  .stats-label-full { display: inline; }
  .stats-label-short { display: none; }

  .promos { gap: 12px; padding: 18px 0 10px; }
  .promo {
    min-height: 112px;
    padding: 18px 16px;
    border-radius: 20px;
    gap: 12px;
  }
  .promo h2 { font-size: 1.15rem; line-height: 1.25; margin-bottom: 8px; }
  .promo__tag { font-size: 0.75rem; margin-bottom: 6px; }
  .promo__link { font-size: 0.875rem; }
  .promo__phone { font-size: 1rem; }
  .promo__visual--trade,
  .promo__visual--phones,
  .promo__visual--bank { width: 56px; height: 56px; border-radius: 16px; }
  .promo__visual--bank .ico { width: 28px; height: 28px; }

  .popular { padding: 28px 0 16px; }
  .section-bar__title { font-size: 1.25rem; }
  .products-grid,
  .products-grid--compact { gap: 12px; }
  .product--compact .product__img,
  .product--compact .product__img--photo {
    aspect-ratio: 1 / 1;
    min-height: 0;
  }
  .product--compact .product__name {
    font-size: 0.9375rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product--compact .product__price { font-size: 1.125rem; }
  .product--compact .split-block__tabs { display: none; }
  .product--compact .split-block--card { padding: 10px; }
  .product--compact .split-block__pay {
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    font-size: 0.75rem;
    line-height: 1.3;
    margin-bottom: 2px;
  }
  .product--compact .split-block__note { font-size: 10px; line-height: 1.3; }
  .product--compact .product__actions .btn {
    width: 100%;
    min-height: 42px;
    font-size: 0.875rem;
  }

  .promo-cards__grid { gap: 12px; }
  .promo-card { padding: 18px 16px; }
  .promo-card h3 { font-size: 1.05rem; }
  .promo-card p {
    font-size: 0.9375rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .promo-cta__box .btn--lg { min-height: 48px; font-size: 1rem; }
  .promo-reach { padding-bottom: 8px; }
  .promo-reach a { flex: 1 1 140px; }

  .account-panes button { font-size: 14px; padding: 10px 8px; }
  .page-product .product__price { font-size: 30px; }
  .page-product .product--variants { gap: 12px; }
  .feature p { font-size: 0.8125rem; line-height: 1.4; }
  .order-section__contacts a { font-size: 1rem; }
}

@media (max-width: 720px) {
  .footer {
    padding: 18px 0 calc(16px + env(safe-area-inset-bottom));
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
  }
  .logo--footer { margin: 0; }
  .footer__copy,
  .footer__legal,
  .footer__requisites {
    overflow-wrap: normal;
    word-break: normal;
  }
  .footer__copy {
    margin: 0;
    text-align: left;
    white-space: nowrap;
    line-height: 1.35;
  }
  .footer__requisites { margin: 0; font-size: 0.75rem; color: var(--text-muted); line-height: 1.45; }
  .footer__requisites[hidden] { display: none !important; }
  .footer__col:not(.footer__contacts) {
    display: block;
  }
  .footer__title { margin-bottom: 6px; }
  .footer__col a {
    overflow-wrap: normal;
    word-break: normal;
  }
  .footer__col:not(.footer__contacts) a {
    display: inline;
    white-space: nowrap;
    line-height: 1.8;
  }
  .footer__col:not(.footer__contacts) a + a::before {
    content: "·";
    margin: 0 7px;
    color: var(--gold-dark);
  }
  .footer__contacts {
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }
  .footer__hours { margin: 0; }
}

/* cabinet-page-start */
.page-cabinet {
  --header-h: 68px;
  background:
    radial-gradient(900px 420px at 50% -80px, rgba(212, 176, 106, .28), transparent 60%),
    #f6f1e8;
}
.cabinet-shop {
  margin-left: auto;
  color: #6b645b;
  text-decoration: none;
  font-size: 15px;
}
.cabinet-shop:hover { color: #1c1915; }
.cabinet {
  width: min(480px, calc(100% - 32px));
  margin: 0 auto;
  padding: 8px 0 128px;
}
.cabinet-hello {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 2px 16px;
}
.cabinet-hello strong {
  display: block;
  font-size: 26px;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.cabinet-hello p {
  margin: 3px 0 0;
  color: #6b645b;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}
.cabinet-out {
  border: 0;
  background: transparent;
  color: #8a6a2f;
  font: inherit;
  font-size: 15px;
  padding: 0 0 4px;
  cursor: pointer;
}
.page-cabinet .loyalty-card {
  margin: 0;
  padding: 22px 18px 20px;
}
.page-cabinet .loyalty-card__name {
  margin-top: 14px;
  font-size: 28px;
  letter-spacing: -0.03em;
}
.page-cabinet .loyalty-card__qr {
  width: 196px;
  height: 196px;
  margin-top: 10px;
}
.cabinet-spinline {
  margin: 22px 4px 0;
  color: #6b645b;
  font-size: 15px;
  line-height: 1.5;
}
.cabinet-spinline > p { margin: 0; }
.cabinet-spinline > .btn { margin-top: 14px; }
.page-cabinet .footer {
  padding: 0 0 108px;
  background: transparent;
  border-top: 0;
}
.cabinet-foot {
  margin: 0;
  text-align: center;
  color: #8a8175;
  font-size: 14px;
}
.cabinet-foot a { color: inherit; text-decoration: none; }
.page-cabinet .account-modal {
  position: static;
  inset: auto;
  z-index: auto;
  display: block;
  min-height: 0;
  padding: 8px 0 12px;
  background: transparent;
}
.page-cabinet .account-modal[hidden] { display: none !important; }
.page-cabinet .account-close { display: none; }
.page-cabinet .account-card {
  width: min(420px, 100%);
  margin: 18px auto 0;
  padding: 8px 0 12px;
  background: transparent;
  box-shadow: none;
  max-height: none;
  overflow: visible;
}
.page-cabinet .account-card h2 {
  font-size: 32px;
  letter-spacing: -0.03em;
}

.cabinet-nav {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(480px, calc(100% - 20px));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 6px;
  border-radius: 24px;
  background: rgba(255, 253, 248, .9);
  border: 1px solid rgba(168, 134, 66, .32);
  box-shadow: 0 18px 50px rgba(28, 25, 21, .16);
  backdrop-filter: blur(18px);
}
.cabinet-nav button {
  position: relative;
  border: 0;
  background: transparent;
  color: #6f675e;
  border-radius: 18px;
  padding: 8px 2px 7px;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  display: grid;
  justify-items: center;
  gap: 3px;
}
.cabinet-nav button.is-on {
  background: #1c1915;
  color: #f8f1e2;
}
.cabinet-nav__glyph {
  position: relative;
  display: grid;
  place-items: center;
  width: 24px;
  height: 22px;
}
.cabinet-nav svg { width: 22px; height: 22px; }
.cabinet-nav__count {
  position: absolute;
  top: -6px;
  right: -10px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #c5a059;
  color: #1c1915;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}
.cabinet-nav button.is-on .cabinet-nav__count { background: #f3e6c4; }

.trip {
  background: #fffdf8;
  border: 1px solid rgba(168, 134, 66, .28);
  border-radius: 26px;
  padding: 16px 16px 14px;
  box-shadow: 0 16px 40px rgba(42, 32, 16, .06);
}
.trip + .trip { margin-top: 14px; }
.trip__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.trip__brand {
  display: block;
  color: #a88642;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
}
.trip__top strong {
  display: block;
  margin-top: 2px;
  font-size: 26px;
  letter-spacing: -.04em;
  line-height: 1;
}
.trip__status {
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(197, 160, 89, .18);
  color: #8a6a2f;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.trip[data-stop="2"] .trip__status { background: #1c1915; color: #f6edd9; }
.trip.is-done .trip__status { background: #e7f2ea; color: #24613a; }
.trip.is-cancelled .trip__status { background: #f8e8e6; color: #9f1239; }
/* map route */
.trip__scene {
  position: relative;
  height: auto;
  aspect-ratio: 320 / 250;
  margin: 14px 0 8px;
  border-radius: 20px;
  overflow: hidden;
  background: #fbf8f2;
}
.trip__map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.trip__land { fill: #eadfcb; }
.trip__roadbed,
.trip__progress,
.trip__dashes {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trip__roadbed { stroke: #d9cbb4; stroke-width: 16; }
.trip__progress {
  stroke: #c5a059;
  stroke-width: 16;
  stroke-dasharray: 317;
  stroke-dashoffset: 317;
  transition: stroke-dashoffset .8s ease;
}
.trip[data-stop="0"] .trip__progress { stroke-dashoffset: 308; }
.trip[data-stop="1"] .trip__progress { stroke-dashoffset: 171; }
.trip[data-stop="2"] .trip__progress,
.trip[data-stop="3"] .trip__progress { stroke-dashoffset: 0; }
.trip__dashes {
  stroke: rgba(28, 25, 21, .5);
  stroke-width: 2.4;
  stroke-dasharray: 7 11;
}
.trip.is-moving .trip__dashes { animation: routeFlow .7s linear infinite; }
.trip.is-done .trip__roadbed { stroke: #e6d3a8; }
.trip.is-done .trip__dashes { stroke: rgba(90, 62, 18, .4); }
.trip.is-cancelled .trip__roadbed { stroke: #e4ddd4; }
.trip.is-cancelled .trip__progress { stroke: #cfc6bb; }
.trip.is-cancelled .trip__dashes { opacity: .28; animation: none; }
.trip__dot { fill: #1c1915; }
.trip[data-stop="2"] .trip__dot--end,
.trip[data-stop="3"] .trip__dot--end { fill: #c5a059; }
.trip[data-stop="2"] .trip__dot--end { animation: dotGlow 1.6s ease-in-out infinite; }
.trip__city {
  position: absolute;
  z-index: 4;
  top: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 253, 248, .94);
  color: #1c1915;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.trip__city--msk { left: 10px; }
.trip__city--pnz { right: 10px; }
.trip__actor {
  position: absolute;
  z-index: 3;
  filter: drop-shadow(0 8px 6px rgba(40, 32, 16, .18));
  pointer-events: none;
}
.trip__actor--box { width: 34%; left: 0; bottom: 12%; }
.trip__actor--truck { width: 48%; left: 24%; top: 28%; }
.trip__actor--shop { width: 40%; right: 0; bottom: 16%; }
.trip__actor img { display: block; width: 100%; height: auto; }
.trip.is-moving .trip__actor--truck { animation: truckDrive 1.15s ease-in-out infinite; }
.trip.is-cancelled .trip__actor { opacity: .7; }
.trip__say {
  position: absolute;
  left: 6%;
  bottom: calc(100% + 2px);
  margin: 0;
  padding: 5px 10px 6px;
  border-radius: 999px;
  background: #fffdf8;
  color: #1c1915;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(42, 32, 16, .12);
  animation: sayFloat 2.4s ease-in-out infinite;
}
.trip__say::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: -4px;
  width: 8px;
  height: 8px;
  background: #fffdf8;
  transform: rotate(45deg);
}
.trip__actor--truck .trip__say { left: 22%; }
.trip__actor--shop .trip__say { left: auto; right: 4%; }
.trip__actor--shop .trip__say::after { left: auto; right: 18px; }
.trip__spark {
  position: absolute;
  width: 9px;
  height: 9px;
  background: #e2b340;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: sparkle 1.7s ease-in-out infinite;
}
.trip__spark--a { top: 16%; right: 0; }
.trip__spark--b { top: 38%; left: 2%; animation-delay: .45s; }
.trip__spark--c { bottom: 30%; right: 6%; width: 7px; height: 7px; animation-delay: .9s; }
.trip__stops {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: 12px 0 14px;
  padding: 12px 0 0;
  position: relative;
}
.trip__stops::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 10%;
  right: 10%;
  height: 2px;
  border-radius: 999px;
  background: #eadfce;
}
.trip__stops li {
  position: relative;
  margin: 0;
  text-align: center;
  color: #a3988c;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}
.trip__stops li::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: #fffdf8;
  box-shadow: 0 0 0 2px #eadfce;
}
.trip__stops li.is-done,
.trip__stops li.is-now { color: #1c1915; font-weight: 800; }
.trip__stops li.is-done::before,
.trip__stops li.is-now::before { background: #c5a059; box-shadow: 0 0 0 2px #c5a059; }
.trip__stops li.is-now { color: #8a6a2f; }
.trip__stops li.is-now::before { box-shadow: 0 0 0 4px rgba(197, 160, 89, .28); }
.trip__lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.trip__lines li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 15px;
}
.trip__lines span { min-width: 0; }
.trip__lines small { display: block; color: #8a8175; font-size: 12px; }
.trip__lines b {
  flex: none;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.trip__sum {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(168, 134, 66, .45);
}
.trip__sum span { color: #6b645b; font-size: 13px; }
.trip__sum strong { font-size: 22px; letter-spacing: -.04em; }
.trip__note, .trip__banner, .trip__done {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.45;
}
.trip__note { color: #6b645b; }
.trip__banner {
  padding: 10px 12px;
  border-radius: 14px;
  background: #1c1915;
  color: #f6edd9;
}
.trip__done { color: #24613a; }
.trip--empty p { margin: 4px 0 0; color: #6b645b; font-size: 15px; line-height: 1.45; }
.gift-list, .lead-list { display: grid; gap: 10px; }
.gift-tile, .lead-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fffdf8;
  border: 1px solid rgba(168, 134, 66, .28);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 10px 28px rgba(42, 32, 16, .05);
}
.gift-tile__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #1c1915;
  color: #f3e6c4;
}
.gift-tile__icon svg { width: 26px; height: 26px; display: block; }
.gift-tile__body { min-width: 0; flex: 1; }
.gift-tile__body strong, .lead-tile strong {
  display: block;
  font-size: 17px;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.gift-tile__body small, .lead-tile small {
  display: block;
  margin-top: 4px;
  color: #6b645b;
  font-size: 13px;
}
.gift-tile code {
  flex: none;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(197, 160, 89, .18);
  color: #8a6a2f;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
}
.lead-tile { align-items: flex-start; }
.lead-tile p { margin: 4px 0 0; color: #1c1915; font-size: 14px; line-height: 1.4; }
.lead-tile__status {
  margin-left: auto;
  flex: none;
  border-radius: 999px;
  padding: 5px 8px;
  background: #efe7d6;
  color: #6d5420;
  font-size: 11px;
  font-weight: 700;
}
.lead-tile[data-status="done"] .lead-tile__status { background: #e7f2ea; color: #24613a; }
.lead-tile[data-status="new"] .lead-tile__status { background: #1c1915; color: #f6edd9; }
.cabinet-empty {
  margin: 8px 4px;
  color: #6b645b;
  font-size: 15px;
  line-height: 1.5;
}
@keyframes routeFlow { to { stroke-dashoffset: -36; } }
@keyframes truckDrive {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}
@keyframes dotGlow {
  50% { filter: drop-shadow(0 0 3px rgba(197, 160, 89, .95)); }
}
@keyframes sayFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes sparkle {
  0%, 100% { transform: scale(.35) rotate(0deg); opacity: .15; }
  50% { transform: scale(1) rotate(18deg); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .trip__dashes, .trip__actor, .trip__say, .trip__spark, .trip__dot--end { animation: none !important; }
  .trip__progress { transition: none; }
}
.page-cabinet [hidden] { display: none !important; }
@media (max-width: 720px) {
  .page-cabinet { --header-h: 64px; }
  .page-cabinet .loyalty-card__qr { width: 176px; height: 176px; }
  .cabinet-hello strong { font-size: 22px; }
  .trip__stops li { font-size: 11px; }
}
/* cabinet-page-end */
/* reach-start */
.account-modal {
  align-items: start;
  overflow: auto;
  padding: 20px 16px calc(28px + env(safe-area-inset-bottom));
}
.account-tabs button { min-height: 44px; }
.account-form .phone-cell.phone-cell--full {
  flex: 1;
  width: auto;
  min-width: 0;
  height: 48px;
  padding: 0 12px;
  text-align: left;
  font-size: 16px;
}
.phone-cells { flex-wrap: wrap; }
.account-consent { min-height: 44px; align-items: center; }
.account-consent input { width: 22px; height: 22px; }
#accountSubmit { min-height: 48px; }
#accountSubmit[hidden] { display: none !important; }
.order-sheet[hidden] { display: none !important; }
.order-sheet {
  position: fixed;
  inset: 0;
  z-index: 450;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: 16px 16px calc(20px + env(safe-area-inset-bottom));
  background: rgba(20, 18, 15, .46);
  overflow: auto;
}
.order-sheet__card {
  width: min(480px, 100%);
  margin-top: 12px;
  background: #fffdf8;
  color: #1c1915;
  border-radius: 24px;
  padding: 18px 16px 16px;
}
.order-sheet__card h2 { margin: 0 0 12px; font-size: 24px; }
.order-fab {
  position: fixed;
  z-index: 210;
  left: 16px;
  bottom: 96px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: #1c1915;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(28, 25, 21, .22);
}
body.page-cabinet .order-fab,
body.is-order-sheet .order-fab { display: none; }
/* reach-end */
/* phone-pass-start */
@media (max-width: 720px) {
  :root { --header-h: 112px; }
  .header__sub { flex-wrap: nowrap; align-items: center; }
  .nav-scroll {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: none;
    -webkit-mask-image: none;
    scroll-snap-type: none;
  }
  .nav {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    width: max-content;
    gap: 6px;
    padding: 8px 12px;
  }
  .nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    min-height: 40px;
    min-width: 0;
    padding: 8px 12px;
    font-size: 0.8125rem;
    white-space: nowrap;
    text-align: center;
  }
  .icon-btn { width: 42px; height: 42px; }
  input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
  select,
  textarea { font-size: 16px; }
  .product--compact .product__storage,
  .product__storage,
  .product__memory,
  .product__sim {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 6px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }
  .product--compact .product__storage:has(> :nth-child(1):last-child),
  .product__storage:has(> :nth-child(1):last-child),
  .product__memory:has(> :nth-child(1):last-child),
  .product__sim:has(> :nth-child(1):last-child) {
    grid-template-columns: 1fr;
  }
  .product__storage button.storage-chip,
  .mem-btn,
  .sim-btn {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 8px 6px;
    justify-content: center;
    text-align: center;
    font-size: 0.8125rem;
  }
  .mem-btn, .sim-btn {
    border-radius: 12px;
    background: #f3eee4;
  }
  .mem-btn.is-active, .sim-btn.is-active {
    background: #1a1a1a;
    color: #fff;
    transform: none;
  }
  .product--compact .color-dot {
    width: 32px;
    height: 32px;
  }
  .product--compact .product__dots { gap: 10px; }
  .order-fab { display: none; }
  .i18 .i18-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .i18 .i18-tabs a {
    flex: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}
/* phone-pass-end */

.footer__legal {
  margin: 8px 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-muted);
}
.footer__legal a { color: inherit; text-decoration: underline; }
.order-form__consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 4px 0 12px;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--text-muted);
}
.order-form__consent input { margin-top: 3px; }
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.split-form__error {
  margin: 0 0 10px;
  color: #9f1239;
  font-size: 0.875rem;
}
.product__regions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 8px;
}
.region-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 16px;
  line-height: 16px;
  cursor: pointer;
}
.region-chip--more {
  width: auto;
  height: auto;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  color: #6b645b;
}
.region-tip {
  flex: 1 0 100%;
  margin: 2px 0 0;
  font-size: 11px;
  font-weight: 550;
  line-height: 1.35;
  color: #3f3a34;
  text-align: center;
}
.region-tip[hidden] { display: none !important; }
.split-block__note {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 500;
  color: #5b6d60;
}
.reviews-yandex__links {
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  white-space: nowrap;
}
.reviews-yandex__dot { color: var(--text-light); }
.reviews-yandex iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 16px;
  background: #fff;
}
.reviews-yandex__links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  white-space: nowrap;
}
.reviews-yandex__links a {
  overflow-wrap: normal;
  word-break: normal;
}
.order-section {
  padding: 56px 24px;
}
.reveal {
  transition-duration: 0.18s;
}
.cookie {
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 0;
  padding: 8px 12px;
  gap: 10px;
}
.cookie p {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 720px) {
  .cookie {
    flex-direction: row;
    align-items: center;
    padding: 8px 12px;
  }
  .order-section { padding: 32px 16px; }
  .nav-scroll {
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 48px), transparent);
  }
  .products-grid--compact .product:last-child:nth-child(odd):not(:first-child) { display: none; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.product__badge--stock { background: #166534; color: #fff; }
.product__badge--order { background: #a16207; color: #fff; }
.product__badge--none { background: #78716c; color: #fff; }
@media (max-width: 720px) {
  .wrap {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .header__sub.wrap,
  .categories.wrap,
  .sub-services.wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
.split-block--card .split-block__pay {
  display: block;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1.35;
  margin: 0;
  text-align: center;
}
.split-block--card .split-block__part { white-space: nowrap; }
.split-block--card .split-block__note { margin-top: 2px; text-align: center; }
@media (max-width: 720px) {
  .categories__grid,
  .hero + .categories.categories--auto .categories__grid {
    scroll-padding-left: 16px;
    scroll-padding-right: 16px;
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* phone-fit: iPhone storefront */
:root { --ctrl-radius: 14px; }
html { -webkit-text-size-adjust: 100%; }
body { font-size: 16px; }
.header { padding-top: env(safe-area-inset-top); }
.btn,
.mem-btn,
.sim-btn,
.storage-chip,
.nav a,
.lead-sheet__submit .btn,
.place-card .btn,
.order-cta .btn,
.repair-book,
.map-frame__open,
.color-more {
  border-radius: var(--ctrl-radius);
}
.icon-btn,
.header__actions .icon-btn,
a[aria-label="Профиль"] {
  box-shadow: none;
}
a[aria-label="Профиль"]:focus-visible,
.icon-btn:focus-visible {
  outline: 2px solid #c6a15b;
  outline-offset: 2px;
}
.product__regions,
.region-chip,
.region-tip { display: none !important; }
.product--compact .split-block,
.product--variants .split-block--card { display: none !important; }
.product__month {
  margin: 2px 0 8px;
  color: #8a8a8a;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 500;
}
.installment-line {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  margin: 8px 0 12px;
  padding: 8px 12px;
  border: 0;
  border-radius: 14px;
  background: #f4f4f4;
  color: #333;
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}
.installment-line[hidden] { display: none !important; }
.color-more {
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  border: 1px solid #e4e4e4;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}
.product--compact .color-dot.is-extra { display: none; }
.product--compact .product__dots.is-expanded .color-dot.is-extra { display: inline-flex; }
.product--compact .product__buy,
.product--variants .product__buy { width: 100%; min-height: 44px; }
.lead-sheet {
  position: fixed;
  inset: 0;
  z-index: 90;
}
.lead-sheet[hidden] { display: none !important; }
.lead-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.46);
}
.lead-sheet__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  max-height: 90dvh;
  padding: 18px 16px 0;
  border-radius: 20px 20px 0 0;
  background: #fff;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.16);
}
.lead-sheet__x {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
}
.lead-sheet__title {
  margin: 0 36px 10px 0;
  font-size: 22px;
  line-height: 1.2;
}
.lead-sheet__line {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f3f3f3;
  color: #555;
  font-size: 13px;
  line-height: 1.35;
}
.lead-sheet__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 650;
}
.lead-sheet__field input,
.lead-sheet__field textarea,
.tradein-select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
}
.lead-sheet__field textarea {
  height: 48px;
  max-height: 96px;
  resize: none;
  line-height: 1.35;
}
.lead-sheet__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}
.lead-sheet__consent input { width: 22px; height: 22px; margin-top: 1px; flex: none; }
.lead-sheet__error { margin: 0 0 8px; color: #b42318; font-size: 13px; }
.lead-sheet__submit {
  position: sticky;
  bottom: 0;
  margin: 0 -16px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: #fff;
}
.lead-sheet__submit .btn { width: 100%; }
.lead-sheet__thanks { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
.lead-sheet__thanks p { margin: 0 0 16px; font-size: 16px; line-height: 1.4; }
.lead-sheet__thanks-actions { display: grid; gap: 8px; }
.map-frame {
  position: relative;
  height: 240px;
  overflow: hidden;
  border-radius: 16px;
  background: #eee;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}
.map-frame.is-live iframe { pointer-events: auto; }
.map-frame__hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  background: transparent;
}
.map-frame.is-live .map-frame__hit { display: none; }
.map-frame__open {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  font-weight: 700;
  text-decoration: none;
}
.place-card {
  margin-top: 12px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
}
.place-card__addr { margin: 0 0 4px; font-size: 16px; font-weight: 750; }
.place-card__hours { margin: 0 0 12px; color: #666; font-size: 14px; }
.place-card__phone { margin-bottom: 12px; }
.place-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.place-card .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.reviews-yandex iframe { width: 100%; height: 420px; border: 0; border-radius: 16px; }
.reviews-yandex__links { font-size: 14px; }
.order-cta { text-align: left; }
.order-cta__actions { display: grid; gap: 10px; margin-top: 16px; }
.order-cta .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.repair-perks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}
.repair-perk {
  min-height: 88px;
  padding: 10px 6px;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}
.repair-perk strong { display: block; margin-top: 6px; font-size: 13px; line-height: 1.25; font-weight: 700; }
.repair-perk .ico { width: 22px; height: 22px; }
.repair-book { width: 100%; min-height: 48px; }
.repair-acc { border-top: 1px solid #ececec; background: #fff; }
.repair-acc summary {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 8px 2px;
  font-size: 16px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}
.repair-acc summary::-webkit-details-marker { display: none; }
.repair-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #f2f2f2;
  font-size: 15px;
}
.repair-row span:last-child { white-space: nowrap; color: #444; }
.tradein-layout { display: grid; gap: 16px; }
.tradein-card,
.tradein-steps {
  padding: 16px;
  border-radius: 20px;
  background: #fff;
}
.tradein-card h1,
.repair-hero h1,
.sub-hero__title { font-size: 24px; line-height: 1.15; }
.tradein-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 10px; font-size: 13px; font-weight: 650; }
.tradein-result { margin: 12px 0 4px; font-size: 34px; line-height: 1.1; font-weight: 800; }
.tradein-note { margin: 0 0 14px; color: #777; font-size: 13px; line-height: 1.4; }
.tradein-actions { display: grid; gap: 8px; }
.tradein-actions .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.tradein-step { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; }
.tradein-step strong { display: block; font-size: 15px; }
.tradein-step p { margin: 2px 0 0; color: #666; font-size: 13px; }
.tradein-step__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: #f6f1ea;
}
.cookie.is-hidden { display: none !important; }
.cookie {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  box-sizing: border-box;
  height: calc(56px + env(safe-area-inset-bottom));
  max-height: calc(56px + env(safe-area-inset-bottom));
  padding: 6px 12px env(safe-area-inset-bottom) !important;
  border-radius: 0;
  gap: 10px;
}
.cookie p {
  flex: 1;
  margin: 0;
  font-size: 13px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#cookieAccept {
  flex: none;
  height: 44px;
  min-height: 44px;
  padding: 0 16px;
}
body:has(.cookie:not(.is-hidden)) .footer {
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
}
.cart-drawer__panel,
.bonus-popup { padding-bottom: env(safe-area-inset-bottom); }
@media (max-width: 720px) {
  .wrap { padding-left: 16px !important; padding-right: 16px !important; }
  .header__sub.wrap,
  .categories.wrap,
  .sub-services.wrap { padding-left: 0 !important; padding-right: 0 !important; }
  main > section.wrap,
  main > .stats-band,
  .popular.wrap,
  .reviews-section.wrap,
  .order-section.wrap,
  .map-section.wrap,
  .features.wrap,
  .promos.wrap,
  .tradein.wrap,
  .repair-page.wrap {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }
  .section-bar__title,
  .reviews-section__title,
  .order-section__title,
  .tradein-card h1,
  .repair-hero h1 { font-size: 22px; }
  .header__actions .icon-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }
  .header__actions a[aria-label="Позвонить"] { display: none; }
  .nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
  }
  .products-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .products-grid--compact .product:last-child:nth-child(odd):not(:first-child) { display: flex; }
  .products-grid--compact .product--compact {
    display: flex !important;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    padding: 8px !important;
    text-align: left;
  }
  .product--compact .product__actions { margin-top: auto; width: 100%; padding: 0 !important; }
  .product--compact .product__img,
  .product--compact .product__img--photo {
    aspect-ratio: 1 / 1 !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 0 8px !important;
    border-radius: 12px !important;
    background: #fff !important;
  }
  .product--compact .product__img--photo .product__photo,
  .product--compact .product__photo,
  .product--compact .product__photo--iphone,
  .product--compact .product__photo--mac,
  .product--compact .product__photo--dyson {
    width: 84% !important;
    height: 84% !important;
    object-fit: contain !important;
    transform: translate(-50%, -50%) scale(1) !important;
    filter: none !important;
  }
  .product--compact .product__badge { top: 6px; left: 6px; z-index: 2; font-size: 13px; }
  .product--compact .product__name,
  .product--compact .product__name-link,
  .product--compact .product__storage,
  .product--compact .product__dots,
  .product--compact .product__price,
  .product--compact .product__month {
    width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .product--compact .product__name,
  .product--compact .product__name-link {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
    font-size: 14px;
    line-height: 1.25;
  }
  .product--compact .product__storage,
  .product__storage,
  .product__memory {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    gap: 6px !important;
    width: 100%;
    margin: 8px 0 !important;
    overflow-x: auto !important;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .product__storage::-webkit-scrollbar,
  .product__memory::-webkit-scrollbar { display: none; }
  .btn { min-height: 44px; }
  .product--compact .product__actions .btn,
  .product--compact .product__buy,
  .product--variants .product__buy {
    min-height: 44px !important;
    height: 44px;
  }
  .section-bar__link { font-size: 13px !important; }
  .product__fav { width: 44px; height: 44px; min-height: 44px; }
  .product--compact .color-dot { border-width: 0 !important; }
  .map-frame__open {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 10px;
  }
  .tradein-result.is-empty { font-size: 22px; line-height: 1.25; }
  .product__storage button.storage-chip,
  .mem-btn,
  .sim-btn {
    flex: 0 0 64px !important;
    width: 64px !important;
    min-width: 64px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border-radius: 14px !important;
    font-size: 13px !important;
  }
  .storage-chip.is-active,
  .mem-btn.is-active { background: #1a1a1a !important; color: #fff !important; border-color: #1a1a1a !important; }
  .product--compact .product__dots {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    margin: 0 0 6px;
  }
  .product--compact .color-dot {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    border-radius: 50%;
  }
  .product--compact .color-dot.is-active {
    outline: 2px solid #1a1a1a;
    outline-offset: 2px;
  }
  .product--compact .product__price,
  .product--compact .product__price-val {
    margin: 0;
    font-size: 20px !important;
    font-weight: 800;
    line-height: 1.2;
  }
  .product__badge,
  .promo__tag,
  .section-tag,
  .footer__legal,
  .footer__hours,
  .feature p,
  .cookie p,
  .reviews-section__lead { font-size: 13px; }
  .footer__grid { display: flex; flex-direction: column; gap: 20px; }
  .footer__copy { white-space: nowrap; font-size: 13px; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
@media (min-width: 721px) {
  .popular.wrap,
  .reviews-section.wrap,
  .order-section.wrap,
  .map-section.wrap,
  .features.wrap,
  .promos.wrap,
  .tradein.wrap,
  .repair-page.wrap {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .lead-sheet__panel {
    left: 50%;
    right: auto;
    bottom: auto;
    top: 50%;
    width: min(440px, calc(100% - 32px));
    transform: translate(-50%, -50%);
    border-radius: 20px;
    max-height: min(90dvh, 640px);
  }
  .map-frame { height: 360px; }
  .tradein-layout { grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr); align-items: start; }
  .order-cta__actions { grid-template-columns: max-content max-content; }
  .repair-perks { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .review-carousel__track { scroll-behavior: auto; }
}

/* phone-cards: prices and colors stay in the card */
@media (max-width: 720px) {
  .product--compact {
    overflow: hidden;
    align-items: stretch;
  }
  .product--compact .product__storage,
  .product--compact .product__memory {
    justify-content: flex-start !important;
    align-items: center;
    gap: 6px !important;
    width: 100%;
    max-width: 100%;
    margin: 8px 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .product--compact .product__storage::-webkit-scrollbar,
  .product--compact .product__memory::-webkit-scrollbar { display: none; }
  .product--compact .product__storage button.storage-chip,
  .product--compact .mem-btn {
    flex: 0 0 calc((100% - 6px) / 2) !important;
    width: calc((100% - 6px) / 2) !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 4px !important;
    scroll-snap-align: start;
    box-sizing: border-box;
    font-size: 13px !important;
  }
  .product--compact .product__storage:has(> :only-child) button.storage-chip {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 72px !important;
    padding: 0 12px !important;
  }
  .product--compact .product__dots {
    justify-content: flex-start !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    width: 100%;
    max-width: 100%;
    min-height: 28px;
    margin: 0 0 8px !important;
    overflow: visible;
  }
  .product--compact .product__dots.is-expanded {
    flex-wrap: wrap !important;
    overflow: visible;
    row-gap: 8px;
  }
  .product--compact .color-dot,
  .product--compact .color-dot:hover,
  .product--compact .color-dot.is-active {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    flex: 0 0 22px;
    transform: none !important;
    box-shadow: none !important;
  }
  .product--compact .color-dot.is-active {
    outline: 2px solid #1a1a1a;
    outline-offset: 2px;
  }
  .product--compact .color-more {
    flex: 0 0 auto;
    width: auto !important;
    min-width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;
    margin: 0;
    padding: 0 6px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    line-height: 20px;
  }
  .product--compact .product__price {
    margin-top: auto !important;
    margin-bottom: 0 !important;
  }
  .product--compact .product__actions {
    margin-top: 0 !important;
  }
  .product--compact .product__price,
  .product--compact .product__price-val,
  .product--compact .product__month {
    display: block;
    width: 100%;
    max-width: 100%;
    text-align: left !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.review-carousel { width: 100%; min-width: 0; }
.review-carousel__track {
  display: flex;
  gap: 12px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.review-carousel__track::-webkit-scrollbar { display: none; }
.review-carousel__track .review-card {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  scroll-snap-align: start;
  box-sizing: border-box;
  padding: 16px;
}
.review-carousel__track .review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.review-carousel__track .review-card__stars {
  margin: 0;
  font-size: 16px;
  letter-spacing: 1px;
  line-height: 1;
}
.review-carousel__track .review-card__stars .is-on { color: var(--gold, #c6a15b); }
.review-carousel__track .review-card__stars .is-off { color: #d5d0c8; }
.review-carousel__track .review-card__date {
  flex: 0 0 auto;
  color: #8a8376;
  font-size: 13px;
}
.review-carousel__track .review-card__text {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.45em * 6);
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.45;
}
.review-carousel__track .review-card__author div span {
  display: block;
  color: #8a8376;
  font-size: 13px;
}
.review-carousel__track .review-card--status {
  margin: 0;
  min-height: 120px;
  font-size: 15px;
  line-height: 1.45;
}
.review-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}
.review-carousel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid rgba(28, 25, 21, 0.12);
  border-radius: 14px;
  background: #fff;
  color: #1a1a1a;
  cursor: pointer;
}
.review-carousel__count {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  color: #3f3a34;
}
.reviews-yandex__links { font-size: 14px; }
@media (max-width: 720px) {
  .reviews-yandex__links {
    flex-wrap: wrap !important;
    white-space: normal !important;
    row-gap: 4px;
  }
}
.reviews-section.wrap {
  padding-left: 24px;
  padding-right: 24px;
}
#reviews { scroll-margin-top: 120px; }
@media (min-width: 721px) {
  .review-carousel__track .review-card { flex-basis: calc(50% - 6px); width: calc(50% - 6px); }
}
@media (prefers-reduced-motion: reduce) {
  .review-carousel__track { scroll-behavior: auto; }
}
