/* enjoyment.kz — общий стиль
   Тёплая, спокойная палитра: сливочный фон, глубокий сливовый, ягодный акцент.
   Задача — чтобы человеку было не стыдно и не тревожно: мягко, чисто, без пошлости. */

:root {
  --bg: #faf5f2;
  --bg-2: #f3e9e4;
  --surface: #ffffff;
  --ink: #1f1418;
  --ink-2: #44323a;
  --muted: #7f6a72;
  --line: #ecdfe2;
  --line-2: #dccbd0;
  --plum: #1b0c13;
  --plum-2: #33101f;
  --plum-3: #5a1731;
  --berry: #b8174a;
  --berry-2: #960f3b;
  --berry-soft: #f9e1e8;
  --blush: #f6e7ea;
  --gold: #d9a77c;
  --gold-soft: #f4e6d8;
  --lace: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Ccircle cx='36' cy='36' r='11'/%3E%3Ccircle cx='36' cy='36' r='4'/%3E%3Cpath d='M36 25c5-9 14-9 18-2M36 25c-5-9-14-9-18-2M47 36c9 5 9 14 2 18M25 36c-9 5-9 14-2 18M36 47c5 9 14 9 18 2M36 47c-5 9-14 9-18 2'/%3E%3Ccircle cx='0' cy='0' r='11'/%3E%3Ccircle cx='72' cy='0' r='11'/%3E%3Ccircle cx='0' cy='72' r='11'/%3E%3Ccircle cx='72' cy='72' r='11'/%3E%3C/g%3E%3C/svg%3E");
  --ok: #2e8b61;
  --warn: #b7791f;
  --danger: #c0392b;

  --font-display: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --r-s: 10px;
  --r: 16px;
  --r-l: 24px;
  --r-xl: 32px;
  --shadow-s: 0 1px 2px rgba(52, 25, 58, .06), 0 2px 8px rgba(52, 25, 58, .05);
  --shadow: 0 6px 24px rgba(52, 25, 58, .09);
  --shadow-l: 0 20px 60px rgba(52, 25, 58, .18);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --wrap: 1240px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--berry-soft); color: var(--plum); }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.display { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--berry);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }

/* ---------- Кнопки ---------- */
.btn {
  --b-bg: var(--berry); --b-ink: #fff; --b-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 1.5px solid var(--b-bd);
  background: var(--b-bg); color: var(--b-ink);
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s, border-color .2s;
  white-space: nowrap; user-select: none;
}
.btn:hover { background: var(--berry-2); box-shadow: 0 8px 22px rgba(194, 48, 106, .28); }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--ghost { --b-bg: transparent; --b-ink: var(--ink); --b-bd: var(--line-2); }
.btn--ghost:hover { background: var(--surface); border-color: var(--ink); box-shadow: none; }
.btn--light { --b-bg: #fff; --b-ink: var(--plum); }
.btn--light:hover { background: var(--blush); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.btn--outline-light { --b-bg: transparent; --b-ink: #fff; --b-bd: rgba(255,255,255,.45); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; box-shadow: none; }
.btn--wa { --b-bg: #1faa59; }
.btn--wa:hover { background: #178a48; box-shadow: 0 8px 22px rgba(31,170,89,.3); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 16px; }
.btn--block { width: 100%; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent;
  transition: background .2s;
}
.icon-btn:hover { background: var(--blush); }
.icon-btn svg { width: 22px; height: 22px; }
.badge-count {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--berry); color: #fff;
  font-size: 11px; font-weight: 800; line-height: 18px; text-align: center;
  transform: scale(0); transition: transform .3s var(--ease);
}
.badge-count.is-on { transform: scale(1); }
.badge-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 0%{transform:scale(1)} 40%{transform:scale(1.45)} 100%{transform:scale(1)} }

/* ---------- Шапка ---------- */
.topbar {
  background: var(--plum); color: #f1dfe8; font-size: 13px;
}
.topbar .wrap { display: flex; align-items: center; justify-content: center; gap: 22px; min-height: 36px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar__item svg { width: 15px; height: 15px; opacity: .85; }
.topbar__item:nth-child(n+2) { display: none; }
@media (min-width: 760px) { .topbar__item:nth-child(n+2) { display: inline-flex; } }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 244, .88);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(52,25,58,.05); }
.header .wrap { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo__mark { width: 36px; height: 36px; }
.logo__text { font-family: var(--font-display); font-size: 27px; font-weight: 600; letter-spacing: -.01em; line-height: 1; color: var(--plum); }
.logo__text i { font-style: normal; color: var(--berry); }
.nav { display: none; gap: 4px; margin-left: 24px; }
.nav a {
  position: relative; padding: 10px 14px; border-radius: 999px;
  font-weight: 600; font-size: 15px; color: var(--ink-2); transition: color .2s, background .2s;
}
.nav a:hover { color: var(--plum); background: var(--blush); }
.nav a.is-active { color: var(--berry); }
.header__search {
  display: none; flex: 1; max-width: 380px; margin-left: auto;
  align-items: center; gap: 10px; height: 44px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface);
  color: var(--muted); font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.header__search:hover { border-color: var(--line-2); box-shadow: var(--shadow-s); }
.header__search svg { width: 18px; height: 18px; }
.header__actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.header__search + .header__actions { margin-left: 8px; }
.burger { display: inline-grid; }
@media (min-width: 1024px) {
  .nav { display: flex; }
  .header__search { display: flex; }
  .burger, .js-search-mobile { display: none !important; }
}

/* Мобильное меню */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 90; background: rgba(34, 16, 38, .45);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; bottom: 0; z-index: 100; width: min(420px, 92vw);
  background: var(--bg); display: flex; flex-direction: column;
  transition: transform .45s var(--ease); box-shadow: var(--shadow-l);
}
.drawer--left { left: 0; transform: translateX(-102%); }
.drawer--right { right: 0; transform: translateX(102%); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 22px; border-bottom: 1px solid var(--line); }
.drawer__title { font-weight: 800; font-size: 18px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 22px; overscroll-behavior: contain; }
.drawer__foot { padding: 16px 22px 22px; border-top: 1px solid var(--line); background: var(--surface); }
.mnav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 17px; }
.mnav a svg { width: 18px; height: 18px; color: var(--muted); }
.mnav__cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.mnav__cats a { padding: 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }

/* ---------- Нижняя мобильная панель ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.tabbar a, .tabbar button {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 0; border: 0; background: none; font-size: 11px; font-weight: 600; color: var(--muted);
}
.tabbar svg { width: 23px; height: 23px; }
.tabbar .is-active { color: var(--berry); }
.tabbar .badge-count { top: 0; right: calc(50% - 22px); }
body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .tabbar { display: none; } body { padding-bottom: 0; } }

/* ---------- Общие секции ---------- */
.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }
.section--alt { background: var(--bg-2); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 4.4vw, 48px); margin: 6px 0 0; letter-spacing: -.01em; }
.section__sub { color: var(--muted); max-width: 560px; margin: 8px 0 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--berry); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
@media (min-width: 900px) { .section { padding: 96px 0; } }

