/* =====================================================
   БУСИНКИ — Main Stylesheet
   ===================================================== */

/* ── Variables ──────────────────────────────────────── */
:root {
  --bg:          #FAF7F4;
  --bg-alt:      #F5EDE3;
  --bg-dark:     #2C2C2C;
  --gold:        #C4A882;
  --gold-hover:  #B08B68;
  --terra:       #C4A882;
  --terra-bg:    #F5EDE3;
  --amber:       #C99A2E;
  --stock-ok:    #5A8F5A;
  --text:        #2C2C2C;
  --text-mid:    #5C5751;
  --text-light:  #9A9490;
  --border:      #EDE5DB;
  --white:       #FFFFFF;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow-sm:   0 2px 10px rgba(44,44,44,0.06);
  --shadow-md:   0 6px 24px rgba(44,44,44,0.09);
  --shadow-lg:   0 16px 48px rgba(44,44,44,0.13);
  --tr:          all 0.25s ease;
  --font-head:   'Cormorant Garamond', Georgia, serif;
  --font-body:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; color: inherit; }
ul { list-style: none; }
textarea { resize: vertical; }

/* ── Layout ─────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Typography ─────────────────────────────────────── */
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
}
.section-subtitle {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-light);
  font-weight: 400;
}
.section-header { margin-bottom: 40px; }
.section-header--center { text-align: center; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: var(--tr);
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold);
  color: var(--white);
}
.btn--primary:hover { background: var(--gold-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(196,168,130,0.35); }
.btn--outline {
  border: 1.5px solid var(--border);
  color: var(--text);
  background: transparent;
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }
.btn--ghost {
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--text);
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.9); }
.btn--lg { padding: 15px 36px; font-size: 15px; }
.btn--sm { padding: 8px 18px; font-size: 13px; }
.btn--full { width: 100%; justify-content: center; border-radius: var(--radius); }
.icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  transition: var(--tr);
  color: var(--text-mid);
}
.icon-btn:hover { background: var(--bg-alt); color: var(--text); }

/* ── Fields ─────────────────────────────────────────── */
.field {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  transition: var(--tr);
  outline: none;
  display: block;
}
.field:focus { border-color: var(--gold); }
.field::placeholder { color: var(--text-light); }
.field--error { border-color: #e06060 !important; }
.field--ta { min-height: 72px; }

/* ══════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,244,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.logo { flex-shrink: 0; }
.logo__svg { width: 200px; height: auto; }
.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav__link {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-mid);
  transition: var(--tr);
  position: relative;
  padding-bottom: 2px;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { width: 100%; }
.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 24px;
}
.header__phone {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--tr);
  white-space: nowrap;
}
.header__phone:hover { color: var(--gold); }
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bg-alt);
  transition: var(--tr);
  color: var(--text);
}
.cart-btn:hover { background: var(--border); }
.cart-badge {
  position: absolute;
  top: -2px; right: -2px;
  min-width: 18px; height: 18px;
  border-radius: 9px;
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  padding: 0 4px;
}
.nav__link--mobile { display: none; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--tr);
}

/* ══════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════ */
.hero {
  min-height: calc(100vh - 72px);
  background: linear-gradient(145deg, var(--bg) 0%, #F0E8DE 100%);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,168,130,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "content mosaic"
    "actions mosaic";
  align-items: center;
  column-gap: 60px;
  row-gap: 0;
  padding-top: 60px;
  padding-bottom: 60px;
}
.hero__content { max-width: 520px; grid-area: content; }
.hero__mosaic { grid-area: mosaic; align-self: center; }
.hero__actions { grid-area: actions; }
.hero__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--font-head);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}
.hero__sub {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__mosaic {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 480px;
}
.hero__mosaic-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: block;
  background: #fff;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.hero__mosaic-img:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.hero__mosaic-img:first-child {
  grid-row: 1 / span 2;
}
.hero__mosaic-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero__mosaic-img:hover img { transform: scale(1.04); }
.hero__scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  cursor: pointer;
  color: var(--text-light);
  animation: bounce 2s infinite;
  transition: color 0.2s;
}
.hero__scroll:hover { color: var(--gold); }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* ══════════════════════════════════════════════════════
   CATALOG
   ══════════════════════════════════════════════════════ */
.catalog-section {
  padding: 80px 0;
  background: var(--white);
}
.filters-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 20px;
  transition: var(--tr);
}
.filters-toggle:hover { border-color: var(--gold); color: var(--gold); }
.catalog__layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

/* Filters */
.filters {
  position: sticky;
  top: 92px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.filters__block { margin-bottom: 28px; }
.filters__block:last-of-type { margin-bottom: 20px; }
.filters__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 14px;
}
.filters__cats { display: flex; flex-direction: column; gap: 4px; }
.filters__cats--scroll {
  max-height: 220px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  padding-right: 4px;
}
.cat-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--text-mid);
  text-align: left;
  transition: var(--tr);
  cursor: pointer;
  border: 1px solid transparent;
}
.cat-btn:hover { background: var(--bg-alt); color: var(--text); }
.cat-btn.active {
  background: var(--bg-alt);
  color: var(--text);
  border-color: var(--border);
  font-weight: 500;
}
.cat-btn__count {
  font-size: 12px;
  color: var(--text-light);
  background: var(--border);
  border-radius: 10px;
  padding: 1px 7px;
  flex-shrink: 0;
}
.filters__reset { width: 100%; justify-content: center; }

