/* ═══════════════════════════════════════════════════════
   MILOVI CAKE — Общий CSS
   Используется: index.html и все страницы пригородов
   Мобильные начинки: 2 в ряд через CSS Grid
═══════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── УБИРАЕМ синюю подсветку тапа на мобиле ── */
*, *::before, *::after {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}
button, a, [onclick] {
  outline: none;
}

:root {
  --cream: #f5f0e8;
  --cream-dark: #ede5d5;
  --gold: #c9934a;
  --gold-light: #d4a76a;
  --brown: #3d2b1f;
  --brown-light: #6b4c38;
  --text: #2c1a10;
  --text-muted: #9a7a62;
  --white: #FDFBF7;
  --radius: 16px;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

::selection {
  background: var(--gold);
  color: #fff;
}

h1, h2 {
  text-shadow: 2px 2px 4px rgba(90, 60, 40, 0.15);
  letter-spacing: -0.02em;
}

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ── PROGRESS BAR ── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), #e8b87a);
  z-index: 9999;
  border-radius: 0 2px 2px 0;
  transition: width 0.08s linear;
  box-shadow: 0 0 8px rgba(201,147,74,0.5);
}

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  padding: 0 60px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
.site-header.scrolled {
  background: rgba(245,240,232,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(61,43,31,0.08);
}
.header-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 300;
  color: rgba(255, 245, 220, 0.95);
  text-decoration: none;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.3s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1.2;
}
.site-header.scrolled .header-logo { color: var(--brown); }
.header-logo-sub {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,235,185,0.45);
  line-height: 1;
  margin-top: 3px;
  transition: color 0.3s;
}
.site-header.scrolled .header-logo-sub { color: var(--text-muted); }

/* City pages: logo is dark on light bg header */
.site-header.header-city {
  background: rgba(25, 14, 5, 0.75);
}
.site-header.header-city .header-logo {
  color: #fff;
  font-weight: 400;
}
.site-header.header-city.scrolled .header-logo {
  color: var(--brown);
  text-shadow: none;
}
.site-header.header-city .header-logo {
  text-shadow: 0 1px 8px rgba(0,0,0,0.55), 0 0 20px rgba(0,0,0,0.3);
}
.site-header.header-city.scrolled .header-logo {
  color: var(--brown);
  text-shadow: none;
}
.site-header.header-city .header-nav a { color: rgba(255,255,255,0.88); }
.site-header.header-city .burger-btn span { background: #fff; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header-nav a {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  text-transform: uppercase;
  position: relative;
}
.header-nav a:not(.header-order)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.header-nav a:not(.header-order):hover::after { transform: scaleX(1); }
.site-header.scrolled .header-nav a { color: var(--brown-light); }
.header-nav a:hover { color: var(--gold) !important; }
.header-order {
  background: var(--gold);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: background 0.2s, transform 0.15s !important;
}
.header-order:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

/* ── BURGER MENU ── */
.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 601;
}
.burger-btn span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}
.site-header.scrolled .burger-btn span { background: var(--brown); }
.burger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: linear-gradient(160deg, #f5efe4 0%, #ede4d2 100%);
  z-index: 600;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  box-shadow: inset 0 0 120px rgba(201,147,74,0.07);
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu-close {
  position: absolute;
  top: 24px; right: 24px;
  background: rgba(201,147,74,0.12);
  border: 1.5px solid rgba(201,147,74,0.25);
  border-radius: 50px;
  padding: 10px 18px;
  display: flex; align-items: center; gap: 7px;
  color: var(--brown);
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.mobile-menu-close:hover { background: rgba(201,147,74,0.22); border-color: var(--gold); }
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 0 40px;
}
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 46px;
  color: var(--brown);
  text-decoration: none;
  font-weight: 400;
  width: 100%;
  text-align: center;
  padding: 14px 24px;
  border-radius: 20px;
  position: relative;
  transition: color 0.25s, background 0.25s, letter-spacing 0.25s, transform 0.2s;
  letter-spacing: 0.01em;
}
.mobile-menu a::after {
  content: '';
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 40px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  opacity: 0;
}
.mobile-menu a:hover { color: var(--gold); background: rgba(201,147,74,0.07); letter-spacing: 0.06em; transform: translateX(4px); }
.mobile-menu a:hover::after { transform: translateX(-50%) scaleX(1); opacity: 1; }
.mobile-menu-divider {
  width: 40px; height: 1px;
  background: rgba(201,147,74,0.3);
  margin: 12px auto;
}
.mobile-menu-phone {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px;
  font-family: 'Jost', sans-serif !important;
  font-size: 20px !important;
  font-weight: 400;
  color: var(--brown);
  text-decoration: none;
  letter-spacing: 0.05em !important;
  padding: 14px 24px;
  border-radius: 20px;
  transition: color 0.25s, background 0.25s;
  width: 100%;
  text-align: center;
  transform: none !important;
}
.mobile-menu-phone:hover {
  color: var(--gold) !important;
  background: rgba(201,147,74,0.07);
  letter-spacing: 0.05em !important;
  transform: none !important;
}
@media (max-width: 768px) {
  .burger-btn { display: flex; }
  .header-nav { display: none; }
  .mobile-menu { display: flex; }
}

/* ── HERO (главная) ── */
.hero { padding-top: 0; }
.hero-photo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-photo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  display: block;
}
.hero-photo-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,6,3,0.38) 0%, transparent 22%),
    linear-gradient(to right, rgba(8,5,2,0.72) 0%, rgba(8,5,2,0.55) 30%, rgba(8,5,2,0.15) 55%, transparent 75%);
  pointer-events: none;
}

/* ── BREADCRUMB (пригороды) ── */
.breadcrumb-nav {
  position: fixed;
  top: 72px;
  left: 0; right: 0;
  z-index: 10;
  background: rgba(61,43,31,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 60px;
}
.breadcrumb-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,235,185,0.85);
}
.breadcrumb-inner a {
  color: rgba(255,235,185,0.85);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb-inner a:hover { color: var(--gold-light); }
.breadcrumb-inner span:last-child { color: rgba(255,235,185,0.9); }

/* ── HERO (пригороды) ── */
.hero-city { padding-top: 120px; }
.hero-geo-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(201,147,74,0.4);
  padding: 5px 16px;
  margin-bottom: 20px;
  animation: fadeUp 0.6s ease both;
}
.hero-brand-note {
  font-size: 13px !important;
  font-weight: 300 !important;
  color: rgba(255, 235, 185, 0.38) !important;
  letter-spacing: 0.04em;
  margin-top: -24px !important;
  margin-bottom: 32px !important;
}
.seo-keywords {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 100px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--brown);
  color: #fff;
  padding: 14px 24px;
  border-radius: 50px;
  font-size: 15px;
  z-index: 9990;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(61,43,31,0.25);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── FLOATING CTA ── */
.floating-cta {
  position: fixed;
  bottom: 30px; left: 30px;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  z-index: 100;
  box-shadow: 0 8px 28px rgba(201,147,74,0.45);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.floating-cta.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.floating-cta:hover { box-shadow: 0 12px 36px rgba(201,147,74,0.6); transform: translateY(-2px); }

/* ── STATS ── */
.stats-section { background: var(--brown); padding: 60px; }
.stats-grid {
  max-width: 1300px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; text-align: center;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px,5vw,72px);
  color: var(--gold-light); font-weight: 600; line-height: 1; display: block;
}
.stat-label { font-size: 14px; color: rgba(255,255,255,0.65); margin-top: 8px; font-weight: 300; letter-spacing: 0.05em; text-transform: uppercase; }

/* ── REVIEWS ── */
.reviews-carousel { position: relative; display: flex; align-items: center; gap: 16px; }
.reviews-track { flex: 1; overflow: hidden; position: relative; }
.review-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease; pointer-events: none; display: flex; justify-content: center; }
.review-slide.active { opacity: 1; pointer-events: all; position: relative; }
.review-card { background: var(--cream); border-radius: 24px; padding: 40px; max-width: 580px; width: 100%; box-shadow: 0 8px 40px rgba(61,43,31,0.08); }
.review-quote { font-family: 'Cormorant Garamond', serif; font-size: 64px; color: var(--gold); line-height: 0.6; margin-bottom: 16px; opacity: 0.4; }
.review-text { font-size: 16px; line-height: 1.7; color: var(--text); margin-bottom: 24px; font-style: italic; }
.review-img-wrap { border-radius: 16px; overflow: hidden; max-height: 340px; cursor: zoom-in; }
.review-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform 0.3s; cursor: zoom-in; }
.review-img-wrap:hover img { transform: scale(1.02); }
/* ── Кинолента скринов ── */
.review-filmstrip {
  display: none; /* скрыт на десктопе — показывается только на мобиле */
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
  padding: 0 16px 2px;
}
.review-filmstrip-item {
  flex: 1;
  min-width: 0;
  max-width: 80px;
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: zoom-in;
  background: var(--cream-dark);
  opacity: 0.6;
  transition: opacity 0.2s, transform 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.review-filmstrip-item:hover {
  opacity: 1;
  transform: scaleY(1.06);
}
.review-filmstrip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  pointer-events: none;
}

@media (max-width: 600px) {
  .review-filmstrip {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding: 0 16px 8px;
    gap: 8px;
    scrollbar-width: none;
  }
  .review-filmstrip::-webkit-scrollbar { display: none; }
  .review-filmstrip-item {
    flex: 0 0 auto;
    width: 72px;
    max-width: 72px;
    scroll-snap-align: start;
    opacity: 0.75;
  }
  .review-filmstrip-item:active { opacity: 1; transform: scale(0.96); }
  .review-filmstrip-item.active {
    opacity: 1;
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-radius: 8px;
  }
}

.review-chat-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 6px 12px;
  border: 1px solid rgba(61,43,31,0.12);
  border-radius: 8px;
  background: none;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
  min-height: 36px;
}
.review-chat-btn:hover { border-color: var(--gold); color: var(--gold); }
.review-chat-btn svg { flex-shrink: 0; opacity: 0.7; }
.rev-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--gold); background: none; color: var(--gold); font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.2s, color 0.2s; }
.rev-arrow:hover { background: var(--gold); color: #fff; }
.carousel-nav { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 36px; }
.rev-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.rev-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cream-dark); cursor: pointer; transition: background 0.3s, transform 0.3s; }
.rev-dot-active { background: var(--gold); transform: scale(1.3); }

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(10,5,0,0.92);
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-img-wrap img {
  max-width: 65vw; max-height: 70vh;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  object-fit: contain;
  transform: scale(0.92);
  transition: transform 0.3s;
  display: block;
}
.lightbox.open .lightbox-img-wrap img { transform: scale(1); }
.lightbox-img-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.lightbox-close {
  position: absolute; top: 20px; right: 20px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  padding: 8px 18px;
  display: flex; align-items: center; gap: 7px;
  color: #fff; cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-size: 14px; font-weight: 400;
  letter-spacing: 0.03em;
  transition: background 0.2s, border-color 0.2s;
  z-index: 9001;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.5); }

