/* VIP Flowers — стили сайта. Токены — из дизайн-системы (тема «Ночь»): меняйте значения здесь, а не в правилах. */
:root {
  --surface: #1f2225;
  --surface-raised: #2a2e31;
  --surface-deep: #0f1113;
  --ink: #efe0dc;
  --ink-soft: #e6e2e3;
  --ink-muted: #9d9ea1;
  --blush: #ead6d0;
  --on-blush: #1f2225;
  --petal: #d8a7b1;
  --plum: #6d4a5a;
  --wine: #371724;
  --line: #6c6d6f;
  --line-soft: rgba(239, 224, 220, .12);
  --scrim: rgba(31, 34, 37, .45);
  --paper: #f4ece9;
  --focus-ring: var(--blush);

  --font-display: "Forum", "Cormorant Garamond", Georgia, serif;
  --font-sans: "Montserrat", system-ui, -apple-system, sans-serif;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-20: 80px;
  --radius-sm: 8px; --radius-lg: 20px; --radius-pill: 999px;
  --gutter: var(--space-12);
  --max: 100%;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
@media (min-width: 1600px) { :root { --gutter: 80px; } }
@media (max-width: 760px) { :root { --gutter: 20px; --header-h: 60px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-weight: 300; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
::selection { background: var(--blush); color: var(--on-blush); }
.container { width: 100%; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.muted { color: var(--ink-muted); font-size: 14px; }
.icon { width: 22px; height: 22px; flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { display: inline-flex; align-items: center; gap: var(--space-3); margin: 0; font-size: 13px; letter-spacing: .12em; color: var(--ink-muted); text-decoration: none; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--line); }
.price-cur { font-size: .72em; letter-spacing: .04em; color: var(--ink-muted); }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 40px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--radius-pill); font-size: 13px; line-height: 16px; font-weight: 400; letter-spacing: .02em; text-decoration: none; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.btn-primary { background: var(--blush); color: var(--on-blush); }
.btn-primary:hover:not(:disabled) { background: var(--ink); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink-muted); }
.btn-outline:hover { border-color: var(--ink-muted); color: var(--ink); }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 15px; }
.btn.is-added { background: var(--petal); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--ink); text-decoration: none; transition: background-color .2s; }
.icon-btn:hover { background: var(--surface-raised); }
.icon-btn-round { width: 52px; height: 52px; border: 1px solid var(--line); }
.icon-btn[aria-pressed="true"] .icon, .card-fav[aria-pressed="true"] .icon { fill: var(--blush); stroke: var(--blush); }
.count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--radius-pill); background: var(--blush); color: var(--on-blush); font-size: 11px; line-height: 18px; font-weight: 500; text-align: center; }
.count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---------- Шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(31, 34, 37, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); transition: background-color .3s, border-color .3s; }
/* На главной шапка лежит поверх тёмной полосы фото и проявляется при прокрутке */
.home .site-header { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.home .site-header.is-scrolled, .home .site-header.menu-open { background: rgba(31, 34, 37, .94); border-bottom-color: var(--line-soft); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header-inner { height: var(--header-h); padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-6); }
.nav { display: flex; gap: var(--space-8); font-size: 14px; line-height: 20px; letter-spacing: .02em; }
.nav a { color: var(--ink-muted); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--blush); }
.home .nav a { color: var(--ink-soft); }
.wordmark { font-family: var(--font-display); font-size: 34px; line-height: 1; letter-spacing: .02em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--blush); }
.header-end { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-6); }
.header-phone { font-size: 14px; font-weight: 400; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-icons { display: flex; gap: var(--space-1); }
.menu-toggle { display: none; }
.mobile-nav { display: none; }
@media (max-width: 1100px) {
  .nav-start, .header-end .nav, .header-phone { display: none; }
  .menu-toggle { display: inline-grid; justify-self: start; }
  .mobile-nav { position: absolute; top: 100%; left: 0; right: 0; display: grid; gap: 2px; padding: var(--space-4) var(--gutter) var(--space-6); background: var(--surface); border-bottom: 1px solid var(--line-soft); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s; max-height: calc(100svh - var(--header-h)); overflow-y: auto; }
  .mobile-nav.open { opacity: 1; visibility: visible; transform: none; }
  .mobile-nav a { padding: 12px 0; font-family: var(--font-display); font-size: 26px; text-transform: uppercase; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
  .mobile-nav .mobile-sub { padding: 8px 0 8px var(--space-4); font-family: var(--font-sans); font-size: 15px; text-transform: none; color: var(--ink-muted); border: 0; }
  .mobile-nav .mobile-phone { margin-top: var(--space-4); font-family: var(--font-sans); font-size: 18px; font-weight: 400; border: 0; color: var(--blush); }
}
@media (max-width: 760px) { .wordmark { font-size: 26px; } }

/* ---------- Первый экран: фото на весь экран, крупное слово, тёмная кнопка ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: 100svh; padding: calc(var(--header-h) + var(--space-12)) var(--gutter) var(--space-12); overflow: hidden; background: var(--surface); isolation: isolate; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-bg img { object-fit: cover; object-position: 50% 0; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(31, 34, 37, .55) 0, rgba(31, 34, 37, 0) 20%), linear-gradient(90deg, rgba(31, 34, 37, .62) 0, rgba(31, 34, 37, .3) 38%, rgba(31, 34, 37, 0) 62%); pointer-events: none; }
.hero-content { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-6); max-width: min(760px, 56vw); padding-top: 14vh; }
.hero-title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(54px, 6.2vw, 116px); line-height: .98; letter-spacing: .01em; text-transform: uppercase; text-wrap: balance; color: var(--ink); }
.hero-lead { margin: 0 0 var(--space-2); max-width: 46ch; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.55; font-weight: 300; color: var(--ink); }
.btn-dark { min-height: 52px; padding: 0 var(--space-8); background: var(--surface); color: var(--ink); font-size: 18px; font-weight: 300; letter-spacing: .01em; }
.btn-dark:hover { background: var(--surface-raised); }
/* Телефон: сначала заголовок, текст и кнопка, под ними фото целиком, как на компьютере */
@media (max-width: 760px) {
  .hero { flex-direction: column; align-items: stretch; justify-content: flex-start; min-height: 0; padding-top: calc(var(--header-h) + var(--space-8)); padding-bottom: 0; }
  .hero-content { order: 1; max-width: none; padding-top: 0; gap: var(--space-4); }
  .hero-bg { order: 2; position: relative; inset: auto; display: block; width: auto; height: auto; margin: 0 calc(-1 * var(--gutter)); }
  .hero-bg img { position: static; height: auto; }
  .hero .btn-dark { border-color: var(--line); background: var(--surface-raised); }
  .hero::before { content: none; }
  .hero-bg::after { content: ""; position: absolute; inset: -1px 0; background: linear-gradient(180deg, var(--surface) 0, rgba(31, 34, 37, 0) 18%); }
  .hero-title { font-size: clamp(40px, 11vw, 56px); }
  .hero-lead { font-size: 16px; }
}

/* ---------- Разделы-плитки ---------- */
.cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; background: var(--surface-deep); border-block: 2px solid var(--surface-deep); }
.cat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; aspect-ratio: 4 / 5; padding: var(--space-6); overflow: hidden; color: var(--ink); text-decoration: none; background: var(--plum); }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(15, 17, 19, .82) 0, rgba(15, 17, 19, .1) 55%); }
.cat:hover img { transform: scale(1.05); }
.cat-name, .cat-count { position: relative; z-index: 2; }
.cat-name { font-family: var(--font-display); font-size: 22px; line-height: 26px; letter-spacing: .04em; text-transform: uppercase; }
.cat-count { font-size: 12px; color: var(--ink-soft); opacity: .8; }
@media (max-width: 1100px) { .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cat { aspect-ratio: 4 / 3; } }
@media (max-width: 560px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cat { aspect-ratio: 1; padding: var(--space-4); } .cat-name { font-size: 18px; line-height: 22px; } }

