/* ═══════════════════════════════════════════════
   Восковая Пчёлка — медовая мастерская, 2 темы
   Светлая: воск/мёд · Тёмная: гречишная ночь
   Шрифты: Alegreya · Mulish
   ═══════════════════════════════════════════════ */

:root {
  --bg:        #F8F0DF;
  --bg2:       #F1E4C8;
  --card:      #FDF9EF;
  --text:      #33241A;
  --text2:     #65503B;
  --text3:     #93795F;
  --line:      rgba(51, 36, 26, .15);
  --line-soft: rgba(51, 36, 26, .08);
  --honey:     #E8A23D;
  --honey-soft:#F3C878;
  --amber:     #B4691E;
  --btn-ink-bg:#241811;
  --btn-ink-tx:#F8F0DF;
  --hexline:   rgba(180, 105, 30, .06);
  --shadow:    0 22px 48px rgba(36, 24, 17, .16);
  --shadow-soft: 0 14px 34px rgba(36, 24, 17, .12);
  --surface:   rgba(253, 249, 239, .82);

  /* Тёмные секции одинаковы в обеих темах */
  --night:     #1D140D;
  --night-2:   #241811;
  --night-3:   #17110C;

  --hexw:      clamp(128px, 20vw, 200px);
  --radius:    20px;
  --ease:      cubic-bezier(.22, .61, .36, 1);
  --f-head: "Alegreya", "Georgia", serif;
  --f-body: "Mulish", "Segoe UI", sans-serif;
}

html[data-theme="dark"] {
  --bg:        #17110C;
  --bg2:       #1F160E;
  --card:      #261C12;
  --text:      #F5EBD8;
  --text2:     #CBBB9F;
  --text3:     #A18E73;
  --line:      rgba(245, 235, 216, .14);
  --line-soft: rgba(245, 235, 216, .07);
  --honey:     #E8A23D;
  --honey-soft:#F3C878;
  --amber:     #E8A23D;
  --btn-ink-bg:#F3C878;
  --btn-ink-tx:#241811;
  --hexline:   rgba(232, 162, 61, .05);
  --shadow:    0 22px 48px rgba(0, 0, 0, .45);
  --shadow-soft: 0 14px 34px rgba(0, 0, 0, .3);
  --surface:   rgba(38, 28, 18, .85);
  color-scheme: dark;
}
html[data-theme="light"] { color-scheme: light; }

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  interpolate-size: allow-keywords;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--f-body);
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
  transition: background .5s var(--ease), color .5s var(--ease);
}