.fill-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 20px;
  margin-left: 5px;
  vertical-align: middle;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.fill-tag.hit { background: #e8442a; color: #fff; }
.fill-tag.nuts { background: #8b6914; color: #fff; }

.lightbox-nav {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  gap: 16px;
  z-index: 9001;
  pointer-events: none;
  width: 100%;
}
.lightbox-nav.hidden { opacity: 0; pointer-events: none; }
.lightbox-arrow {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 50px;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; cursor: pointer;
  pointer-events: all;
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
  flex-shrink: 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.lightbox-arrow:hover { background: rgba(201,147,74,0.80); border-color: rgba(201,147,74,0.9); transform: scale(1.08); }
.lightbox-arrow:active { transform: scale(0.95); }
.lb-counter {
  color: rgba(255,255,255,0.75);
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  min-width: 44px;
  text-align: center;
  user-select: none;
}
@media (max-width: 600px) {
  .lightbox-arrow { width: 46px; height: 46px; }
  .lightbox-nav { gap: 20px; }
}

/* ── CALCULATOR ── */
#calculator { background: linear-gradient(180deg, #faf6ef 0%, #f0e6d4 100%); }
.calc-wrap {
  max-width: 700px; margin: 0 auto;
  background: var(--white); border-radius: 28px;
  padding: 48px; box-shadow: 0 12px 60px rgba(61,43,31,0.1);
}
.calc-row { margin-bottom: 28px; }
.calc-row label,
.calc-row .calc-label { display: block; font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.calc-options { display: flex; flex-wrap: wrap; gap: 7px; }
.calc-opt {
  position: relative;
  padding: 7px 14px; border-radius: 50px;
  border: 1.5px solid var(--cream-dark);
  background: var(--cream); color: var(--brown);
  font-family: 'Jost', sans-serif; font-size: 13px;
  cursor: pointer; transition: border-color 0.2s, background 0.2s, color 0.2s, all 0.3s ease;
  user-select: none;
  display: inline-flex; align-items: center; gap: 5px;
}
.calc-opt.selected { border-color: var(--gold); background: var(--gold) !important; color: #fff !important; box-shadow: 0 4px 14px rgba(201,147,74,0.45); }
.calc-opt.selected .fill-tag { background: rgba(255,255,255,0.25); color: #fff; }

/* ── FILL TOOLTIP ── */
.fill-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%; transform: translateX(-50%);
  background: var(--brown);
  color: rgba(255,240,210,0.95);
  font-size: 12px; line-height: 1.55;
  padding: 10px 14px;
  border-radius: 12px;
  width: 220px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s, transform 0.18s;
  transform: translateX(-50%) translateY(4px);
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  white-space: normal;
  text-align: left;
}
.fill-tooltip::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--brown);
}
.fill-tooltip strong { color: #fff; font-weight: 500; display: none; margin-bottom: 3px; }
.calc-opt:hover .fill-tooltip,
.calc-opt:focus .fill-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── MOBILE FILL POPUP ── */
/* Блокируем скролл фона без lockBody (избегаем прыжка страницы) */
body.fill-open {
  overflow: hidden;
}
body.menu-open {
  overflow: hidden;
}
/* touch-action: none только на оверлее, не на всём body — иначе скролл внутри попапа не работает */
body.fill-open .fill-mobile-overlay {
  touch-action: none;
}
/* ── BOTTOM SHEET: Fill info ── */
.fill-mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(20,10,5,0.62);
  z-index: 799;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.fill-mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.fill-mobile-popup {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #1e1008;
  border-radius: 24px 24px 0 0;
  z-index: 800;
  padding: 0 0 max(28px, env(safe-area-inset-bottom));
  box-shadow: 0 -12px 48px rgba(0,0,0,0.45);
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  transition: -webkit-transform 0.38s cubic-bezier(0.32, 0.72, 0, 1), transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
  touch-action: pan-y; /* FIX: was none — now allows scroll inside the sheet */
}
.fill-mobile-popup.open {
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.fill-mobile-popup.dragging {
  transition: none;
}

/* Drag handle */
.fill-sheet-handle {
  display: flex; justify-content: center;
  padding: 14px 0 6px;
  cursor: grab;
}
.fill-sheet-handle::after {
  content: '';
  width: 40px; height: 4px;
  background: rgba(255,220,150,0.25);
  border-radius: 2px;
  transition: background 0.2s;
}
.fill-mobile-popup.dragging .fill-sheet-handle::after {
  background: rgba(255,220,150,0.5);
}

/* Content */
.fill-sheet-body {
  padding: 4px 28px 0;
}
.fill-sheet-tags {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 10px;
  min-height: 22px;
}
.fill-sheet-tag {
  font-family: 'Jost', sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 20px;
  background: rgba(201,147,74,0.2);
  color: var(--gold);
  border: 1px solid rgba(201,147,74,0.3);
}
.fill-sheet-tag.tag-hit  { background: rgba(232,68,42,0.18); color: #f77; border-color: rgba(232,68,42,0.3); }
.fill-sheet-tag.tag-nuts { background: rgba(139,105,20,0.22); color: #d4a843; border-color: rgba(139,105,20,0.3); }

.fill-sheet-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px; font-weight: 500;
  color: #fff8ee;
  line-height: 1.2;
  margin-bottom: 12px;
}
.fill-sheet-desc {
  font-family: 'Jost', sans-serif;
  font-size: 14px; line-height: 1.65;
  color: rgba(255,235,190,0.72);
  margin-bottom: 24px;
}

/* Divider */
.fill-sheet-divider {
  height: 1px;
  background: rgba(255,220,150,0.1);
  margin: 0 28px 20px;
}

/* CTA */
.fill-sheet-cta {
  display: flex; gap: 10px;
  padding: 0 28px;
}
.fill-sheet-btn-select {
  flex: 1;
  background: var(--gold);
  color: #fff;
  border: none; border-radius: 50px;
  font-family: 'Jost', sans-serif;
  font-size: 15px; font-weight: 500;
  padding: 15px 20px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.18s, transform 0.12s;
  -webkit-tap-highlight-color: transparent;
}
.fill-sheet-btn-select:active { background: #b8823c; transform: scale(0.97); }
.fill-sheet-btn-dismiss {
  background: rgba(255,220,150,0.1);
  color: rgba(255,235,190,0.6);
  border: 1px solid rgba(255,220,150,0.15);
  border-radius: 50px;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  padding: 15px 20px;
  cursor: pointer;
  transition: background 0.18s;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.fill-sheet-btn-dismiss:active { background: rgba(255,220,150,0.18); }

/* ── COOKIE BANNER ── */
#cookieBanner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9000;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  background: var(--brown);
  color: rgba(255,235,185,0.9);
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(61,43,31,0.25);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
#cookieBanner.visible { transform: translateY(0); }
#cookieBanner a { color: var(--gold-light); text-decoration: underline; cursor: pointer; }
#cookieAccept {
  background: var(--gold);
  color: #fff;
  border: none;
  padding: 8px 22px;
  border-radius: 50px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
#cookieAccept:hover { background: var(--gold-light); }

/* ── PRIVACY MODAL ── */
#privacyOverlay {
  position: fixed;
  inset: 0;
  z-index: 9100;
  background: rgba(45,28,18,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
#privacyOverlay.open { opacity: 1; pointer-events: all; }
#privacyModal {
  background: var(--cream);
  border-radius: 20px;
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* iOS smooth scroll */
  overscroll-behavior: contain;
  padding: 40px 48px;
  position: relative;
  box-shadow: 0 24px 80px rgba(61,43,31,0.25);
  font-family: 'Jost', sans-serif;
}
#privacyModal h2 { font-family: 'Cormorant Garamond', serif; font-size: 28px; color: var(--brown); margin-bottom: 24px; letter-spacing: -0.01em; }
#privacyModal h3 { font-size: 15px; font-weight: 600; color: var(--brown); margin: 20px 0 8px; text-transform: uppercase; letter-spacing: 0.04em; }
#privacyModal p { font-size: 14px; line-height: 1.75; color: var(--text); margin-bottom: 8px; }
#privacyClose {
  position: absolute;
  top: 18px; right: 20px;
  background: rgba(201,147,74,0.12);
  border: 1.5px solid rgba(201,147,74,0.25);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--brown);
  font-size: 18px;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s;
}
#privacyClose:hover { background: rgba(201,147,74,0.25); border-color: var(--gold); }

/* ── CONSENT NOTE ── */
.consent-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.5;
  text-align: center;
}
.consent-note a { color: var(--gold); text-decoration: underline; cursor: pointer; }

/* ── VISUALLY HIDDEN (SEO) ── */
.visually-hidden {
  clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* ── WEIGHT STEPPER ── */
.calc-weight-stepper {
  display: inline-flex;
  align-items: center;
  background: var(--cream);
  border: 2px solid var(--cream-dark);
  border-radius: 50px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.calc-weight-stepper:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,147,74,0.12);
}
.calc-stepper-btn {
  width: 48px; height: 48px;
  border: none;
  background: transparent;
  color: var(--brown);
  font-size: 22px;
  font-weight: 300;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s, text-shadow 0.2s;
  flex-shrink: 0;
  line-height: 1;
  user-select: none;
}
.calc-stepper-btn:hover {
  background: transparent;
  color: var(--brown);
  transform: scale(1.4);
  text-shadow: 0 2px 8px rgba(61,43,31,0.3), 0 4px 16px rgba(61,43,31,0.15);
}
.calc-stepper-btn:active { transform: scale(1.1); }
.calc-stepper-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.calc-stepper-btn:disabled:hover { transform: scale(1); text-shadow: none; }
.calc-stepper-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--gold);
  min-width: 90px;
  text-align: center;
  line-height: 1;
  letter-spacing: 0.01em;
}

/* ── FILL DESCRIPTIONS ── */
.fill-desc-panel {
  margin-top: 14px;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(201,147,74,0.06), rgba(201,147,74,0.03));
  border: 1px solid rgba(201,147,74,0.2);
  border-radius: 14px;
  min-height: 48px;
  transition: opacity 0.25s;
}
.fill-desc-text { font-size: 13px; color: var(--brown-light); line-height: 1.6; font-weight: 300; }
.fill-desc-text strong { font-weight: 500; color: var(--brown); }

.calc-result {
  background: var(--brown); border-radius: 20px;
  padding: 28px 32px; margin-top: 8px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.calc-result-label { color: rgba(255,255,255,0.7); font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; }
.calc-result-price { font-family: 'Cormorant Garamond', serif; font-size: 42px; color: var(--gold-light); font-weight: 600; }
.calc-result-note { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 4px; }
.calc-approx-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px; padding: 3px 10px;
  font-size: 11px; color: rgba(255,255,255,0.7);
  margin-top: 6px; letter-spacing: 0.03em;
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
}
.calc-approx-badge.visible { opacity: 1; transform: translateY(0); }
.calc-order-btn {
  background: var(--gold); color: #fff;
  border: none; padding: 14px 28px; border-radius: 50px;
  font-family: 'Jost', sans-serif; font-size: 15px; font-weight: 500;
  cursor: pointer; transition: background 0.2s, transform 0.15s;
  text-decoration: none; display: inline-block;
}
.calc-order-btn:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ── PRODUCT CARD HOVER ── */
.product-card { position: relative; }
.slider-wrap, .product-img, .product-img-ph {
  transition: transform 0.4s ease;
}
.product-card:hover .slider-wrap,
.product-card:hover .product-img,
.product-card:hover .product-img-ph {
  transform: scale(1.04);
}

/* ── BENTO TOOLTIP ── */
.bento-seg-opt { position: relative; }
.bento-seg-opt::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%);
  background: #3d2b1f;
  color: #fff;
  font-size: 11px;
  font-family: 'Jost', sans-serif;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 4px 9px;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 20;
}
.bento-seg-opt::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #3d2b1f;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 20;
}
@media (hover: hover) {
  .bento-seg-opt:hover::after,
  .bento-seg-opt:hover::before { opacity: 1; }
}