/* ---------- Секции ---------- */
.section { padding: var(--space-20) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-6); margin-bottom: var(--space-12); }
.section-title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(48px, 7vw, 80px); line-height: 1; letter-spacing: .01em; text-transform: uppercase; color: var(--ink); }
.section-lead { margin: var(--space-3) 0 0; max-width: 52ch; font-size: 16px; color: var(--ink-muted); }
.section-lead a { color: var(--ink); }
.h2 { margin: 0 0 var(--space-6); font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
@media (max-width: 760px) { .section { padding: 56px 0; } .section-head { margin-bottom: var(--space-8); } }

/* ---------- Карточки и сетка ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-raised); transition: transform .4s var(--ease); }
.card[hidden] { display: none; }
.card:hover { transform: translateY(-4px); }
.card-media-wrap { position: relative; }
.card-media, .slide-media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-deep); }
.card-media img, .slide-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.badge { position: absolute; top: var(--space-4); left: var(--space-4); padding: 4px 12px; border-radius: var(--radius-pill); background: var(--petal); color: var(--on-blush); font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: .06em; text-transform: lowercase; }
.badge-muted { background: var(--surface-raised); color: var(--ink-muted); }
.card-fav { position: absolute; top: var(--space-3); right: var(--space-3); display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: var(--radius-pill); background: rgba(31, 34, 37, .62); color: var(--ink); backdrop-filter: blur(6px); transition: background-color .2s; }
.card-fav:hover { background: var(--surface); }
.card-fav.bump, .icon-btn.bump { animation: bump .4s var(--ease); }
.card-body, .slide-body { display: flex; flex-direction: column; gap: var(--space-2); flex: 1; padding: var(--space-6) var(--space-6) var(--space-6); }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); }
.card-title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 26px; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-soft); }
.card-title a { text-decoration: none; }
.card-title a:hover { color: var(--blush); }
.card-price { flex: none; font-family: var(--font-display); font-size: 20px; line-height: 26px; color: var(--blush); white-space: nowrap; }
.card-price .price-cur { color: var(--blush); opacity: .7; }
.card-desc { margin: 0; font-size: 13px; line-height: 19px; color: var(--ink-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.btn-block { width: 100%; margin-top: auto; min-height: 44px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.card-desc + .btn-block { margin-top: var(--space-4); }
.photo-placeholder { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--font-display); font-size: 48px; color: var(--line); }
.card-filler { grid-column: span var(--span3, 1); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--space-3); min-height: 280px; padding: var(--space-12); border-radius: var(--radius-lg); background: var(--plum); }
.card-filler[hidden] { display: none; }
.filler-title { margin: 0; max-width: 18ch; font-family: var(--font-display); font-size: clamp(30px, 3vw, 40px); line-height: 1.05; text-transform: uppercase; color: var(--ink); }
.filler-text { margin: 0; max-width: 46ch; font-size: 15px; color: var(--ink-soft); }
.filler-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-3); }
.card-filler .btn-outline { border-color: rgba(239, 224, 220, .5); color: var(--ink); }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); } .card-filler { grid-column: span var(--span2, 1); padding: var(--space-8); } }
@media (max-width: 560px) {
  .grid { gap: var(--space-3); }
  .card-body { padding: var(--space-3) var(--space-3) var(--space-4); gap: 4px; }
  .card-head { flex-direction: column; gap: 2px; }
  .card-title { font-size: 15px; line-height: 19px; }
  .card-price { font-size: 17px; line-height: 22px; }
  .card-desc { display: none; }
  .btn-block { min-height: 38px; font-size: 11px; letter-spacing: .08em; margin-top: var(--space-2); }
  .badge { top: 10px; left: 10px; padding: 3px 9px; font-size: 10px; }
  .card-fav { top: 8px; right: 8px; width: 34px; height: 34px; }
  .card-filler { padding: var(--space-6); min-height: 0; }
}

/* ---------- Карусель каталога на главной ---------- */
.showcase { overflow: hidden; padding-top: 64px; }
.slide .slide-media { aspect-ratio: 1; }
.slide .slide-body { padding: var(--space-4) var(--space-6) var(--space-6); }
.showcase-title { text-align: center; margin-bottom: var(--space-4); }
.showcase-title::after { content: ""; display: block; width: 120px; height: 1px; margin: var(--space-6) auto 0; background: linear-gradient(90deg, transparent, var(--blush), transparent); }
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; padding: var(--space-6) 0; }
.carousel-track { display: flex; gap: var(--space-6); margin: 0; padding: 0; list-style: none; transition: transform .7s var(--ease); will-change: transform; }
.slide { flex: none; display: flex; flex-direction: column; width: clamp(250px, 21vw, 320px); overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-raised); transform: scale(.84); opacity: .5; filter: grayscale(1); transition: transform .7s var(--ease), opacity .7s var(--ease), filter .7s var(--ease); cursor: pointer; }
.slide.is-active { transform: scale(1); opacity: 1; filter: none; cursor: default; }
.slide.is-near { opacity: .62; }
.slide .badge { z-index: 1; }
.carousel-arrow { position: absolute; top: calc(50% - 40px); z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-pill); background: rgba(31, 34, 37, .8); color: var(--ink); transition: background-color .2s, border-color .2s; }
.carousel-arrow:hover { background: var(--surface-raised); border-color: var(--ink-muted); }
.carousel-prev { left: var(--gutter); }
.carousel-next { right: var(--gutter); }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: var(--space-4); }
.carousel-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: var(--radius-pill); background: var(--line); transition: width .3s var(--ease), background-color .3s; }
.carousel-dots button[aria-current="true"] { width: 28px; background: var(--blush); }
.showcase-foot { display: flex; justify-content: center; margin-top: var(--space-8); }
/* Без скрипта карусель — обычная горизонтальная прокрутка */
html:not(.js) .carousel-viewport { overflow-x: auto; }
html:not(.js) .slide { transform: none; opacity: 1; filter: none; }
html:not(.js) .carousel-arrow, html:not(.js) .carousel-dots { display: none; }
@media (max-width: 760px) { .slide { width: 72vw; } .carousel-arrow { width: 44px; height: 44px; top: calc(50% - 60px); } .carousel-prev { left: 8px; } .carousel-next { right: 8px; } .showcase-title { margin-bottom: var(--space-4); } }