/* ---------- Главная: первый экран ---------- */
/* Будуар: вино-чёрный бархат, свет свечи, шёлк и кружево. Чувственно, но без откровенных картинок. */
.hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background:
    radial-gradient(640px 520px at 76% 42%, rgba(184, 23, 74, .5), transparent 62%),
    radial-gradient(520px 420px at 96% 96%, rgba(201, 154, 110, .22), transparent 60%),
    radial-gradient(900px 620px at -10% -10%, rgba(90, 23, 49, .75), transparent 60%),
    #12070c;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .06;
  background-image: var(--lace); background-size: 72px 72px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 40% 50%, transparent 50%, rgba(0, 0, 0, .55));
}
.hero .wrap { position: relative; display: grid; gap: 8px; padding-top: 48px; padding-bottom: 40px; }
.hero__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(44px, 7.4vw, 88px); line-height: 1; margin: 18px 0 22px; letter-spacing: -.015em; }
.hero__title em { font-style: italic; font-weight: 500; color: #f2a7bd; text-shadow: 0 0 40px rgba(226, 50, 95, .45); }
.hero__lead { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,.78); max-width: 520px; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: 14px; color: rgba(255,255,255,.72); }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .i { width: 18px; height: 18px; color: var(--gold); }
.hero .eyebrow { color: var(--gold); }
.btn--glow { box-shadow: 0 10px 34px rgba(214, 40, 90, .45); }
.btn--glow:hover { box-shadow: 0 14px 44px rgba(214, 40, 90, .6); }
.hero__art { position: relative; min-height: 340px; }
.hero__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero__pulse { transform-origin: 270px 320px; animation: candle 5s ease-in-out infinite; }
.hero-line { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 3.2s cubic-bezier(.45, 0, .2, 1) .2s forwards; }
.hero-line--2 { animation-delay: .5s; }
.hero-line--3 { animation-delay: 1.6s; animation-duration: 2.4s; }
.hero-silk { transform-origin: 300px 480px; animation: silk 9s ease-in-out infinite; }
.hero-petal { transform-box: fill-box; transform-origin: center; animation: petal 11s ease-in-out var(--d) infinite; }
.hero-spark { animation: spark 3.6s ease-in-out var(--d) infinite; }
.hero__card {
  position: absolute; left: 0; bottom: 6%; padding: 14px 16px; border-radius: var(--r);
  background: rgba(255,255,255,.08); border: 1px solid rgba(246,220,196,.22);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: flex; align-items: center; gap: 12px; font-size: 13.5px; max-width: 250px; color: rgba(255,255,255,.8);
  animation: float 10s ease-in-out -5s infinite;
}
.hero__card b { display: block; font-size: 14.5px; color: #fff; }
.hero__card .i { width: 30px; height: 30px; flex: none; color: var(--gold); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes candle { 0%, 100% { opacity: .85; transform: scale(1); } 30% { opacity: 1; transform: scale(1.04); } 60% { opacity: .78; transform: scale(.98); } }
@keyframes silk { 0%, 100% { transform: translateY(0) skewY(0deg); } 50% { transform: translateY(-8px) skewY(-1.5deg); } }
@keyframes petal { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 6px -14px; rotate: 18deg; } }
@keyframes spark { 0%, 100% { opacity: .15; } 50% { opacity: .9; } }
@keyframes float { 0%,100%{ transform: translateY(0) } 50% { transform: translateY(-12px) } }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 30px; padding-top: 80px; padding-bottom: 90px; }
  .hero__art { min-height: 540px; }
}
@media (max-width: 899px) {
  .hero__art { margin: 0 -10px; }
  .hero__card { display: none; }
}