/* ── BENTO WEIGHT TOAST ── */
.bento-weight-toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #3d2b1f;
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 9999;
  white-space: nowrap;
}
.bento-weight-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── BENTO INLINE SWITCHER ── */
.bento-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 0;
}
.bento-header-row h3 { margin-bottom: 0; }
.bento-seg {
  display: inline-flex;
  align-items: center;
  background: #F3E9DB;
  border-radius: 20px;
  padding: 3px;
  gap: 0;
  flex-shrink: 0;
}
.bento-seg-opt {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.03em;
  padding: 3px 8px;
  border-radius: 20px;
  cursor: pointer;
  color: #9a7f68;
  background: transparent;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  user-select: none;
  white-space: nowrap;
}
.bento-seg-opt:hover { color: #3d2b1f; }
.bento-seg-opt.active { background: #fff; color: #3d2b1f; box-shadow: 0 1px 5px rgba(0,0,0,.10); }

h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 500; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  min-height: 100dvh; /* iOS Safari: real viewport height */
  display: flex;
  align-items: center;
  padding: 100px 60px 80px;
  position: relative;
  overflow: hidden;
}
.hero-dark-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,147,74,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201,147,74,0.08) 0%, transparent 50%),
    linear-gradient(135deg, #0d0805 0%, #1a1009 40%, #120c06 70%, #0a0703 100%);
  overflow: hidden;
}
.hero-dark-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
}
.hero-dark-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(201,147,74,0.06) 50%, transparent 100%),
    linear-gradient(180deg, rgba(201,147,74,0.04) 0%, transparent 40%, transparent 70%, rgba(201,147,74,0.03) 100%);
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(201,147,74,0.18) 0%, transparent 70%); top: -100px; left: -100px; animation-duration: 10s; }
.hero-orb-2 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(180,120,50,0.12) 0%, transparent 70%); bottom: -80px; right: 10%; animation-duration: 13s; animation-delay: -4s; }
.hero-orb-3 { width: 250px; height: 250px; background: radial-gradient(circle, rgba(220,170,90,0.1) 0%, transparent 70%); top: 40%; left: 50%; animation-duration: 9s; animation-delay: -2s; }
@keyframes orbFloat { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-30px) scale(1.05); } }

.hero-text .hero-title { color: rgba(245, 225, 175, 0.78); }
.hero-text p  { color: rgba(255, 235, 185, 0.88); }
.btn-phone    { color: rgba(255,255,255,0.95); border-color: rgba(255,255,255,0.35); }
.btn-phone:hover { border-color: var(--gold); background: rgba(201,147,74,0.15); }
.hero .btn-phone { color: rgba(255,255,255,0.72) !important; border-color: rgba(255,255,255,0.28) !important; }

.hero-content {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.hero-title {
  font-size: clamp(52px, 6vw, 84px);
  line-height: 1.05;
  color: rgba(245, 225, 175, 0.78);
  margin-bottom: 12px;
  animation: fadeUp 0.8s ease both;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
}
.hero-title .hero-title-brand { display: block; }
.hero-title .hero-title-seo {
  display: block;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 300;
  letter-spacing: 0.01em;
  color: rgba(245, 225, 175, 0.75);
  line-height: 1.4;
  font-family: 'Jost', sans-serif;
  margin-top: 6px;
}
.hero-text p {
  font-size: clamp(18px, 2vw, 24px);
  color: rgba(255, 235, 185, 0.62);
  line-height: 1.5;
  margin-bottom: 40px;
  font-weight: 300;
  animation: fadeUp 0.8s 0.15s ease both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, letter-spacing 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); letter-spacing: 0.05em; }
.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brown);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 50px;
  border: 1.5px solid rgba(61,43,31,0.2);
  transition: border-color 0.2s, background 0.2s;
}
.btn-phone:hover { border-color: var(--gold); background: rgba(201,147,74,0.05); }
.hero-image { animation: fadeIn 1s 0.2s ease both; }
.hero-image img {
  width: 100%;
  max-width: 560px;
  border-radius: 24px;
  object-fit: cover;
  aspect-ratio: 4/3;
  display: block;
  margin-left: auto;
  box-shadow: 0 30px 80px rgba(61,43,31,0.2);
}
.hero-img-wrap {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 4/3;
  border-radius: 24px;
  margin-left: auto;
  box-shadow: 0 30px 80px rgba(61,43,31,0.22);
  overflow: hidden;
  position: relative;
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 38%;
  transform: scale(1.18);
  transform-origin: 72% 38%;
  display: block;
  transition: transform 6s ease;
}
.hero-img-wrap:hover img { transform: scale(1.25); }

/* ── SECTION BASE ── */
section { padding: 100px 60px; }
.section-title {
  text-align: center;
  font-size: clamp(42px, 5vw, 72px);
  color: var(--brown);
  margin-bottom: 0;
  text-shadow: 2px 2px 4px rgba(90, 60, 40, 0.15);
  letter-spacing: -0.02em;
  position: relative;
  display: block;
  width: 100%;
  padding-bottom: 24px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
  transition: transform 0.6s 0.4s ease;
}
.section-title.visible::after { transform: translateX(-50%) scaleX(1); }
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
  margin-top: 48px;
  margin-bottom: 64px;
  font-weight: 300;
  padding: 0 20px;
  box-sizing: border-box;
}
.container { max-width: 1300px; margin: 0 auto; }

/* ── CATALOG ── */
#catalog { background: linear-gradient(to bottom, #e8dece 0px, var(--white) 80px); }
#catalog, #reviews {
  position: relative;
  isolation: isolate;
}
#reviews { padding: 100px 60px; }
#catalog::before, #reviews::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}
#catalog > *, #reviews > * { position: relative; z-index: 1; }
#reviews > #scField { z-index: 100 !important; }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.product-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 10px 25px -5px rgba(90, 60, 40, 0.15);
  transition: all 0.4s ease;
}
.product-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 30px -10px rgba(90, 60, 40, 0.25), 0 0 0 1.5px rgba(201,147,74,0.35);
}
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: border-color 0.35s ease;
  pointer-events: none;
}
.product-card:hover::after { border-color: rgba(201,147,74,0.45); }
.product-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }

/* ── SLIDER ── */
.slider-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #1a1a1a;
}
.slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.9s ease;
  display: block;
  cursor: zoom-in;
  overflow: hidden;
}
.slide-img.active { opacity: 1; }
.slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slide-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  text-decoration: none;
  transition: background 0.2s;
}
.slide-video-play:hover { background: rgba(0,0,0,0.15); }
.slide-video-play:hover .dot-video::after { content: '▶'; position: absolute; font-size: 6px; top: -1px; right: -8px; color: rgba(255,255,255,0.8); }
.dot-video { position: relative; }
.slider-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; z-index: 10; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.45); cursor: pointer; transition: background 0.3s, transform 0.3s; }
.dot.active { background: #fff; transform: scale(1.35); }
.product-img-ph { width: 100%; aspect-ratio: 1/1; background: linear-gradient(135deg, #e8d8c4, #d4b896); display: flex; align-items: center; justify-content: center; font-size: 60px; }
.product-info { padding: 20px 20px 24px; }
.product-info h3 { font-size: 22px; color: var(--brown); margin-bottom: 6px; }
.product-info .desc { font-size: 14px; color: var(--text-muted); margin-bottom: 4px; line-height: 1.5; font-weight: 300; min-height: 42px; }
.product-info .min-order { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; font-weight: 300; min-height: 20px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: nowrap; }
.price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--gold);
  font-weight: 500;
  flex-shrink: 1;
  min-width: 0;
  text-shadow: 0 0 12px rgba(201, 147, 74, 0.45);
}
.btn-add {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 10px 18px;
  border-radius: 50px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-add:hover { background: var(--gold-light); transform: scale(1.04); }

/* ── WHY US ── */
#why { background: linear-gradient(180deg, #faf6ef 0%, #f0e6d4 100%); padding-top: 100px; padding-bottom: 100px; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; margin-top: 64px; }
.feature-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(201,147,74,0.12); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 26px; }
.feature h4 { font-size: 18px; color: var(--brown); margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--text-muted); line-height: 1.6; font-weight: 300; }

