/* Soap Shell — витрина. Дизайн «Скин E»: свежий морской минимализм.
   Mobile-first. Шрифт Manrope вшивается локально (см. assets/fonts). */

/* ── Локальный шрифт: переменный Manrope, вшит подмножествами (SIL OFL) ─────
   Три файла по алфавитам: cyrillic — русский текст, latin — бренд/цифры,
   latin-ext — знак рубля ₽ (U+20BD). Google CDN не используется. */
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-cyrillic.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-latin-ext.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-latin.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Токены ────────────────────────────────────────────────────────────────*/
:root {
  --bg: #F1FBFA;
  --surface: #FFFFFF;
  --surface-soft: #E7F6F4;

  --turquoise: #0F7C79;
  --turquoise-600: #0B605E;
  --coral: #FF6A57;
  --coral-600: #F0553F;

  --ink: #123A38;
  --muted: #5E807E;
  --line: #D9EDEB;
  --line-strong: #C3E2DF;

  --ok: #0F7C79;
  --low: #C7791B;
  --out: #94A9A7;

  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(15, 124, 121, 0.06);
  --shadow-md: 0 14px 40px rgba(15, 124, 121, 0.12);

  --band: 1240px;
  --edge: max(18px, calc((100vw - var(--band)) / 2));

  --header-h: 62px;

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ── База ──────────────────────────────────────────────────────────────────*/
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
/* The hidden attribute must win over component display rules (flex/inline-flex),
   otherwise the cookie bar, the post overlay and the empty cart badge stay on
   screen — and a full-screen overlay silently blocks every click beneath it. */
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.band { max-width: var(--band); margin-inline: auto; padding-inline: 18px; }

/* ── Кнопки ────────────────────────────────────────────────────────────────*/
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  border: 1.5px solid transparent; border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--coral); color: #fff; }
.btn--primary:hover { background: var(--coral-600); }
.btn--ghost { background: transparent; color: var(--turquoise); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--turquoise); background: var(--surface-soft); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ── Шапка ─────────────────────────────────────────────────────────────────*/
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 251, 250, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
  background: rgba(241, 251, 250, 0.94);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 14px;
}
.logo { display: inline-flex; align-items: baseline; gap: 2px; font-weight: 800; font-size: 21px; letter-spacing: -0.01em; }
.logo-mark { color: var(--turquoise); }
.logo-mark--accent { color: var(--coral); }
.logo-sub { margin-left: 7px; font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 26px; }
.site-nav a { font-size: 14px; font-weight: 500; color: var(--ink); opacity: 0.82; transition: opacity 0.2s, color 0.2s; }
.site-nav a:hover { opacity: 1; color: var(--turquoise); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.site-nav + .header-actions { margin-left: 22px; }

.icon-btn {
  position: relative;
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: var(--r-pill); background: transparent; color: var(--ink);
  transition: background 0.2s ease;
}
.icon-btn:hover { background: var(--surface-soft); }
.icon-btn svg { width: 24px; height: 24px; }
.cart-count {
  position: absolute; top: 6px; right: 5px;
  min-width: 18px; height: 18px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--coral); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 1;
  border-radius: var(--r-pill);
}
.nav-toggle { display: none; }

/* ── Герой ─────────────────────────────────────────────────────────────────*/
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% -10%, #DCF4F1 0%, rgba(220, 244, 241, 0) 55%),
    radial-gradient(90% 70% at 0% 110%, #FFE7E2 0%, rgba(255, 231, 226, 0) 60%),
    var(--bg);
}
.hero-inner { padding-block: 56px 64px; text-align: center; }
.hero-eyebrow {
  display: inline-block; margin-bottom: 18px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--turquoise);
}
.hero h1 {
  font-size: clamp(34px, 8vw, 60px); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--coral); }
