/* ===================================================================
   Maison Show SPB — Cinematic / Discreet / Premium Concierge
   Mobile-first. Breakpoints (min-width): 480 / 768 / 1024 / 1280.
   Palette: #0A0D14 midnight navy · #C9A050 vintage gold.
   Type: Cormorant Garamond (serif headings) + Manrope (sans UI).
   =================================================================== */

:root {
  color-scheme: dark;

  /* — Base tones — */
  --navy-950: #070910;
  --navy-900: #0a0d14;
  --navy-850: #0d1019;
  --navy-800: #11151f;
  --navy-700: #161b27;
  --panel: rgba(17, 21, 31, 0.72);
  --panel-solid: #11151f;

  /* — Text — */
  --text: #ffffff;
  --text-soft: #eceef2;
  --muted: #9aa0ab;
  --subtle: #888888;

  /* — Gold / accent — */
  --gold-100: #e7cf93;
  --gold: #c9a050;
  --gold-600: #9c7838;
  --rose: #c2607f;

  /* — Lines / shadow — */
  --line: rgba(201, 160, 80, 0.16);
  --line-soft: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(201, 160, 80, 0.42);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 14px 40px rgba(0, 0, 0, 0.42);

  /* — Radius — */
  --radius: 6px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* — Fluid spacing — */
  --pad-x: clamp(16px, 5vw, 72px);
  --gap: clamp(14px, 3vw, 20px);
  --section-y: clamp(56px, 9vw, 128px);
  --container: 1280px;

  /* — Fonts — */
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --gold-text: linear-gradient(180deg, #e7cf93 0%, #c9a050 48%, #9c7838 100%);
  --gold-btn: linear-gradient(180deg, #dcbd76 0%, #c9a050 52%, #a9842f 100%);

  --tap: 48px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

html, body { overflow-x: clip; max-width: 100%; }

body {
  margin: 0;
  background:
    radial-gradient(120% 60% at 18% -6%, rgba(194, 96, 127, 0.10), transparent 42%),
    radial-gradient(120% 60% at 92% 4%, rgba(201, 160, 80, 0.08), transparent 38%),
    linear-gradient(180deg, #0a0d14 0%, #0c1018 48%, #0a0d14 100%);
  background-attachment: fixed;
  color: var(--text-soft);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img { display: block; width: 100%; }
::selection { background: rgba(201, 160, 80, 0.3); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- Типографика (fluid) ---------- */
h1, h2, h3 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--text);
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(30px, 7.4vw, 104px); line-height: 1.0; max-width: 16ch; }
h2 { font-size: clamp(25px, 5.6vw, 60px); line-height: 1.05; }
h3 { font-size: clamp(18px, 4.6vw, 24px); font-weight: 600; line-height: 1.12; }
p { margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: clamp(10px, 2.6vw, 11px);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ---------- Кнопки (tap-safe) ---------- */
.button {
  display: inline-flex;
  min-height: var(--tap);
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  padding: 13px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-align: center;
  transition: transform 0.22s ease, border-color 0.22s ease,
    background 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}
.button svg { width: 17px; height: 17px; flex: none; }
.button.primary {
  background: var(--gold-btn);
  color: #16110a;
  box-shadow: 0 12px 30px rgba(201, 160, 80, 0.16);
}
.button.primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(201, 160, 80, 0.28); }
.button.soft {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--line-strong);
}
.button.soft:hover { border-color: var(--gold); background: rgba(201, 160, 80, 0.08); }
.button.ghost { background: transparent; color: var(--muted); border-color: var(--line-soft); }
.button.ghost:hover { color: var(--text); border-color: var(--line-strong); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: var(--tap);
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: gap 0.2s ease, opacity 0.2s ease;
}
.text-link:hover { gap: 11px; opacity: 0.85; }

/* ---------- Шапка (sticky glass) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px var(--pad-x);
  background: rgba(10, 13, 20, 0.72);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.brand { display: inline-grid; gap: 1px; width: fit-content; }
.brand span {
  font-family: var(--font-display);
  font-size: clamp(20px, 6vw, 25px);
  font-weight: 600;
  letter-spacing: 0.01em;
  background: var(--gold-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.brand small {
  color: var(--subtle);
  font-size: 10px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
}

/* burger */
.nav-toggle {
  display: inline-flex;
  width: var(--tap); height: var(--tap);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  justify-self: end;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: transparent; cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); transition: transform .25s ease, opacity .2s ease; }
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* мобильная навигация = выезжающая панель */
.main-nav {
  position: fixed;
  top: 60px; left: 12px; right: 12px;
  z-index: 60;
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  background: rgba(13, 16, 25, 0.98);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform .22s ease, opacity .22s ease;
}
.main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
.main-nav a {
  display: flex; align-items: center; min-height: var(--tap);
  padding: 6px 16px; border-radius: var(--radius);
  font-size: 16px; color: var(--text);
}
.main-nav a:hover { background: rgba(255, 255, 255, 0.06); }
.nav-phone { color: var(--gold); font-weight: 800; border-top: 1px solid var(--line); margin-top: 4px; }
.header-phone { display: none; }
.nav-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(0,0,0,.55); }
.nav-backdrop[hidden] { display: none; }
body.nav-locked { overflow: hidden; }

/* ---------- Контейнер секций ---------- */
.section {
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding: var(--section-y) var(--pad-x);
}
.section-head { margin-bottom: clamp(24px, 5vw, 42px); }
.section-head .button.soft { margin-top: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-media {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,13,20,.55) 0%, rgba(10,13,20,.2) 30%, rgba(10,13,20,.85) 78%, #0a0d14 100%),
    linear-gradient(90deg, rgba(10,13,20,.7), rgba(10,13,20,.25) 60%),
    url("/assets/img/elvira-striptiz-spb-bet.webp") center / cover;
  filter: saturate(0.8) contrast(1.05);
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 70% 28%, rgba(194,96,127,.14), transparent 60%);
}
.hero-layout {
  position: relative;
  display: grid; gap: clamp(20px, 5vw, 64px);
  width: min(var(--container), 100%);
  margin: 0 auto;
  padding: 0 var(--pad-x) clamp(40px, 9vh, 104px);
}
.hero-content { max-width: 880px; }
.hero p { max-width: 56ch; color: var(--muted); font-size: clamp(15px, 4vw, 18px); line-height: 1.7; }
.hero-actions, .age-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 5vw, 32px); }
.hero-actions .button { flex: 1 1 100%; }