/* ── CONTACTS ── */
#contacts { background: linear-gradient(135deg, #f0e8d8 0%, #e8dcc8 100%); }
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.card { background: var(--white); border-radius: 20px; padding: 40px; }
.card h3 { font-size: 28px; color: var(--brown); margin-bottom: 8px; }
.card .hours { font-size: 14px; color: var(--gold); margin-bottom: 32px; font-weight: 400; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-item .label { font-size: 13px; color: var(--text-muted); margin-bottom: 2px; }
.contact-item .value { font-size: 18px; font-weight: 500; color: var(--brown); }
.contact-social-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 50px; font-size: 14px; font-weight: 500; text-decoration: none; transition: transform 0.15s, box-shadow 0.15s; font-family: 'Jost', sans-serif; }
.contact-social-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.vk-btn  { background: #0077FF; color: #fff; }
.ya-btn  { background: #FC3F1D; color: #fff; }
.tg-btn  { background: #2AABEE; color: #fff; }
.yt-btn  { background: #FF0000; color: #fff; }
.google-btn { background: #4285F4; color: #fff; }
.contact-item:has(.contact-social-btn) { align-items: center; }
.btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 32px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
  border: none;
  padding: 18px 32px;
  border-radius: 50px;
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 24px rgba(201,147,74,0.40), 0 2px 8px rgba(201,147,74,0.2);
  transition: background 0.25s, transform 0.18s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.btn-wa::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%); border-radius: inherit; pointer-events: none; }
.btn-wa:hover { background: linear-gradient(135deg, var(--gold-light) 0%, #e8c080 100%); transform: translateY(-3px); box-shadow: 0 14px 36px rgba(201,147,74,0.50), 0 4px 12px rgba(201,147,74,0.25); }
.btn-wa:active { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(201,147,74,0.35); }

.contact-primary { display: flex; flex-direction: column; gap: 12px; margin: 20px 0 24px; }
.contact-primary-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--cream);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--cream-dark);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.contact-primary-item:hover { border-color: var(--gold); box-shadow: 0 4px 16px rgba(201,147,74,0.12); transform: translateY(-1px); }
.contact-primary-icon { width: 38px; height: 38px; border-radius: 50%; background: var(--white); border: 1px solid var(--cream-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gold); }
.contact-primary-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.contact-primary-value { font-size: 15px; color: var(--brown); font-weight: 500; }

.social-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0 16px; }
.social-divider::before, .social-divider::after { content: ''; flex: 1; height: 1px; background: var(--cream-dark); }
.social-divider span { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }

.social-links { display: flex; gap: 8px; flex-wrap: wrap; }
.social-link { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 50px; font-size: 13px; font-weight: 500; text-decoration: none; transition: opacity 0.2s, transform 0.15s; flex: 1; min-width: fit-content; justify-content: center; }
.social-link:hover { opacity: 0.85; transform: translateY(-1px); }
.social-link.vk     { background: #0077FF22; color: #0077FF; border: 1px solid #0077FF33; }
.social-link.tg     { background: #2AABEE22; color: #0088cc; border: 1px solid #2AABEE33; }
.social-link.yt     { background: #FF000018; color: #cc0000; border: 1px solid #FF000025; }
.social-link.ya     { background: #FC3F1D18; color: #cc2200; border: 1px solid #FC3F1D25; }
.social-link.google { background: #4285F418; color: #2a6dd9; border: 1px solid #4285F425; }

/* Form */
.form-group { margin-bottom: 22px; position: relative; }
.form-group label { display: block; font-size: 14px; color: var(--text-muted); margin-bottom: 6px; }
.form-group input, .form-group textarea { width: 100%; padding: 14px 18px; border: 1.5px solid #e8ddd0; border-radius: 12px; font-family: 'Jost', sans-serif; font-size: 16px; /* iOS: prevents auto-zoom on focus */ background: var(--cream); color: var(--text); outline: none; transition: border-color 0.2s; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,147,74,0.1), 0 4px 16px rgba(201,147,74,0.08); transition: border-color 0.2s, box-shadow 0.3s; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 12px; color: var(--text-muted); margin-bottom: 14px; line-height: 1.5; }
.form-note a { color: var(--gold); }

/* Floating label */
.form-group.float-label label { position: absolute; top: 15px; left: 18px; font-size: 14px; color: var(--text-muted); pointer-events: none; transition: top 0.22s ease, font-size 0.22s ease, color 0.22s ease; background: var(--cream); padding: 0 4px; border-radius: 3px; z-index: 1; margin-bottom: 0; }
.form-group.float-label input:focus + label,
.form-group.float-label input:not(:placeholder-shown) + label,
.form-group.float-label textarea:focus + label,
.form-group.float-label textarea:not(:placeholder-shown) + label { top: -9px; font-size: 12px; color: var(--gold); background: var(--white); letter-spacing: 0.03em; }
.form-group.float-label input, .form-group.float-label textarea { padding-top: 16px; }
.cart-form .form-group.float-label label { background: var(--white); }
.cart-form .form-group.float-label input:not(:placeholder-shown) + label,
.cart-form .form-group.float-label input:focus + label,
.cart-form .form-group.float-label textarea:not(:placeholder-shown) + label,
.cart-form .form-group.float-label textarea:focus + label { background: var(--white); }

/* ── CART ── */
.cart-btn {
  position: fixed;
  /* позиция управляется через JS */
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 24px rgba(201,147,74,0.4);
  z-index: 100;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  /* GPU-слой — критично для position:fixed на iOS Safari и мобильных браузерах */
  -webkit-transform: translateZ(0);
  will-change: transform;
  /* По умолчанию скрыта — появляется когда добавлен первый товар */
  opacity: 0;
  pointer-events: none;
  transform: translateZ(0) scale(0.5);
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.2s;
}
.cart-btn.cart-btn-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateZ(0) scale(1);
}
.cart-btn.cart-btn-visible:hover {
  transform: translateZ(0) scale(1.1);
  box-shadow: 0 12px 32px rgba(201,147,74,0.5);
}
.cart-btn.dragging {
  transform: translateZ(0) scale(1.15) !important;
  box-shadow: 0 12px 40px rgba(201,147,74,0.55);
  opacity: 0.92;
  transition: none;
}
.cart-btn.snapping {
  transition: left 0.35s cubic-bezier(0.25,1,0.5,1),
              top 0.35s cubic-bezier(0.25,1,0.5,1),
              transform 0.2s ease, box-shadow 0.2s ease;
}
.cart-drag-hint {
  position: fixed;
  z-index: 99;
  background: var(--brown);
  color: rgba(255,235,185,0.9);
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.cart-drag-hint.show {
  opacity: 1;
  transform: translateY(0);
}
.cart-inline-total {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: var(--gold);
}
.cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--brown);
  color: var(--white);
  width: 22px; height: 22px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: 'Jost', sans-serif;
}
.cart-badge.visible { display: flex; }
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed;
  top: 72px; right: -420px;
  width: 420px;
  max-width: 100vw;
  height: calc(100% - 72px);
  height: calc(100dvh - 72px);
  background: var(--white);
  z-index: 701;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cart-drawer.open { right: 0; }
.cart-header { padding: 16px 28px; border-bottom: 1px solid var(--cream-dark); display: flex; align-items: center; justify-content: space-between; }
.cart-header h3 { font-size: 22px; color: var(--brown); display: flex; align-items: center; gap: 10px; }
.cart-count-badge { background: var(--gold); color: var(--white); width: 24px; height: 24px; border-radius: 50%; font-size: 13px; font-family: 'Jost', sans-serif; display: flex; align-items: center; justify-content: center; }
.cart-close {
  background: var(--cream);
  border: 1.5px solid var(--cream-dark);
  border-radius: 12px;
  cursor: pointer;
  color: var(--brown);
  padding: 10px 16px;
  min-width: 56px;
  min-height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: background 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.cart-close:hover { background: var(--cream-dark); border-color: var(--gold); }

/* ── CART PROGRESS ── */
.cart-progress { display: flex; align-items: center; padding: 10px 28px; border-bottom: 1px solid var(--cream-dark); background: var(--cream); }
.cart-step { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; }
.cart-step-dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--cream-dark); background: var(--white); color: var(--text-muted); font-size: 12px; font-family: 'Jost', sans-serif; font-weight: 600; display: flex; align-items: center; justify-content: center; transition: background 0.35s, border-color 0.35s, color 0.35s; }
.cart-step span { font-size: 11px; color: var(--text-muted); font-family: 'Jost', sans-serif; letter-spacing: 0.04em; text-transform: uppercase; transition: color 0.35s; }
.cart-step[onclick]:hover .cart-step-dot { transform: scale(1.1); box-shadow: 0 0 0 3px rgba(201,147,74,0.2); }
.cart-step[onclick]:hover span { color: var(--gold); }
.cart-step.active .cart-step-dot { background: var(--gold); border-color: var(--gold); color: #fff; box-shadow: 0 2px 10px rgba(201,147,74,0.4); }
.cart-step.active span { color: var(--gold); font-weight: 500; }
.cart-step.done .cart-step-dot { background: var(--brown); border-color: var(--brown); color: #fff; }
.cart-step-line { flex: 1; height: 2px; background: var(--cream-dark); margin: 0 8px; margin-bottom: 14px; border-radius: 2px; position: relative; overflow: hidden; }
.cart-step-line::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease; border-radius: 2px; }
.cart-step-line.done::after { transform: scaleX(1); }

.cart-body { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 14px 28px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; touch-action: pan-y; }
.cart-item { background: var(--cream); border-radius: 12px; padding: 16px; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 16px; color: var(--brown); margin-bottom: 2px; }
.cart-item-info .item-price { font-size: 14px; color: var(--gold); font-weight: 500; }
.cart-item-info .item-min { font-size: 12px; color: var(--text-muted); }
.qty-ctrl { display: flex; align-items: center; gap: 10px; }
.qty-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--gold); background: none; color: var(--gold); font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s, color 0.15s; line-height: 1; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.qty-btn:hover { background: var(--gold); color: var(--white); }
.qty-val { font-size: 15px; font-weight: 500; min-width: 20px; text-align: center; }
.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cart-line-total { font-family: 'Cormorant Garamond', serif; font-size: 16px; font-weight: 600; color: var(--brown); white-space: nowrap; }
.product-card img,
.slider-wrap img,
.review-img-wrap img { background: linear-gradient(135deg, #e8d8c4, #d4b896); }
.del-btn { background: none; border: none; color: #e07070; font-size: 18px; cursor: pointer; padding: 4px; transition: color 0.15s; }
.del-btn:hover { color: #c04040; }
.cart-empty { text-align: center; color: var(--text-muted); padding: 60px 0; font-size: 16px; }
.cart-footer { padding: 14px 28px; padding-bottom: max(18px, calc(14px + env(safe-area-inset-bottom))); border-top: 1px solid var(--cream-dark); overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; max-height: 70vh; }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.cart-total span:first-child { font-size: 15px; color: var(--brown); }
.cart-total .total-val { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: var(--gold); }
.cart-footer .note { font-size: 11px; color: var(--text-muted); margin-bottom: 10px; }
.cart-form { margin-top: 12px; }
.cart-form h4 { font-size: 15px; color: var(--brown); margin-bottom: 10px; font-family: 'Jost',sans-serif; font-weight: 500; }
.cart-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.btn-tg { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; border-radius: 50px; font-family: 'Jost', sans-serif; font-size: 15px; font-weight: 500; cursor: pointer; border: none; transition: opacity 0.2s, transform 0.15s; text-decoration: none; }
.btn-tg:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-tg.wa { background: #25D366; color: white; }
.btn-tg.tg { background: #2AABEE; color: white; }
.btn-tg.call { background: none; border: 1.5px solid #ddd; color: var(--brown); }
.policy-note { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 10px; line-height: 1.5; }
.policy-note a { color: var(--gold); }

/* ── VK WIDGET ── */
@media (max-width: 900px) { }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── WAVE DIVIDERS ── */
.wave-divider { line-height: 0; overflow: hidden; pointer-events: none; }
.wave-divider svg { display: block; width: 100%; }
.wave-hero-catalog { background: #0d0805; margin-bottom: -1px; }
.wave-catalog-why { background: #FDFBF7; margin-bottom: -1px; }
.wave-stats-calc { background: var(--brown); margin-bottom: -1px; }

/* ── STAGGER REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.product-card.reveal:nth-child(1) { transition-delay: 0s; }
.product-card.reveal:nth-child(2) { transition-delay: 0.08s; }
.product-card.reveal:nth-child(3) { transition-delay: 0.16s; }
.product-card.reveal:nth-child(4) { transition-delay: 0.24s; }
.product-card.reveal:nth-child(5) { transition-delay: 0.32s; }
.product-card.reveal:nth-child(6) { transition-delay: 0.40s; }
.feature.reveal:nth-child(1) { transition-delay: 0s; }
.feature.reveal:nth-child(2) { transition-delay: 0.1s; }
.feature.reveal:nth-child(3) { transition-delay: 0.2s; }
.feature.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ── SECTION TITLE WRAP ── */
.section-title-wrap { text-align: center; margin-bottom: 64px; }
.section-title-wrap .section-title { margin-bottom: 0; }
.section-title-wrap .section-sub { margin-top: 48px; margin-bottom: 0; }

/* ── GEO & SEO BLOCKS ── */
.geo-section { background: var(--cream); padding: 50px 0 44px; border-top: 1px solid rgba(201,147,74,0.12); }
.geo-section .container { max-width: 900px; margin: 0 auto; padding: 0 40px; }
.geo-section h2 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; color: var(--brown); margin-bottom: 14px; letter-spacing: 0.02em; }
.geo-section p { font-size: 14px; line-height: 1.8; color: var(--text-muted); margin-bottom: 18px; font-weight: 300; }
.geo-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.geo-tag { font-size: 13px; font-weight: 300; color: var(--brown-light); background: rgba(201,147,74,0.08); border: 1px solid rgba(201,147,74,0.2); border-radius: 20px; padding: 5px 14px; white-space: nowrap; transition: background 0.2s; }
@media (max-width: 600px) { .geo-section .container { padding: 0 24px; } .geo-section { padding: 36px 0 32px; } }

.seo-section { background: var(--cream-dark); padding: 60px 0 50px; border-top: 1px solid rgba(201,147,74,0.15); }
.seo-section .container { max-width: 900px; margin: 0 auto; padding: 0 40px; }
.seo-section h2 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; color: var(--brown); margin-bottom: 20px; letter-spacing: 0.02em; }
.seo-section p { font-size: 14px; line-height: 1.8; color: var(--text-muted); margin-bottom: 14px; font-weight: 300; }
.seo-section p:last-child { margin-bottom: 0; }
@media (max-width: 600px) { .seo-section .container { padding: 0 24px; } .seo-section { padding: 40px 0 36px; } }

/* ── PREMIUM: Glassmorphism glow на карточках ── */
.product-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(201,147,74,0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}
.product-card:hover::before { opacity: 1; }
.product-card { --mouse-x: 50%; --mouse-y: 50%; }

/* ── PREMIUM: Shimmer на кнопках — редкий, стильный ── */
.btn-primary, .btn-wa, .calc-order-btn, .header-order { position: relative; overflow: hidden; }
.btn-primary::before, .btn-wa::before, .calc-order-btn::before, .header-order::before {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 35%, rgba(255,255,255,0.22) 50%, rgba(255,255,255,0.08) 65%, transparent 100%);
  transform: skewX(-15deg);
  animation: shimmerBtn 9s ease-in-out infinite;
  pointer-events: none;
}
/* Пробегает быстро (0.7s) в начале каждого цикла, остальные ~8s — пауза */
@keyframes shimmerBtn {
  0%   { left: -120%; opacity: 1; }
  8%   { left: 160%;  opacity: 1; }
  8.1% { left: 160%;  opacity: 0; }
  99%  { left: -120%; opacity: 0; }
  100% { left: -120%; opacity: 1; }
}

/* ── PREMIUM: Pulsating glow на цене ── */
.price { animation: priceGlow 2.5s ease-in-out infinite alternate; }
@keyframes priceGlow { from { text-shadow: 0 0 8px rgba(201,147,74,0.3); } to { text-shadow: 0 0 20px rgba(201,147,74,0.6), 0 0 40px rgba(201,147,74,0.15); } }
.calc-result-price { animation: calcPriceGlow 2s ease-in-out infinite alternate; }
@keyframes calcPriceGlow { from { text-shadow: 0 0 12px rgba(212,167,106,0.4); } to { text-shadow: 0 0 30px rgba(212,167,106,0.8), 0 0 60px rgba(212,167,106,0.2); } }

/* ── PREMIUM: Stats ── */
.stat-item { position: relative; padding: 32px 20px; border-radius: 20px; background: rgba(255,255,255,0.04); border: 1px solid rgba(201,147,74,0.12); transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s; }
.stat-item:hover { transform: translateY(-6px); border-color: rgba(201,147,74,0.35); box-shadow: 0 12px 40px rgba(201,147,74,0.15), inset 0 0 30px rgba(201,147,74,0.05); }
.stat-num { background: linear-gradient(135deg, var(--gold-light), #e8c080, var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; filter: drop-shadow(0 2px 8px rgba(201,147,74,0.3)); }
.stats-section::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(201,147,74,0.08) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
.stats-section { position: relative; overflow: hidden; }

/* ── PREMIUM: Feature cards ── */
.feature { padding: 32px 24px; border-radius: 20px; background: rgba(255,255,255,0.5); border: 1px solid rgba(201,147,74,0.1); transition: all 0.35s ease; position: relative; }
.feature:hover { background: rgba(255,255,255,0.85); border-color: rgba(201,147,74,0.3); transform: translateY(-8px); box-shadow: 0 20px 50px rgba(201,147,74,0.12), 0 0 0 1px rgba(201,147,74,0.15); }
.feature-icon { transition: transform 0.3s, box-shadow 0.3s; }
.feature:hover .feature-icon { transform: scale(1.15) rotate(-5deg); box-shadow: 0 8px 24px rgba(201,147,74,0.2); }

/* ── PREMIUM: Back to top ── */
.back-to-top {
  position: fixed;
  bottom: 30px; right: 100px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(61,43,31,0.88);
  border: 1px solid rgba(201,147,74,0.2);
  color: rgba(255,235,185,0.8);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.back-to-top.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }
.back-to-top:hover { background: var(--gold); color: #fff; border-color: var(--gold); transform: translateY(-3px) scale(1.08); box-shadow: 0 8px 28px rgba(201,147,74,0.4); }

/* ── PREMIUM: Section separator ── */
.section-separator { width: 100%; height: 1px; position: relative; overflow: hidden; }
.section-separator::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 1px; background: linear-gradient(90deg, transparent 0%, rgba(201,147,74,0.1) 20%, rgba(201,147,74,0.4) 50%, rgba(201,147,74,0.1) 80%, transparent 100%); animation: separatorSlide 4s ease-in-out infinite; }
@keyframes separatorSlide { 0% { left: -100%; } 100% { left: 100%; } }

/* ── PREMIUM: Review card gradient border ── */
.review-card { position: relative; background: var(--cream); border: none; }
.review-card::before { content: ''; position: absolute; inset: -1px; border-radius: 25px; background: linear-gradient(135deg, rgba(201,147,74,0.3), rgba(201,147,74,0.05), rgba(201,147,74,0.2)); z-index: -1; }
.review-quote { background: linear-gradient(135deg, var(--gold), var(--gold-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; opacity: 0.6; }
.calc-opt:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ── PREMIUM: Enhanced Footer ── */
.site-footer { background: var(--brown); padding: 60px 40px 24px; position: relative; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,147,74,0.4), transparent); }
.footer-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: rgba(255,235,185,0.8); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 12px; }
.footer-desc { font-size: 14px; color: rgba(255,235,185,0.35); line-height: 1.7; font-weight: 300; max-width: 320px; }
.footer-col-title { font-family: 'Jost', sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(201,147,74,0.7); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,235,185,0.5); text-decoration: none; transition: color 0.2s; font-weight: 300; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(201,147,74,0.1); padding-top: 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 13px; color: rgba(255,235,185,0.25); font-weight: 300; }

/* ── Ripple effect ── */
.ripple-wrap { position: relative; overflow: hidden; }
.ripple-circle { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.25); transform: scale(0); animation: rippleAnim 0.6s ease-out; pointer-events: none; }
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

/* ── Rubber click animations ── */
@keyframes optRubber { 0% { transform: scale(1); } 20% { transform: scaleX(1.12) scaleY(0.88); } 40% { transform: scaleX(0.9) scaleY(1.1); } 60% { transform: scaleX(1.05) scaleY(0.95); } 80% { transform: scaleX(0.98) scaleY(1.02); } 100% { transform: scale(1); } }
.opt-inner.rubber-click { animation: optRubber 0.45s ease; }
@keyframes labelShake { 0% { transform: translateX(0); } 25% { transform: translateX(-4px); } 50% { transform: translateX(3px); } 75% { transform: translateX(-2px); } 100% { transform: translateX(0); } }
.opt-label-shake { display: inline; animation: labelShake 0.35s ease; }
.calc-opt:not(.selected):hover { animation: optHover 0.4s ease; border-color: rgba(201,147,74,0.3); }
@keyframes optHover { 0% { transform: translateY(0); } 50% { transform: translateY(-3px); } 100% { transform: translateY(0); } }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero { padding: 100px 30px 60px; }
  section { padding: 70px 30px; }
  .catalog-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .site-header { padding: 0 24px; }
  .stats-section { padding: 50px 30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  /* rev-arrow stays visible — now under the card */
  #reviews { padding: 70px 16px; }
  .calc-wrap { padding: 28px 20px; }
  .floating-cta { display: none; }
  .breadcrumb-nav { padding: 10px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  /* Каталог — одна колонка */
  .catalog-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }

  /* ── НАЧИНКИ: 2 в ряд на мобиле ── */
  #calcFill.calc-options,
  #calcDecor.calc-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  #calcFill .calc-opt,
  #calcDecor .calc-opt {
    justify-content: flex-start;
    text-align: left;
    padding: 8px 8px;
    font-size: 12px;
    min-height: 44px;
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
    position: relative;
  }
  #calcFill .opt-inner,
  #calcDecor .opt-inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 4px;
  }
  #calcFill .opt-label,
  #calcDecor .opt-label {
    line-height: 1.25;
    flex: 1;
  }
  #calcFill .fill-tag,
  #calcDecor .fill-tag {
    font-size: 8px;
    padding: 2px 5px;
    letter-spacing: 0.04em;
    flex-shrink: 0;
    margin-top: 1px;
  }

  /* Тип торта и другие — обычный flex */
  #calcType.calc-options { display: flex; flex-wrap: wrap; }

  .cart-drawer { width: 100vw; right: -100vw; top: 0; height: 100%; height: 100dvh; }
  .cart-drawer.open { right: 0; }
  .cart-header { padding: 20px 20px; }
  .cart-body { padding: 16px 20px; }
  .cart-footer { padding: 16px 20px; padding-bottom: max(24px, calc(16px + env(safe-area-inset-bottom))); }
  .cart-progress { padding: 12px 20px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

/* ══════════════════════════════════════════════
   MAP REVIEWS — раскрывающиеся отзывы с карт
   ══════════════════════════════════════════════ */

.map-reviews {
  margin-top: 48px;
}

.map-reviews-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 4px;
}

.map-reviews-title {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow:
    0 1px 0 rgba(255,255,255,0.6),
    0 2px 8px rgba(61,43,31,0.18);
  white-space: nowrap;
}

.map-reviews-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.map-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 50px;
  border: 1.5px solid var(--cream-dark);
  background: var(--white);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.map-badge:hover {
  box-shadow: 0 4px 16px rgba(61,43,31,0.1);
}
.map-badge-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.map-badge-rating {
  color: var(--gold);
  font-weight: 600;
  font-size: 13px;
}
.map-badge-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.map-badge[aria-expanded="true"] .map-badge-chevron {
  transform: rotate(180deg);
}
.map-badge-yandex[aria-expanded="true"] {
  border-color: #FC3F1D;
  background: #fff5f3;
}
.map-badge-google[aria-expanded="true"] {
  border-color: #4285F4;
  background: #f0f4ff;
}

/* Панели */
.map-reviews-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
}
.map-reviews-panel.is-open {
  max-height: 900px;
  opacity: 1;
}

.map-panel-inner {
  padding-top: 20px;
}

.map-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cream-dark);
  flex-wrap: wrap;
  gap: 12px;
}

.map-panel-score {
  display: flex;
  align-items: center;
  gap: 10px;
}

.map-score-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--brown);
  line-height: 1;
}
.map-score-stars {
  color: #f5a623;
  font-size: 18px;
  letter-spacing: 1px;
}
.map-score-count {
  font-size: 13px;
  color: var(--text-muted);
}

.map-link-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}
.map-link-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.map-link-yandex { background: #FC3F1D; color: #fff; }
.map-link-google { background: #4285F4; color: #fff; }

/* Список отзывов */
.map-review-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.map-review-item {
  background: var(--cream);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--cream-dark);
  transition: box-shadow 0.2s;
}
.map-review-item:hover {
  box-shadow: 0 4px 20px rgba(61,43,31,0.07);
}

.map-reviewer-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.map-reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}

.map-reviewer-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.map-reviewer-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--brown);
}
.map-reviewer-stars {
  color: #f5a623;
  font-size: 13px;
  letter-spacing: 1px;
}
.map-reviewer-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
  font-style: italic;
  margin: 0;
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .map-reviews-header { flex-direction: column; align-items: flex-start; }
  .map-badge { padding: 9px 14px; font-size: 13px; }
  .map-score-num { font-size: 28px; }
  .map-panel-top { flex-direction: column; align-items: flex-start; }
}