/* Price range */
.price-labels {
  display: flex;
  gap: 6px;
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 14px;
}
.price-labels span:nth-child(1),
.price-labels span:nth-child(3) { font-weight: 500; color: var(--text); }
.price-track-wrap {
  position: relative;
  height: 4px;
  margin: 0 8px;
}
.price-track-bg {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 2px;
}
.price-track-fill {
  position: absolute;
  top: 0;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  pointer-events: none;
}
.price-range {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: calc(100% + 16px);
  margin-left: -8px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
}
.price-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  cursor: pointer;
  pointer-events: all;
  box-shadow: 0 1px 6px rgba(0,0,0,0.12);
  transition: transform 0.15s;
}
.price-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.price-range::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  cursor: pointer;
  pointer-events: all;
}

/* Products grid */
.catalog__main { min-width: 0; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

/* Skeleton */
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.skeleton-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(90deg, var(--bg-alt) 25%, var(--border) 50%, var(--bg-alt) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  aspect-ratio: 3/4;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* No results */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
  font-size: 15px;
}

/* Product card */
.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.product-card__img-wrap {
  position: relative;
  padding-bottom: 100%;
  overflow: hidden;
}
.product-card__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.5s ease;
}
.product-card__img--hover { opacity: 0; }
.product-card:hover .product-card__img--main { opacity: 0; transform: scale(1.04); }
.product-card:hover .product-card__img--hover { opacity: 1; transform: scale(1.04); }
.product-card__badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--gold);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 4px 11px;
  border-radius: 8px;
  pointer-events: none;
  box-shadow: 0 3px 10px rgba(44,44,44,0.18);
}
.product-card__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}
.product-card__name {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__prices {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}
.product-card__price {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.product-card__price-old {
  font-size: 12.5px;
  color: var(--text-light);
  text-decoration: line-through;
}
.product-card__save {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gold-hover);
  background: var(--terra-bg);
  padding: 3px 9px;
  border-radius: 6px;
}
.product-card__stock {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-light);
}
.product-card__stock::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.product-card__add {
  margin-top: 10px;
  padding: 9px;
  border-radius: 8px;
  background: var(--white);
  color: var(--gold-hover);
  font-size: 13px;
  font-weight: 600;
  transition: var(--tr);
  text-align: center;
  border: 1px solid var(--gold);
}
.product-card__add:hover {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(196,168,130,0.4);
}

/* Load more */
.load-more {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.load-more__hint { font-size: 13px; color: var(--text-light); }

/* ══════════════════════════════════════════════════════
   ADVANTAGES
   ══════════════════════════════════════════════════════ */
.advantages-section {
  padding: 80px 0;
  background: var(--bg);
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.adv-card {
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  text-align: center;
  transition: var(--tr);
}
.adv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--gold); }
.adv-card__icon {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  color: var(--gold);
}
.adv-card__icon svg { width: 100%; height: 100%; }
.adv-card__title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
}
.adv-card__text { font-size: 13px; color: var(--text-mid); line-height: 1.6; }

/* ══════════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════════ */
.about-section {
  padding: 80px 0;
  background: var(--bg-alt);
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__text-col .section-title { margin-bottom: 20px; }
.about__lead {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 28px;
}
.about__points { display: flex; flex-direction: column; gap: 12px; }
.about__points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.55;
}
.about__dot {
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 6px;
}
.about__stats-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.about__stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.about__stat-num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.about__stat-lbl { font-size: 13px; color: var(--text-light); }

/* ══════════════════════════════════════════════════════
   DELIVERY / PAYMENT — Service cards
   ══════════════════════════════════════════════════════ */
.delivery-section {
  padding: 80px 0;
  background: var(--white);
}
.payment-section {
  padding: 80px 0;
  background: var(--bg);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.service-card,
.payment-card {
  padding: 28px 20px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg);
  text-align: center;
  transition: var(--tr);
}
.service-card:hover,
.payment-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--gold);
}
.service-card__icon,
.payment-card__icon {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  color: var(--gold);
}
.service-card__icon svg,
.payment-card__icon svg { width: 100%; height: 100%; }
.service-card__title,
.payment-card__title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}
.service-card__text,
.payment-card__text {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 12px;
}
.service-card__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
  background: rgba(196,168,130,0.12);
  border-radius: 20px;
  padding: 3px 10px;
}
.payment-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-light);
}

/* ══════════════════════════════════════════════════════
   CONTACTS
   ══════════════════════════════════════════════════════ */