.hero-card {
  padding: clamp(22px, 5vw, 30px);
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(18,22,32,.85), rgba(10,13,20,.8));
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.hero-card h2 { font-size: clamp(26px, 6vw, 33px); }
.hero-card ul { display: grid; gap: 13px; margin: 0 0 22px; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.hero-card li { padding-left: 16px; border-left: 2px solid var(--gold); line-height: 1.45; }

/* ---------- Метрики ---------- */
.metric-strip {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border-bottom: 1px solid var(--line);
}
.metric-strip div {
  display: grid; gap: 6px; align-content: center;
  min-height: clamp(104px, 26vw, 142px);
  padding: clamp(18px, 5vw, 30px) var(--pad-x);
  background: rgba(11, 14, 22, 0.92);
}
.metric-strip strong {
  font-family: var(--font-display); font-weight: 500; line-height: 1;
  font-size: clamp(30px, 8vw, 56px);
  background: var(--gold-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.metric-strip span { color: var(--muted); font-size: clamp(12px, 3.4vw, 14px); line-height: 1.4; }

/* ---------- Карточки-панели ---------- */
.category-card, .product-card, .review-card, .lead-form,
.age-panel, .occasion-grid article, .contact-note, .process-list div, .cart-sheet {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}

/* Коллекции — 2 кол. на мобиле */
.category-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(2, 1fr); }
.category-card {
  display: grid; align-content: start; gap: 6px;
  padding: clamp(16px, 4vw, 26px);
  border-radius: var(--radius-lg);
  text-align: left; cursor: pointer; color: var(--text);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.category-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.category-card i {
  display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center;
  margin-bottom: 10px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--gold);
}
.category-card i svg { width: 20px; height: 20px; }
.category-card span { font-family: var(--font-display); font-size: clamp(19px, 5vw, 27px); font-weight: 600; }
.category-card small { color: var(--muted); font-size: clamp(12px, 3.2vw, 14px); line-height: 1.5; }

/* Фильтры */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  min-height: 40px;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 9px 16px; background: transparent; color: var(--muted);
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.filter:hover { color: var(--text); border-color: var(--line-strong); }
.filter.active { background: var(--gold-btn); border-color: transparent; color: #16110a; }

/* Каталог программ — 1 кол. на мобиле, фото 3:4 */
.product-grid { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.product-card {
  position: relative; display: flex; flex-direction: column;
  overflow: hidden; border-radius: var(--radius-lg);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.product-card img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  filter: saturate(0.92); transition: transform .45s ease;
}
.product-card:hover img { transform: scale(1.04); }
.product-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: clamp(16px, 4vw, 24px); }
.product-category, .product-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  color: var(--gold); font-size: 10.5px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase;
}
.product-category svg, .product-meta svg { width: 13px; height: 13px; }
.product-body h3 { margin-top: 8px; }
.product-body p:not(.product-category):not(.product-meta) { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.product-meta { margin-top: 4px; }
.rating { display: flex; gap: 3px; margin: 2px 0 6px; color: var(--gold); }
.rating svg { width: 15px; height: 15px; }
.price-row { display: flex; align-items: baseline; gap: 11px; margin-top: auto; padding-top: 16px; }
.price-row del { color: var(--subtle); font-size: 15px; }
.price-row strong { font-family: var(--font-display); color: var(--text); font-size: clamp(24px, 6vw, 30px); font-weight: 600; }
.product-card .button { margin-top: 16px; width: 100%; }

/* Band (Night offer) */
.band {
  display: grid; gap: 18px;
  width: 100%; max-width: none; margin: 0;
  padding: var(--section-y) var(--pad-x);
  background:
    linear-gradient(160deg, rgba(79, 26, 46, .82), rgba(10, 13, 20, .94) 72%),
    url("/assets/img/2024-07-20-01.57.49.webp") center / cover;
  border-block: 1px solid var(--line);
}
.band > div { max-width: 640px; }
.band p { color: var(--muted); }
.band .button { justify-self: start; }

/* Visual mood — горизонтальный свайп на мобиле (scroll-snap) */
.gallery-section { overflow: hidden; }
.gallery-grid {
  display: grid; gap: var(--gap); margin-top: 24px;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.gallery-grid::-webkit-scrollbar { display: none; }
figure {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--panel-solid);
  border: 1px solid var(--line);
  scroll-snap-align: center;
  aspect-ratio: 3 / 4;
}
figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.86); transition: transform .5s ease; }
figure:hover img { transform: scale(1.04); }
figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(10, 13, 20, .68); color: var(--text); font-size: 14px; font-weight: 500;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}