/* ── Дата отзыва ── */
.map-reviewer-date {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Схлопывание длинных отзывов ── */
.map-text-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.map-text-clamp.expanded {
  display: block;
  -webkit-line-clamp: unset;
}

/* ── Кнопка раскрытия ── */
.map-expand-btn {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--gold);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  -webkit-tap-highlight-color: transparent;
}
.map-expand-btn:hover { text-decoration: underline; }

/* ── Ссылка-источник ── */
.map-review-source {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.map-review-source:hover { color: var(--gold); }

/* ── CART: кнопка очистки ── */
.cart-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 50px;
  border: 1.5px solid var(--cream-dark);
  background: none;
  color: var(--text-muted);
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.cart-clear-btn:hover {
  border-color: #d44;
  color: #d44;
  background: #fff5f5;
}
.cart-clear-btn svg {
  flex-shrink: 0;
  transition: stroke 0.2s;
}
.cart-clear-btn:hover svg {
  stroke: #d44;
}

/* ══════════════════════════════════════════════
   CHAT GALLERY — галерея скринов переписки
   ══════════════════════════════════════════════ */

.chat-gallery {
  margin: 40px 0 0;
}

.chat-gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.chat-gallery-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.chat-gallery-hint {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.6;
  font-style: italic;
}

.chat-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.chat-thumb {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: zoom-in;
  background: var(--cream-dark);
  -webkit-tap-highlight-color: transparent;
}

.chat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.35s ease;
}