/* ---------- Фото-ленты ---------- */
.bands { display: grid; gap: 2px; background: var(--surface-deep); border-block: 2px solid var(--surface-deep); }
.band { position: relative; display: grid; place-items: center; height: 180px; overflow: hidden; text-decoration: none; background: var(--plum); }
.band::before { content: ""; position: absolute; inset: 0; background: var(--band-img) center / cover no-repeat; transition: transform 1.2s var(--ease); }
.band::after { content: ""; position: absolute; inset: 0; background: var(--scrim); transition: background-color .4s; }
.band:hover::before { transform: scale(1.04); }
.band:hover::after { background: rgba(31, 34, 37, .3); }
.band-word { position: relative; z-index: 1; font-family: var(--font-display); font-size: clamp(40px, 6vw, 64px); line-height: 1; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
@media (max-width: 760px) { .band { height: 120px; } .band::before { background-image: var(--band-img-m, var(--band-img)); } }

/* ---------- Блоки главной — каждый на весь экран (под липкой шапкой), контент по центру ---------- */
.showcase, .why, .delivery, .faq-section { min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; }

/* ---------- Почему VIP: заголовок в кругах по центру, четыре карточки по сторонам ---------- */
.why { overflow: clip; }
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 1.2fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: var(--space-8) var(--space-6); align-items: center; }
.why-center { grid-column: 2; grid-row: 1 / span 2; position: relative; display: grid; place-items: center; aspect-ratio: 1; text-align: center; }
.why-title { position: relative; margin: 0; max-width: 6em; font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 4.6vw, 80px); line-height: 1; letter-spacing: .01em; text-transform: uppercase; color: var(--ink); }
.orbit { position: absolute; border-radius: 50%; border: 1.5px solid var(--line); pointer-events: none; }
.o1 { inset: -6%; border-color: rgba(234, 214, 208, .35); }
.o2 { inset: 10%; border-color: rgba(234, 214, 208, .2); }
.o3 { inset: -22%; border-style: dashed; border-color: rgba(234, 214, 208, .28); animation: orbit-spin 80s linear infinite; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.feat { position: relative; z-index: 1; display: flex; flex-direction: column; gap: var(--space-6); min-height: 220px; padding: var(--space-8); border-radius: var(--radius-lg); background: var(--surface-raised); }
.feat-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-4); }
.feat-title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 30px; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.numeral { flex: none; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--surface); font-size: 12px; line-height: 14px; font-weight: 500; letter-spacing: .04em; color: var(--blush); white-space: nowrap; }
.numeral i { font-style: normal; color: var(--ink-muted); }
.feat p { margin: auto 0 0; font-size: 15px; line-height: 23px; color: var(--ink-muted); }
.feat-1 { grid-column: 1; grid-row: 1; }
.feat-2 { grid-column: 3; grid-row: 1; }
.feat-3 { grid-column: 1; grid-row: 2; }
.feat-4 { grid-column: 3; grid-row: 2; }
/* Планшет и телефон — как на ПК: круг с заголовком в центре, карточки по углам (01, 02 сверху; 03, 04 снизу), орбиты уходят за карточки */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto; gap: var(--space-4); align-items: stretch; }
  .why-center { grid-column: 1 / -1; grid-row: 2; aspect-ratio: auto; padding: 120px 0; }
  .o1 { inset: auto; width: 340px; height: 340px; } .o2 { inset: auto; width: 260px; height: 260px; } .o3 { inset: auto; width: 460px; height: 460px; }
  .feat-1 { grid-column: 1; grid-row: 1; }
  .feat-2 { grid-column: 2; grid-row: 1; }
  .feat-3 { grid-column: 1; grid-row: 3; }
  .feat-4 { grid-column: 2; grid-row: 3; }
}
@media (max-width: 600px) {
  .why-grid { gap: var(--space-3) 10px; }
  .why-center { padding: 84px 0; }
  .why-title { font-size: 40px; }
  .o1 { width: 250px; height: 250px; } .o2 { width: 190px; height: 190px; } .o3 { width: 340px; height: 340px; }
  .feat { min-height: 0; padding: var(--space-4); gap: var(--space-3); border-radius: 16px; }
  .feat-head { flex-direction: column-reverse; align-items: flex-start; gap: 10px; }
  .feat-title { font-size: 18px; line-height: 21px; letter-spacing: .01em; overflow-wrap: anywhere; }
  .numeral { padding: 4px 9px; font-size: 11px; }
  .feat p { font-size: 13px; line-height: 19px; }
}