.contacts-section {
  padding: 80px 0;
  background: var(--bg-alt);
}
.contacts__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}
.contacts-map {
  grid-column: 2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  align-self: stretch;
  min-height: 300px;
}
.contacts-map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: block;
  border: none;
  border-radius: 16px;
}
.contacts__inner .section-title { margin-bottom: 6px; }
.contacts-list { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.contact-row {
  display: grid;
  grid-template-columns: 44px 80px 1fr;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  transition: var(--tr);
  text-decoration: none;
  color: inherit;
}
a.contact-row:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.contact-row--static { cursor: default; }
.contact-row__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--text-mid);
}
.contact-row__icon svg { width: 20px; height: 20px; }
.contact-row__icon--wa  { background: #e8f5e9; color: #25D366; }
.contact-row__icon--tg  { background: #e3f2fd; color: #2CA5E0; }
.contact-row__icon--phone { background: rgba(196,168,130,0.15); color: var(--gold); }
.contact-row__label { font-size: 12px; color: var(--text-light); }
.contact-row__val { font-size: 14px; font-weight: 500; color: var(--text); }
.contacts-cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.contacts-cta__text {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 8px;
}

/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
}
.footer__inner {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 60px;
  align-items: start;
  padding-top: 52px;
  padding-bottom: 52px;
}
.footer__logo { width: 200px; height: auto; margin-bottom: 10px; }
.footer__tagline { font-size: 13px; color: rgba(255,255,255,0.45); }
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}
.footer__nav a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer__nav a:hover { color: var(--gold); }
.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}
.footer__contacts a,
.footer__contacts span {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
  line-height: 1.5;
}
.footer__contacts a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}
.footer__legal {
  margin-top: 4px;
  font-size: 11px;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.1px;
}

/* ══════════════════════════════════════════════════════
   CART DRAWER
   ══════════════════════════════════════════════════════ */
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 420px; max-width: 100vw;
  height: 100vh;
  background: var(--white);
  box-shadow: -8px 0 40px rgba(0,0,0,0.12);
  z-index: 300;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-drawer__title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 500;
}
.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}
.cart-drawer__foot {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 12px;
  color: var(--text-light);
}
.cart-empty svg { width: 48px; height: 48px; opacity: 0.35; }
.cart-empty p { font-size: 15px; }
.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item__img {
  width: 64px; height: 64px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-alt);
}
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 8px;
}
.cart-item__price { font-size: 14px; font-weight: 600; color: var(--text); }
.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.qty-btn {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--text-mid);
  transition: var(--tr);
  line-height: 1;
}
.qty-btn:hover { border-color: var(--gold); color: var(--gold); }
.qty-val { font-size: 14px; font-weight: 500; min-width: 20px; text-align: center; }
.cart-item__remove {
  color: var(--text-light);
  transition: color 0.2s;
  padding: 4px;
}
.cart-item__remove:hover { color: #c84b4b; }
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: var(--text-mid);
}
.cart-total__val {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
}
.checkout-form { display: flex; flex-direction: column; gap: 10px; }
.checkout-firsttime {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #F5EDE3 0%, #E8D5C4 100%);
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
  user-select: none;
  transition: var(--tr);
}
.checkout-firsttime:hover { box-shadow: 0 4px 14px rgba(196,168,130,0.25); }
.checkout-firsttime input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-hover);
  cursor: pointer;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════
   MODAL
   ══════════════════════════════════════════════════════ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal.open { opacity: 1; pointer-events: all; }