.chat-thumb:hover img {
  transform: scale(1.04);
}

.chat-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(61, 43, 31, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
  border-radius: 14px;
}

.chat-thumb:hover .chat-thumb-overlay,
.chat-thumb:focus .chat-thumb-overlay {
  background: rgba(61, 43, 31, 0.35);
}

.chat-thumb-overlay svg {
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.chat-thumb:hover .chat-thumb-overlay svg,
.chat-thumb:focus .chat-thumb-overlay svg {
  opacity: 1;
  transform: scale(1);
}

/* ── Мобайл ── */
@media (max-width: 768px) {
  .chat-gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
  .chat-gallery-hint { display: none; }
}

@media (max-width: 480px) {
  .chat-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ══════════════════════════════════════════════
   FIXES & IMPROVEMENTS
   ══════════════════════════════════════════════ */

/* ── Skip link (accessibility) ── */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--gold);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  z-index: 99999;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--gold-light);
  outline-offset: 2px;
}

/* ── Sticky Mobile WhatsApp CTA ── */
.mobile-sticky-cta {
  display: none; /* shown only on mobile via media query below */
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    z-index: 490;
    box-shadow: 0 -4px 20px rgba(37,211,102,0.3);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .mobile-sticky-cta.visible {
    transform: translateY(0);
  }
  /* Hide when cart or bottom-sheet is open */
  body.cart-open .mobile-sticky-cta,
  body.fill-open .mobile-sticky-cta {
    display: none;
  }
  /* Also hide near bottom of page (contacts already visible) */
  .mobile-sticky-cta.near-bottom {
    transform: translateY(100%);
  }
}

/* ── Date input native picker fix ── */
input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--cream);
  cursor: pointer;
}
input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.5;
  cursor: pointer;
}

/* ── Float label fix for date input ── */
.form-group.float-label input[type="date"] + label {
  top: -9px;
  font-size: 11px;
  color: var(--gold);
}

/* ── Bigger tap targets for calc-opts on mobile ── */
@media (max-width: 560px) {
  .calc-opt {
    min-height: 44px;
  }
}

/* ══════════════════════════════════════════════
   HERO TRUST BAR & NEW CTA
   ══════════════════════════════════════════════ */

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  padding: 6px 12px;
  text-decoration: none;
  color: #fff;
  font-size: 13px;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  transition: background 0.2s, transform 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.hero-trust-badge:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-1px);
}
.hero-trust-icon { flex-shrink: 0; }
.hero-trust-stars { color: #FFD700; font-size: 11px; letter-spacing: -1px; }
.hero-trust-rating { font-weight: 500; font-size: 14px; }
.hero-trust-count {
  font-size: 12px;
  color: rgba(255,235,185,0.65);
  font-weight: 300;
  letter-spacing: 0.04em;
  padding-left: 4px;
}

/* USP subtitle */
.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,235,185,0.7);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Hero features — from inline styles to CSS */
.hero-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  animation: fadeUp 0.8s 0.25s ease both;
}
.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-feature-item svg { flex-shrink: 0; }
.hero-feature-item span {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,235,185,0.82);
  letter-spacing: 0.02em;
}

/* CTA button upgrades */
.btn-primary--hero {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 32px;
}
.btn-price-hint {
  font-size: 11px;
  font-weight: 300;
  opacity: 0.78;
  letter-spacing: 0.03em;
  font-family: 'Jost', sans-serif;
}
.btn-hero-wa {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.3);
  color: #5de89e;
  padding: 14px 22px;
  border-radius: 50px;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn-hero-wa:hover {
  background: rgba(37,211,102,0.2);
  border-color: rgba(37,211,102,0.5);
}

@media (max-width: 480px) {
  .hero-trust-bar { gap: 8px; }
  .hero-trust-badge { font-size: 12px; padding: 5px 10px; }
  .hero-trust-count { width: 100%; font-size: 11px; padding-left: 0; }
  .btn-hero-wa { font-size: 14px; padding: 13px 18px; }
}

/* ══════════════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════════════ */
.about-section {
  padding: 72px 0 64px;
  background: var(--cream, #faf6f0);
}
.about-compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.about-compact-block {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid rgba(201,147,74,0.12);
  transition: box-shadow 0.25s, transform 0.25s;
}
.about-compact-block:hover {
  box-shadow: 0 8px 32px rgba(201,147,74,0.12);
  transform: translateY(-3px);
}
.about-emoji {
  font-size: 32px;
  margin-bottom: 14px;
  display: block;
  line-height: 1;
}
.about-compact-block h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--brown, #3d2b1f);
  margin-bottom: 10px;
  line-height: 1.2;
}
.about-compact-block p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted, #7a6552);
  font-weight: 300;
}

@media (max-width: 768px) {
  .about-compact {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .about-compact-block {
    padding: 22px 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
  }
  .about-compact-block h3 { margin-bottom: 6px; }
  .about-emoji { font-size: 28px; margin-bottom: 0; flex-shrink: 0; }
  .about-section { padding: 52px 0 44px; }
}

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-dark, #110a05);
  border-top: 1px solid rgba(201,147,74,0.12);
  padding: 52px 0 0;
  font-family: 'Jost', sans-serif;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-logo {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--gold, #c9934a);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.footer-col--brand p {
  font-size: 13px;
  color: rgba(255,235,185,0.45);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 16px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,235,185,0.5);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer-socials a:hover {
  background: rgba(201,147,74,0.15);
  border-color: rgba(201,147,74,0.3);
  color: var(--gold, #c9934a);
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,220,150,0.35);
  margin-bottom: 14px;
  font-weight: 400;
}
.footer-col nav,
.footer-col > a {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col nav a,
.footer-col > a {
  font-size: 14px;
  color: rgba(255,235,185,0.55);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 300;
}
.footer-col nav a:hover,
.footer-col > a:hover {
  color: var(--gold, #c9934a);
}
.footer-hours {
  font-size: 12px;
  color: rgba(255,235,185,0.3);
  margin-top: 4px;
  font-weight: 300;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom span {
  font-size: 12px;
  color: rgba(255,235,185,0.25);
  font-weight: 300;
}
.footer-bottom a {
  font-size: 12px;
  color: rgba(255,235,185,0.35);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--gold, #c9934a); }

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-col--brand {
    grid-column: 1 / -1;
  }
  .site-footer { padding-top: 40px; }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ══════════════════════════════════════════════
   GEO-TAGS: horizontal scroll on mobile
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .geo-tags {
    display: flex;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding-bottom: 6px;
  }
  .geo-tags::-webkit-scrollbar { display: none; }
  .geo-tag { white-space: nowrap; flex-shrink: 0; }
}

/* ══════════════════════════════════════════════
   CART: keyboard fix on iOS
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .cart-drawer { overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .cart-form input:focus,
  .cart-form textarea:focus { scroll-margin-bottom: 200px; }
}

/* ══════════════════════════════════════════════
   REV-DOTS as buttons (reset browser styles)
   ══════════════════════════════════════════════ */
.rev-dot {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* ══════════════════════════════════════════
   REVIEWS MODAL
══════════════════════════════════════════ */
.reviews-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.reviews-modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.reviews-modal {
  background: var(--card-bg, #faf7f3);
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94),
              opacity 0.25s ease;
  box-shadow: 0 24px 80px rgba(0,0,0,0.28);
}
.reviews-modal-overlay.open .reviews-modal {
  transform: translateY(0);
  opacity: 1;
}

.reviews-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(61,43,31,0.08);
  flex-shrink: 0;
}
.reviews-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}
.reviews-modal-close {
  width: 38px; height: 38px;
  border: none;
  background: rgba(61,43,31,0.06);
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.reviews-modal-close:hover { background: rgba(61,43,31,0.12); color: var(--text); }

.reviews-modal-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(61,43,31,0.08);
  flex-shrink: 0;
}
.reviews-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid rgba(61,43,31,0.12);
  border-radius: 50px;
  background: transparent;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  transition: all 0.2s;
}
.reviews-tab:hover { border-color: var(--gold); color: var(--text); }
.reviews-tab.active { background: var(--gold); border-color: var(--gold); color: #1a1008; }
.tab-rating { font-weight: 600; font-size: 15px; }

.reviews-modal-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 24px 16px;
  -webkit-overflow-scrolling: touch;
}
.modal-review {
  padding: 16px 0;
  border-bottom: 1px solid rgba(61,43,31,0.07);
}
.modal-review:last-child { border-bottom: none; }
.modal-review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.modal-review-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px; font-weight: 600;
  flex-shrink: 0;
}
.modal-review-meta { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.modal-review-name { font-weight: 500; font-size: 14px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.modal-review-date { font-size: 11px; color: var(--text-muted); }
.modal-review-stars { color: #d4a030; font-size: 13px; letter-spacing: -1px; flex-shrink: 0; }
.modal-review-text { font-size: 13.5px; line-height: 1.7; color: var(--text); margin: 0; font-weight: 300; }

.reviews-modal-footer {
  padding: 14px 24px;
  border-top: 1px solid rgba(61,43,31,0.08);
  text-align: center;
  flex-shrink: 0;
}
.reviews-external-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--gold), #a07030);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-size: 14px; font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(201,148,74,0.28);
}
.reviews-external-link:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(201,148,74,0.38); }

@media (max-width: 768px) {
  .reviews-modal-overlay { padding: 0; align-items: flex-end; }
  .reviews-modal {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    opacity: 1; /* на мобиле opacity не нужен — въезжает снизу */
  }
  .reviews-modal-overlay.open .reviews-modal { transform: translateY(0); opacity: 1; }
  .reviews-modal-header { padding: 16px 18px 12px; }
  .reviews-modal-title { font-size: 19px; }
  .reviews-modal-tabs { padding: 10px 18px; }
  .reviews-modal-list { padding: 6px 18px 14px; }
  .reviews-modal-footer {
    padding: 12px 18px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
}


/* ══════════════════════════════════════
   NEW REVIEWS SECTION STYLES
   ══════════════════════════════════════ */
#reviews {
  position: relative;
  padding: 80px 0 80px;
  min-height: 680px;
  overflow: visible;
}

.sc-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  overflow: visible;
}