.tiles li { padding: var(--space-8); border-radius: var(--radius-lg); background: var(--surface-raised); }
.tiles .why-icon, .why-icon { width: 32px; height: 32px; color: var(--blush); }
.tiles h2 { margin: var(--space-4) 0 var(--space-2); font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 28px; letter-spacing: .03em; text-transform: uppercase; color: var(--ink); }
.tiles p { margin: 0; font-size: 15px; line-height: 23px; color: var(--ink-muted); }
.tiles a { color: var(--ink); }
@media (max-width: 560px) { .tiles li { padding: var(--space-6); } }

/* ---------- Доставка ---------- */
.delivery { background: var(--surface-deep); }
.delivery-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-12); align-items: stretch; }
.delivery-copy p { margin: 0 0 var(--space-4); max-width: 62ch; color: var(--ink-soft); }
.zone-list { margin: var(--space-4) 0 var(--space-6); padding: 0; list-style: none; border-top: 1px solid var(--line-soft); }
.zone-list li { display: flex; justify-content: space-between; gap: var(--space-4); padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.zone-list strong { font-weight: 400; color: var(--ink); white-space: nowrap; }
.visit-card { display: flex; flex-direction: column; justify-content: center; gap: var(--space-6); padding: var(--space-12); border-radius: var(--radius-lg); background: var(--plum); }
.visit-card .eyebrow { color: var(--blush); }
.visit-card .eyebrow::before { background: var(--blush); }
.visit-address { margin: 0; font-family: var(--font-display); font-size: clamp(32px, 3.4vw, 44px); line-height: 1.05; text-transform: uppercase; color: var(--ink); }
.visit-facts { margin: 0; display: grid; gap: var(--space-3); }
.visit-facts div { display: grid; grid-template-columns: 130px 1fr; gap: var(--space-3); padding-bottom: var(--space-3); border-bottom: 1px solid rgba(239, 224, 220, .18); }
.visit-facts dt { font-size: 13px; color: var(--ink-soft); opacity: .8; }
.visit-facts dd { margin: 0; color: var(--ink); }
.visit-facts a { text-decoration: none; }
.visit-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.visit-card .btn-outline { border-color: rgba(239, 224, 220, .5); color: var(--ink); }
@media (max-width: 1000px) { .delivery-inner { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .visit-card { padding: var(--space-8) var(--space-6); } .visit-facts div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Вопросы ---------- */
.faq-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-12); }
.faq { border-top: 1px solid var(--line-soft); }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: 20px 0; font-size: 17px; font-weight: 400; color: var(--ink); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-family: var(--font-display); font-size: 28px; line-height: 1; color: var(--blush); transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 20px; max-width: 64ch; color: var(--ink-muted); }
@media (max-width: 1000px) { .faq-inner { grid-template-columns: 1fr; gap: var(--space-6); } }

/* ---------- Instagram ---------- */
.insta { background: var(--wine); }
.insta-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-8); padding-block: var(--space-12); }
.insta-word { margin: 0; font-family: var(--font-display); font-size: clamp(36px, 5vw, 64px); line-height: 1; color: var(--ink); }
.insta-text { margin: 0; max-width: 44ch; color: var(--ink-soft); }
@media (max-width: 900px) { .insta-inner { grid-template-columns: 1fr; gap: var(--space-4); } }