.modal__box {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 880px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  transform: translateY(10px);
  transition: transform 0.3s;
}
.modal.open .modal__box { transform: translateY(0); }
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 1;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.modal__gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.modal__main-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-alt);
}
.modal__main-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.25s;
}
.modal__nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: var(--tr);
}
.modal__nav:hover { background: var(--white); box-shadow: var(--shadow-sm); }
.modal__nav--prev { left: 10px; }
.modal__nav--next { right: 10px; }
.modal__thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.modal__thumb {
  width: 52px; height: 52px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--tr);
  background: var(--bg-alt);
}
.modal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal__thumb.active { border-color: var(--gold); }
.modal__thumb:hover { border-color: var(--border); }
.modal__info {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.modal__category {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.modal__name {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
}
.modal__prices {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.modal__prices--sale {
  align-items: center;
  background: var(--terra-bg);
  border-radius: 12px;
  padding: 10px 14px;
}
.modal__price {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
}
.modal__price-old {
  font-size: 16px;
  color: var(--text-light);
  text-decoration: line-through;
}
.modal__save {
  flex-basis: 100%;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-hover);
}
.modal__descr {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.modal__add {
  margin-top: auto;
}

/* ══════════════════════════════════════════════════════
   OVERLAY
   ══════════════════════════════════════════════════════ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(44,44,44,0.45);
  backdrop-filter: blur(3px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.overlay.show { opacity: 1; pointer-events: all; }

/* ══════════════════════════════════════════════════════
   TOAST
   ══════════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: var(--white);
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 50px;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  white-space: nowrap;
  max-width: 90vw;
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — 1024px
   ══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .nav { gap: 20px; }
  .catalog__layout { grid-template-columns: 200px 1fr; gap: 32px; }
  .advantages-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .about__inner { gap: 48px; }
  .contacts__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contacts-map { grid-column: 1 / -1; min-height: 260px; }
  .contacts-map iframe { min-height: 260px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — 768px (tablet)
   ══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .container { padding: 0 18px; }
  /* Мобильная шапка: бургер слева, логотип по центру (крупный), корзина справа */
  .header__inner { height: 66px; gap: 8px; position: relative; }
  .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .logo__svg { width: 224px; }
  .header__phone { display: none; }
  .header__actions .fav-btn { display: none; }
  .header__actions { margin-left: auto; gap: 10px; }
  .burger { margin-right: auto; }
  .nav__link--mobile { display: block; }
  .nav {
    position: fixed;
    top: 66px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--tr);
    z-index: 90;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav__link {
    display: block;
    padding: 14px 24px;
    font-size: 15px;
  }
  .nav__link::after { display: none; }
  .burger { display: flex; }
  .burger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

  /* Мобильный hero: текст → 3 ровных фото в ряд → кнопки */
  .hero { min-height: auto; }
  .hero__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "mosaic"
      "actions";
    align-items: stretch;
    padding-top: 26px;
    padding-bottom: 24px;
    row-gap: 22px;
  }
  .hero__content { max-width: none; }
  .hero__tag { margin-bottom: 10px; font-size: 11px; }
  .hero__title { font-size: clamp(28px, 7.4vw, 44px); margin-bottom: 14px; }
  .hero__sub { font-size: 14.5px; line-height: 1.55; margin-bottom: 0; }
  .hero__sub br { display: none; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__mosaic {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 10px;
    height: auto;
  }
  .hero__mosaic-img { aspect-ratio: 1 / 1; }
  .hero__mosaic-img:first-child { grid-row: auto; }
  /* убираем верхнюю бегущую строку на телефоне (оставляем нижнюю с фактами) */
  .trust-bar { display: none; }

  .section-header { margin-bottom: 28px; }
  .catalog-section { padding: 56px 0; }
  .filters-toggle { display: flex; }
  .catalog__layout { grid-template-columns: 1fr; }
  .filters {
    position: fixed;
    top: 0; left: 0;
    width: 300px;
    height: 100vh;
    overflow-y: auto;
    border-radius: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 250;
  }
  .filters.open { transform: translateX(0); }

  .advantages-section,
  .about-section,
  .delivery-section,
  .payment-section,
  .contacts-section { padding: 56px 0; }

  .advantages-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .adv-card:last-child { grid-column: 1 / -1; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .service-grid .service-card:last-child { grid-column: 1 / -1; }
  .payment-grid { grid-template-columns: 1fr; max-width: 360px; }
  .about__inner { grid-template-columns: 1fr; gap: 36px; }
  .about__stats-col { grid-template-columns: 1fr 1fr; }
  .contacts__inner { grid-template-columns: 1fr; gap: 40px; }
  .contacts-map { grid-column: auto; min-height: 240px; }
  .contacts-map iframe { min-height: 240px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; padding-bottom: 40px; }

  .modal__box { grid-template-columns: 1fr; max-height: 96vh; }
  .modal__gallery { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .cart-drawer { width: 100%; }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — 480px (mobile)
   ══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .logo__svg { width: 200px; }
  .hero__actions { flex-direction: column; }
  .btn--lg { width: 100%; justify-content: center; }
  .advantages-grid { grid-template-columns: 1fr; }
  .adv-card:last-child { grid-column: auto; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid .service-card:last-child { grid-column: auto; }
  .about__stats-col { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ══════════════════════════════════════════════════════
   MODAL — количество, цвет, артикул
   ══════════════════════════════════════════════════════ */

/* Артикул */
.modal__sku {
  font-size: 12px;
  color: var(--text-light);
  margin: 2px 0 14px;
  letter-spacing: .03em;
}

/* Блок цвета металла */
.modal__colors {
  margin: 14px 0;
}
.modal__colors-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-light);
  margin-bottom: 8px;
}
.modal__colors-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.color-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  background: none;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
  transition: border-color .2s, background .2s;
  font-family: inherit;
}
.color-btn:hover {
  border-color: var(--gold);
  background: var(--accent);
}
.color-btn.active {
  border-color: var(--gold);
  background: var(--accent);
  font-weight: 500;
}
.color-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.12);
  flex-shrink: 0;
}
.color-swatch--gold   { background: #C9A96E; }
.color-swatch--silver { background: #B0B0C0; }

/* Кнопки размера и других текстовых опций */
.option-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: none;
  cursor: pointer;
  font-size: 13px;
  color: var(--text);
  transition: border-color .2s, background .2s;
  font-family: inherit;
  white-space: nowrap;
  min-width: 52px;
}
.option-btn:hover {
  border-color: var(--gold);
  background: var(--accent);
}
.option-btn.active {
  border-color: var(--gold);
  background: var(--accent);
  font-weight: 600;
}
.option-btn__price {
  display: block;
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
  line-height: 1.2;
  margin-top: 2px;
}

/* Нижний блок: количество + кнопка */
.modal__bottom {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}
.modal__bottom .btn {
  flex: 1;
}
.modal__qty {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.modal__qty .qty-btn {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: border-color .2s, background .2s;
  font-family: inherit;
}
.modal__qty .qty-btn:hover {
  border-color: var(--gold);
  background: var(--accent);
}
#modalQtyVal {
  font-size: 17px;
  font-weight: 600;
  min-width: 22px;
  text-align: center;
}

/* Корзина — мета (цвет + артикул) */
.cart-item__body {
  flex: 1;
  min-width: 0;
}
.cart-item__meta {
  font-size: 12px;
  color: var(--text-light);
  margin: 2px 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 480px) {
  .modal__bottom { flex-direction: column; gap: 10px; }
  .modal__bottom .btn { width: 100%; }
  .modal__qty { justify-content: center; }
}

/* ── Cashback banner ─────────────────────────────── */
.cashback-banner {
  padding: 50px 0 20px;
}
.cashback-banner__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #F5EDE3 0%, #E8D5C4 100%);
  border-radius: 28px;
  padding: 48px 52px;
  position: relative;
  overflow: hidden;
  color: var(--text);
  transition: var(--tr);
  cursor: pointer;
  text-decoration: none;
}
.cashback-banner__inner:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(196,168,130,0.25);
}
/* Большая полупрозрачная «50%» как водяной знак */
.cashback-banner__pct {
  position: absolute;
  top: 50%;
  right: 28px;
  transform: translateY(-50%);
  font-family: var(--font-head);
  font-size: 210px;
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -6px;
  color: #fff;
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.cashback-banner__content {
  position: relative;
  z-index: 2;
  max-width: 62%;
}
.cashback-banner__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-hover);
  background: #fff;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.cashback-banner__title {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.08;
  margin-bottom: 14px;
  color: var(--text);
}
.cashback-banner__sub {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 340px;
  margin-bottom: 28px;
  line-height: 1.55;
}
.cashback-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  background: var(--gold);
  padding: 14px 30px;
  border-radius: 100px;
  transition: var(--tr);
  box-shadow: 0 6px 18px rgba(196,168,130,0.3);
}
.cashback-banner__inner:hover .cashback-banner__cta {
  background: var(--gold-hover);
  box-shadow: 0 10px 26px rgba(196,168,130,0.42);
}
@media (max-width: 880px) {
  .cashback-banner__inner { padding: 38px 32px; }
  .cashback-banner__content { max-width: 70%; }
  .cashback-banner__title { font-size: 34px; }
  .cashback-banner__pct { font-size: 170px; }
}
@media (max-width: 480px) {
  .cashback-banner { padding: 24px 0 8px; }
  .cashback-banner__inner { padding: 30px 24px; border-radius: 20px; }
  .cashback-banner__content { max-width: 78%; }
  .cashback-banner__title { font-size: 28px; }
  .cashback-banner__sub { font-size: 14px; max-width: 100%; margin-bottom: 22px; }
  .cashback-banner__pct { font-size: 120px; right: 12px; }
}