.sc-thumb {
  position: absolute;
  width: 80px;
  height: 108px;
  border-radius: 8px;
  overflow: hidden;
  border: 2.5px solid rgba(255,255,255,.8);
  box-shadow: 0 5px 20px rgba(61,43,31,.18);
  cursor: pointer;
  pointer-events: all;
  transition: border-color .35s ease, box-shadow .35s ease;
}
.sc-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  pointer-events: none; user-select: none;
  transition: none;
}
.sc-thumb { filter: brightness(.72) saturate(.75); }
.sc-thumb.is-active {
  filter: brightness(1) saturate(1);
  border-color: var(--gold);
  box-shadow: 0 0 0 2.5px var(--gold-glow), 0 8px 28px rgba(201,147,74,.38);
  z-index: 20;
  position: absolute;
}
.sc-thumb:hover {
  filter: brightness(.9) saturate(.9);
  border-color: rgba(201,147,74,.6);
}
.sc-thumb.is-active:hover {
  filter: brightness(1) saturate(1);
}

.carousel-stage {
  position: relative;
  z-index: 4;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Centered Яндекс / Google buttons below the carousel */
.map-badges-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 20px auto 0;
  padding: 0 16px;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .map-badges-center {
    margin-top: 16px;
    flex-direction: column;
    gap: 10px;
  }
}
.carousel-row {
  display: block;
}
.reviews-track { width: 100%; overflow: hidden; border-radius: 20px; height: 220px; }
.review-slide { display: none; height: 100%; }
.review-slide.active { display: block; height: 100%; }

.review-card {
  background: linear-gradient(152deg, #fdf7ee 0%, #f8edde 45%, #f2e4cf 100%);
  border-radius: 24px;
  padding: 44px 48px 40px;
  box-shadow:
    0 1px 0 rgba(255,250,240,.9) inset,
    0 -1px 0 rgba(80,45,15,.07) inset,
    0 14px 56px rgba(61,30,12,.15),
    0 2px 8px rgba(61,30,12,.09);
  border: 1px solid rgba(175,125,65,.28);
  height: 100%;
  cursor: default;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  isolation: isolate;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.review-card:hover {
  border-color: rgba(201,147,74,.42);
  box-shadow:
    0 1px 0 rgba(255,250,240,.9) inset,
    0 -1px 0 rgba(80,45,15,.07) inset,
    0 14px 56px rgba(61,30,12,.14),
    0 2px 8px rgba(61,30,12,.09),
    inset 0 0 28px rgba(201,147,74,.07),
    0 0 32px rgba(201,147,74,.18);
}
.review-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(ellipse 110% 100% at 50% 50%, transparent 48%, rgba(55,28,8,.09) 100%);
  pointer-events: none;
  z-index: 0;
}
.review-card > * { position: relative; z-index: 1; }
.review-q { display: none; }
.review-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.78;
  color: #26140a;
  letter-spacing: .012em;
  text-shadow: 0 1px 0 rgba(255,242,220,.55), 0 -1px 3px rgba(50,20,5,.10);
}
.review-stars {
  display: block;
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: .28em;
  color: var(--gold);
  text-shadow: 0 1px 6px rgba(201,147,74,.5);
  opacity: .9;
}

.rev-arrow {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--cream-dark);
  background: rgba(255,255,255,.95);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 16px;
  transition: all .2s;
}
.rev-arrow:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

.rev-dots {
  display: flex; justify-content: center; gap: 7px;
  margin-top: 18px;
}
.rev-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cream-dark);
  border: none; cursor: pointer;
  transition: all .25s;
}
.rev-dot.on { background: var(--gold); width: 20px; border-radius: 3px; }

@media (max-width: 480px) {
  .sc-field { display: none; }
  #reviews { padding: 60px 0 80px; }
  .mobile-strip {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 22px 20px 6px;
    scrollbar-width: none;
  }
  .mobile-strip::-webkit-scrollbar { display: none; }
  .strip-item {
    flex-shrink: 0;
    width: 58px; height: 78px;
    border-radius: 7px; overflow: hidden;
    border: 2px solid rgba(255,255,255,.6);
    box-shadow: 0 3px 12px rgba(61,43,31,.14);
    cursor: pointer;
    scroll-snap-align: start;
    filter: brightness(.55) saturate(.4);
    transition: filter .3s, border-color .3s, box-shadow .3s;
  }
  .strip-item.on {
    filter: brightness(1) saturate(1);
    border-color: var(--gold);
    box-shadow: 0 0 0 2px var(--gold-glow);
  }
  .strip-item img { width:100%; height:100%; object-fit:cover; display:block; }
}
@media (min-width: 481px) {
  .mobile-strip { display: none; }
}

.rating-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  position: relative;
  z-index: 4;
  flex-wrap: wrap;
  padding: 0 16px;
}
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 12px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(201,147,74,.22);
  border-radius: 50px;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  color: var(--brown);
  box-shadow: 0 2px 16px rgba(61,43,31,.09);
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;
}
.rating-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(201,147,74,.5);
  box-shadow: 0 6px 24px rgba(201,147,74,.18), inset 0 0 16px rgba(201,147,74,.06);
  background: rgba(255,255,255,.96);
}
.rating-badge.open { border-color: rgba(201,147,74,.55); background: rgba(255,255,255,.98); }
.badge-logo { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; }
.badge-logo-y {
  background: #fc3f1d; color: #fff; font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.badge-logo-g { object-fit: contain; border-radius: 4px; }
.badge-logo-gfb {
  width: 22px; height: 22px; border-radius: 50%;
  background: #4285f4; color: #fff; font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.badge-text { font-weight: 400; }
.badge-stars { color: var(--gold); font-size: 12px; font-weight: 500; }
.badge-arrow { font-size: 16px; color: var(--muted); transition: transform .3s; line-height: 1; }
.rating-badge.open .badge-arrow { transform: rotate(180deg); }

.rating-panel {
  max-height: 0; overflow: hidden;
  transition: max-height .45s cubic-bezier(.4,0,.2,1), opacity .35s ease;
  opacity: 0;
  position: relative; z-index: 4;
  margin: 0 auto; max-width: 560px; padding: 0 16px;
}
.rating-panel.open { max-height: 600px; opacity: 1; }
.rp-reviews {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; padding: 16px 0 4px;
}
@media (max-width: 480px) { .rp-reviews { grid-template-columns: 1fr; } }
.rp-review {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(201,147,74,.16);
  border-radius: 14px; padding: 16px 18px;
}
.rp-author { font-size: 13px; font-weight: 500; color: var(--brown); margin-bottom: 3px; }
.rp-stars  { font-size: 11px; color: var(--gold); margin-bottom: 7px; letter-spacing: .05em; }
.rp-text   { font-size: 13px; color: var(--text); line-height: 1.55; font-weight: 300; }

/* ── Lightbox — Blur Focus effect (вариант 6) ── */
.lb-overlay {
  position: fixed; inset: 0;
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  opacity: 0;
}
.lb-overlay.active {
  pointer-events: auto;
  opacity: 1;
}

.lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(30, 18, 8, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.lb-overlay.active .lb-backdrop { opacity: 1; }

/* Blur Focus эффект: scale(1.3)+blur(30px) → scale(1)+blur(0) */
.lb-box {
  position: relative; z-index: 2;
  max-width: 88vw; width: auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
  transform: scale(1.3) translateZ(0); /* translateZ(0) — iOS GPU layer */
  -webkit-transform: scale(1.3) translateZ(0);
  opacity: 0;
  filter: blur(30px);
  -webkit-filter: blur(30px);
  transition:
    transform 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    -webkit-transform 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    opacity   0.6s ease,
    filter    0.9s cubic-bezier(0.4, 0, 0.2, 1),
    -webkit-filter 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: zoom-out;
  will-change: transform, opacity, filter;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  outline: none;
  border: none;
}

.lb-overlay.active .lb-box {
  transform: scale(1) translateZ(0);
  -webkit-transform: scale(1) translateZ(0);
  opacity: 1;
  filter: blur(0px);
  -webkit-filter: blur(0px);
}

.lb-box.clickable { pointer-events: all; }

.lb-box img {
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none; /* iOS: отключить длинное нажатие сохранить */
  touch-action: none;
}

/* Кнопка закрытия */
.lb-x {
  position: fixed;
  top: max(24px, calc(16px + env(safe-area-inset-top, 0px)));
  right: max(24px, calc(16px + env(safe-area-inset-right, 0px)));
  z-index: 9010; width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.7);
  font-size: 19px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.5);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s;
}
.lb-x:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* ── lb arrows (reviews lightbox) ── */
.lb-arrows {
  /* Используем absolute внутри overlay вместо fixed+translate — iOS Safari фикс */
  position: absolute;
  bottom: max(36px, calc(28px + env(safe-area-inset-bottom, 0px)));
  left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 9100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s 0.5s;
}
.lb-overlay.active .lb-arrows {
  opacity: 1;
  pointer-events: all;
}
.lb-arr-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,0.22);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  flex-shrink: 0;
}
.lb-arr-btn:hover  { background: rgba(201,147,74,0.80); border-color: rgba(201,147,74,0.9); transform: scale(1.08); }
.lb-arr-btn:active { transform: scale(0.94); }
.lb-arr-counter {
  color: rgba(255,255,255,0.70);
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.1em;
  min-width: 48px;
  text-align: center;
  user-select: none;
}
@media (max-width: 600px) {
  .lb-arr-btn { width: 46px; height: 46px; }
  .lb-arrows  { bottom: 24px; gap: 16px; }
}

/* ── particle assemble per letter ── */
.review-text .pl {
  display: inline-block;
  opacity: 0;
}
.review-text .pl-space {
  display: inline;
}
/* emoji — hidden until JS pops them in */
.review-text .pl-emoji {
  display: inline-block;
  opacity: 0;
  transform: scale(0) rotate(-30deg);
  will-change: transform, opacity;
}

/* ── 4 inward arrows around the active thumb ── */
.sc-arrows {
  position: absolute;
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  transition: opacity .35s ease;
}
.sc-arrows.show { opacity: 1; }