/* ---------- Подвал ---------- */
.site-footer { padding: 64px 0 var(--space-8); background: var(--surface-deep); color: var(--ink-muted); font-size: 14px; }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.4fr; gap: var(--space-8) var(--space-12); }
.footer-brand, .footer-column, .footer-details { display: flex; flex-direction: column; gap: var(--space-2); align-items: flex-start; }
.footer-brand p, .footer-details p { margin: 0; }
.footer-brand > p { color: var(--ink-soft); margin-bottom: var(--space-2); }
.wordmark-footer { font-size: 30px; margin-bottom: var(--space-2); }
.footer-social { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin-top: var(--space-2); }
.footer-title { margin: 0 0 var(--space-2); font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.site-footer a { color: var(--ink-muted); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--ink); }
.footer-details { font-size: 13px; line-height: 19px; }
.footer-details strong { font-weight: 400; color: var(--ink-soft); }
.legal-missing { color: var(--petal); font-style: italic; }
.payments { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4) var(--space-8); margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--line-soft); font-size: 13px; }
.payments span:first-child { max-width: 62ch; }
.payments a { text-decoration: underline; }
.payments-logos { display: inline-flex; }
.payments-logos img, .pay-logos img, .form-pay-logos img { filter: grayscale(1) invert(1) contrast(.8) brightness(.8); }
.payments-logos img { width: auto; height: 26px; }
.copyright { margin: var(--space-6) 0 0; font-size: 12px; }
@media (max-width: 1100px) { .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } .payments-logos { max-width: 100%; } .payments-logos img { width: 100%; height: auto; } }