/* Occasions + Process */
.occasion-section, .process-section {
  width: 100%; max-width: none;
  background: rgba(255, 255, 255, .022);
  border-block: 1px solid var(--line);
}
.occasion-section > *, .process-section > * { width: min(var(--container), 100%); margin-inline: auto; }
.occasion-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(2, 1fr); }
.occasion-grid article, .process-list div { border-radius: var(--radius-lg); padding: clamp(16px, 4vw, 26px); }
.occasion-grid span, .process-list span {
  display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center;
  margin-bottom: 18px; border: 1px solid var(--line-strong); border-radius: 50%;
  color: var(--gold); font-family: var(--font-display); font-size: 17px; font-weight: 600;
}
.occasion-grid p, .process-list p, .contacts-section p { color: var(--muted); line-height: 1.6; }
.process-list { display: grid; gap: var(--gap); grid-template-columns: 1fr; }

/* Reviews */
.review-card { position: relative; max-width: 1000px; border-radius: var(--radius-lg); padding: clamp(24px, 6vw, 60px); }
.review-card::before {
  content: "\201C"; position: absolute; top: 4px; left: 18px;
  font-family: var(--font-display); font-size: clamp(70px, 18vw, 120px); line-height: 1; color: var(--line-strong);
}
.review-card p { position: relative; color: var(--text); font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 6vw, 46px); line-height: 1.2; }
.review-card footer { display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: 14px; }
.review-card footer strong { color: var(--text); }