.hero-lead {
  max-width: 540px; margin: 0 auto 30px;
  font-size: clamp(15px, 4vw, 18px); color: var(--muted); line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-trust {
  margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px 12px; justify-content: center;
}
.hero-trust span {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line);
  font-size: 13px; font-weight: 500; color: var(--ink);
}
.hero-trust b { color: var(--turquoise); font-weight: 700; }

/* Тонкая волна на стыке героя и каталога — морской мотив дозированно. */
.hero-wave { display: block; width: 100%; height: 40px; color: var(--surface); margin-bottom: -1px; }
.hero-wave svg { display: block; width: 100%; height: 100%; }

/* ── Каталог ───────────────────────────────────────────────────────────────*/
.catalog { background: var(--surface); padding-block: 40px 64px; }
.catalog-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.catalog-head h2 { font-size: clamp(24px, 6vw, 34px); font-weight: 800; letter-spacing: -0.01em; }
.catalog-head #catalog-count { font-size: 14px; color: var(--muted); font-weight: 500; }

/* Чипы категорий — горизонтальная прокрутка на телефоне. */
.chips {
  display: flex; gap: 9px; margin-bottom: 16px;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  padding: 10px 17px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line-strong); background: var(--surface);
  font-size: 14px; font-weight: 600; color: var(--turquoise); white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { background: var(--surface-soft); }
.chip[aria-pressed='true'] { background: var(--turquoise); border-color: var(--turquoise); color: #fff; }

.catalog-toolbar { display: flex; gap: 10px; margin-bottom: 22px; }
.search { position: relative; flex: 1 1 auto; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; min-height: 48px; padding: 0 16px 0 42px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-pill);
  background: var(--surface); color: var(--ink); font-size: 15px;
}
.search input::placeholder { color: var(--muted); }
.search input:focus-visible { outline: none; border-color: var(--turquoise); box-shadow: 0 0 0 3px rgba(15, 124, 121, 0.15); }
.select {
  flex: 0 0 auto; min-height: 48px; padding: 0 40px 0 16px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-pill);
  background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 500;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235E807E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.select:focus-visible { outline: none; border-color: var(--turquoise); box-shadow: 0 0 0 3px rgba(15, 124, 121, 0.15); }

/* Сетка карточек — маркетплейс-эргономика: 2 колонки на телефоне. */
.catalog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.catalog-message { grid-column: 1 / -1; padding: 40px 0; text-align: center; color: var(--muted); font-size: 15px; }

/* ── Карточка товара ───────────────────────────────────────────────────────*/
.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: box-shadow 0.25s ease, transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); transform: translateY(-2px); }
.card-media {
  position: relative; aspect-ratio: 1 / 1; background: var(--surface-soft);
  display: flex; align-items: center; justify-content: center;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media-empty { font-size: 13px; font-weight: 600; color: var(--out); letter-spacing: 0.02em; }
.card-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; }
.badge {
  padding: 5px 10px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700; letter-spacing: 0.02em; color: #fff;
}
.badge--new { background: var(--coral); }
.badge--set { background: var(--turquoise); }

