/* 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--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;
}

.product--compact .product__img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 120px;
  margin-bottom: 12px;
}

.product--compact .product__photo {
  max-height: 110px;
}

.product__photo--iphone,
.product--compact .product__photo--iphone {
  max-height: 128px;
  min-height: 100px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.1));
}

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

.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__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 {
  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: 28px;
  height: 28px;
  margin-bottom: 2px;
}

.map-rating__icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.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: 0;
  right: 0;
  bottom: 0;
  z-index: 850;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.08);
  max-height: min(42vh, 320px);
  overflow-y: auto;
}

.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;
}

.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-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 {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--cream);
}

.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);
}

.cart-drawer__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.0625rem;
  margin-bottom: 4px;
}

.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 { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; }
  .promo__visual--trade .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: 92px; }
  .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 8px; }
  .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 { 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; }

  body.is-searching .search-quick:not([hidden]) { bottom: 0; }
  .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: 84px; }
}

/* 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;
  }
}