/* ---------- Private request ---------- */
.contacts-section { display: grid; gap: clamp(24px, 5vw, 64px); align-items: start; }
.contact-note { display: grid; gap: 8px; max-width: 520px; margin-top: 24px; padding: 20px; border-radius: var(--radius-lg); }
.contact-note strong { color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.contact-note span { color: var(--muted); line-height: 1.55; }

.lead-form { display: grid; gap: 16px; border-radius: var(--radius-lg); padding: clamp(20px, 5vw, 38px); }
.lead-form label { display: grid; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.lead-form input, .lead-form textarea {
  width: 100%; min-height: var(--tap);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 15px;
  background: rgba(10, 13, 20, .6); color: var(--text); outline: none;
  font-size: 16px;
  transition: border-color .2s ease, background .2s ease;
}
.lead-form textarea { min-height: 120px; resize: vertical; }
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--gold); background: rgba(10, 13, 20, .9); }
.form-status { min-height: 22px; margin: 0; color: var(--gold); font-size: 14px; }

/* выбранные программы внутри формы */
.lead-cart { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 16px 18px; background: rgba(201, 160, 80, 0.05); }
.lead-cart__title { margin: 0 0 8px; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.lead-cart__row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.lead-cart__row span { color: var(--muted); }
.lead-cart__row strong { color: var(--text); white-space: nowrap; }
.lead-cart__total { display: flex; justify-content: space-between; margin-top: 10px; color: var(--muted); font-size: 14px; }
.lead-cart__total strong { color: var(--gold); }

/* ===================================================================
   Корзина «Заявка»: sticky-bar + bottom-sheet (моб) / панель (деск)
   =================================================================== */
.cart-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  min-height: 60px;
  padding: 10px clamp(14px, 5vw, 22px) calc(10px + env(safe-area-inset-bottom));
  border: none; border-top: 1px solid var(--line-strong);
  background: rgba(13, 16, 25, 0.92);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  color: var(--text); cursor: pointer; text-align: left;
  box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.4);
}
.cart-bar__label { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: .02em; }
.cart-bar__count {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px;
  border-radius: var(--radius-pill); background: var(--gold); color: #16110a; font-size: 13px; font-weight: 800;
}
.cart-bar__total { margin-left: auto; color: var(--gold); font-weight: 700; font-size: 14px; }
.cart-bar__chev { width: 18px; height: 18px; color: var(--muted); transition: transform .25s ease; }
.cart.open .cart-bar__chev { transform: rotate(180deg); }