/* ---------- Категории ---------- */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cat {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 150px; padding: 18px; border-radius: var(--r-l); color: #fff;
  background:
    radial-gradient(130% 95% at 100% 0%, var(--c-glow, rgba(184,23,74,.55)), transparent 62%),
    linear-gradient(160deg, #2b1019, #12070c);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cat::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .05; background-image: var(--lace); background-size: 56px 56px; }
.cat:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(18,7,12,.35), inset 0 0 0 1px rgba(217,167,124,.45); }
.cat__name { font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.05; letter-spacing: -.005em; }
.cat__count { margin-top: 4px; font-size: 12.5px; color: rgba(255,255,255,.58); letter-spacing: .02em; }
.cat__icon { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; color: var(--gold); stroke-width: 1.2; transition: transform .5s var(--ease), color .3s; }
.cat:hover .cat__icon { transform: scale(1.12) rotate(-6deg); color: #f2a7bd; }
.cat--accent { background: radial-gradient(120% 90% at 100% 0%, rgba(246,220,196,.35), transparent 60%), linear-gradient(140deg, #d42a5b, #5a1731); }
.cat--accent .cat__icon { color: #fff; }
@media (min-width: 700px) { .cats { grid-template-columns: repeat(3, 1fr); } .cat { min-height: 176px; padding: 22px; } .cat__name { font-size: 25px; } .cat__icon { width: 54px; height: 54px; } }
@media (min-width: 1100px) { .cats { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

/* ---------- Карточка товара в сетке ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.pcard {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pcard__media { position: relative; aspect-ratio: 1; background: #fff; overflow: hidden; }
.pcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.pcard__media img + img { opacity: 0; }
@media (hover: hover) {
  .pcard:hover .pcard__media img + img { opacity: 1; }
  .pcard:hover .pcard__media img:only-of-type { transform: scale(1.05); }
}
.pcard__badges { position: absolute; left: 10px; top: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 2; }
.tag {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .02em; line-height: 1.4;
  background: #fff; color: var(--plum);
}
.tag--new { background: var(--plum); color: #fff; }
.tag--hit { background: var(--gold); color: #3a2a10; }
.tag--sale { background: var(--berry); color: #fff; }
.tag--last { background: #fff3e0; color: #8a4b00; }
.tag--out { background: #ececf0; color: #5a5a66; }
.pcard__fav {
  position: absolute; right: 8px; top: 8px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: rgba(255,255,255,.9);
  color: var(--ink-2); transition: transform .2s var(--ease), color .2s;
}
.pcard__fav svg { width: 20px; height: 20px; }
.pcard__fav:hover { transform: scale(1.1); color: var(--berry); }
.pcard__fav.is-on { color: var(--berry); }
.pcard__fav.is-on svg { fill: currentColor; }
.pcard__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 12px 12px 14px; }
.pcard__cat { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pcard__name {
  font-size: 14.5px; font-weight: 600; line-height: 1.35; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em;
}
.pcard__name::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard__swatches { display: flex; gap: 5px; }
.pcard__swatches i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
.pcard__flip { display: inline-flex; align-self: flex-start; width: fit-content; align-items: center; gap: 6px; margin: 6px 0 0; padding: 3px 8px 3px 4px; border-radius: 999px; background: #eaf3ff; border: 1px solid #cfe0f7; font-size: 12px; font-weight: 600; color: #12508f; white-space: nowrap; }
.pcard__flip i { display: grid; place-items: center; padding: 0 5px; height: 16px; border-radius: 5px; background: #1a6fe0; color: #fff; font-style: normal; font-size: 10px; font-weight: 900; letter-spacing: -.02em; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.price { font-weight: 800; font-size: 17px; color: var(--plum); white-space: nowrap; }
.price s { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.pcard__add {
  position: relative; z-index: 2; flex: none;
  width: 42px; height: 42px; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: var(--berry-soft); color: var(--berry);
  transition: background .2s, color .2s, transform .2s var(--ease);
}
.pcard__add svg { width: 20px; height: 20px; }
.pcard__add:hover { background: var(--berry); color: #fff; }
.pcard__add:active { transform: scale(.9); }
.pcard__add.is-in { background: var(--berry); color: #fff; }
@media (min-width: 700px) { .pcard__body { padding: 14px 16px 16px; } .pcard__name { font-size: 15px; } .price { font-size: 18px; } }

/* Скромный режим: фото размыты, пока не наведёшь */
html.is-discreet .pcard__media img,
html.is-discreet .gallery__main img,
html.is-discreet .gallery__thumbs img,
html.is-discreet .cart-item__img img,
html.is-discreet .search-res img { filter: blur(18px) saturate(.6); transform: scale(1.1); }
html.is-discreet .pcard__media::after,
html.is-discreet .gallery__main::after {
  content: "Фото скрыто · нажмите, чтобы увидеть"; position: absolute; inset: 0; z-index: 1;
  display: grid; place-items: center; padding: 16px; text-align: center;
  font-size: 12.5px; font-weight: 700; color: var(--plum);
  pointer-events: none;
}
html.is-discreet .is-revealed img { filter: none !important; transform: none !important; }
html.is-discreet .is-revealed::after { display: none !important; }

/* ---------- Полоса преимуществ ---------- */
.perks { display: grid; grid-template-columns: 1fr; gap: 14px; }
.perk { display: flex; gap: 16px; padding: 22px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); }
.perk__icon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--berry-soft); color: var(--berry); }
.perk__icon svg { width: 26px; height: 26px; }
.perk h3 { font-size: 17px; margin-bottom: 4px; }
.perk p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (min-width: 700px) { .perks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .perks { grid-template-columns: repeat(4, 1fr); } .perk { flex-direction: column; } }

/* Для неё / для него / для пар */
.moods { display: grid; gap: 14px; }
.mood {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 250px; padding: 26px; border-radius: var(--r-xl); color: #fff;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.mood::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--m-bg); transition: transform .8s var(--ease); }
.mood::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .06; background-image: var(--lace); background-size: 64px 64px; }
.mood:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(18,7,12,.3); }
.mood:hover::before { transform: scale(1.06); }
.mood__art { position: absolute; z-index: -1; top: 6px; right: 6px; width: 170px; height: 170px; color: rgba(246,220,196,.28); stroke-width: .6; transition: transform .8s var(--ease), color .5s; }
.mood:hover .mood__art { transform: scale(1.08) rotate(-4deg); color: rgba(246,220,196,.5); }
.mood__kicker { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.mood h3 { font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: 40px; margin: 4px 0 6px; }
.mood p { margin: 0 0 16px; color: rgba(255,255,255,.8); max-width: 320px; }
.mood .link-arrow { color: #fff; }
.mood--her { --m-bg: radial-gradient(120% 80% at 100% 0%, rgba(240,138,166,.45), transparent 60%), linear-gradient(150deg, #b8174a, #3d0a1e); }
.mood--him { --m-bg: radial-gradient(120% 80% at 100% 0%, rgba(201,154,110,.35), transparent 60%), linear-gradient(150deg, #2c1a2e, #0e060a); }
.mood--pair { --m-bg: radial-gradient(120% 80% at 100% 0%, rgba(226,50,95,.35), transparent 60%), linear-gradient(150deg, #7a2f2a, #1d0910); }
@media (min-width: 900px) { .moods { grid-template-columns: repeat(3, 1fr); } .mood { min-height: 340px; } .mood__art { width: 220px; height: 220px; } }

/* Приватность — шаги */
.privacy-band { background: var(--plum); color: #fff; border-radius: var(--r-xl); overflow: hidden; position: relative; }
.privacy-band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(194,48,106,.55), transparent 65%); }
.privacy-band__in { position: relative; display: grid; gap: 30px; padding: 40px 24px; }
.privacy-band h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 4.4vw, 50px); }
.privacy-band p { color: rgba(255,255,255,.78); }
.steps { display: grid; gap: 14px; counter-reset: s; }
.step { position: relative; padding: 18px 18px 18px 64px; border-radius: var(--r); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--berry); font-weight: 800; font-size: 14px; }
.step b { display: block; margin-bottom: 2px; }
.step span { color: rgba(255,255,255,.72); font-size: 14.5px; }
@media (min-width: 900px) { .privacy-band__in { grid-template-columns: .9fr 1.1fr; padding: 64px; align-items: center; } .steps { grid-template-columns: 1fr 1fr; } }

/* Горизонтальная лента товаров */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 16px; margin: 0 -20px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 700px) { .rail { grid-auto-columns: 31%; gap: 18px; } }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc(25% - 17px); gap: 22px; padding-left: 0; padding-right: 0; margin: 0; } }
.rail-nav { display: none; gap: 8px; }
.rail-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--surface); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.rail-nav button:hover { border-color: var(--ink); }
.rail-nav svg { width: 18px; height: 18px; }
@media (min-width: 1100px) { .rail-nav { display: flex; } }

/* ---------- Хлебные крошки, заголовок страницы ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--muted); padding: 18px 0 0; }
.crumbs a:hover { color: var(--berry); }
.crumbs span[aria-hidden] { opacity: .5; }
.page-head { padding: 22px 0 26px; }
.page-head h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(36px, 5vw, 58px); margin: 0; letter-spacing: -.01em; }
.page-head p { color: var(--muted); margin: 8px 0 0; max-width: 640px; }

/* ---------- Каталог ---------- */
.catalog { display: grid; gap: 24px; padding-bottom: 80px; }
@media (min-width: 1024px) { .catalog { grid-template-columns: 270px 1fr; gap: 36px; } }
.filters { display: none; }
@media (min-width: 1024px) { .filters { display: block; position: sticky; top: calc(var(--header-h) + 16px); align-self: start; max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; } }
.fgroup { padding: 18px 0; border-bottom: 1px solid var(--line); }
.fgroup:first-child { padding-top: 0; }
.fgroup__title { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.fopt { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 15px; }
.fopt input { position: absolute; opacity: 0; pointer-events: none; }
.fopt__box { flex: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2); background: #fff; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.fopt__box svg { width: 14px; height: 14px; color: #fff; opacity: 0; transition: opacity .2s; }
.fopt input[type=radio] + .fopt__box { border-radius: 50%; }
.fopt input:checked + .fopt__box { background: var(--berry); border-color: var(--berry); }
.fopt input:checked + .fopt__box svg { opacity: 1; }
.fopt input:focus-visible + .fopt__box { outline: 2px solid var(--berry); outline-offset: 2px; }
.fopt__n { margin-left: auto; font-size: 13px; color: var(--muted); }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.field-mini { display: flex; align-items: center; height: 42px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.field-mini span { color: var(--muted); font-size: 13px; margin-right: 6px; }
.field-mini input { width: 100%; border: 0; outline: 0; background: none; font-size: 15px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar__count { color: var(--muted); font-size: 14.5px; }
.toolbar__right { display: flex; gap: 8px; align-items: center; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; height: 42px; padding: 0 38px 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 14.5px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.btn-filter { display: inline-flex; }
@media (min-width: 1024px) { .btn-filter { display: none; } }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 18px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px;
  border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-weight: 600; font-size: 14px; white-space: nowrap; transition: all .2s;
}
.chip:hover { border-color: var(--line-2); }
.chip.is-on { background: var(--plum); border-color: var(--plum); color: #fff; }
.chip svg { width: 14px; height: 14px; }
.chip--x { background: var(--berry-soft); border-color: transparent; color: var(--berry-2); }
.empty { text-align: center; padding: 60px 20px; border-radius: var(--r-l); background: var(--surface); border: 1px dashed var(--line-2); }
.empty svg { width: 64px; height: 64px; color: var(--line-2); margin: 0 auto 12px; }
.empty h3 { font-size: 20px; }
.empty p { color: var(--muted); }

/* ---------- Страница товара ---------- */
.product { display: grid; gap: 28px; padding: 18px 0 40px; }
@media (min-width: 960px) { .product { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; padding-top: 26px; } }
.gallery { position: relative; }
@media (min-width: 960px) { .gallery { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; } }
.gallery__main { position: relative; aspect-ratio: 1; border-radius: var(--r-l); overflow: hidden; background: #f4eff1; touch-action: pan-y; }
.gallery__track { display: flex; height: 100%; transition: transform .5s var(--ease); }
.gallery__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; background: #fff; cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.gallery__arrow { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; box-shadow: var(--shadow-s); opacity: 0; transition: opacity .25s; }
.gallery__arrow svg { width: 20px; height: 20px; }
.gallery__arrow--prev { left: 12px; } .gallery__arrow--next { right: 12px; }
.gallery__main:hover .gallery__arrow { opacity: 1; }
.gallery__dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 2; display: flex; justify-content: center; gap: 6px; }
.gallery__dots i { width: 7px; height: 7px; border-radius: 4px; background: rgba(255,255,255,.7); box-shadow: 0 0 0 1px rgba(0,0,0,.08); transition: width .3s var(--ease), background .3s; }
.gallery__dots i.is-on { width: 22px; background: var(--berry); }
.gallery__thumbs { display: none; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.gallery__thumbs button { position: relative; flex: none; width: 76px; height: 76px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: #f4eff1; opacity: .65; transition: opacity .2s, border-color .2s; }
.gallery__thumbs button.is-on { border-color: var(--berry); opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 700px) { .gallery__thumbs { display: flex; } .gallery__dots { display: none; } }

.pinfo__cat { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--berry); }
.pinfo h1 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.01em; margin: 10px 0 12px; }
.pinfo__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); }
.stock--ok { color: var(--ok); } .stock--low { color: var(--warn); } .stock--order { color: var(--muted); }
.stock--out { color: var(--muted); }
/* нет в наличии: цену показываем приглушённо, кнопки «в корзину» нет */
.price--out { color: var(--muted); }
.pcard__out { font-size: 12px; color: var(--muted); white-space: nowrap; }
.buybox__price--out b { color: var(--muted); }
.cart-item__out { display: block; margin-top: 2px; font-size: 12px; color: #a23c3c; }
.feature-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.fchip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.fchip svg { width: 16px; height: 16px; color: var(--berry); }
.buybox { padding: 22px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.buybox__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.buybox__price b { font-size: 34px; font-weight: 800; color: var(--plum); letter-spacing: -.01em; }
.buybox__price s { color: var(--muted); font-size: 17px; }
.buybox__note { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.variants { margin: 4px 0 18px; }
.variants__label { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.variants__label span { font-weight: 500; color: var(--muted); }
.variants__list { display: flex; flex-wrap: wrap; gap: 10px; }
.variant { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; transition: border-color .2s; }
.variant i { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(0,0,0,.1); }
.variant:hover { border-color: var(--line-2); }
.variant.is-on { border-color: var(--berry); box-shadow: 0 0 0 1px var(--berry); }
.buy-row { display: flex; gap: 10px; }
.qty { display: inline-flex; align-items: center; height: 56px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; flex: none; }
.qty button { width: 46px; height: 100%; border: 0; background: none; font-size: 22px; line-height: 1; color: var(--ink-2); border-radius: 999px; }
.qty button:hover { color: var(--berry); }
.qty input { width: 34px; border: 0; text-align: center; font-weight: 800; font-size: 16px; background: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 40px; } .qty--sm button { width: 36px; font-size: 18px; } .qty--sm input { width: 28px; font-size: 15px; }
.buy-row .btn { flex: 1; }
.buy-alt { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 10px; }
.fav-btn { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; transition: all .2s; }
.fav-btn svg { width: 22px; height: 22px; }
.fav-btn:hover, .fav-btn.is-on { color: var(--berry); border-color: var(--berry); }
.fav-btn.is-on svg { fill: currentColor; }
.assure { display: grid; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.assure div { display: flex; gap: 12px; font-size: 14px; }
.assure svg { flex: none; width: 22px; height: 22px; color: var(--berry); }
.assure b { display: block; font-size: 14.5px; }
.assure span { color: var(--muted); }

.tabs { margin-top: 30px; }
.tabs__nav { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs__nav button { position: relative; flex: none; padding: 12px 16px; border: 0; background: none; font-weight: 700; color: var(--muted); }
.tabs__nav button.is-on { color: var(--ink); }
.tabs__nav button.is-on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--berry); }
.tabs__panel { padding: 22px 2px 0; }
.tabs__panel[hidden] { display: none; }
.prose { color: var(--ink-2); font-size: 15.5px; }
.prose p { margin-bottom: .9em; }
.prose h2 { font-size: 22px; margin: 1.6em 0 .6em; color: var(--ink); }
.prose h3 { font-size: 18px; margin: 1.4em 0 .5em; color: var(--ink); }
.prose ul { list-style: none; margin: 0 0 1em; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: .4em; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--berry); opacity: .7; }
.prose ol { padding-left: 22px; }
.prose a { color: var(--berry); text-decoration: underline; text-underline-offset: 3px; }
.specs { width: 100%; border-collapse: collapse; font-size: 15px; }
.specs th, .specs td { padding: 11px 0; text-align: left; vertical-align: top; border-bottom: 1px dashed var(--line); }
.specs th { width: 45%; font-weight: 500; color: var(--muted); padding-right: 16px; }
.specs td { font-weight: 600; }

/* ---------- Корзина-шторка и страница корзины ---------- */
.cart-item { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item__img { position: relative; width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: #f4eff1; }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-weight: 600; font-size: 14.5px; line-height: 1.35; display: block; margin-bottom: 8px; }
.cart-item__name:hover { color: var(--berry); }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cart-item__price { font-weight: 800; white-space: nowrap; }
.cart-item__rm { border: 0; background: none; color: var(--muted); font-size: 13px; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; }
.cart-item__rm:hover { color: var(--danger); }
.sumline { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 15px; }
.sumline--total { font-size: 20px; font-weight: 800; padding-top: 12px; margin-top: 8px; border-top: 1px solid var(--line); }
.progress { margin: 4px 0 14px; font-size: 13.5px; color: var(--ink-2); }
.progress__bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 8px; }
.progress__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--berry), var(--gold)); border-radius: 3px; transition: width .6s var(--ease); }

.checkout { display: grid; gap: 24px; padding-bottom: 80px; }
@media (min-width: 1024px) { .checkout { grid-template-columns: 1fr 400px; gap: 40px; align-items: start; } .summary { position: sticky; top: calc(var(--header-h) + 20px); } }
.panel { padding: 22px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); }
.panel + .panel { margin-top: 16px; }
.panel__title { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 800; margin-bottom: 18px; }
.panel__num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--plum); color: #fff; font-size: 14px; font-weight: 800; flex: none; }
@media (min-width: 700px) { .panel { padding: 28px; } }
.fields { display: grid; gap: 14px; }
@media (min-width: 700px) { .fields--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field__label { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: #fff; font-size: 16px; outline: 0;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--berry); box-shadow: 0 0 0 4px var(--berry-soft); }
.field.is-error input, .field.is-error select { border-color: var(--danger); }
.field__err { display: none; font-size: 13px; color: var(--danger); }
.field.is-error .field__err { display: block; }
.field__hint { font-size: 13px; color: var(--muted); }
.field__opt { font-weight: 400; font-size: 12px; color: var(--muted); }
.options { display: grid; gap: 10px; }
.option { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r); border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.option:hover { border-color: var(--line-2); }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option__dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); transition: all .2s; }
.option:has(input:checked) { border-color: var(--berry); background: #fff9fb; box-shadow: 0 0 0 1px var(--berry); }
.option:has(input:checked) .option__dot { border: 7px solid var(--berry); }
.option.is-disabled { opacity: .5; pointer-events: none; }
.option__name { font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.option__desc { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.option__price { font-weight: 800; text-align: right; white-space: nowrap; font-size: 15px; }
.option__price small { display: block; font-weight: 600; color: var(--muted); font-size: 12px; }
.option__logo { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; font-size: 13px; }
.subform { margin-top: 12px; padding: 16px; border-radius: var(--r); background: var(--bg-2); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; cursor: pointer; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .fopt__box { margin-top: 1px; }
.check input:checked + .fopt__box { background: var(--berry); border-color: var(--berry); }
.check input:checked + .fopt__box svg { opacity: 1; }
.check a { color: var(--berry); text-decoration: underline; text-underline-offset: 3px; }
.check.is-error { color: var(--danger); }
.combo { position: relative; }
.combo__list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; max-height: 280px; overflow-y: auto; background: #fff; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.combo__list button { display: block; width: 100%; text-align: left; padding: 11px 16px; border: 0; background: none; font-size: 15px; }
.combo__list button:hover, .combo__list button.is-hl { background: var(--blush); }
.combo__list small { color: var(--muted); display: block; font-size: 12.5px; }
.points { display: grid; gap: 8px; max-height: 320px; overflow-y: auto; margin-top: 10px; padding-right: 4px; }
.point { display: flex; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: 14px; }
.point input { margin-top: 3px; accent-color: var(--berry); }
.point:has(input:checked) { border-color: var(--berry); }
.point small { display: block; color: var(--muted); }

/* ---------- Поиск ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 120; background: rgba(34,16,38,.5); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-box { max-width: 720px; margin: 0 auto; background: var(--bg); border-radius: 0 0 var(--r-l) var(--r-l); padding: 16px; transform: translateY(-20px); transition: transform .35s var(--ease); box-shadow: var(--shadow-l); }
.search-overlay.is-open .search-box { transform: none; }
@media (min-width: 760px) { .search-box { margin-top: 70px; border-radius: var(--r-l); padding: 20px; } }
.search-field { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 8px 0 18px; border-radius: 999px; background: #fff; border: 1.5px solid var(--berry); }
.search-field svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.search-field input { flex: 1; border: 0; outline: 0; font-size: 17px; background: none; min-width: 0; }
.search-res { max-height: 60vh; overflow-y: auto; margin-top: 10px; }
.search-res a { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 8px 10px; border-radius: 14px; }
.search-res a:hover, .search-res a.is-hl { background: var(--blush); }
.search-res .thumb { position: relative; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: #f4eff1; }
.search-res img { width: 100%; height: 100%; object-fit: cover; }
.search-res b { font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.search-res mark { background: var(--berry-soft); color: inherit; border-radius: 3px; padding: 0 2px; }
.search-hints { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 4px 4px; }
.search-hints .chip { height: 34px; font-size: 13.5px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow-s); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 700; font-size: 16px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2306a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 20px 18px; color: var(--ink-2); }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- Инфо-страницы ---------- */
.doc { display: grid; gap: 30px; padding-bottom: 90px; }
@media (min-width: 1024px) { .doc { grid-template-columns: 240px 1fr; gap: 56px; } .doc__toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.doc__toc { display: none; }
@media (min-width: 1024px) { .doc__toc { display: block; } }
.doc__toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); font-size: 14px; color: var(--muted); transition: all .2s; }
.doc__toc a:hover, .doc__toc a.is-on { color: var(--berry); border-color: var(--berry); }
.doc__body { max-width: 780px; }
.doc__body .prose h2 { scroll-margin-top: calc(var(--header-h) + 20px); }
.info-cards { display: grid; gap: 14px; margin: 10px 0 30px; }
@media (min-width: 700px) { .info-cards { grid-template-columns: 1fr 1fr; } }
.info-card { padding: 22px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); }
.info-card__top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.info-card h3 { margin: 0; font-size: 18px; }
.info-card p { margin: 0 0 .6em; color: var(--ink-2); font-size: 14.5px; }
.info-card .price-tag { display: inline-block; margin-top: 6px; padding: 5px 12px; border-radius: 999px; background: var(--berry-soft); color: var(--berry-2); font-weight: 800; font-size: 14px; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 420px; }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { background: var(--bg-2); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.table tr:last-child td { border-bottom: 0; }
.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r); background: var(--gold-soft); color: #4b3718; font-size: 15px; margin: 0 0 1.4em; }
.callout svg { flex: none; width: 24px; height: 24px; color: #9a7438; }
.callout--berry { background: var(--berry-soft); color: var(--plum); }
.callout--berry svg { color: var(--berry); }
.callout--ok { background: #e8f6ee; color: #14532d; }
.callout--ok svg { color: #1faa59; }

/* ---------- Отзывы ---------- */
.stars { display: inline-flex; gap: 2px; }
.stars .i { width: 16px; height: 16px; color: #d8cfc6; fill: none; }
.stars .i.is-on { color: #e8a33d; fill: #e8a33d; }
.reviews__score { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.reviews__score b { font-size: 30px; line-height: 1; color: var(--plum); }
.reviews__score .stars .i { width: 20px; height: 20px; }
.reviews__list { display: grid; gap: 14px; margin-bottom: 22px; }
.review { padding: 18px 20px; border-radius: var(--r); background: var(--bg-2); }
.review__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 14px; }
.review__top b { font-size: 15.5px; color: var(--plum); }
.review p { margin: 0; line-height: 1.55; }
.review__reply { margin-top: 12px; padding-left: 14px; border-left: 3px solid var(--berry-soft); font-size: 14.5px; }
.review__reply b { display: block; color: var(--berry); font-size: 13px; margin-bottom: 2px; }
.review-form { padding: 22px; border-radius: var(--r-l); border: 1px solid var(--line); background: #fff; }
.review-form__title { font-family: var(--font-display); font-size: 20px; color: var(--plum); margin-bottom: 14px; }
.review-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 14px; }
.review-form__foot .muted { font-size: 13.5px; }
.rate { display: flex; gap: 4px; margin-top: 4px; }
.rate__star { border: 0; background: none; padding: 4px; cursor: pointer; line-height: 0; }
.rate__star .i { width: 28px; height: 28px; color: #d8cfc6; fill: none; transition: color .15s, fill .15s; }
.rate__star:hover .i, .rate__star.is-on .i { color: #e8a33d; fill: #e8a33d; }

.contact-grid { display: grid; gap: 16px; padding-bottom: 90px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-list { display: grid; gap: 12px; }
.contact-item { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
a.contact-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-s); }
.contact-item__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--berry-soft); color: var(--berry); }
.contact-item__icon svg { width: 24px; height: 24px; }
.contact-item small { display: block; color: var(--muted); font-size: 13px; }
.contact-item b { font-size: 16.5px; }
.map { min-height: 360px; border-radius: var(--r-l); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Подвал ---------- */
.footer { background: var(--plum); color: rgba(255,255,255,.78); padding: 56px 0 28px; margin-top: 0; font-size: 14.5px; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; gap: 34px; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer .logo__text { color: #fff; }
.footer__about { margin: 16px 0 18px; max-width: 320px; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer li { margin-bottom: 9px; }
.footer__social { display: flex; gap: 8px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .2s; }
.footer__social a:hover { background: var(--berry); }
.footer__social svg { width: 20px; height: 20px; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.55); }
.age-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); font-weight: 800; font-size: 12px; color: #fff; }

/* ---------- Подтверждение возраста ---------- */
.agegate { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; background: rgba(34,16,38,.72); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); animation: fade .4s ease; }
.agegate__box { width: 100%; max-width: 440px; padding: 36px 28px 28px; border-radius: var(--r-xl); background: var(--bg); text-align: center; box-shadow: var(--shadow-l); animation: rise .5s var(--ease); }
.agegate__mark { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--berry), var(--plum-2)); color: #fff; font-weight: 800; font-size: 24px; }
.agegate h2 { font-family: var(--font-display); font-weight: 600; font-size: 36px; margin-bottom: 8px; }
.agegate p { color: var(--muted); font-size: 15px; }
.agegate__btns { display: grid; gap: 10px; margin-top: 22px; }
.agegate small { display: block; margin-top: 16px; color: var(--muted); font-size: 12.5px; }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.98) } to { opacity: 1; transform: none } }

/* ---------- Уведомления ---------- */
.toasts { position: fixed; left: 50%; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 300; display: grid; gap: 8px; transform: translateX(-50%); width: min(420px, calc(100vw - 24px)); pointer-events: none; }
@media (min-width: 1024px) { .toasts { left: auto; right: 24px; bottom: 24px; transform: none; } }
.toast { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 16px; border-radius: 16px; background: var(--plum); color: #fff; box-shadow: var(--shadow-l); pointer-events: auto; animation: toastIn .45s var(--ease); font-size: 14.5px; }
.toast.is-out { animation: toastOut .3s ease forwards; }
.toast svg { flex: none; width: 22px; height: 22px; color: #f7b6cf; }
.toast a { margin-left: auto; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.toast a:hover { background: rgba(255,255,255,.24); }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.96) } to { opacity: 1; transform: none } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px) } }
.fly { position: fixed; z-index: 400; width: 60px; height: 60px; border-radius: 50%; overflow: hidden; pointer-events: none; box-shadow: var(--shadow); transition: transform .75s cubic-bezier(.5,-.3,.7,1), opacity .75s; }
.fly img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Лайтбокс ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(20,10,22,.95); display: grid; place-items: center; animation: fade .25s; }
.lightbox img { max-width: 94vw; max-height: 88vh; object-fit: contain; border-radius: 8px; }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lightbox svg { width: 24px; height: 24px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 14px; }

/* ---------- Появление при прокрутке ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Скелетоны при загрузке */
.skel { border-radius: var(--r); background: linear-gradient(90deg, #f1e9ec 25%, #f8f2f4 50%, #f1e9ec 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0 } }

/* Страница «спасибо» */
.thanks { max-width: 620px; margin: 0 auto; text-align: center; padding: 60px 0 100px; }
.thanks__icon { width: 96px; height: 96px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--berry-soft); color: var(--berry); animation: rise .6s var(--ease); }
.thanks__icon svg { width: 46px; height: 46px; }
.thanks h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(38px, 5vw, 56px); }
.order-no { display: inline-block; padding: 8px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 800; letter-spacing: .04em; margin: 6px 0 18px; }

/* ---------- Подарочный сертификат ---------- */
.cert-layout { display: grid; gap: 34px; padding: 22px 0 70px; }
@media (min-width: 960px) { .cert-layout { grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; } .cert-stage { position: sticky; top: calc(var(--header-h) + 30px); } }
.cert-stage { perspective: 1200px; }
.cert-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  aspect-ratio: 1.6; padding: clamp(20px, 4vw, 34px); border-radius: 26px; color: #fff;
  background: var(--cert-bg); box-shadow: 0 30px 70px rgba(52, 25, 58, .35);
  transition: background .6s var(--ease), color .4s, transform .25s ease-out; transform-style: preserve-3d;
}
.cert-card--rose { --cert-bg: linear-gradient(135deg, #e0548b 0%, #a52459 45%, #4d2650 100%); }
.cert-card--night { --cert-bg: linear-gradient(135deg, #1f1633 0%, #3b2a5a 60%, #6b3a6b 100%); }
.cert-card--gold { --cert-bg: linear-gradient(135deg, #f7eedf 0%, #d9b77f 55%, #8a6534 100%); color: #34193a; }
.cert-card__orb { position: absolute; z-index: -1; width: 60%; aspect-ratio: 1; right: -12%; top: -30%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.45), transparent 65%); }
.cert-card__orb--2 { width: 34%; left: -8%; right: auto; top: auto; bottom: -18%; background: none; border: 2px solid rgba(201,162,107,.7); }
.cert-card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cert-card__logo { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); font-weight: 600; }
.cert-card__logo i { font-style: normal; opacity: .75; }
.cert-card__label { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .85; text-align: right; }
.cert-card__amount { font-family: var(--font-display); font-weight: 600; font-size: clamp(42px, 7vw, 72px); line-height: 1; letter-spacing: -.01em; }
.cert-card__to { margin-top: 8px; font-size: clamp(14px, 1.6vw, 17px); font-weight: 600; opacity: .92; }
.cert-card__msg { margin-top: 4px; font-size: 14px; font-style: italic; opacity: .8; max-width: 90%; overflow-wrap: anywhere; }
.cert-card__bottom { display: flex; justify-content: space-between; align-items: end; gap: 12px; font-size: 13px; opacity: .85; }
.cert-card__code { font-weight: 800; letter-spacing: .12em; }
.cert-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(38px, 5vw, 56px); margin: 10px 0 10px; }
.chips--wrap { flex-wrap: wrap; overflow: visible; margin-bottom: 6px; }
.cert-designs { display: flex; flex-wrap: wrap; gap: 10px; }
.cert-design { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 14.5px; transition: border-color .2s, box-shadow .2s; }
.cert-design i { width: 30px; height: 30px; border-radius: 50%; background: var(--cert-bg); }
.cert-design.is-on { border-color: var(--berry); box-shadow: 0 0 0 1px var(--berry); }
.cert-buy { position: sticky; bottom: calc(70px + env(safe-area-inset-bottom)); z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; padding: 14px; border-radius: var(--r-l); background: rgba(255,255,255,.95); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.cert-buy__sum { margin-right: auto; line-height: 1.2; }
.cert-buy__sum small { display: block; color: var(--muted); font-size: 12.5px; }
.cert-buy__sum b { font-size: 24px; color: var(--plum); }
@media (min-width: 1024px) { .cert-buy { position: static; box-shadow: none; } }
.cart-item__meta { display: block; font-size: 12.5px; color: var(--muted); margin: -4px 0 8px; }

/* «На Flip дешевле» — в карточке товара, корзине и на главной */
.flip-deal { display: flex; align-items: center; gap: 12px; margin: 14px 0 18px; padding: 12px 14px; border-radius: var(--r); background: linear-gradient(135deg, #eaf3ff, #fdeef4); border: 1px solid #cfe0f7; color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s; }
.flip-deal:hover { transform: translateY(-1px); box-shadow: var(--shadow-s); }
.flip-deal--store { background: var(--bg-2); border-color: var(--line); }
.flip-deal--store .flip-deal__logo { background: #7d90a6; }
.flip-deal__logo, .flip-banner__logo { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #1a6fe0; color: #fff; font-weight: 900; font-size: 15px; letter-spacing: -.02em; }
.flip-deal__text { flex: 1; line-height: 1.35; font-size: 13.5px; color: var(--muted); }
.flip-deal__text b { display: block; color: var(--ink); font-size: 15px; }
.flip-deal > .i { color: #1a6fe0; }
.flip-list { display: grid; gap: 6px; margin: -8px 0 14px; }
.flip-list a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--bg-2); font-size: 13.5px; }
.flip-list a:hover { color: var(--berry); }
.flip-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; padding: 22px; border-radius: var(--r-l); color: #fff; background: linear-gradient(120deg, #1a4fa8, #4d2650 70%, #7e1d52); box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.flip-banner:hover { transform: translateY(-3px); }
.flip-banner__logo { width: 58px; height: 58px; font-size: 19px; background: #fff; color: #1a6fe0; }
.flip-banner__text { flex: 1 1 320px; line-height: 1.45; color: rgba(255,255,255,.82); font-size: 15px; }
.flip-banner__text b { display: block; color: #fff; font-size: 19px; margin-bottom: 2px; }
.contact-item { flex-wrap: wrap; }

/* ---------- Личный кабинет ---------- */
.auth { display: grid; gap: 16px; }
@media (min-width: 900px) { .auth { grid-template-columns: .9fr 1.1fr; align-items: stretch; } }
.auth__intro { position: relative; overflow: hidden; isolation: isolate; padding: 30px; border-radius: var(--r-xl); color: #fff; background: radial-gradient(120% 90% at 100% 0%, rgba(184,23,74,.55), transparent 60%), linear-gradient(160deg, #2b1019, #12070c); }
.auth__intro::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .06; background-image: var(--lace); background-size: 64px 64px; }
.auth__intro h2 { font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: clamp(30px, 3.6vw, 40px); margin: 10px 0 8px; }
.auth__intro p { color: rgba(255,255,255,.78); }
.auth__intro .steps { grid-template-columns: 1fr; margin-top: 18px; }
.auth__box form { display: grid; gap: 14px; margin-top: 18px; }
.form-err { margin: 0; padding: 10px 14px; border-radius: 12px; background: #fdecea; color: var(--danger); font-size: 14px; }
.acc-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .acc-grid { grid-template-columns: 1.1fr .9fr; } }
.balance-card { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-height: 240px; padding: 28px; border-radius: var(--r-xl); color: #fff; background: radial-gradient(120% 90% at 100% 0%, rgba(217,167,124,.35), transparent 55%), radial-gradient(90% 80% at 0% 100%, rgba(184,23,74,.5), transparent 60%), linear-gradient(150deg, #2b1019, #12070c); box-shadow: var(--shadow-l); }
.balance-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .06; background-image: var(--lace); background-size: 64px 64px; }
.balance-card__label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.balance-card__sum { display: inline-block; font-family: var(--font-display); font-weight: 500; font-size: clamp(50px, 7vw, 76px); line-height: 1; }
.balance-card__who { color: rgba(255,255,255,.7); font-size: 14px; }
.balance-card__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.balance-card.is-pop .balance-card__sum { animation: pop 1s var(--ease); }
@keyframes pop { 0% { transform: scale(1); } 35% { transform: scale(1.14); color: #f2a7bd; text-shadow: 0 0 34px rgba(242,167,189,.75); } 100% { transform: scale(1); } }
.code-field { display: flex; align-items: center; min-height: 54px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.code-field span { padding: 0 2px 0 16px; font-weight: 800; letter-spacing: .1em; color: var(--muted); }
.code-field input { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; outline: 0; background: none; padding: 12px 12px 12px 2px !important; font-size: 18px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.code-field:focus-within { border-color: var(--berry); box-shadow: 0 0 0 4px var(--berry-soft); }
.ledger { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ledger td { padding: 10px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.ledger td:last-child { text-align: right; font-weight: 800; white-space: nowrap; padding-left: 12px; }
.ledger .plus { color: var(--ok); }
.ledger small { display: block; color: var(--muted); font-size: 12.5px; }
.acc-order { padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.acc-order:last-child { border-bottom: 0; }
.acc-order__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 700; }
.status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; }
.status--new, .status--active { background: #fff3e0; color: #8a4b00; }
.status--done, .status--redeemed { background: #e6f4ec; color: #1f6b46; }
.status--cancelled, .status--rejected { background: #f3e3e3; color: #8a2a2a; }
.status--published { background: #e6f4ec; color: #1f6b46; }
.acc-hint { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; padding: 12px 14px; border-radius: var(--r); background: var(--berry-soft); color: var(--plum); font-size: 13.5px; line-height: 1.4; }
.acc-hint .i { color: var(--berry); }
.acc-hint b { display: block; font-size: 14.5px; }

/* ---------- Панель управления ---------- */
.adm { padding-bottom: 90px; }
.adm .panel + .panel { margin-top: 14px; }
.adm-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 20px; }
.adm-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.adm-toolbar input, .adm-toolbar select { height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-size: 15px; }
.adm-grid { display: grid; gap: 16px; }
@media (min-width: 1024px) { .adm-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.adm-table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 820px; }
.adm-table th, .adm-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.adm-table th { background: var(--bg-2); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.adm-table tr:hover td { background: #fffafb; }
.adm-table--slim { min-width: 0; }
.adm-code { font-family: ui-monospace, Consolas, monospace; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.adm-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.adm-stat { padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.adm-stat b { display: block; font-size: 18px; color: var(--ink); }
/* график по дням: высота столбика задаётся переменной --h */
.rep-bars { display: flex; align-items: flex-end; gap: 3px; height: 170px; padding: 10px 0 20px; overflow-x: auto; overflow-y: hidden; }
.rep-bar { flex: 1 1 8px; min-width: 8px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.rep-bar::before { content: ''; display: block; height: var(--h, 0%); min-height: 2px; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, #c98aa6, #a7d8d2); opacity: .85; }
.rep-bar--money::before { background: linear-gradient(180deg, var(--berry, #a33a63), #e0a9c0); opacity: 1; }
.rep-bar:hover::before { opacity: 1; filter: brightness(1.05); }
.rep-bar span { position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--muted); white-space: nowrap; }
.adm-table td a { color: var(--berry); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 480px) { .js-fav-head { display: none !important; } }

/* SEO-текст внизу страниц */
.seo-text { max-width: 860px; color: var(--ink-2); font-size: 15px; }
.seo-text h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3.4vw, 38px); color: var(--ink); margin-bottom: .5em; }
.seo-text h3 { font-size: 17px; margin: 1.4em 0 .4em; color: var(--ink); }
.seo-text p { margin-bottom: .9em; }
.seo-text a { color: var(--berry); text-decoration: underline; text-underline-offset: 3px; }
.city-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* Переключатель скромного режима */
.discreet-toggle { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; padding: 0; font-size: 14px; color: inherit; }
.switch { position: relative; width: 40px; height: 24px; border-radius: 12px; background: rgba(0,0,0,.18); transition: background .25s; flex: none; }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .3s var(--ease); }
html.is-discreet .switch { background: var(--berry); }
html.is-discreet .switch::after { transform: translateX(16px); }
.footer .switch { background: rgba(255,255,255,.2); }

/* ---------- Советы: карточки статей ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.tip-card { display: grid; gap: 6px; padding: 24px 22px; border-radius: var(--r-l); background: var(--bg-2); border: 1px solid var(--line); transition: transform .2s var(--ease), box-shadow .2s; }
.tip-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-s); }
.tip-card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--berry-soft); color: var(--berry); margin-bottom: 6px; }
.tip-card__icon .i { width: 24px; height: 24px; }
.tip-card b { font-family: var(--font-display); font-size: 20px; color: var(--plum); }
.tip-card span:last-child { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.tip-next { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
/* логотипы платёжных систем на странице оплаты */
.pay-logos { display: flex; gap: 10px; align-items: center; margin: 14px 0 6px; }
.pay-logos img { display: block; height: 40px; width: auto; }