/* ── Picks (Новинки / Со скидкой) карусели ─────────── */
.picks-section {
  padding: 50px 0 20px;
}
.picks-section[hidden] { display: none; }
.picks-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.picks-header .section-title { margin-bottom: 4px; }
.picks-header .section-subtitle { margin: 0; font-size: 14px; color: var(--text-mid); }
.picks-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.picks-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition: var(--tr);
  white-space: nowrap;
}
.picks-link:hover { color: var(--gold-hover); border-bottom-color: var(--gold); }
.picks-arrows {
  display: flex;
  gap: 8px;
}
.picks-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-mid);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--tr);
}
.picks-arrow:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  box-shadow: 0 6px 16px rgba(196,168,130,0.3);
}
.picks-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 220px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 8px;
  padding: 8px 4px 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.picks-track::-webkit-scrollbar { display: none; }
.picks-track > .product-card {
  scroll-snap-align: start;
}
@media (max-width: 768px) {
  .picks-section { padding: 36px 0 10px; }
  .picks-track {
    grid-auto-columns: minmax(165px, 165px);
    gap: 12px;
  }
  .picks-arrows { display: none; }
}

/* Бейдж NEW и -% на карточках */
.product-card__badge--new {
  background: var(--gold);
  color: var(--white);
}
.product-card__badge--sale {
  background: var(--terra);
  color: var(--white);
}
.product-card__badge--hit {
  background: var(--text);
  color: var(--white);
}
.product-card__badge--low {
  background: var(--amber);
  color: var(--white);
}

/* ── Скелетоны загрузки карточек ───────────────── */
.skeleton-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.skeleton-card__img { height: 0; padding-bottom: 100%; }
.skeleton-card__line {
  height: 12px;
  margin: 14px 16px 0;
  border-radius: 6px;
}
.skeleton-card__line--short { width: 55%; margin-bottom: 16px; }
.skel-shimmer,
.skeleton-card__img,
.skeleton-card__line {
  background: linear-gradient(90deg, #efe8df 25%, #f7f2ec 50%, #efe8df 75%);
  background-size: 200% 100%;
  animation: skelShimmer 1.3s ease-in-out infinite;
}
@keyframes skelShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Плашка преимуществ под шапкой (бегущая строка) ─ */
.trust-bar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.trust-bar__marquee { overflow: hidden; }
.trust-bar__track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  max-width: none;
  animation: trustScroll 34s linear infinite;
  will-change: transform;
}
.trust-bar:hover .trust-bar__track { animation-play-state: paused; }
.trust-bar__group {
  display: flex;
  flex-wrap: nowrap;
  flex-shrink: 0;
  align-items: center;
  padding: 10px 0;
  white-space: nowrap;
}
.trust-bar__item {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  padding: 0 26px;
  font-size: 13px;
  color: var(--text-mid);
  white-space: nowrap;
}
.trust-bar__item b { color: var(--text); font-weight: 600; }
.trust-bar__icon { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.trust-bar__icon svg { width: 100%; height: 100%; display: block; }
.trust-bar__sep { color: var(--gold); font-size: 8px; opacity: 0.7; }
@keyframes trustScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 760px) {
  .trust-bar__item { font-size: 12px; padding: 0 18px; }
  .trust-bar__track { animation-duration: 24s; }
}
@media (prefers-reduced-motion: reduce) {
  .trust-bar__track { animation: none; }
}