.card-body { display: flex; flex-direction: column; gap: 7px; padding: 13px 14px 14px; flex: 1; }
.card-name {
  font-size: 15px; font-weight: 700; line-height: 1.25; letter-spacing: -0.005em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta { font-size: 12.5px; color: var(--muted); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.card-stock { font-size: 12px; font-weight: 600; }
.card-stock--ok { color: var(--ok); }
.card-stock--low { color: var(--low); }
.card-stock--out { color: var(--out); }

.card-foot { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.card-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.card-price-now { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.card-price-old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.card-add {
  width: 100%; min-height: 44px; padding: 0 14px;
  border: none; border-radius: var(--r-pill);
  background: var(--turquoise); color: #fff; font-size: 14.5px; font-weight: 700;
  transition: background 0.2s ease, transform 0.15s ease;
}
.card-add:hover:not(:disabled) { background: var(--turquoise-600); }
.card-add:active:not(:disabled) { transform: translateY(1px); }
.card-add.is-added { background: var(--coral); }
.card-add:disabled { background: var(--surface-soft); color: var(--out); cursor: not-allowed; }

/* ── Подвал (минимальный; юр-блок и cookie добавляются в разделе 5) ─────────*/
.site-footer { background: var(--turquoise); color: #EAF7F6; padding-block: 40px 28px; margin-top: 8px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 24px 40px; justify-content: space-between; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,0.16); }
.footer-brand .logo { color: #fff; }
.footer-brand .logo-mark, .footer-brand .logo-mark--accent { color: #fff; }
.footer-brand p { margin-top: 10px; max-width: 280px; font-size: 13.5px; color: rgba(234, 247, 246, 0.72); line-height: 1.6; }
.footer-contacts { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.footer-contacts a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { padding-top: 22px; font-size: 12.5px; color: rgba(234, 247, 246, 0.62); }

/* ── Планшет и десктоп ─────────────────────────────────────────────────────*/
@media (min-width: 560px) {
  .catalog-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .card-foot { flex-direction: row; align-items: center; justify-content: space-between; }
  .card-add { width: auto; }
  .hero-inner { padding-block: 76px 84px; }
}
@media (min-width: 720px) {
  :root { --header-h: 70px; }
  .band { padding-inline: 28px; }
  .catalog-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 980px) {
  .hero-inner { padding-block: 96px 104px; }
  .hero-wave { height: 56px; }
}

/* ── Мобильная навигация ───────────────────────────────────────────────────*/
@media (max-width: 719px) {
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none; margin: 0;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 18px 16px; }
  .site-nav a { display: block; padding: 13px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .site-nav li:last-child a { border-bottom: none; }
  .header-actions { margin-left: auto; }
  .site-nav + .header-actions { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
}

/* ── Корзина: выдвижная панель ──────────────────────────────────────────────*/
body.no-scroll { overflow: hidden; }

.drawer-backdrop {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(18, 58, 56, 0.42);
  backdrop-filter: blur(2px);
  animation: drawer-fade 0.25s ease;
}
@keyframes drawer-fade { from { opacity: 0; } to { opacity: 1; } }

.cart-drawer {
  position: fixed; top: 0; right: 0; z-index: 70;
  width: min(440px, 100%); height: 100vh; height: 100dvh;
  display: flex; flex-direction: column;
  background: var(--surface);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -20px 0 60px rgba(15, 124, 121, 0.16);
}
.cart-drawer.is-open { transform: translateX(0); }

.drawer-head {
  flex: 0 0 auto; display: flex; align-items: center; gap: 8px;
  padding: 15px 16px; border-bottom: 1px solid var(--line);
}
.drawer-title { flex: 1; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.drawer-close, .drawer-back {
  width: 40px; height: 40px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: var(--r-pill); background: transparent; color: var(--ink);
  transition: background 0.2s ease;
}
.drawer-back { margin-left: -6px; }
.drawer-close:hover, .drawer-back:hover { background: var(--surface-soft); }
.drawer-close svg, .drawer-back svg { width: 22px; height: 22px; }

.drawer-body { flex: 1 1 auto; overflow-y: auto; padding: 12px 16px; -webkit-overflow-scrolling: touch; }
.drawer-foot {
  flex: 0 0 auto; padding: 15px 16px calc(15px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: var(--surface);
}
.cart-subtotal { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-size: 15px; }
.cart-subtotal strong { font-size: 21px; font-weight: 800; }
.drawer-cta { width: 100%; }
.drawer-note { margin-top: 10px; font-size: 12.5px; color: var(--muted); line-height: 1.5; text-align: center; }

/* Строка корзины */
.cart-line { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line-media {
  flex: 0 0 66px; width: 66px; height: 66px; border-radius: var(--r-sm); overflow: hidden;
  background: var(--surface-soft); display: flex; align-items: center; justify-content: center;
}
.cart-line-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-media-empty { font-size: 11px; color: var(--out); }
.cart-line-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.cart-line-name { font-size: 14px; font-weight: 700; line-height: 1.3; }
.cart-line-price { font-size: 13px; color: var(--muted); }
.cart-line-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 6px; }
.cart-line-sum { font-size: 14px; font-weight: 800; white-space: nowrap; }
.cart-line-remove {
  width: 32px; height: 32px; border: none; background: transparent; color: var(--out); border-radius: var(--r-pill);
  display: inline-flex; align-items: center; justify-content: center; transition: color 0.2s, background 0.2s;
}
.cart-line-remove:hover { color: var(--coral); background: #FFF0ED; }
.cart-line-remove svg { width: 18px; height: 18px; }

.qty {
  display: inline-flex; align-items: center; align-self: flex-start; margin-top: 2px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-pill);
}
.qty-btn {
  width: 32px; height: 32px; border: none; background: transparent; color: var(--turquoise);
  font-size: 19px; font-weight: 700; line-height: 1; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; justify-content: center;
}
.qty-btn:hover { background: var(--surface-soft); }
.qty-val { min-width: 28px; text-align: center; font-size: 14px; font-weight: 700; }

/* Пустая корзина */
.drawer-empty { text-align: center; padding: 44px 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--muted); }
.drawer-empty svg { width: 56px; height: 56px; color: var(--line-strong); }
.drawer-empty-title { margin-top: 8px; font-size: 18px; font-weight: 800; color: var(--ink); }
.drawer-empty-text { font-size: 14px; max-width: 240px; line-height: 1.5; }
.drawer-empty .btn { margin-top: 10px; }

/* Чекаут */
.order-summary { background: var(--surface-soft); border-radius: var(--r-md); padding: 12px 14px; margin-bottom: 4px; }
.order-summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: 13.5px; }
.order-summary-name { min-width: 0; }
.order-summary-sum { white-space: nowrap; font-weight: 600; }
.order-summary-total { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line-strong); font-size: 15px; }
.order-summary-total strong { font-weight: 800; }

.checkout { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: var(--ink); }
.field-req { color: var(--coral); }
.field-hint { font-size: 12px; font-weight: 500; color: var(--muted); }
.field input, .field textarea, .select--block {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--surface); color: var(--ink); font-size: 15px; font-family: inherit;
}
.field textarea { min-height: 84px; resize: vertical; line-height: 1.5; }
.field input:focus-visible, .field textarea:focus-visible, .select--block:focus-visible {
  outline: none; border-color: var(--turquoise); box-shadow: 0 0 0 3px rgba(15, 124, 121, 0.15);
}
.select--block { border-radius: var(--r-md); padding-right: 40px; font-weight: 500; cursor: pointer; }

.delivery { border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.delivery legend { padding: 0 6px; font-size: 13px; font-weight: 700; color: var(--turquoise); }
.radio-card { display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease; }
.radio-card:hover { background: var(--surface-soft); }
.radio-card input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--turquoise); }
.radio-card:has(input:checked) { border-color: var(--turquoise); background: var(--surface-soft); }
.radio-body { display: flex; flex-direction: column; gap: 3px; }
.radio-title { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.radio-desc { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.delivery-company { margin-top: -2px; padding-left: 32px; }
.delivery-company .field { gap: 5px; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); line-height: 1.45; cursor: pointer; }
.consent input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--turquoise); }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.checkout-status { min-height: 20px; font-size: 13.5px; }
.checkout-status.is-error { color: var(--coral-600); font-weight: 500; }

/* Успех */
.drawer-success { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 40px; }
.success-mark { width: 66px; height: 66px; border-radius: var(--r-pill); background: var(--surface-soft); color: var(--turquoise); display: flex; align-items: center; justify-content: center; }
.success-mark svg { width: 32px; height: 32px; }
.success-title { margin-top: 6px; font-size: 19px; font-weight: 800; }
.success-text { font-size: 14px; color: var(--muted); max-width: 300px; line-height: 1.55; }
.success-order { font-size: 13px; font-weight: 600; color: var(--ink); background: var(--surface-soft); padding: 8px 14px; border-radius: var(--r-pill); }
.drawer-success .btn { margin-top: 12px; }

/* ── Отзывы ─────────────────────────────────────────────────────────────────*/
.reviews { padding-block: 52px 64px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-eyebrow { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--turquoise); }
.section-head h2 { font-size: clamp(24px, 6vw, 34px); font-weight: 800; letter-spacing: -0.01em; }

.reviews-list { display: grid; grid-template-columns: 1fr; gap: 14px; }
.review-card { display: flex; flex-direction: column; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.review-head { display: flex; align-items: center; gap: 12px; }
.review-avatar { flex: 0 0 auto; width: 42px; height: 42px; border-radius: var(--r-pill); background: var(--surface-soft); color: var(--turquoise); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; }
.review-who { flex: 1 1 auto; min-width: 0; }
.review-author { font-size: 15px; font-weight: 700; }
.review-date { font-size: 12.5px; color: var(--muted); }
.review-stars { display: inline-flex; gap: 2px; margin-left: auto; }
.review-star { color: var(--line-strong); display: inline-flex; }
.review-star.is-on { color: #F5A623; }
.review-star svg { width: 16px; height: 16px; fill: currentColor; }
.review-text { font-size: 14.5px; line-height: 1.6; color: var(--ink); }

.reviews-empty { grid-column: 1 / -1; text-align: center; padding: 44px 16px; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); }
.reviews-empty-title { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.reviews-empty-text { font-size: 14px; color: var(--muted); max-width: 440px; margin: 0 auto; line-height: 1.5; }
.reviews-message { grid-column: 1 / -1; text-align: center; padding: 30px 0; color: var(--muted); font-size: 15px; }

.review-form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; margin-bottom: 22px; }
.review-form { display: flex; flex-direction: column; gap: 14px; max-width: 560px; }
.rating-input { display: inline-flex; gap: 4px; }
.rating-star { width: 40px; height: 40px; padding: 0; border: none; background: transparent; color: var(--line-strong); border-radius: var(--r-sm); display: inline-flex; align-items: center; justify-content: center; transition: color 0.15s ease; }
.rating-star svg { width: 26px; height: 26px; fill: currentColor; }
.rating-star:hover, .rating-star.is-on { color: #F5A623; }
.review-status { min-height: 20px; font-size: 13.5px; }
.review-status.is-error { color: var(--coral-600); font-weight: 500; }

.review-success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 20px 10px; }
.review-success svg { width: 48px; height: 48px; padding: 10px; color: var(--turquoise); background: var(--surface-soft); border-radius: var(--r-pill); }
.review-success-title { font-size: 18px; font-weight: 800; }
.review-success-text { font-size: 14px; color: var(--muted); max-width: 360px; line-height: 1.5; }

@media (min-width: 640px) { .reviews-list { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 960px) { .reviews-list { grid-template-columns: repeat(3, 1fr); } }

/* ── Блог ───────────────────────────────────────────────────────────────────*/
.blog { background: var(--surface); padding-block: 52px 64px; }
.blog-list { display: grid; grid-template-columns: 1fr; gap: 16px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; cursor: pointer; transition: box-shadow 0.25s ease, transform 0.2s ease, border-color 0.2s ease; }
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--line-strong); }
.post-cover { aspect-ratio: 16 / 10; background: var(--surface-soft); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-cover--empty { background: linear-gradient(135deg, #DCF4F1, #FFE7E2); }
.post-card-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.post-date { font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); }
.post-title { font-size: 18px; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; }
.post-excerpt { font-size: 14px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-more { margin-top: auto; padding-top: 4px; font-size: 13.5px; font-weight: 700; color: var(--coral); }

.blog-empty { grid-column: 1 / -1; text-align: center; padding: 44px 16px; background: var(--bg); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); }
.blog-empty-title { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.blog-empty-text { font-size: 14px; color: var(--muted); max-width: 440px; margin: 0 auto; line-height: 1.5; }
.blog-message { grid-column: 1 / -1; text-align: center; padding: 30px 0; color: var(--muted); font-size: 15px; }

/* Читалка поста */
.post-overlay {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 24px 16px; overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: rgba(18, 58, 56, 0.5); backdrop-filter: blur(3px);
  animation: drawer-fade 0.25s ease;
}
.post-full { position: relative; width: min(720px, 100%); margin: auto; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.post-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border: none; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.9); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; backdrop-filter: blur(6px);
}
.post-close:hover { background: #fff; }
.post-close svg { width: 22px; height: 22px; }
.post-full-cover { aspect-ratio: 16 / 9; background: var(--surface-soft); }
.post-full-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-full-body { padding: 28px 24px 32px; }
.post-full-title { margin: 8px 0 18px; font-size: clamp(24px, 5vw, 34px); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
.post-paragraph { margin-bottom: 16px; font-size: 16px; line-height: 1.7; color: var(--ink); }
.post-paragraph:last-child { margin-bottom: 0; }

@media (min-width: 640px) { .blog-list { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 960px) { .blog-list { grid-template-columns: repeat(3, 1fr); } }

/* ── Подвал: колонки ────────────────────────────────────────────────────────*/
.footer-top { display: grid; grid-template-columns: 1fr; gap: 26px 32px; }
.footer-col h4, .footer-contacts h4 { margin-bottom: 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(234, 247, 246, 0.75); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 14px; color: rgba(234, 247, 246, 0.82); }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 560px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 880px) { .footer-top { grid-template-columns: 1.6fr 1fr 1.3fr 1.2fr; } }

/* ── Cookie-плашка ──────────────────────────────────────────────────────────*/
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
  display: flex; align-items: center; gap: 14px;
  padding: 13px var(--edge) calc(13px + env(safe-area-inset-bottom));
  background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(15, 124, 121, 0.1);
}
.cookie-bar p { flex: 1; font-size: 13px; line-height: 1.5; color: var(--ink); }
.cookie-bar a { color: var(--turquoise); text-decoration: underline; text-underline-offset: 2px; }
.cookie-accept { min-height: 42px; padding: 0 22px; flex: 0 0 auto; }
@media (max-width: 560px) {
  .cookie-bar { flex-direction: column; align-items: stretch; gap: 10px; }
  .cookie-accept { width: 100%; }
}

/* Ссылки в тексте согласия (чекаут) */
.consent a { color: var(--turquoise); text-decoration: underline; text-underline-offset: 2px; }

/* ── Юридические страницы ───────────────────────────────────────────────────*/
.legal-body { background: var(--bg); color: var(--ink); }
.legal-topbar { position: sticky; top: 0; z-index: 10; background: rgba(241, 251, 250, 0.92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.legal-topbar-inner { max-width: var(--band); margin: 0 auto; height: 58px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; }
.legal-back { font-size: 14px; font-weight: 600; color: var(--turquoise); }
.legal-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal-page { max-width: 760px; margin: 0 auto; padding: 32px 18px 56px; }
.legal-page h1 { margin-bottom: 8px; font-size: clamp(26px, 6vw, 38px); font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; }
.legal-edition { margin-bottom: 28px; font-size: 13.5px; color: var(--muted); }
.legal-page h2 { margin: 28px 0 12px; font-size: clamp(18px, 4vw, 22px); font-weight: 800; }
.legal-page p { margin-bottom: 14px; font-size: 15.5px; line-height: 1.7; }
.legal-page ul, .legal-page ol { margin: 0 0 14px; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal-page li { font-size: 15.5px; line-height: 1.6; }
.legal-page a { color: var(--turquoise); text-decoration: underline; text-underline-offset: 2px; }
.legal-page strong { font-weight: 700; }
.legal-contacts { list-style: none; padding-left: 0; }
.legal-foot { max-width: 760px; margin: 0 auto; padding: 22px 18px 40px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); }