/* each arrow is a thin SVG-like line + triangle tip */
.sc-arr {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* arrow tip via clip-path — thin elongated triangle */
.sc-arr::after {
  content: '';
  display: block;
  background: var(--gold);
  filter: drop-shadow(0 1px 4px rgba(201,147,74,.7));
}

/* TOP arrow: points downward ↓ at thumb */
.sc-arr-top {
  top: -22px; left: 50%;
  transform: translateX(-50%);
  flex-direction: column;
  gap: 0;
  animation: arrInTop .9s ease-in-out infinite;
}
.sc-arr-top::after {
  width: 2px; height: 18px;
  clip-path: polygon(50% 100%, 0% 0%, 100% 0%);
  width: 10px; height: 14px;
}

/* BOTTOM arrow: points upward ↑ at thumb */
.sc-arr-bottom {
  bottom: -22px; left: 50%;
  transform: translateX(-50%);
  animation: arrInBot .9s ease-in-out infinite;
  animation-delay: .22s;
}
.sc-arr-bottom::after {
  width: 10px; height: 14px;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* LEFT arrow: points rightward → at thumb */
.sc-arr-left {
  left: -22px; top: 50%;
  transform: translateY(-50%);
  animation: arrInLeft .9s ease-in-out infinite;
  animation-delay: .11s;
}
.sc-arr-left::after {
  width: 14px; height: 10px;
  clip-path: polygon(100% 50%, 0% 0%, 0% 100%);
}

/* RIGHT arrow: points leftward ← at thumb */
.sc-arr-right {
  right: -22px; top: 50%;
  transform: translateY(-50%);
  animation: arrInRight .9s ease-in-out infinite;
  animation-delay: .33s;
}
.sc-arr-right::after {
  width: 14px; height: 10px;
  clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
}

@keyframes arrInTop    { 0%,100%{opacity:.3;transform:translateX(-50%) translateY(0)}    50%{opacity:1;transform:translateX(-50%) translateY(5px)} }
@keyframes arrInBot    { 0%,100%{opacity:.3;transform:translateX(-50%) translateY(0)}    50%{opacity:1;transform:translateX(-50%) translateY(-5px)} }
@keyframes arrInLeft   { 0%,100%{opacity:.3;transform:translateY(-50%) translateX(0)}   50%{opacity:1;transform:translateY(-50%) translateX(5px)} }
@keyframes arrInRight  { 0%,100%{opacity:.3;transform:translateY(-50%) translateX(0)}   50%{opacity:1;transform:translateY(-50%) translateX(-5px)} }

/* ── click hint overlay inside thumb ── */
.thumb-hint {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(20, 10, 5, 0.52);
  backdrop-filter: blur(2px);
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
  z-index: 10;
  text-align: center;
  padding: 6px;
  gap: 4px;
}
.sc-thumb.hint-show .thumb-hint {
  opacity: 1;
}
.hint-text {
  font-family: 'Jost', sans-serif;
  font-size: 9.5px;
  font-weight: 400;
  color: rgba(255,248,235,0.92);
  letter-spacing: .03em;
  line-height: 1.45;
}
.hint-emoji {
  font-size: 18px;
  animation: hintBounce 1.2s ease-in-out infinite;
  cursor: pointer;
  display: block;
}
@keyframes hintBounce {
  0%,100% { transform: scale(1)   rotate(0deg);   }
  20%     { transform: scale(1.3) rotate(-12deg);  }
  40%     { transform: scale(.9)  rotate(8deg);    }
  60%     { transform: scale(1.15) rotate(-5deg);  }
  80%     { transform: scale(.95) rotate(3deg);    }
}

/* ── Reduce Motion (iOS accessibility) ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-orb-1, .hero-orb-2, .hero-orb-3 { animation: none; display: none; }
  .price, .calc-result-price { animation: none; }
  .section-separator::after { animation: none; }
}

/* ═══════════════════════════════════════════════════════
   APP-LIKE MOBILE ENHANCEMENTS
   Добавлено: bottom nav, header hide-on-scroll,
   view transitions, skeleton screens, touch polish
═══════════════════════════════════════════════════════ */

/* ── VIEW TRANSITIONS ── */
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: 220ms ease-out both fade-out;
}
::view-transition-new(root) {
  animation: 220ms ease-out both fade-in;
}
@keyframes fade-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-8px); }
}
@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── PAGE LOAD ANIMATION ── */
@keyframes pageReveal {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-loaded main {
  animation: pageReveal 0.35s ease-out both;
}

/* ── SKELETON SCREENS ── */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skeleton {
  background: linear-gradient(90deg,
    rgba(245,240,232,0.8) 25%,
    rgba(230,220,205,0.9) 50%,
    rgba(245,240,232,0.8) 75%
  );
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: var(--radius);
}
.skeleton-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(61,43,31,0.06);
}
.skeleton-img {
  height: 220px;
  background: linear-gradient(90deg,
    #ede5d5 25%, #e0d4c0 50%, #ede5d5 75%
  );
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite linear;
}
.skeleton-line {
  height: 14px;
  margin: 12px 16px 8px;
  background: linear-gradient(90deg,
    #ede5d5 25%, #e0d4c0 50%, #ede5d5 75%
  );
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: 6px;
}
.skeleton-line.short { width: 60%; margin-bottom: 16px; }

/* ── BOTTOM NAVIGATION BAR (мобильная) ── */
.bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 490;
    background: rgba(253,251,247,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(201,147,74,0.15);
    height: calc(60px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    align-items: stretch;
    box-shadow: 0 -4px 24px rgba(61,43,31,0.08);
    /* Не перекрываем mobile-sticky-cta */
    transition: transform 0.25s ease;
  }
  .bottom-nav.hidden {
    transform: translateY(100%);
  }
  .bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 4px 4px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.03em;
    font-family: 'Jost', sans-serif;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    transition: color 0.18s ease, transform 0.12s ease;
    position: relative;
    min-height: 60px;
  }
  .bottom-nav-item:active {
    transform: scale(0.92);
  }
  .bottom-nav-item.active {
    color: var(--gold);
  }
  .bottom-nav-item.active .bnav-icon {
    color: var(--gold);
  }
  .bottom-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    background: var(--gold);
    border-radius: 0 0 3px 3px;
  }
  .bnav-icon {
    width: 24px;
    height: 24px;
    color: var(--text-muted);
    transition: color 0.18s ease;
    flex-shrink: 0;
  }
  .bottom-nav-item.active .bnav-icon {
    color: var(--gold);
  }
  .bnav-label {
    font-size: 9.5px;
    line-height: 1;
    white-space: nowrap;
  }

  /* Специальная кнопка заказа (центральная) */
  .bottom-nav-item--order {
    color: var(--gold);
    position: relative;
  }
  .bottom-nav-item--order .bnav-icon-wrap {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(201,147,74,0.45);
    margin-bottom: 2px;
    margin-top: -12px;
    transition: box-shadow 0.2s, transform 0.12s;
  }
  .bottom-nav-item--order:active .bnav-icon-wrap {
    transform: scale(0.9);
    box-shadow: 0 2px 8px rgba(201,147,74,0.35);
  }
  .bottom-nav-item--order .bnav-icon {
    color: #fff;
    width: 22px;
    height: 22px;
  }
  .bottom-nav-item--order::before {
    display: none;
  }

  /* Отступ снизу для контента под bottom nav */
  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
  }
  /* Убрать burger на мобиле — заменён bottom nav */
  .burger-btn {
    display: none !important;
  }
  /* Мобильное меню как Side Drawer вместо overlay */
  .mobile-menu {
    /* оставляем как есть — для доп навигации если нужно */
  }
}

/* ── HEADER HIDE ON SCROLL (мобильная) ── */
@media (max-width: 768px) {
  .site-header {
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1),
                background 0.35s, box-shadow 0.35s;
    padding-top: env(safe-area-inset-top);
  }
  .site-header.header-hidden {
    transform: translateY(calc(-100% - env(safe-area-inset-top)));
  }
}

/* ── GLOBAL TOUCH POLISH ── */
@media (max-width: 768px) {
  /* Все CTA кнопки — минимум 48px touch target */
  .btn-primary, .btn-wa, .btn-hero-wa,
  .calc-order-btn, .fill-sheet-btn-select,
  .mobile-sticky-cta, .contact-primary-item {
    min-height: 48px;
    touch-action: manipulation;
  }

  /* Active press feedback на всех кнопках */
  .btn-primary:active,
  .btn-hero-wa:active {
    transform: scale(0.96) !important;
  }
  .btn-wa:active {
    transform: scale(0.97) translateY(0) !important;
  }

  /* Карточки — tap state */
  .product-card:active {
    transform: scale(0.98) !important;
    box-shadow: 0 2px 12px rgba(61,43,31,0.1) !important;
  }

  /* overscroll для body */
  body {
    overscroll-behavior-y: none;
  }
  
  /* Галерея с горизонтальным свайпом */
  .review-filmstrip {
    overscroll-behavior-x: contain;
  }
}

/* ── MOBILE STICKY CTA — сдвиг выше bottom nav ── */
@media (max-width: 768px) {
  .mobile-sticky-cta {
    bottom: calc(70px + env(safe-area-inset-bottom));
  }
  .mobile-sticky-cta.near-bottom {
    opacity: 0;
    pointer-events: none;
  }
  /* Корзина кнопка — позиция через JS (draggable) */
  /* Кнопка "наверх" */
  .back-to-top {
    bottom: calc(76px + env(safe-area-inset-bottom));
  }
}

/* ── PRODUCT CARD: ASPECT RATIO FIX (CLS) ── */
.product-card-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: #ede5d5;
}
.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* ── SMOOTH TRANSITIONS ── */
* {
  /* Включаем transitions только на нужных свойствах */
}
a, button {
  transition: color 0.18s ease, background-color 0.18s ease,
              box-shadow 0.18s ease, transform 0.12s ease,
              opacity 0.18s ease;
}

/* ── HERO: полноэкранный на мобиле ── */
@media (max-width: 768px) {
  .hero {
    min-height: 100dvh;
    /* edge-to-edge на мобиле */
    padding-left: 0;
    padding-right: 0;
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
}



/* ── Отключаем тяжёлые анимации на мобиле для производительности ── */
@media (max-width: 768px) {
  /* shimmerBtn — постоянная анимация на всех кнопках */
  .btn-primary::after,
  .calc-order-btn::after,
  .btn-add::after {
    animation: none;
  }
  /* priceGlow — пульсация цены */
  .price { animation: none; }
  .calc-result-price { animation: none; }
}

/* ══════════════════════════════════════════════
   CATALOG NAV — мобильная навигация по десертам
   Показывается только на мобиле (≤768px)
   3 в ряд, grid, тап → скролл к карточке
══════════════════════════════════════════════ */

.catalog-nav {
  display: none; /* скрыто на десктопе */
}

@media (max-width: 768px) {
  .catalog-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 28px;
    padding: 0 4px;
  }

  .catalog-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 6px;
    border-radius: 14px;
    background: var(--white);
    border: 1.5px solid var(--cream-dark);
    text-decoration: none;
    color: var(--brown);
    font-family: 'Jost', sans-serif;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.12s;
    position: relative;
    overflow: hidden;
  }

  .catalog-nav-item:active {
    transform: scale(0.95);
  }

  .catalog-nav-item.active {
    border-color: var(--gold);
    box-shadow: 0 2px 12px rgba(201,147,74,0.2);
    background: rgba(201,147,74,0.06);
  }

  .catalog-nav-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--cream-dark);
    flex-shrink: 0;
  }

  .catalog-nav-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .catalog-nav-emoji {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(201,147,74,0.08), rgba(201,147,74,0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
  }

  .catalog-nav-label {
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: var(--brown);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .catalog-nav-item.active .catalog-nav-label {
    color: var(--gold);
  }

  .catalog-nav-price {
    font-size: 10px;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.02em;
  }

  .catalog-nav-item.active .catalog-nav-price {
    color: var(--gold);
  }
}

/* ─────────────────────────────────────────────
   CART — Desktop floating window
   ───────────────────────────────────────────── */
@media (min-width: 901px) {
  /* Оверлей на десктопе не нужен — корзина это окно, не модалка */
  .cart-overlay {
    display: none !important;
  }

  .cart-drawer {
    top: auto;
    bottom: 24px;
    right: 24px;
    left: auto;

    width: 440px;
    height: min(78vh, 720px);
    border-radius: 22px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.22), 0 4px 16px rgba(61,43,31,0.12);

    /* Появляемся fade+scale, без slide-анимации */
    transition: opacity 0.22s ease, transform 0.22s ease;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px) scale(0.985);
    /* Сбрасываем мобильный right:-420px */
    right: auto;
  }

  .cart-drawer.open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}

/* ── Cart clear confirm popup animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeOutDown {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(10px); }
}

/* Плавное удаление cart-item */
.cart-item {
  overflow: hidden;
}