/* ---------- Хлебные крошки и заголовки страниц ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: var(--space-6) 0 var(--space-4); font-size: 12px; color: var(--ink-muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink-soft); }
.page-title { text-wrap: balance; margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 6vw, 80px); line-height: 1; letter-spacing: .01em; text-transform: uppercase; color: var(--ink); }
.page-title-sub { display: block; margin-top: var(--space-3); font-family: var(--font-sans); font-size: 18px; font-weight: 300; letter-spacing: .04em; text-transform: none; color: var(--ink-muted); }
.page-lead { margin: var(--space-4) 0 0; max-width: 62ch; font-size: 17px; line-height: 27px; color: var(--ink-muted); }
.page-lead a { color: var(--ink); }

/* ---------- Каталог: фильтры слева, поиск и сетка справа ---------- */
.catalog { padding-bottom: var(--space-20); }
.catalog-head { max-width: 900px; margin: 0 auto var(--space-12); text-align: center; }
/* Фон шапки каталога — фото из панели «Главная → Фото в шапке каталога»; без фото шапка как была */
.catalog-hero.has-bg { position: relative; isolation: isolate; overflow: hidden; margin: 0 calc(-1 * var(--gutter)) var(--space-12); padding: 0 var(--gutter) var(--space-20); }
.catalog-hero-bg, .catalog-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.catalog-hero-bg img { object-fit: cover; object-position: 50% 50%; }
.catalog-hero.has-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(31, 34, 37, .62) 0, rgba(31, 34, 37, .5) 55%, var(--surface) 100%); pointer-events: none; }
.has-bg .catalog-head { margin-bottom: 0; padding-top: var(--space-12); }
.has-bg .page-lead { color: var(--ink-soft); }
.has-bg .note-photo { margin-bottom: 0; color: var(--ink-soft); }
.catalog-head .page-lead { margin-inline: auto; }
.catalog-head .note-photo { max-width: 640px; margin: var(--space-4) auto 0; }
.catalog-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: var(--space-8); align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + var(--space-6)); display: grid; gap: var(--space-8); padding: var(--space-8) var(--space-6); border-radius: var(--radius-lg); background: var(--surface-raised); }
.filter-group { display: grid; gap: var(--space-3); }
.filter-title { margin: 0 0 var(--space-2); padding-bottom: var(--space-3); border-bottom: 1px solid var(--line-soft); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-muted); }
.check { display: flex; align-items: center; gap: var(--space-3); font-size: 15px; color: var(--ink-soft); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--blush); cursor: pointer; }
.check-label { flex: 1; text-decoration: none; color: inherit; }
.check-count { font-size: 13px; color: var(--ink-muted); }
.price-presets { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.price-presets .chip { min-height: 34px; padding: 0 12px; background: none; font-size: 12px; cursor: pointer; }
.price-presets .chip[aria-pressed="true"] { background: var(--blush); border-color: var(--blush); color: var(--on-blush); }
.price-inputs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-2); color: var(--ink-muted); }
.price-inputs .input { min-height: 42px; padding: 8px 14px; border-radius: var(--radius-pill); font-size: 14px; -moz-appearance: textfield; }
.price-inputs .input::-webkit-outer-spin-button, .price-inputs .input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.filter-note { margin: 0; font-size: 12px; color: var(--ink-muted); }
.filters-reset { justify-self: start; padding: 0; border: 0; background: none; font-size: 13px; color: var(--ink-muted); text-decoration: underline; text-underline-offset: 3px; }
.filters-reset:hover { color: var(--ink); }
.filters-toggle { display: none; }
.catalog-main { display: grid; gap: var(--space-6); min-width: 0; }
.search { display: flex; align-items: center; gap: var(--space-3); min-height: 52px; padding: 0 var(--space-6); border: 1px solid var(--line); border-radius: var(--radius-pill); color: var(--ink-muted); transition: border-color .2s; }
.search:focus-within { border-color: var(--blush); }
.search input { flex: 1; min-width: 0; border: 0; background: none; color: var(--ink); font-size: 15px; outline: none; }
.search input::placeholder { color: var(--ink-muted); }
.catalog-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); }
.catalog-count { font-size: 14px; color: var(--ink-muted); }
.sort { display: inline-flex; align-items: center; gap: var(--space-3); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-muted); }
.select { height: 42px; padding: 0 40px 0 16px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%239d9ea1' stroke-width='1.3'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") right 16px center no-repeat; color: var(--ink); font-size: 14px; letter-spacing: 0; text-transform: none; appearance: none; -webkit-appearance: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: 13px; color: var(--ink-muted); text-decoration: none; transition: color .2s, border-color .2s, background-color .2s; }
.chip:hover { color: var(--ink); border-color: var(--ink-muted); }
.note-photo { margin: var(--space-4) 0 var(--space-8); font-size: 12px; line-height: 18px; color: var(--ink-muted); }
.empty { padding: var(--space-12) 0; color: var(--ink-muted); }
.seo-text { margin-top: var(--space-20); padding-top: var(--space-12); border-top: 1px solid var(--line-soft); }
.seo-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-12); }
.seo-columns p { margin: 0; color: var(--ink-muted); }
@media (max-width: 1100px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .filters-toggle { display: inline-flex; justify-self: start; margin-bottom: var(--space-4); }
  .filters { position: static; display: none; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .filters.open { display: grid; }
}
@media (max-width: 900px) { .seo-columns { grid-template-columns: 1fr; gap: var(--space-4); } }
@media (max-width: 560px) { .catalog-head { text-align: left; margin-bottom: var(--space-8); } .catalog-hero.has-bg { margin-bottom: var(--space-8); padding-bottom: var(--space-12); } .has-bg .catalog-head { padding-top: var(--space-6); } .catalog-head .note-photo { margin-left: 0; } .sort span { display: none; } .filters-toggle { width: 100%; } }

/* ---------- Страница букета ---------- */
.product-page { padding-bottom: var(--space-20); }
.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-12); align-items: start; }
.product-gallery { position: sticky; top: calc(var(--header-h) + var(--space-6)); }
.product-media { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-raised); aspect-ratio: 6 / 5; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: var(--space-2); margin-top: var(--space-3); overflow-x: auto; }
.thumbs button { flex: none; width: 84px; padding: 0; border: 1px solid transparent; border-radius: var(--radius-sm); overflow: hidden; background: none; opacity: .7; }
.thumbs button[aria-pressed="true"] { border-color: var(--blush); opacity: 1; }
.product-info { display: flex; flex-direction: column; gap: var(--space-4); }
.product-title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: .01em; text-transform: uppercase; color: var(--ink); }
.product-price { margin: 0; font-family: var(--font-display); font-size: 36px; line-height: 1; color: var(--blush); }
.product-price .price-cur { color: var(--blush); opacity: .7; }
.product-desc { margin: 0; font-size: 17px; line-height: 27px; color: var(--ink-soft); }
.product-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; padding: var(--space-2) 0; }
.perks { display: grid; gap: var(--space-3); margin: 0; padding: var(--space-6); list-style: none; border-radius: var(--radius-lg); background: var(--surface-raised); }
.perks li { display: grid; grid-template-columns: 24px 1fr; gap: var(--space-3); align-items: start; }
.perk-icon { width: 22px; height: 22px; color: var(--blush); }
.perks p { margin: 0; font-size: 14px; line-height: 21px; color: var(--ink-muted); }
.perks strong { font-weight: 400; color: var(--ink); }
.specs { margin: 0; display: grid; }
.specs div { display: grid; grid-template-columns: 120px 1fr; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--line-soft); }
.specs dt { font-size: 13px; color: var(--ink-muted); }
.specs dd { margin: 0; font-size: 15px; color: var(--ink-soft); }
.product-legal { margin: 0; font-size: 12px; line-height: 18px; color: var(--ink-muted); }
.product-info .note-photo { margin: 0; }
.related { margin-top: 96px; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; gap: var(--space-6); } .product-gallery { position: static; } }
@media (max-width: 560px) { .product-actions .btn-lg { flex: 1 1 auto; } .specs div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Контакты ---------- */
.contacts { padding-bottom: var(--space-20); }
.contacts-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-12); margin-top: var(--space-12); align-items: stretch; }
.contacts-info { display: flex; flex-direction: column; gap: var(--space-6); }
.contact-list { margin: 0; display: grid; }
.contact-list div { display: grid; grid-template-columns: 36px 1fr; column-gap: var(--space-3); padding: var(--space-4) 0; border-bottom: 1px solid var(--line-soft); }
.contact-icon { grid-row: span 2; width: 24px; height: 24px; color: var(--blush); }
.contact-list dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.contact-list dd { margin: 4px 0 0; font-size: 17px; line-height: 25px; color: var(--ink); }
.contact-list a { text-decoration: none; }
.contact-social { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.contact-social a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: 13px; color: var(--ink-muted); text-decoration: none; }
.contact-social a:hover { color: var(--ink); border-color: var(--ink-muted); }
.contacts-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: auto; }
.map { position: relative; min-height: 520px; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-raised) radial-gradient(circle at 70% 30%, rgba(109, 74, 90, .55), transparent 60%); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--space-4); padding: var(--space-12); }
.map-consent p { margin: 0; max-width: 46ch; color: var(--ink-muted); font-size: 14px; }
.map-consent a { color: var(--ink); }
.map-title { font-family: var(--font-display); font-size: 40px !important; line-height: 1; text-transform: uppercase; color: var(--ink) !important; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); margin: var(--space-12) 0 0; padding: 0; list-style: none; }
.requisites { margin-top: var(--space-20); }
.legal-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-12); }
.legal-facts div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--line-soft); }
.legal-facts dt { font-size: 13px; line-height: 19px; color: var(--ink-muted); }
.legal-facts dd { margin: 0; font-size: 14px; line-height: 21px; color: var(--ink-soft); }
@media (max-width: 1000px) { .contacts-grid { grid-template-columns: 1fr; } .map { min-height: 380px; } .tiles { grid-template-columns: 1fr; } .legal-facts { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .map-consent { padding: var(--space-6); } .legal-facts div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Документы ---------- */
.legal { padding-bottom: var(--space-20); }
.legal-head { margin-bottom: var(--space-12); }
.legal-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: var(--space-12); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + var(--space-6)); display: grid; gap: var(--space-2); padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface-raised); font-size: 14px; }
.legal-toc a { color: var(--ink-muted); text-decoration: none; }
.legal-toc a:hover { color: var(--ink); }
.legal-body { max-width: 860px; }
.legal-section { padding-bottom: var(--space-12); margin-bottom: var(--space-12); border-bottom: 1px solid var(--line-soft); }
.legal-section h2 { margin: 0 0 var(--space-6); font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1.1; text-transform: uppercase; color: var(--ink); }
.legal-section h3 { margin: var(--space-8) 0 var(--space-3); font-size: 17px; font-weight: 500; color: var(--ink); }
.legal-section p, .legal-section li { font-size: 15px; line-height: 25px; color: var(--ink-soft); }
.legal-section a { color: var(--blush); }
.legal-section .legal-facts { grid-template-columns: 1fr; margin-bottom: var(--space-6); }
.legal-table { overflow-x: auto; margin: var(--space-4) 0; }
.legal-table table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 13px; line-height: 19px; }
.legal-table th, .legal-table td { padding: var(--space-3); border: 1px solid var(--line-soft); text-align: left; vertical-align: top; color: var(--ink-soft); }
.legal-table th { font-weight: 500; color: var(--ink); background: var(--surface-raised); }
.pay-logos { display: flex; flex-wrap: wrap; gap: var(--space-6); align-items: center; margin: var(--space-6) 0; }
.pay-logos img { width: auto; height: 32px; }
.receipt { max-width: 380px; margin: var(--space-6) 0 0; padding: var(--space-6); border-radius: var(--radius-sm); background: var(--paper); color: #1f2225; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; line-height: 19px; }
.receipt p, .receipt dd, .receipt dt { color: #1f2225 !important; font-size: 13px !important; line-height: 19px !important; }
.receipt-mark { margin: 0 0 var(--space-2); font-weight: 700; text-transform: uppercase; letter-spacing: .2em; text-align: center; }
.receipt-center { text-align: center; }
.receipt dl { margin: var(--space-4) 0; }
.receipt dl div { display: flex; justify-content: space-between; gap: var(--space-3); }
.receipt dd { margin: 0; }
.receipt-total { margin-top: var(--space-2); padding-top: var(--space-2); border-top: 1px dashed #1f2225; font-weight: 700; }
.receipt figcaption { font-family: var(--font-sans); font-size: 12px; color: #555; }
@media (max-width: 1000px) { .legal-layout { grid-template-columns: 1fr; } .legal-toc { position: static; } }

/* ---------- Оплата ---------- */
.pay { padding-block: var(--space-20); }
.pay-status { display: inline-block; margin: 0 0 var(--space-4); padding: 6px 14px; border-radius: var(--radius-pill); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.pay-ok { background: var(--blush); color: var(--on-blush); }
.pay-wait { background: var(--plum); color: var(--ink); }
.pay-fail { background: var(--wine); color: var(--ink); }
.pay-items { margin: var(--space-8) 0; padding: 0; list-style: none; border-top: 1px solid var(--line-soft); }
.pay-items li { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--line-soft); color: var(--ink-soft); }
.pay-total { font-family: var(--font-display); font-size: 24px; color: var(--ink) !important; }
.pay-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }

/* ---------- Корзина ---------- */
.cart-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(15, 17, 19, .6); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.cart-backdrop.open { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; display: flex; flex-direction: column; width: min(440px, 100%); background: var(--surface-raised); transform: translateX(100%); transition: transform .4s var(--ease); }
.cart-drawer.open { transform: none; }
html.cart-open { overflow: hidden; }
.cart-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-4); padding: var(--space-6); border-bottom: 1px solid var(--line-soft); }
.cart-title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1; text-transform: uppercase; color: var(--ink); }
.cart-subtitle { margin: 6px 0 0; font-size: 13px; color: var(--ink-muted); }
.cart-items { flex: 1; overflow-y: auto; padding: var(--space-2) var(--space-6); }
.cart-item { display: grid; grid-template-columns: 84px 1fr; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid var(--line-soft); }
.cart-item img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; }
.cart-item-name { font-family: var(--font-display); font-size: 18px; line-height: 22px; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.cart-item-head, .cart-item-foot { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); }
.cart-item-foot { margin-top: var(--space-3); }
.cart-remove { padding: 4px; border: 0; background: none; color: var(--ink-muted); }
.cart-remove .icon { width: 18px; height: 18px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-pill); }
.stepper button { width: 34px; height: 34px; border: 0; background: none; color: var(--ink); font-size: 18px; }
.stepper span { min-width: 22px; text-align: center; font-size: 14px; }
.cart-empty { display: grid; justify-items: center; gap: var(--space-4); padding: var(--space-12) 0; text-align: center; color: var(--ink-muted); }
.cart-bottom { padding: var(--space-6); border-top: 1px solid var(--line-soft); display: grid; gap: var(--space-4); }
.cart-bottom[hidden] { display: none; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--ink-muted); }
.cart-total strong { font-family: var(--font-display); font-weight: 400; font-size: 28px; color: var(--ink); }
.cart-bottom .btn { width: 100%; }
.cart-hint { margin: 0; font-size: 12px; line-height: 17px; color: var(--ink-muted); text-align: center; }