/* ── Content promo (Тест + Энциклопедия) ────────── */
.content-promo {
  padding: 48px 0 16px;
}
.content-promo__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
@media (max-width: 880px) { .content-promo__inner { grid-template-columns: 1fr; } }

.content-promo__card {
  display: grid; grid-template-columns: 210px 1fr;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}
@media (max-width: 540px) { .content-promo__card { grid-template-columns: 1fr; } }
.content-promo__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(44,44,44,0.08);
  border-color: var(--gold);
}

.content-promo__media {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  min-height: 220px;
}
@media (max-width: 540px) { .content-promo__media { aspect-ratio: 16/9; min-height: 0; } }
.content-promo__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.content-promo__card:hover .content-promo__media img { transform: scale(1.06); }
.content-promo__badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 10px; letter-spacing: 0.5px;
  color: var(--text); font-weight: 500;
  border: 1px solid rgba(255,255,255,0.4);
}

.content-promo__body {
  padding: 22px 24px;
  display: flex; flex-direction: column;
  justify-content: center;
}
.content-promo__eyebrow {
  display: inline-block; font-size: 10px; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--gold); font-weight: 500;
  margin-bottom: 8px;
}
.content-promo__card h3 {
  font-family: var(--font-head);
  font-weight: 500; font-size: 22px;
  line-height: 1.2; margin-bottom: 8px;
}
.content-promo__card p {
  color: var(--text-mid); font-size: 14px;
  line-height: 1.55; margin-bottom: 12px;
}
.content-promo__cta {
  font-weight: 500; color: var(--gold);
  font-size: 14px; letter-spacing: 0.3px;
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap 0.25s ease;
}
.content-promo__card:hover .content-promo__cta { gap: 10px; }

/* Удаляем старые legacy-классы */
.content-promo__icon, .content-promo__photo { display: none; }