.cart-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 75;
  display: flex; flex-direction: column;
  max-height: 82vh;
  padding: 10px clamp(16px, 5vw, 22px) calc(18px + env(safe-area-inset-bottom));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-bottom: 0;
  transform: translateY(101%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.cart.open .cart-sheet { transform: translateY(0); }
.cart-sheet__grip { width: 44px; height: 4px; border-radius: 4px; background: var(--line-strong); margin: 4px auto 12px; }
.cart-sheet h3 { font-size: 22px; margin-bottom: 12px; }
#cartItems { overflow-y: auto; flex: 1; }
.cart-item {
  display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.cart-item strong { white-space: nowrap; }
.cart-item button {
  width: var(--tap); height: var(--tap);
  border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--text);
  cursor: pointer; font-size: 18px; transition: border-color .2s ease, color .2s ease;
}
.cart-item button:hover { border-color: var(--rose); color: var(--rose); }
.empty-cart { color: var(--muted); padding: 18px 0; text-align: center; }
.cart-sheet__foot { padding-top: 14px; border-top: 1px solid var(--line); margin-top: 6px; }
.cart-total { color: var(--muted); font-size: 15px; margin: 0 0 12px; display: flex; justify-content: space-between; }
.cart-total strong { color: var(--gold); font-size: 18px; }
.cart-sheet__foot .button { width: 100%; }
.cart-backdrop { position: fixed; inset: 0; z-index: 72; background: rgba(0, 0, 0, .6); }
.cart-backdrop[hidden] { display: none; }

/* ---------- Age gate ---------- */
.age-gate {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: clamp(16px, 5vw, 24px);
  background:
    linear-gradient(rgba(10, 13, 20, .9), rgba(10, 13, 20, .96)),
    url("/assets/img/elvira-striptiz-spb-bet.webp") center / cover;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.age-gate[hidden], .age-gate.hidden { display: none; }
.age-panel { width: min(600px, 100%); border-radius: var(--radius-lg); padding: clamp(26px, 7vw, 56px); }
.age-panel h1 { max-width: none; font-size: clamp(30px, 9vw, 64px); margin-bottom: 14px; }
.age-panel p { color: var(--muted); }
.age-actions .button { flex: 1 1 auto; }

/* ---------- Футер ---------- */
.site-footer {
  display: flex; flex-direction: column; gap: 12px;
  padding: clamp(28px, 6vw, 40px) var(--pad-x) calc(80px + env(safe-area-inset-bottom));
  color: var(--muted); font-size: 14px; border-top: 1px solid var(--line);
}
.site-footer a { min-height: var(--tap); display: inline-flex; align-items: center; }
.site-footer a:hover { color: var(--gold); }

section[id] { scroll-margin-top: 72px; }

/* ===================================================================
   ≥ 480px
   =================================================================== */
@media (min-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-auto-columns: 52%; }
  .hero-actions .button { flex: 0 1 auto; }
  .site-footer { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ===================================================================
   ≥ 768px — планшеты
   =================================================================== */
@media (min-width: 768px) {
  .header-phone { display: inline-flex; justify-self: end; color: var(--text); }
  .nav-toggle { display: none; }
  .site-header { grid-template-columns: 1fr auto auto; gap: 24px; }
  .main-nav {
    position: static; display: flex; flex-direction: row; gap: 28px;
    padding: 0; border: 0; background: none; box-shadow: none; backdrop-filter: none;
    transform: none; opacity: 1; pointer-events: auto;
    justify-content: center; font-size: 14px; font-weight: 500;
  }
  .main-nav a { min-height: auto; padding: 0; position: relative; color: var(--muted); }
  .main-nav a:hover { background: none; color: var(--text); }
  .main-nav a::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px;
    background: var(--gold); transition: right .25s ease;
  }
  .main-nav a:hover::after { right: 0; }
  .main-nav a.nav-phone { display: none; }
  .nav-backdrop { display: none !important; }

  .metric-strip { grid-template-columns: repeat(4, 1fr); }
  .category-grid, .occasion-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(3, 1fr); }
  .section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
  .section-head .button.soft { margin-top: 0; }

  .gallery-grid { grid-auto-flow: row; grid-template-columns: 1.15fr .85fr 1fr; grid-auto-columns: auto; overflow: visible; }
  figure { aspect-ratio: auto; min-height: 420px; }
  figure:nth-child(2) { margin-top: 48px; }

  .band { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
  .contacts-section { grid-template-columns: 0.9fr 1.1fr; }
  .hero-layout { grid-template-columns: minmax(0, 1fr) 360px; align-items: end; }

  /* корзина: плавающая панель снизу-справа */
  .cart-bar {
    left: auto; right: 22px; bottom: 22px; width: min(330px, calc(100vw - 44px));
    border: 1px solid var(--line-strong); border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .cart-sheet {
    left: auto; right: 22px; bottom: 92px; width: min(360px, calc(100vw - 44px));
    max-height: min(70vh, 540px);
    border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
    transform: translateY(16px); opacity: 0; pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .cart.open .cart-sheet { transform: none; opacity: 1; pointer-events: auto; }
  .cart-sheet__grip { display: none; }
  .cart-backdrop { display: none !important; }
  .site-footer { padding-bottom: clamp(28px, 6vw, 40px); }
}

/* ===================================================================
   ≥ 1024px — десктоп
   =================================================================== */
@media (min-width: 1024px) {
  .category-grid, .product-grid, .occasion-grid { grid-template-columns: repeat(4, 1fr); }
  .hero p { font-size: 18px; }
}

/* ===================================================================
   ≥ 1280px
   =================================================================== */
@media (min-width: 1280px) {
  .section { padding-inline: clamp(40px, 5vw, 72px); }
}
body.cart-locked { overflow: hidden; }
.cart-bar__count { transition: transform .18s ease; }