img { max-width: 100%; display: block; background: var(--bg2); }
a { color: var(--amber); }
section { scroll-margin-top: 76px; }
main > section:not(.hero) { content-visibility: auto; contain-intrinsic-size: auto 800px; }
.strip-band { content-visibility: auto; contain-intrinsic-size: auto 60px; }
.nums { contain-intrinsic-size: auto 240px; }
.why { contain-intrinsic-size: auto 560px; }
.catalog { contain-intrinsic-size: auto 2400px; }
.quote { contain-intrinsic-size: auto 360px; }
.about { contain-intrinsic-size: auto 900px; }
.wax { contain-intrinsic-size: auto 760px; }
.care, .how, .reviews { contain-intrinsic-size: auto 650px; }
.faq { contain-intrinsic-size: auto 850px; }
.cal { contain-intrinsic-size: auto 300px; }
.order { contain-intrinsic-size: auto 1000px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

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

.wrap { width: min(1160px, 92%); margin: 0 auto; }

h1, h2, h3 { font-family: var(--f-head); font-weight: 500; line-height: 1.2; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--text); letter-spacing: -.01em; }
h1 em, h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--amber);
}
html[data-theme="dark"] h1 em,
html[data-theme="dark"] h2 em {
  color: var(--honey-soft);
}
.h2-light { color: #F5EBD8; }
.h2-light em { color: var(--honey-soft); }
h3 { font-size: 1.22rem; }

p { color: var(--text2); }

.kick {
  font-size: .95rem;
  font-weight: 800;
  color: var(--amber);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.kick::before {
  content: "";
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  background: var(--honey);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.kick-light { color: var(--honey-soft); }

.top-gap { margin-top: 52px; }
.cols4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

/* ── Кнопки ──────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--f-body);
  font-weight: 800;
  font-size: .98rem;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 14px 30px;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.btn-sm { padding: 9px 20px; font-size: .88rem; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn-honey {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FAD792 0%, #E8A23D 50%, #C97E1C 100%);
  background-size: 200% 200%;
  color: #241811;
  box-shadow: 0 10px 24px rgba(180, 105, 30, .32), inset 0 1px 1px rgba(255, 255, 255, .5);
}
.btn-honey:hover {
  background-position: 100% 100%;
  box-shadow: 0 16px 36px rgba(180, 105, 30, .45);
}
.btn-honey::after {
  content: "";
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: -75%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent);
  transform: skewX(-20deg);
  transition: left .7s var(--ease);
}
.btn-honey:hover::after { left: 135%; }

.btn-ghost { background: transparent; color: #F5EBD8; border-color: rgba(245, 235, 216, .45); }
.btn-ghost:hover { border-color: #F5EBD8; background: rgba(245, 235, 216, .06); }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .55; cursor: wait; }

/* ── Шапка ───────────────────────────────────── */
.top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(29, 20, 13, .9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #F5EBD8;
  border-bottom: 1px solid rgba(245, 235, 216, .09);
  transition: box-shadow .35s var(--ease);
}
.top.is-scrolled { box-shadow: 0 12px 32px rgba(0, 0, 0, .4); }
.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 11px 0;
  transition: padding .35s var(--ease);
}
.top.is-scrolled .top-in { padding: 6px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #F5EBD8; }
.brand-img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--honey);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
  transition: transform .5s var(--ease), width .35s var(--ease), height .35s var(--ease);
}
.top.is-scrolled .brand-img { width: 38px; height: 38px; }
.brand:hover .brand-img { transform: rotate(10deg) scale(1.05); }
.brand-name { font-family: var(--f-head); font-weight: 700; font-size: 1.42rem; line-height: 1.05; letter-spacing: .01em; white-space: nowrap; }
.brand-name em { font-style: italic; font-weight: 500; color: var(--honey-soft); }

.nav { display: flex; align-items: center; gap: 20px; }
.nav a {
  color: rgba(245, 235, 216, .85);
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.nav a:hover { color: var(--honey-soft); }

.top-tools { display: flex; align-items: center; gap: 10px; }

.theme-btn {
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--honey-soft);
  background: rgba(245, 235, 216, .07);
  border: 1px solid rgba(245, 235, 216, .2);
  border-radius: 50%;
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .4s var(--ease);
}
.theme-btn:hover { background: rgba(232, 162, 61, .2); border-color: var(--honey); transform: rotate(18deg); }
.theme-btn svg { width: 19px; height: 19px; }
.ico-sun { display: none; }
html[data-theme="dark"] .ico-sun { display: block; }
html[data-theme="dark"] .ico-moon { display: none; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.burger span { width: 24px; height: 2.5px; border-radius: 2px; background: #F5EBD8; transition: transform .25s var(--ease), opacity .2s ease; }
.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Герой ───────────────────────────────────── */
.hero {
  position: relative;
  background: radial-gradient(ellipse 95% 130% at 78% 10%, #4A3018 0%, var(--night-3) 62%);
  color: #F5EBD8;
  overflow: hidden;
}
.hero-copy > * { opacity: 0; transform: translateY(28px); animation: rise .95s var(--ease) forwards; }
.hero-copy > :nth-child(1) { animation-delay: .1s; }
.hero-copy > :nth-child(2) { animation-delay: .22s; }
.hero-copy > :nth-child(3) { animation-delay: .34s; }
.hero-copy > :nth-child(4) { animation-delay: .48s; }
.hero-copy > :nth-child(5) { animation-delay: .62s; }
.hero-flame { opacity: 0; transform: scale(.94) translateY(24px); animation: herofig 1.15s var(--ease) .4s forwards; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes herofig { to { opacity: 1; transform: none; } }

/* Живое мерцание пламени свечи */
.hero-glow {
  position: absolute;
  z-index: 0;
  right: 5%;
  top: 8%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(232, 162, 61, 0.45) 0%, rgba(212, 122, 28, 0.2) 42%, transparent 70%);
  filter: blur(45px);
  animation: candle-flicker 5.5s ease-in-out infinite alternate;
  pointer-events: none;
  will-change: transform, opacity;
}

@keyframes candle-flicker {
  0%   { opacity: 0.72; transform: scale(0.96) translate(0, 0); }
  25%  { opacity: 0.92; transform: scale(1.05) translate(-8px, -4px); }
  50%  { opacity: 0.70; transform: scale(0.98) translate(5px, 6px); }
  75%  { opacity: 0.98; transform: scale(1.06) translate(-5px, 2px); }
  100% { opacity: 0.80; transform: scale(1.0) translate(0, 0); }
}

/* Парящие искорки в Hero */
.hero-sparks {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.spark {
  position: absolute;
  border-radius: 50%;
  background: var(--honey-soft);
  box-shadow: 0 0 10px var(--honey);
  opacity: 0;
  animation: spark-float ease-in-out infinite;
}
@keyframes spark-float {
  0%   { transform: translateY(0) scale(0.6); opacity: 0; }
  35%  { opacity: 0.8; }
  75%  { opacity: 0.5; }
  100% { transform: translateY(-90px) scale(1.1); opacity: 0; }
}

.hero-in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 56px;
  padding: 88px 0 96px;
}
.hero-kick {
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 800;
  color: var(--honey-soft);
  margin-bottom: 18px;
}
.hero-title {
  max-width: 17ch;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  color: #F5EBD8;
  letter-spacing: -.025em;
  text-wrap: balance;
  margin-bottom: 22px;
}
.hero-lead {
  max-width: 33em;
  font-size: 1.14rem;
  line-height: 1.8;
  color: rgba(245, 235, 216, .84);
  text-wrap: pretty;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  list-style: none;
  color: var(--honey-soft);
  font-weight: 700;
  font-size: .93rem;
}
.hero-badges li { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid rgba(245, 235, 216, .14); border-radius: 999px; background: rgba(245, 235, 216, .06); }
.hero-badges li::before {
  content: "";
  width: 10px; height: 10px;
  background: var(--honey);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.hero-flame {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .5));
}
.hero-hex {
  width: min(330px, 100%);
  aspect-ratio: 1 / 1.12;
  background: none;
  animation: floaty 6s var(--ease) infinite alternate;
  will-change: transform;
  transition: transform .4s var(--ease);
}
.hero-hex:hover { transform: scale(1.03) translateY(-8px); }
.hero-hex img {
  width: 100%; height: 100%;
  object-fit: cover;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
@keyframes floaty {
  from { transform: translateY(0); }
  to   { transform: translateY(-14px); }
}

.hero-mini {
  position: absolute;
  left: 2%;
  bottom: 6%;
  width: 122px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  border: 5px solid rgba(245, 235, 216, .95);
  box-shadow: 0 22px 44px rgba(0, 0, 0, .45);
  transform: rotate(-6deg);
  transition: transform .5s var(--ease);
}
.hero-mini img { width: 100%; height: 100%; object-fit: cover; }
.hero-flame:hover .hero-mini { transform: rotate(0deg) translateY(-8px); }
.hero-chip {
  position: absolute;
  top: 6%;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 800;
  color: var(--honey-soft);
  background: rgba(29, 20, 13, .8);
  border: 1px solid rgba(232, 162, 61, .5);
  border-radius: 999px;
  padding: 8px 16px;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
  transform: rotate(3deg);
}
.hero-chip::before {
  content: "";
  width: 9px; height: 9px;
  background: var(--honey);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* ── Полоса ──────────────────────────────────── */
.strip-band { background: var(--night); border-top: 1px solid rgba(245, 235, 216, .07); }
.strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 19px 0;
  color: var(--honey-soft);
  font-weight: 700;
  font-size: .93rem;
}
.strip li { display: flex; align-items: center; gap: 10px; }
.strip li::before {
  content: "";
  width: 8px; height: 8px;
  flex-shrink: 0;
  background: var(--honey);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* ── Цифры ───────────────────────────────────── */
.nums { padding: 48px 0; }
.nums-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; padding: 26px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.num { transition: transform .35s var(--ease); }
.num:hover { transform: translateY(-4px); }
.num b {
  display: block;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1;
  color: var(--amber);
}
.num span { display: block; font-size: .9rem; color: var(--text3); margin-top: 9px; }

/* ── Почему воск ─────────────────────────────── */
.why { padding: 96px 0 90px; }
.fcol {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.fcol:hover {
  background: var(--surface);
  border-color: var(--line-soft);
  box-shadow: var(--shadow-soft);
}
.fcol svg { width: 58px; height: 58px; padding: 12px; color: var(--amber); background: var(--surface); border: 1px solid var(--line-soft); border-radius: 18px; margin-bottom: 16px; transition: transform .4s var(--ease); }
.fcol:hover svg { transform: translateY(-4px) rotate(-4deg); }
.fcol h3 { margin-bottom: 7px; }
.fcol p, .scol p, .cal-card p { font-size: 1rem; color: var(--text2); }
.stepnum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: #241811;
  background: linear-gradient(180deg, var(--honey-soft), var(--honey));
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  margin-bottom: 15px;
}
.scol h3 { margin-bottom: 7px; }

/* ── Каталог-соты ────────────────────────────── */
.catalog {
  position: relative;
  isolation: isolate;
  padding: 96px 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104'%3E%3Cpath d='M30 2 58 18v32L30 66 2 50V18zM90 2 118 18v32L90 66 62 50V18zM60 55 88 71v32L60 119 32 103V71z' fill='none' stroke='%23B4691E' stroke-opacity='.08' stroke-width='1.5'/%3E%3C/svg%3E") top left / 240px auto repeat,
    linear-gradient(var(--bg2), var(--bg) 30%);
}
html[data-theme="dark"] .catalog {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104'%3E%3Cpath d='M30 2 58 18v32L30 66 2 50V18zM90 2 118 18v32L90 66 62 50V18zM60 55 88 71v32L60 119 32 103V71z' fill='none' stroke='%23E8A23D' stroke-opacity='.06' stroke-width='1.5'/%3E%3C/svg%3E") top left / 240px auto repeat,
    linear-gradient(var(--bg2), var(--bg) 30%);
}
.cat-head { position: relative; max-width: 44em; margin: 0 auto 38px; padding-left: 24px; text-align: left; }
.cat-head::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 99px; background: linear-gradient(var(--honey), var(--amber)); }
.cat-sub { color: var(--text2); margin-top: 12px; font-size: 1.05rem; }
.filters { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 50px; }
@media (min-width: 821px) {
  .filters { position: sticky; top: 68px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 12px 0; }
}
.search { margin-left: auto; flex: 1 1 220px; max-width: 320px; }
.search input {
  width: 100%;
  font-family: var(--f-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  outline: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.search input::placeholder { color: var(--text3); }
.search input:focus { border-color: var(--honey); box-shadow: 0 0 0 4px rgba(232,162,61,.18); }
.filter {
  font-family: var(--f-body);
  font-size: .95rem;
  font-weight: 700;
  color: var(--text2);
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 9px 22px;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.filter:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }
.filter.is-on {
  background: linear-gradient(180deg, var(--honey-soft), var(--honey));
  border-color: transparent;
  color: #241811;
  box-shadow: 0 8px 20px rgba(180, 105, 30, .3);
}

.comb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  min-height: 260px;
  align-content: flex-start;
  --overlap: 26px;
  padding-bottom: calc(var(--hexw) * .3 + 20px);
}
.cell {
  position: relative;
  width: var(--hexw);
  margin: 0 5px var(--overlap) 5px;
  padding: 8px 8px 14px;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 18px;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  will-change: transform, opacity;
}
.cell:hover { background: var(--surface); border-color: var(--line-soft); box-shadow: var(--shadow-soft); }
.cell.is-selected { background: var(--surface); border-color: var(--honey); box-shadow: 0 0 0 3px rgba(232,162,61,.25), var(--shadow-soft); }
.cell-shift { margin-top: calc(var(--hexw) * .3); }

.cell.is-filtering-out {
  opacity: 0;
  transform: scale(0.92) translateY(12px);
  pointer-events: none;
}
.cell.is-filtering-in {
  animation: cell-appear 0.45s var(--ease) forwards;
}
@keyframes cell-appear {
  from { opacity: 0; transform: scale(0.92) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.cell-hex {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.12;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg2);
  contain: layout paint;
  transition: transform .35s var(--ease), filter .35s var(--ease);
}
.cell-hex::before {
  content: "";
  position: absolute;
  inset: -1px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(135deg, rgba(232, 162, 61, 0.65), transparent 60%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  z-index: 1;
  pointer-events: none;
}
.cell:hover .cell-hex::before { opacity: 1; }

.cell-hex::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .22) 48%, transparent 66%);
  transform: translateX(-100%);
  animation: shimmer 1.4s ease-in-out infinite;
  opacity: 1;
  transition: opacity .35s var(--ease);
}
.cell.is-loaded .cell-hex::after { opacity: 0; animation: none; }
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

.cell-hex img {
  position: relative;
  z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  transition: transform .5s var(--ease);
}
.cell:hover .cell-hex { transform: translateY(-5px); filter: drop-shadow(0 18px 28px rgba(36, 24, 17, .28)); }
.cell:hover .cell-hex img { transform: scale(1.06); }

.cell-price {
  position: absolute;
  left: 50%;
  bottom: 14%;
  transform: translateX(-50%);
  background: rgba(29, 20, 13, .85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(232, 162, 61, .35);
  color: var(--honey-soft);
  z-index: 3;
  font-weight: 800;
  font-size: .9rem;
  padding: 4px 15px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.cell:hover .cell-price {
  transform: translateX(-50%) scale(1.06);
  border-color: var(--honey);
}
.cell-badge {
  position: absolute;
  top: 11%;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  z-index: 4;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0,0,0,.3);
  pointer-events: none;
}
.badge-hit { background: linear-gradient(135deg,#FAD792,#E8A23D); color: #241811; }
.badge-new { background: #241811; color: var(--honey-soft); border: 1px solid var(--honey); }
.cell-name {
  display: block;
  margin-top: 14px;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.35;
  color: var(--text);
}
.cell-cta {
  display: inline-block;
  margin-top: 5px;
  font-size: .86rem;
  font-weight: 800;
  color: var(--amber);
  border-bottom: 2px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.cell:hover .cell-cta { color: var(--honey); border-color: var(--honey); }
html[data-theme="dark"] .cell:hover .cell-cta { color: var(--honey-soft); border-color: var(--honey-soft); }

.cat-empty { width: 100%; text-align: center; padding: 56px 24px; color: var(--text2); border: 1px dashed var(--line); border-radius: var(--radius); }
.cat-note { text-align: center; margin-top: 72px; color: var(--text2); }

/* ── Цитата ──────────────────────────────────── */
.quote { padding: 110px 0 100px; text-align: center; }
.q-text {
  font-family: var(--f-head);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.55rem, 2.9vw, 2.3rem);
  line-height: 1.45;
  max-width: 22em;
  margin: 0 auto;
  color: var(--text);
  position: relative;
}
.q-text::before {
  content: "«";
  position: absolute;
  top: -.55em;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5.5rem;
  line-height: 1;
  color: var(--honey);
  opacity: .18;
  pointer-events: none;
}
.q-cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: .95rem;
  color: var(--text3);
  margin-top: 26px;
}

/* ── О мастерской ────────────────────────────── */
.about { padding: 40px 0 110px; }
.about-in {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 64px;
  align-items: center;
}
.about-photos { position: relative; min-height: 480px; isolation: isolate; }
.about-photos::before { content: ""; position: absolute; z-index: -1; right: -8%; top: 15%; width: 68%; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; opacity: .7; pointer-events: none; }
.about-photos figure {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius);
  border: 3px solid rgba(255, 255, 255, .35);
  box-shadow: var(--shadow);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
html[data-theme="dark"] .about-photos figure { border-color: rgba(245, 235, 216, .1); }
.about-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.about-photos figure:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.about-photos figure:hover img { transform: scale(1.05); }
.about-photos figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  font-family: var(--f-head);
  font-style: italic;
  font-size: .9rem;
  color: #F5EBD8;
  padding: 28px 14px 10px;
  background: linear-gradient(transparent, rgba(23, 17, 12, .8));
}
.ap-main { width: 70%; aspect-ratio: 3 / 4; top: 0; left: 0; }
.ap-sm  { width: 42%; aspect-ratio: 1 / 1; right: 0; top: 36%; }
.ap-sm2 { width: 38%; aspect-ratio: 1 / 1; right: 10%; bottom: 0; }

.about-text .h2 { margin-bottom: 24px; }
.about-text > p { margin-bottom: 16px; max-width: 34em; font-size: 1.03rem; }
.sig {
  font-family: var(--f-head);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--amber);
  margin: 14px 0 20px;
}
.vk-link {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(180, 105, 30, .35);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.vk-link:hover { color: var(--honey); border-color: var(--honey); }

/* ── О воске ─────────────────────────────────── */
.wax { padding: 96px 0; background: var(--bg2); transition: background .5s var(--ease); }
.wax-in {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: start;
}
.wax-text .h2 { margin-bottom: 24px; }
.wax-text > p { margin-bottom: 16px; max-width: 34em; font-size: 1.03rem; }
.mono-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin-top: 26px;
  font-weight: 700;
  font-size: .9rem;
  color: var(--amber);
}
.mono-list li { padding-right: 22px; }
.mono-list li + li { border-left: 1px solid var(--line); padding-left: 22px; }
.wax-fig { margin-top: 40px; }
.wax-fig img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.wax-fig:hover img { transform: scale(1.025); box-shadow: var(--shadow-soft); }
.wax-fig figcaption {
  font-family: var(--f-head);
  font-style: italic;
  font-size: .92rem;
  color: var(--text3);
  padding-top: 12px;
}

/* ── Уход / Шаги ─────────────────────────────── */
.care { padding: 90px 0; }
.how { padding: 90px 0; background: var(--bg2); transition: background .5s var(--ease); }

/* ── Отзывы ──────────────────────────────────── */
.reviews { padding: 96px 0; }
.rev-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.rev-score-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 22px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}
.rev-big-num {
  font-family: var(--f-head);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--amber);
}
.rev-stars-box { display: flex; flex-direction: column; gap: 2px; }
.rev-stars { color: #E8A23D; font-size: 1.15rem; letter-spacing: 2px; }
.rev-source { font-size: .8rem; color: var(--text3); font-weight: 600; }

.rev-grid { align-items: stretch; }
.rev {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(36, 24, 17, .06);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.rev:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 162, 61, .4);
  box-shadow: 0 20px 42px rgba(180, 105, 30, .14);
}
.rev-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.rev-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rev-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--honey-soft), var(--amber));
  color: #241811;
  font-weight: 800;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rev-author strong { display: block; font-size: 1rem; color: var(--text); line-height: 1.2; }
.rev-author time { font-size: .8rem; color: var(--text3); }

.rev blockquote {
  font-family: var(--f-head);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 18px;
}
.rev-reply {
  background: rgba(232, 162, 61, .1);
  border-left: 3px solid var(--honey);
  padding: 10px 14px;
  border-radius: 0 12px 12px 0;
  font-size: .88rem;
  margin-bottom: 16px;
  color: var(--text2);
}
.rev-reply strong { color: var(--amber); }
.rev-meta {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text3);
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.rev-cta {
  text-align: center;
  border: 2px dashed rgba(232, 162, 61, .4);
  background: transparent;
  justify-content: center;
}
.rev-cta-inner { margin: auto 0; }
.rev-cta-icon { font-size: 2.2rem; display: block; margin-bottom: 12px; }
.rev-cta h3 { margin-bottom: 10px; font-size: 1.35rem; }
.rev-cta p { font-size: .95rem; margin-bottom: 22px; color: var(--text2); }

/* ── Вопросы (FAQ) ───────────────────────────── */
.faq { padding: 96px 0 80px; }
.faq-list { max-width: 780px; margin-top: 40px; }
.faq-list details {
  border-bottom: 1px solid var(--line);
  border-radius: 12px;
  transition: background .25s var(--ease);
}
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list details:hover { background: var(--surface); }
.faq-list details[open] { background: var(--bg2); }

.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 21px 16px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  user-select: none;
  transition: color .2s var(--ease);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--amber); }