/* ── Ticker (бегущая строка с фактами под hero) ─────────── */
.ticker {
  background: linear-gradient(90deg, #F5EDE3 0%, #EFE3D3 50%, #F5EDE3 100%);
  border-block: 1px solid var(--border);
  overflow: hidden;
  padding: 16px 0;
  position: relative;
}
.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(to right, #F5EDE3, rgba(245,237,227,0)); }
.ticker::after  { right: 0; background: linear-gradient(to left,  #F5EDE3, rgba(245,237,227,0)); }
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 45s linear infinite;
}
.ticker__line {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  flex-shrink: 0;
}
.ticker__item {
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 500;
}
.ticker__dot {
  color: var(--gold);
  font-size: 14px;
  line-height: 1;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}
@media (max-width: 768px) {
  .ticker { padding: 12px 0; }
  .ticker__item { font-size: 11px; letter-spacing: 1.2px; }
  .ticker__line { gap: 22px; padding-right: 22px; }
  .ticker__track { animation-duration: 35s; }
}

/* ── Home promo row (кешбэк слева + 2 карточки справа) ─── */
.home-promo {
  padding: 50px 0 20px;
}
.home-promo__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.home-promo__cards {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  min-width: 0;
}
.home-promo__cards .content-promo__card {
  height: 100%;
  min-width: 0;
}

/* Кешбэк в половинной колонке: чуть компактнее */
.home-promo__cashback {
  height: 100%;
  margin: 0;
  padding: 44px 44px;
}
.home-promo__cashback .cashback-banner__title { font-size: 38px; }
.home-promo__cashback .cashback-banner__sub {
  font-size: 15px;
  margin-bottom: 24px;
}
.home-promo__cashback .cashback-banner__pct { font-size: 180px; }

/* Карточки тест/энциклопедия в стеке справа: компактнее */
.home-promo__cards .content-promo__card { grid-template-columns: 180px 1fr; }
.home-promo__cards .content-promo__media { min-height: 0; }
.home-promo__cards .content-promo__body { padding: 18px 22px; }
.home-promo__cards .content-promo__card h3 { font-size: 20px; margin-bottom: 6px; }
.home-promo__cards .content-promo__card p {
  font-size: 13.5px;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Мобильная версия: возврат к одноколоночной раскладке (как было) */
@media (max-width: 880px) {
  .home-promo { padding: 24px 0 8px; }
  .home-promo__inner { grid-template-columns: 1fr; gap: 16px; }
  .home-promo__cards { grid-template-rows: auto; gap: 20px; }

  .home-promo__cashback {
    padding: 38px 32px;
  }
  .home-promo__cashback .cashback-banner__title { font-size: 34px; }
  .home-promo__cashback .cashback-banner__pct { font-size: 168px; }

  /* Карточки - снова прежний внешний вид */
  .home-promo__cards .content-promo__card { grid-template-columns: 210px 1fr; }
  .home-promo__cards .content-promo__body { padding: 22px 24px; }
  .home-promo__cards .content-promo__card h3 { font-size: 22px; margin-bottom: 8px; }
  .home-promo__cards .content-promo__card p {
    font-size: 14px;
    margin-bottom: 12px;
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
  }
}
@media (max-width: 540px) {
  .home-promo__cards .content-promo__card { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .home-promo { padding: 24px 0 8px; }
  .home-promo__cashback { padding: 30px 24px; border-radius: 20px; }
  .home-promo__cashback .cashback-banner__title { font-size: 28px; }
  .home-promo__cashback .cashback-banner__pct { font-size: 120px; }
  .home-promo__cashback .cashback-banner__sub { font-size: 14px; margin-bottom: 20px; }
}

/* ── Sidebar promo (в фильтрах) ────────────────────── */
.sidebar-promo {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; margin-bottom: 10px;
  background: var(--bg-alt);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  transition: var(--tr);
  border: 1px solid transparent;
}
.sidebar-promo:hover {
  background: #efe1d0;
  border-color: var(--gold);
  transform: translateX(2px);
}
.sidebar-promo--alt { background: #f0ebe3; }
.sidebar-promo__icon {
  font-size: 22px; flex-shrink: 0;
}
.sidebar-promo__photo {
  width: 40px; height: 40px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  display: block;
}
.sidebar-promo__photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.sidebar-promo__body {
  display: flex; flex-direction: column; gap: 1px;
  font-size: 14px;
}
.sidebar-promo__body strong { font-weight: 500; }
.sidebar-promo__body span { color: var(--text-mid); font-size: 12px; }

/* ── Subcategory chips на главной (SPA) ────────────── */
.subcat-chips-spa {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 22px;
  padding: 14px 16px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.subcat-chips-spa .subcat-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  font-size: 14px; font-weight: 400;
  color: var(--text);
  cursor: pointer;
  transition: var(--tr);
  white-space: nowrap;
  font-family: inherit;
}
.subcat-chips-spa .subcat-chip:hover {
  border-color: var(--gold); transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(196,168,130,0.18);
}
.subcat-chips-spa .subcat-chip span {
  font-size: 12px; color: var(--text-light);
  background: var(--bg-alt);
  padding: 1px 7px; border-radius: 10px;
}
.subcat-chips-spa .subcat-chip--active {
  background: var(--gold); border-color: var(--gold); color: #fff;
}
.subcat-chips-spa .subcat-chip--active span {
  background: rgba(255,255,255,0.25); color: #fff;
}
@media (max-width: 540px) {
  .subcat-chips-spa { padding: 10px; gap: 6px; }
  .subcat-chips-spa .subcat-chip { padding: 6px 12px; font-size: 13px; }
}

/* ── Smart Search Bar ─────────────────────────── */
.search-bar {
  border-top: 1px solid var(--border);
  background: rgba(250,247,244,0.92);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  position: relative;
}
.search-bar__container { position: relative; }
.search-form__submit {
  background: var(--gold);
  color: #fff;
  padding: 8px 22px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: var(--tr);
  white-space: nowrap;
  border: none;
  font-family: inherit;
}
.search-form__submit:hover { background: var(--gold-hover); }
.search-form {
  display: flex; align-items: center; gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  transition: var(--tr);
  position: relative;
}
.search-form:focus-within {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(196,168,130,0.15);
}
.search-form__icon { color: var(--text-light); flex-shrink: 0; }
.search-form__input {
  flex: 1;
  border: none; outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 15px; color: var(--text);
}
.search-form__input::placeholder { color: var(--text-light); }
.search-form__clear {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text-mid);
  font-size: 18px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.search-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bg-alt);
  align-items: center; justify-content: center;
  color: var(--text);
}

/* Search results panel */
.search-panel {
  position: absolute; left: 0; right: 0;
  top: calc(100% - 8px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-height: 70vh; overflow-y: auto;
  z-index: 95; padding: 14px;
}
.search-panel:empty { display: none; }

.search-section {
  padding: 8px 0;
  border-top: 1px solid var(--border);
}
.search-section:first-child { border-top: none; padding-top: 0; }
.search-section__title {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-light); font-weight: 500;
  margin-bottom: 8px; padding: 0 6px;
}
.search-item {
  display: flex; align-items: center; gap: 12px;
  padding: 8px;
  border-radius: var(--radius);
  text-decoration: none; color: var(--text);
  transition: background 0.15s;
}
.search-item:hover { background: var(--bg-alt); }
.search-item__photo {
  width: 48px; height: 48px;
  border-radius: 8px; overflow: hidden;
  flex-shrink: 0; background: var(--bg-alt);
}
.search-item__photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.search-item__body { flex: 1; min-width: 0; }
.search-item__title {
  font-size: 14px; line-height: 1.35;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.search-item__meta {
  font-size: 12px; color: var(--text-light); margin-top: 2px;
}
.search-item__price {
  font-family: var(--font-head); font-size: 16px; font-weight: 500;
  flex-shrink: 0;
}
.search-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 12px;
  background: var(--bg-alt);
  border-radius: 20px;
  font-size: 13px; color: var(--text);
  text-decoration: none;
  margin: 0 4px 4px 0;
  transition: var(--tr);
}
.search-tag:hover { background: var(--gold); color: #fff; }
.search-empty { padding: 18px; text-align: center; color: var(--text-light); font-size: 14px; }
.search-history-item {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: var(--bg-alt);
  border-radius: 20px;
  font-size: 13px; color: var(--text-mid);
  margin: 0 4px 4px 0; cursor: pointer;
  transition: var(--tr);
  border: none; font-family: inherit;
}
.search-history-item:hover { background: var(--gold); color: #fff; }

@media (max-width: 768px) {
  .search-bar { padding: 8px 0; }
  .search-form { padding: 8px 14px; }
  .search-form__input { font-size: 14px; }
}

/* ─── Избранное (header, карточки, страница товара) ──── */
.fav-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #2C2C2C;
  text-decoration: none;
}
.fav-btn:hover { color: #C4A882; }
.fav-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #C4A882;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

/* Сердечко на карточке (главная и категории) */
.product-card__img-wrap, .cat-card__photo { position: relative; }
.product-card__fav {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: #2C2C2C;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease, background 0.15s ease;
  z-index: 2;
}
.product-card__fav:hover { background: #fff; transform: scale(1.08); }
.product-card__fav svg { fill: none; stroke: currentColor; stroke-width: 1.7; }
.product-card__fav.is-active { color: #C4A882; }
.product-card__fav.is-active svg { fill: currentColor; }

/* Обёртка для карточки + сердечка на /favorites/ */
.cat-card-wrap { position: relative; }
.cat-card-wrap .product-card__fav { top: 10px; right: 10px; }

/* Кнопка «В избранное» на странице товара */
.pp-fav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.pp-fav svg { fill: none; stroke: currentColor; stroke-width: 1.7; }
.pp-fav.is-active { color: #C4A882; border-color: #C4A882; }
.pp-fav.is-active svg { fill: currentColor; }

/* Иконка-сердечко в шапке статических страниц */
.seo-header__fav {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #2C2C2C;
  text-decoration: none;
  margin-right: 4px;
}
.seo-header__fav:hover { color: #C4A882; }
.seo-header__fav-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #C4A882;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

/* ─── Блок «Недавно смотрели» ────────────────────────── */
.recently-viewed {
  padding: 40px 0 60px;
  background: #FAF7F4;
}
.recently-viewed__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
@media (max-width: 768px) {
  .recently-viewed__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
.rv-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.rv-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.rv-card__photo { aspect-ratio: 1; overflow: hidden; background: #F5EDE3; }
.rv-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.rv-card__title {
  padding: 10px 12px 4px;
  font-size: 14px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rv-card__price {
  padding: 0 12px 12px;
  font-weight: 600;
  color: #C4A882;
}

/* ─── Страница /favorites/ ──────────────────────────── */
.favorites-empty {
  text-align: center;
  padding: 60px 20px;
}
.favorites-empty__icon {
  color: #E8D5C4;
  margin-bottom: 16px;
}
.favorites-empty__text {
  color: #6B6B6B;
  max-width: 420px;
  margin: 0 auto 24px;
  line-height: 1.5;
}
.favorites-clear {
  background: transparent;
  border: 1px solid #D5C4B3;
  color: #6B6B6B;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}
.favorites-clear:hover { background: #F5EDE3; }
.favorites-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

/* ── Cookie banner ─────────────────────────────────────── */
.kif-cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9998;
  background: #FFFFFF;
  border: 1px solid #E8D5C4;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(44, 44, 44, 0.12);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.5;
  color: #2C2C2C;
  animation: kif-cookie-in 0.35s ease-out;
}
@keyframes kif-cookie-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.kif-cookie__text {
  flex: 1;
  min-width: 0;
}
.kif-cookie__text a {
  color: #C4A882;
  text-decoration: underline;
}
.kif-cookie__text a:hover { color: #A88860; }
.kif-cookie__btn {
  flex-shrink: 0;
  background: #C4A882;
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.kif-cookie__btn:hover { background: #A88860; }
@media (max-width: 560px) {
  .kif-cookie {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 14px 16px;
    gap: 12px;
    left: 8px;
    right: 8px;
    bottom: 8px;
  }
  .kif-cookie__btn { width: 100%; padding: 12px; }
}

/* Ползунок списания кешбэка в корзине */
.cb-redeem { margin: 14px 0; padding: 14px; background: var(--bg-alt); border-radius: var(--radius); }
.cb-redeem__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: 14px; }
.cb-redeem__top strong { color: var(--gold-hover); font-size: 16px; }
.cb-redeem__slider { width: 100%; accent-color: var(--gold); cursor: pointer; }
.cb-redeem__info { margin-top: 6px; font-size: 13px; color: var(--text-mid); }
.cb-redeem__charge { margin-top: 4px; font-size: 14px; }
.cb-redeem__charge strong { color: var(--text); }

/* ══════════════════════════════════════════════════════
   НИЖНЯЯ ПАНЕЛЬ НАВИГАЦИИ (только мобильная)
   ══════════════════════════════════════════════════════ */
.tabbar { display: none; }
@media (max-width: 768px) {
  .tabbar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 200;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 18px rgba(44,44,44,0.07);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .tabbar__item {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 2px 7px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 10.5px;
    font-weight: 500;
    color: var(--text-light);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
  }
  .tabbar__item svg { width: 23px; height: 23px; }
  .tabbar__item span:not(.tabbar__badge) { line-height: 1; }
  .tabbar__item.is-active { color: var(--gold-hover); }
  .tabbar__item:active { color: var(--gold); }
  .tabbar__badge {
    position: absolute;
    top: 3px;
    left: 50%;
    margin-left: 4px;
    min-width: 16px; height: 16px;
    padding: 0 4px;
    border-radius: 9px;
    background: var(--gold);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
  }
  /* запас снизу, чтобы панель не перекрывала контент/футер */
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0)); }
  /* корзина-шторка выше панели */
  .cart-drawer { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0)); }
}