/* ---------- Оформление заказа ---------- */
.dialog { width: min(600px, calc(100% - 24px)); max-height: calc(100svh - 24px); padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--surface-raised); color: var(--ink); }
.dialog::backdrop { background: rgba(15, 17, 19, .7); }
.form { display: grid; gap: var(--space-4); padding: var(--space-8); }
.form-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-4); }
.form-note { margin: 0; font-size: 13px; line-height: 19px; color: var(--ink-muted); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.field { display: grid; gap: 6px; font-size: 13px; color: var(--ink-muted); }
.field[hidden] { display: none; }
.input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font-size: 15px; transition: border-color .2s; }
.input:focus { outline: none; border-color: var(--blush); }
textarea.input { resize: vertical; min-height: 72px; }
select.input { appearance: none; -webkit-appearance: none; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%239d9ea1' stroke-width='1.3'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") right 14px center no-repeat; padding-right: 36px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0; padding: 4px; border: 1px solid var(--line); border-radius: var(--radius-pill); }
.segmented legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.segmented label { position: relative; display: grid; place-items: center; min-height: 40px; border-radius: var(--radius-pill); font-size: 14px; color: var(--ink-muted); cursor: pointer; transition: background-color .2s, color .2s; }
.segmented input { position: absolute; opacity: 0; }
.segmented label:has(input:checked) { background: var(--blush); color: var(--on-blush); }
.segmented label:has(input:focus-visible) { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.field-hint { margin: 0; font-size: 12px; color: var(--ink-muted); }
.field-hint a { color: var(--ink); }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: var(--space-3); font-size: 12px; line-height: 18px; color: var(--ink-muted); }
.consent input { width: 18px; height: 18px; margin: 0; accent-color: var(--blush); }
.consent a { color: var(--ink); }
.order-sum { margin: 0; padding: var(--space-4) 0 0; border-top: 1px solid var(--line-soft); display: grid; gap: var(--space-2); }
.order-sum div { display: flex; justify-content: space-between; gap: var(--space-3); font-size: 14px; color: var(--ink-muted); }
.order-sum dd { margin: 0; color: var(--ink); text-align: right; }
.order-sum .order-sum-total { padding-top: var(--space-2); font-size: 16px; color: var(--ink); }
.order-sum .order-sum-total dd { font-family: var(--font-display); font-size: 26px; }
.form .btn { width: 100%; }
.form-pay-logos { display: flex; justify-content: center; }
.form-pay-logos span { display: inline-flex; }
.form-pay-logos img { width: auto; height: 18px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.round-btn { display: grid; place-items: center; width: 40px; height: 40px; flex: none; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-pill); background: none; color: var(--ink); }
.round-btn .icon { width: 18px; height: 18px; }
@media (max-width: 560px) { .form { padding: var(--space-6) var(--space-4); } .form-row { grid-template-columns: 1fr; } }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; max-width: calc(100% - 32px); padding: 14px 20px; border-radius: var(--radius-pill); background: var(--blush); color: var(--on-blush); font-size: 14px; transform: translate(-50%, 20px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Появление при прокрутке ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .hero-content > * { animation: rise 1s var(--ease) both; }
.js .hero-content > :nth-child(2) { animation-delay: .12s; }
.js .hero-content > :nth-child(3) { animation-delay: .24s; }
.js .hero-bg img { animation: settle 1.8s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
@keyframes settle { from { opacity: 0; transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Мобильная адаптация ---------- */
.header-call { display: none; }
.related .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) {
  .header-call { display: inline-grid; }
  .related .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .section-head { flex-wrap: wrap; align-items: center; }
  .carousel-viewport { padding: var(--space-3) 0; touch-action: pan-y; }
  .related { margin-top: var(--space-12); }
}
@media (max-width: 560px) {
  .header-icons { gap: 0; }
  .header-icons .icon-btn { width: 38px; }
  .slide .slide-body { padding: var(--space-4) var(--space-6) var(--space-6); gap: var(--space-2); }
  .slide .card-head { flex-direction: row; gap: var(--space-3); }
  .slide .card-title { font-size: 19px; line-height: 23px; }
  .slide .card-price { font-size: 19px; line-height: 23px; }
  .slide .card-desc { display: -webkit-box; }
  .slide .btn-block { min-height: 44px; font-size: 12px; letter-spacing: .1em; margin-top: var(--space-3); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: var(--space-8) var(--space-4); }
  .footer-brand, .footer-details { grid-column: 1 / -1; }
  .site-footer { padding-top: var(--space-12); }
  .why.section, .delivery.section, .faq-section.section { padding: var(--space-12) 0; }
  .insta-inner { padding-block: var(--space-8); }
  .page-title { font-size: clamp(38px, 11vw, 48px); }
}

/* Графический знак белорусского рубля */
.byn-sign { display: inline-block; width: .75em; height: .95em; vertical-align: -.08em; background: currentColor; -webkit-mask: url(/public/img/byn.png) center / contain no-repeat; mask: url(/public/img/byn.png) center / contain no-repeat; }