.faq-list summary::after {
  content: "+";
  font-family: var(--f-head);
  color: var(--amber);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform .35s var(--ease);
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

/* Плавный аккордеон через CSS Grid */
.faq-drawer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .38s cubic-bezier(0.16, 1, 0.3, 1);
}
details[open] .faq-drawer {
  grid-template-rows: 1fr;
}
.faq-inner { overflow: hidden; }
.fa { padding: 0 16px 20px; color: var(--text2); max-width: 64ch; font-size: 1rem; }

/* ── Календарь праздников ────────────────────── */
.cal { padding: 60px 0; border-top: 1px solid var(--line); }
.cal-label {
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 24px;
}
.cal-card {
  min-height: 132px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cal-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cal-card h3 { margin-bottom: 7px; }

/* ── Заявка и Отмена ─────────────────────────── */
.order {
  position: relative;
  padding: 110px 0;
  background: radial-gradient(ellipse 85% 100% at 18% 0%, #4A3018 0%, var(--night-3) 64%);
  color: #F5EBD8;
  overflow: hidden;
}
.order-glow {
  position: absolute;
  left: 4%;
  bottom: -10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(232, 162, 61, .28) 0%, transparent 68%);
  pointer-events: none;
}
.order-in {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: start;
}
.od-form .h2 { color: #F5EBD8; margin-bottom: 10px; }
.od-sub { color: rgba(245, 235, 216, .75); margin-bottom: 30px; max-width: 30em; }

.form {
  background: #F8F0DF;
  color: #33241A;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 22px;
  padding: 34px;
  box-shadow: 0 30px 64px rgba(0, 0, 0, .42);
}
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: block; margin-bottom: 16px; }
.fld span { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; color: #65503B; }
.fld input, .fld select, .fld textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: #33241A;
  background: #fff;
  border: 2px solid rgba(51, 36, 26, .14);
  border-radius: 14px;
  padding: 12px 15px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.fld textarea { resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus {
  outline: none;
  border-color: var(--honey);
  box-shadow: 0 0 0 4px rgba(232, 162, 61, .2);
}
.fld input.is-invalid { border-color: #C0392B; }

/* Пульсация при выборе товара из каталога */
@keyframes field-highlight {
  0%   { box-shadow: 0 0 0 0 rgba(232, 162, 61, .75); border-color: var(--honey); }
  60%  { box-shadow: 0 0 0 12px rgba(232, 162, 61, 0); border-color: var(--honey); }
  100% { box-shadow: 0 0 0 0 rgba(232, 162, 61, 0); }
}
.field-pulse {
  animation: field-highlight 1.2s ease-out;
}

.order-switch {
  text-align: center;
  margin-top: 18px;
  font-size: 0.88rem;
  color: #65503B;
}
.btn-link {
  background: none;
  border: none;
  color: var(--amber);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  padding: 0 4px;
  font-family: inherit;
}
.btn-link:hover { color: var(--honey); }

.order-tag-box {
  display: inline-block;
  background: rgba(232, 162, 61, 0.15);
  border: 1px solid var(--honey);
  color: #241811;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.order-tag-box strong { color: var(--amber); font-size: 1.15rem; }

.f-hint { font-size: .8rem; color: #93795F; margin-top: 12px; }
.form-error {
  margin: 12px 0 0;
  color: #A6372A;
  font-size: .84rem;
  font-weight: 700;
  animation: error-in .28s var(--ease);
}
.form-error[hidden] { display: none; }
@keyframes error-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

.direct { text-align: center; padding: 26px 0 8px; }
.ok-badge {
  width: 58px; height: 58px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: #F8F0DF;
  background: linear-gradient(180deg, var(--honey-soft), var(--honey));
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.direct h3 { font-size: 1.4rem; margin-bottom: 10px; }
.direct p { color: #65503B; max-width: 42ch; margin: 0 auto 18px; font-size: .95rem; }
.direct-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.direct .msg-copy {
  font-size: .84rem;
  color: #93795F;
  text-align: left;
  border-top: 1px solid rgba(180, 105, 30, .25);
  margin-top: 20px;
  padding-top: 14px;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

/* ── Контакты ────────────────────────────────── */
.od-aside {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(245, 235, 216, .14);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025));
  box-shadow: 0 24px 52px rgba(0, 0, 0, .22);
}
.od-aside::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  top: -110px;
  right: -55px;
  border-radius: 50%;
  background: rgba(232, 162, 61, .16);
  filter: blur(2px);
  pointer-events: none;
}
.od-aside h3 { color: #F5EBD8; font-size: 1.45rem; margin-bottom: 12px; }
.aside-hint { position: relative; color: rgba(245, 235, 216, .65); font-size: .95rem; margin-bottom: 18px; }
.crow {
  position: relative;
  display: block;
  text-decoration: none;
  color: #F5EBD8;
  margin-top: 12px;
  padding: 15px 16px;
  border: 1px solid rgba(245, 235, 216, .13);
  border-radius: 16px;
  background: rgba(255, 255, 255, .035);
  transition: opacity .2s var(--ease), transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
a.crow:hover { opacity: 1; transform: translateX(5px); border-color: rgba(232, 162, 61, .6); background: rgba(232, 162, 61, .1); }
.crow strong { display: block; font-weight: 700; font-size: 1.02rem; }
.crow small { display: block; color: rgba(245, 235, 216, .55); font-size: .84rem; margin-top: 4px; }
.crow-static, .crow-static:hover { opacity: 1; transform: none; }
.crow[hidden] { display: none; }

/* ── Подвал ──────────────────────────────────── */
.foot {
  background: var(--night-3);
  color: rgba(245, 235, 216, .6);
  padding: 28px 0;
  font-size: .92rem;
}
.foot-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
}
.foot-brand { font-family: var(--f-head); font-weight: 700; color: #F5EBD8; font-size: 1.05rem; }
.foot-tag { font-size: .85rem; }
.foot-up { color: var(--honey-soft); text-decoration: none; transition: color .2s var(--ease); }
.foot-up:hover { color: #F5EBD8; }

/* ── Плавная смена темы ──────────────────────── */
html.theme-anim *,
html.theme-anim *::before,
html.theme-anim *::after {
  transition:
    background-color .5s var(--ease),
    color .5s var(--ease),
    border-color .5s var(--ease),
    fill .5s var(--ease),
    stroke .5s var(--ease),
    box-shadow .5s var(--ease) !important;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

/* ── Появление при скролле ───────────────────── */
.rv { opacity: 0; transform: translateY(22px) scale(.99); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.rv.on { opacity: 1; transform: none; }
.cell { transition-delay: var(--stagger, 0ms); }
.cols4 > .rv:nth-child(2), .cols3 > .rv:nth-child(2) { transition-delay: .09s; }
.cols4 > .rv:nth-child(3), .cols3 > .rv:nth-child(3) { transition-delay: .18s; }
.cols4 > .rv:nth-child(4) { transition-delay: .27s; }
.nums-in > .rv:nth-child(2) { transition-delay: .09s; }
.nums-in > .rv:nth-child(3) { transition-delay: .18s; }
.nums-in > .rv:nth-child(4) { transition-delay: .27s; }

/* ── Полоса прогресса и кнопка наверх ────────── */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 200;
  background: linear-gradient(90deg, var(--honey), var(--honey-soft));
  border-radius: 0 3px 3px 0;
  pointer-events: none;
}
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #241811;
  background: linear-gradient(180deg, var(--honey-soft), var(--honey));
  box-shadow: 0 14px 30px rgba(180, 105, 30, .4);
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease), box-shadow .3s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { box-shadow: 0 18px 38px rgba(180, 105, 30, .5); transform: translateY(-3px); }
.to-top svg { width: 24px; height: 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .rv { opacity: 1; transform: none; }
  .hero-copy > *, .hero-flame { opacity: 1 !important; transform: none !important; }
  .faq-drawer { display: block !important; }
  .cell-hex::after { animation: none; opacity: 0; }
}

/* ═══════════ Адаптив ═══════════ */
@media (max-width: 1020px) {
  .cols4 { grid-template-columns: repeat(2, 1fr); }
  .cols3 { grid-template-columns: repeat(2, 1fr); }
  .nums-in { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .hero-in { grid-template-columns: 1fr; padding: 66px 0 76px; }
  .hero-flame { order: -1; }
  .hero-hex { width: 236px; }
  .hero-glow { left: 50%; right: auto; top: 2%; margin-left: -260px; }
  .about-in, .wax-in, .order-in { grid-template-columns: 1fr; gap: 52px; }
  .about-photos { max-width: 470px; margin: 0 auto; }
  .wax-fig { margin-top: 0; max-width: 470px; }
}

@media (max-width: 820px) {
  .top { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    z-index: 90;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    background: var(--night);
    border-bottom: 1px solid rgba(245, 235, 216, .1);
    padding: 10px 5% 18px;
    display: flex;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition-delay: 0s; }
  body.menu-open { overflow: hidden; }
  .nav a { padding: 13px 0; border-bottom: 1px solid rgba(245, 235, 216, .09); }
  .burger { display: flex; }
  .rev-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  :root { --hexw: clamp(120px, 38vw, 170px); }
  body { font-size: 16.5px; }
  .cols4, .cols3 { grid-template-columns: 1fr; gap: 26px; }
  .cell-shift { margin-top: 0; }
  .cell:hover { background: transparent; border-color: transparent; box-shadow: none; }
  .cell:hover .cell-hex { transform: none; filter: none; }
  .cell:hover .cell-hex img { transform: none; }
  .cat-head { padding-left: 0; }
  .cat-head::before { display: none; }
  .f-row { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .hero-in { padding: 54px 0 64px; }
  .hero-lead { font-size: 1.05rem; }
  .brand-img { width: 40px; height: 40px; }
  .brand-name { font-size: 1.18rem; }
  .top-in { gap: 10px; }
  .to-top { right: 16px; bottom: 16px; width: 48px; height: 48px; }
  .about, .wax, .how, .care, .reviews, .faq { padding: 64px 0; }
  .catalog { padding: 64px 0; }
  .order { padding: 72px 0; }
  .quote { padding: 72px 0 64px; }
  .q-text::before { font-size: 4rem; top: -.5em; }
  .about-photos { min-height: 0; display: flex; flex-wrap: wrap; gap: 12px; }
  .about-photos figure { position: static; }
  .ap-main { width: 100%; aspect-ratio: 4 / 5; }
  .ap-sm, .ap-sm2 { width: calc(50% - 6px); aspect-ratio: 1 / 1; }
  .cell-name { font-size: .86rem; }
  .cell-price { font-size: .78rem; padding: 3px 10px; }
  .strip { justify-content: flex-start; gap: 6px 16px; }
  .hero-glow { opacity: .55; }
}

@media (hover: none) {
  .btn:hover, .theme-btn:hover, .filter:hover, .fcol:hover, .num:hover, .rev:hover, .cal-card:hover, .to-top:hover { transform: none; }
  .cell:hover .cell-hex img, .about-photos figure:hover img, .wax-fig:hover img { transform: none; }
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.f-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 18px;
  color: #65503B;
  font-size: .86rem;
  line-height: 1.45;
  cursor: pointer;
}
.f-consent input { width: 18px; height: 18px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--honey); }
.f-consent input.is-invalid { outline: 2px solid #C0392B; outline-offset: 2px; }
.f-consent a { color: #8B5A20; text-decoration: underline; text-underline-offset: 2px; }

/* ── Модалка товара ──────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 18px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(23,17,12,.65); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal-card {
  position: relative; width: min(880px, 100%); max-height: 90vh; overflow: auto;
  display: grid; grid-template-columns: .95fr 1.05fr;
  background: var(--card); color: var(--text);
  border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow);
  animation: modal-in .35s var(--ease);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-x {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font-size: 1rem; cursor: pointer;
}
.modal-x:hover { border-color: var(--honey); color: var(--amber); }
.modal-media { position: relative; background: var(--bg2); min-height: 320px; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-badge {
  position: absolute; top: 16px; left: 16px;
  font-size: .75rem; font-weight: 800; letter-spacing: .08em;
  padding: 6px 14px; border-radius: 999px;
  background: linear-gradient(135deg,#FAD792,#E8A23D); color: #241811;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.modal-badge.is-new { background: #241811; color: var(--honey-soft); border: 1px solid var(--honey); }
.modal-body { padding: clamp(22px, 4vw, 36px); display: flex; flex-direction: column; }
.modal-cat { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text3); margin-bottom: 8px; }
.modal-body h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 10px; }
.modal-desc { color: var(--text2); margin-bottom: 16px; }
.modal-perks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.modal-perks li { font-size: .82rem; font-weight: 700; color: var(--amber); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; background: var(--bg); }
.modal-foot { display: flex; align-items: center; gap: 16px; margin-top: auto; }
.modal-price { font-family: var(--f-head); font-size: 1.8rem; font-weight: 700; color: var(--text); }
.modal-hint { font-size: .82rem; color: var(--text3); margin-top: 12px; }
@media (max-width: 720px) {
  .modal-card { grid-template-columns: 1fr; }
  .modal-media { min-height: 0; aspect-ratio: 4 / 3; }
}