/* Пауза — стили компонентов. Mobile-first: базовые правила от 320px, десктоп через min-width.
   Значения — токены из tokens.css. Шрифты — Google Fonts: Rubik 800/900, Onest 400/500/600/700.
   Фон: картинка + плёночное зерно на фиксированных слоях. Блоки — стекло (как в iOS), зерно под стеклом размывается. */

/* ---------- Каркас страницы: фон, зерно и зоны, которые нельзя перекрывать ---------- */
/* Подключение на сайте:
   body.pz-page { --pz-bg-image: url(/static/img/pause-bg-color.jpg); --pz-grain-image: url(/static/img/pause-grain.png); } */
.pz-page {
  /* Сколько места снизу занимает таб-бар вместе с отступами и безопасной зоной iPhone. */
  --dock-space: calc(var(--tabbar-h) + var(--tabbar-inset) * 2 + env(safe-area-inset-bottom));
  position: relative; isolation: isolate; /* свой слой: фон ниже содержимого */
  min-height: 100vh; min-height: 100svh;
  margin: 0; padding-bottom: var(--dock-space);
  font-family: var(--font-sans); font-weight: 400; color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
/* Цвет: картинка растягивается на весь экран (она гладкая — растяжение не видно), под ней запасной CSS-градиент.
   Слой фиксирован и не «едет» на iOS, как background-attachment: fixed. */
.pz-page::before, .pz-bg::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: var(--pz-bg-image, none) center / 100% 100% no-repeat,
    linear-gradient(180deg, var(--bg-ice) 0%, var(--bg-cornflower) 36%, var(--bg-lavender) 52%, var(--bg-pink) 68%, var(--bg-coral) 84%, var(--bg-orange) 100%);
}
/* Зерно: плитка 256×256, 1 пиксель = 1 CSS-пиксель, режим overlay. Только на фоне — не на элементах. */
.pz-page::after, .pz-bg::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: var(--pz-grain-image, none) 0 0 / 256px 256px repeat;
  mix-blend-mode: overlay; opacity: var(--grain-opacity);
}
/* Тот же фон для отдельного блока (превью, вставки): слои не фиксированы, а растянуты на блок. */
.pz-bg { position: relative; isolation: isolate; }
.pz-bg::before, .pz-bg::after { position: absolute; }
html:has(.pz-page) { scroll-padding-top: var(--space-16); scroll-padding-bottom: calc(var(--tabbar-h) + var(--tabbar-inset) * 2 + env(safe-area-inset-bottom) + var(--space-16)); }
@media (min-width: 1024px) { .pz-page { --dock-space: 0px; } }

.pz, .pz *, .pz-page, .pz-page *, .pz-sheet, .pz-sheet * { box-sizing: border-box; }
.pz { font-family: var(--font-sans); color: var(--ink); -webkit-font-smoothing: antialiased; }
.pz :focus-visible, .pz-page :focus-visible, .pz-sheet :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pz-icon { width: 24px; height: 24px; flex-shrink: 0; fill: currentColor; display: block; }

/* ---------- Стекло ---------- */
/* Общий рецепт: полупрозрачная заливка + размытие и насыщенность того, что под ней + блик кромки + мягкая тень. */
.pz-glass, .pz-section, .pz-footer, .pz-tabbar, .pz-btn--glass, .pz-btn--primary, .pz-header__nav, .pz-story-nav, .pz-sheet__close, .pz-spot {
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .pz-glass, .pz-section, .pz-footer, .pz-tabbar, .pz-btn--glass, .pz-header__nav, .pz-story-nav, .pz-sheet__close, .pz-spot { background: var(--surface) !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .pz-glass, .pz-section, .pz-footer, .pz-tabbar, .pz-btn--glass, .pz-header__nav, .pz-story-nav, .pz-sheet__close, .pz-spot { background: var(--surface) !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.pz-glass { background: var(--glass-section); border-radius: var(--radius-xl); box-shadow: var(--shadow-glass); }

.pz-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-12); padding: 0 var(--space-12); max-width: var(--content-max); margin: 0 auto; }
.pz-main > * { min-width: 0; }
@media (min-width: 900px) { .pz-main { gap: var(--space-24); padding: 0 var(--space-40); } }

/* Секция — стеклянный блок поверх фона */
.pz-section { padding: var(--space-32) var(--space-20); background: var(--glass-section); border-radius: var(--radius-xl); box-shadow: var(--shadow-glass); }
.pz-section__title { margin: 0 0 var(--space-20); font: 800 28px/1.1 var(--font-display); letter-spacing: -0.02em; text-align: center; }
.pz-section__lead { margin: calc(var(--space-12) * -1) auto var(--space-20); max-width: 34ch; font: 400 16px/1.5 var(--font-sans); color: var(--ink-2); text-align: center; }
.pz-section__more { display: flex; justify-content: center; margin-top: var(--space-20); }
@media (min-width: 900px) {
  .pz-section { padding: var(--space-48) var(--space-40); }
  .pz-section__title { margin-bottom: var(--space-32); font-size: 44px; line-height: 1.05; }
}

/* ---------- Кнопки ---------- */
.pz-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-8);
  min-height: var(--control-h); padding: 0 var(--space-24);
  border: 0; border-radius: var(--radius-pill);
  background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line);
  font: 600 16px/1.2 var(--font-sans); letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, transform .15s ease;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.pz-btn .pz-icon { width: 20px; height: 20px; }
.pz-btn:hover { background: var(--surface-2); }
.pz-btn:active { transform: scale(0.97); }
/* Главная кнопка — синее тонированное стекло с бликом. */
.pz-btn--primary { background: var(--action); color: var(--on-action); box-shadow: var(--shadow-glass); }
.pz-btn--primary:hover, .pz-btn--primary:active { background: var(--action-hover); }
/* Прозрачное стекло — вторичные действия поверх фона и стекла. */
.pz-btn--glass { background: var(--glass); box-shadow: var(--shadow-glass); }
.pz-btn--glass:hover { background: var(--glass); filter: brightness(1.03); }
.pz-btn--block { width: 100%; }
.pz-btn--sm { min-height: var(--tap-min); padding: 0 var(--space-16); font-size: 15px; }
.pz-btn--icon { width: var(--tap-min); min-height: var(--tap-min); padding: 0; }
.pz-btn:disabled, .pz-btn[aria-disabled="true"] { background: var(--surface-2); color: var(--ink-2); box-shadow: none; cursor: not-allowed; transform: none; }

/* ---------- Шапка ---------- */
.pz-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); min-height: var(--header-h); padding: var(--space-12) var(--space-16); }
.pz-logo { display: inline-flex; align-items: center; gap: var(--space-8); color: var(--ink); text-decoration: none; font: 800 20px/1 var(--font-display); letter-spacing: -0.02em; }
.pz-logo img { width: 36px; height: 36px; display: block; }
.pz-header__nav { display: none; }
@media (min-width: 1024px) {
  .pz-header { padding: var(--space-16) var(--space-40); }
  .pz-header__nav { display: flex; gap: var(--space-4); padding: var(--space-4); border-radius: var(--radius-pill); background: var(--glass); box-shadow: var(--shadow-glass); }
  .pz-header__nav a { display: inline-flex; align-items: center; gap: var(--space-8); min-height: 40px; padding: 0 var(--space-16); border-radius: var(--radius-pill); color: var(--ink); text-decoration: none; font: 600 15px/1 var(--font-sans); }
  .pz-header__nav a:hover, .pz-header__nav a[aria-current="page"] { background: var(--glass-pill); }
  .pz-header__nav .pz-icon { width: 20px; height: 20px; }
}

/* ---------- Таб-бар (нижнее меню, стекло) ---------- */
.pz-tabbar {
  position: fixed; z-index: 30;
  left: var(--tabbar-inset); right: var(--tabbar-inset);
  bottom: calc(var(--tabbar-inset) + env(safe-area-inset-bottom));
  max-width: 480px; margin: 0 auto;
  height: var(--tabbar-h); padding: var(--space-4);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius-pill);
  background: var(--glass); box-shadow: var(--shadow-glass);
}
.pz-tabbar::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--glass-edge); pointer-events: none; }
/* Капсула активного пункта: переезжает между пунктами, как в iOS. Индекс — через --tab (0…3); без активного — скрыта. */
.pz-tabbar__pill { position: absolute; top: var(--space-4); bottom: var(--space-4); left: var(--space-4); width: calc((100% - var(--space-8)) / 4); border-radius: var(--radius-pill); background: var(--glass-pill); transform: translateX(calc(var(--tab, 0) * 100%)); transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.pz-tabbar[data-no-active] .pz-tabbar__pill { display: none; }
@media (prefers-reduced-motion: reduce) { .pz-tabbar__pill { transition: none; } }
.pz-tabbar a { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: var(--radius-pill); color: var(--ink); text-decoration: none; font: 600 12px/1.1 var(--font-sans); -webkit-tap-highlight-color: transparent; }
.pz-tabbar a .pz-icon { width: 26px; height: 26px; }
.pz-tabbar a .pz-icon--on { display: none; }
.pz-tabbar a[aria-current="page"] .pz-icon--on { display: block; }
.pz-tabbar a[aria-current="page"] .pz-icon--off { display: none; }
.pz-tabbar a[aria-current="page"] { font-weight: 700; }
@media (min-width: 1024px) { .pz-tabbar { display: none; } }

/* ---------- Первый экран ---------- */
/* .pz-first оборачивает шапку и первый экран и занимает ровно видимую область над таб-баром. */
.pz-first { display: flex; flex-direction: column; min-height: calc(100vh - var(--dock-space)); min-height: calc(100svh - var(--dock-space)); }
.pz-first > .pz-hero { flex: 1; }
/* Первый экран главной: ровно во весь экран, карточка центрируется над меню, а следующий блок начинается ниже сгиба
   и не просвечивает сквозь стекло таб-бара. (404 — без модификатора: там после карточки ничего нет.) */
.pz-first--cover { min-height: 100vh; min-height: 100svh; }
.pz-first--cover > .pz-hero { padding-bottom: calc(var(--space-24) + var(--dock-space)); }
.pz-hero { display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-16); padding: var(--space-64) var(--space-16) var(--space-24); }
.pz-hero__title { margin: 0; font: 900 52px/0.98 var(--font-display); letter-spacing: -0.03em; }
.pz-hero__sub { margin: 0; font: 700 22px/1.2 var(--font-sans); letter-spacing: -0.01em; }
.pz-hero__text { margin: 0; max-width: var(--measure); font: 400 18px/1.5 var(--font-sans); }
.pz-hero__actions { display: grid; gap: var(--space-8); margin-top: var(--space-8); }
@media (min-width: 900px) {
  .pz-first, .pz-first--cover { min-height: 0; }
  .pz-first--cover > .pz-hero { padding-bottom: var(--space-48); }
  .pz-hero { padding: var(--space-96) var(--space-40) var(--space-48); max-width: var(--content-max); margin: 0 auto; width: 100%; }
  .pz-hero__title { font-size: 112px; line-height: 0.95; }
  .pz-hero__actions { display: flex; }
}

/* ---------- Преимущества: отдельная карточка на каждое ---------- */
/* Мобильный: лента карточек с пролистыванием вбок (видно край следующей) — страница не превращается в простыню.
   От 768px — сетка в 3 колонки. */
.pz-benefits { display: flex; gap: var(--space-12); margin: 0 calc(var(--space-20) * -1); padding: var(--space-4) var(--space-20) var(--space-12); list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--space-20); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pz-benefits::-webkit-scrollbar { display: none; }
.pz-benefits > * { flex: 0 0 68%; scroll-snap-align: start; }
@media (min-width: 768px) { .pz-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-16); margin: 0; padding: 0; overflow: visible; } }
.pz-benefit { display: flex; flex-direction: column; gap: var(--space-8); min-height: 176px; padding: var(--space-20); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-item); }
.pz-benefit__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: var(--space-4); border-radius: var(--radius-sm); background: var(--surface-2); color: var(--ink); }
.pz-benefit__title { margin: 0; font: 700 16px/1.25 var(--font-sans); letter-spacing: -0.01em; }
.pz-benefit__text { margin: 0; font: 400 14px/1.4 var(--font-sans); color: var(--ink-2); }
@media (min-width: 768px) { .pz-benefit { padding: var(--space-24); } .pz-benefit__title { font-size: 18px; } .pz-benefit__text { font-size: 15px; } }

/* ---------- Карточка товара ---------- */
.pz-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-12); }
@media (min-width: 768px) { .pz-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-24); } }
@media (min-width: 1200px) { .pz-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pz-card { position: relative; display: flex; flex-direction: column; padding: var(--space-8); background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-item); }
.pz-card__img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-md); background: var(--surface-2); }
.pz-card__body { display: flex; flex: 1; flex-direction: column; gap: var(--space-4); padding: var(--space-12) var(--space-4) var(--space-4); }
.pz-card__name { margin: 0; font: 600 16px/1.3 var(--font-sans); letter-spacing: -0.01em; }
/* Вся карточка открывает попап: ссылка-«растяжка» по названию; кнопка корзины лежит выше неё. */
.pz-card__open { color: inherit; text-decoration: none; }
.pz-card__open::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pz-card__price { margin: 0 0 var(--space-8); font: 800 20px/1.1 var(--font-display); letter-spacing: -0.01em; }
.pz-card__price small { font: 500 13px/1.4 var(--font-sans); color: var(--ink-2); letter-spacing: 0; }
.pz-card__action { position: relative; z-index: 1; margin-top: auto; }
.pz-card__action .pz-btn { width: 100%; padding: 0 var(--space-8); }

/* ---------- Попап товара (нижний лист на мобильном, окно на десктопе) ---------- */
.pz-sheet { width: 100%; max-width: 100%; max-height: 100%; margin: auto 0 0; padding: 0; border: 0; border-radius: var(--radius-xl) var(--radius-xl) 0 0; background: var(--surface); color: var(--ink); font-family: var(--font-sans); overflow: hidden; }
.pz-sheet[open] { display: flex; flex-direction: column; max-height: 94vh; max-height: 94svh; animation: pz-sheet-in .3s cubic-bezier(.2, .9, .3, 1); }
.pz-sheet::backdrop { background: var(--scrim); }
@keyframes pz-sheet-in { from { transform: translateY(40px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pz-sheet[open] { animation: none; } }
.pz-sheet__scroll { overflow-y: auto; overscroll-behavior: contain; }
.pz-sheet__grip { position: absolute; top: var(--space-8); left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.85); z-index: 2; }
.pz-sheet__close { position: absolute; top: var(--space-12); right: var(--space-12); z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: var(--tap-min); height: var(--tap-min); border: 0; border-radius: var(--radius-pill); background: var(--glass); box-shadow: var(--shadow-glass); color: var(--ink); cursor: pointer; }
.pz-sheet__body { display: grid; gap: var(--space-16); padding: var(--space-20) var(--space-20) var(--space-24); }
.pz-sheet__title { margin: 0; font: 800 28px/1.1 var(--font-display); letter-spacing: -0.02em; }
.pz-sheet__price { margin: 0; font: 800 24px/1.1 var(--font-display); }
.pz-sheet__price small { font: 500 14px/1.4 var(--font-sans); color: var(--ink-2); }
.pz-sheet__text { margin: 0; max-width: var(--measure); font: 400 16px/1.5 var(--font-sans); }
.pz-specs { display: grid; margin: 0; border-radius: var(--radius-md); background: var(--paper); }
.pz-specs div { display: flex; justify-content: space-between; gap: var(--space-16); padding: var(--space-12) var(--space-16); font: 400 15px/1.4 var(--font-sans); }
.pz-specs div + div { border-top: 1px solid var(--line); }
.pz-specs dt { color: var(--ink-2); }
.pz-specs dd { margin: 0; font-weight: 600; text-align: right; }
.pz-swatches { display: inline-flex; gap: var(--space-4); vertical-align: middle; }
.pz-swatches i { width: 16px; height: 16px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.2); }
.pz-sheet__bar { display: flex; gap: var(--space-8); align-items: center; padding: var(--space-12) var(--space-16) calc(var(--space-12) + env(safe-area-inset-bottom)); background: var(--surface); box-shadow: 0 -1px 0 var(--line); }
.pz-sheet__bar .pz-stepper { flex: 0 0 148px; }
.pz-sheet__bar .pz-btn { flex: 1; }
@media (min-width: 768px) {
  .pz-sheet { max-width: 880px; margin: auto; border-radius: var(--radius-xl); }
  .pz-sheet[open] { max-height: 86vh; }
  .pz-sheet__grip { display: none; }
  .pz-sheet__layout { display: grid; grid-template-columns: 1fr 1fr; }
  .pz-sheet__bar { padding-bottom: var(--space-12); }
}

/* Галерея фото: листается пальцем, точки показывают позицию */
.pz-gallery { position: relative; background: var(--surface-2); }
.pz-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pz-gallery__track::-webkit-scrollbar { display: none; }
.pz-gallery__track > * { flex: 0 0 100%; aspect-ratio: 1; scroll-snap-align: center; object-fit: cover; background: var(--surface-2); }
.pz-gallery__dots { position: absolute; left: 50%; bottom: var(--space-12); transform: translateX(-50%); display: flex; gap: 6px; padding: 6px 10px; border-radius: var(--radius-pill); background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.pz-gallery__dots i { width: 6px; height: 6px; border-radius: var(--radius-pill); background: rgba(17, 17, 17, 0.25); transition: width .2s ease, background-color .2s ease; }
.pz-gallery__dots i[aria-current="true"] { width: 16px; background: var(--ink); }

/* ---------- Степпер ---------- */
.pz-stepper { display: flex; align-items: center; height: var(--control-h); padding: 2px; border-radius: var(--radius-pill); background: var(--surface-2); }
.pz-stepper button { display: inline-flex; align-items: center; justify-content: center; width: var(--tap-min); height: var(--tap-min); flex-shrink: 0; border: 0; border-radius: var(--radius-pill); background: var(--paper); color: var(--ink); box-shadow: var(--shadow-item); cursor: pointer; touch-action: manipulation; }
.pz-stepper button .pz-icon { width: 20px; height: 20px; }
.pz-stepper input { flex: 1; min-width: 0; width: 40px; border: 0; background: none; text-align: center; font: 700 16px/1 var(--font-sans); color: var(--ink); -moz-appearance: textfield; }
.pz-stepper input::-webkit-inner-spin-button, .pz-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- Форма заявки ---------- */
.pz-form { display: grid; gap: var(--space-20); }
.pz-field { display: grid; gap: var(--space-8); margin: 0; padding: 0; border: 0; min-width: 0; }
.pz-field__label { padding: 0; font: 600 15px/1.2 var(--font-sans); }
.pz-field__hint { font: 500 13px/1.4 var(--font-sans); color: var(--ink-2); }
.pz-input { width: 100%; min-height: var(--control-h); padding: var(--space-12) var(--space-16); border: 0; border-radius: var(--radius-md); background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font: 400 16px/1.5 var(--font-sans); }
.pz-input::placeholder { color: var(--ink-2); }
.pz-input:focus, .pz-phone:focus-within { box-shadow: inset 0 0 0 2px var(--accent); outline: none; }
textarea.pz-input { min-height: 104px; resize: vertical; }
.pz-field--error .pz-input, .pz-field--error .pz-phone { box-shadow: inset 0 0 0 2px var(--danger); }
.pz-error { margin: 0; font: 500 13px/1.4 var(--font-sans); color: var(--danger); }
/* Телефон: флаг и +7 стоят заранее и не стираются, вводятся только 10 цифр. */
.pz-phone { display: flex; align-items: center; min-height: var(--control-h); border-radius: var(--radius-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.pz-phone__prefix { display: inline-flex; align-items: center; gap: var(--space-8); padding: 0 var(--space-12) 0 var(--space-16); font: 500 16px/1 var(--font-sans); color: var(--ink); white-space: nowrap; }
.pz-phone__flag { width: 22px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.14); flex-shrink: 0; }
.pz-phone__sep { width: 1px; align-self: stretch; margin: var(--space-12) 0; background: var(--line); }
.pz-phone input { flex: 1; min-width: 0; height: var(--control-h); padding: 0 var(--space-16) 0 var(--space-12); border: 0; background: none; color: var(--ink); font: 400 16px/1.5 var(--font-sans); letter-spacing: 0.01em; }
.pz-phone input::placeholder { color: var(--ink-2); }
.pz-phone input:focus { outline: none; }
.pz-chips { display: flex; flex-wrap: wrap; gap: var(--space-8); }
.pz-chip { position: relative; }
.pz-chip input { position: absolute; opacity: 0; pointer-events: none; }
.pz-chip span { display: inline-flex; align-items: center; gap: var(--space-8); min-height: var(--tap-min); padding: 0 var(--space-16) 0 var(--space-12); border-radius: var(--radius-pill); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: 600 15px/1 var(--font-sans); cursor: pointer; }
.pz-chip span .pz-icon { width: 20px; height: 20px; }
.pz-chip input:checked + span { background: var(--accent); color: var(--paper); box-shadow: none; }
.pz-chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ---------- Наборы по количеству гостей ---------- */
.pz-presets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-12); }
@media (min-width: 900px) { .pz-presets { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-24); } }
.pz-preset { display: flex; flex-direction: column; gap: var(--space-4); min-height: 136px; padding: var(--space-16); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-item); color: var(--ink); text-decoration: none; transition: transform .15s ease; }
.pz-preset:active { transform: scale(0.98); }
.pz-preset__num { font: 600 44px/1 var(--font-display); letter-spacing: -0.02em; }
.pz-preset__unit { font: 500 15px/1.2 var(--font-sans); color: var(--ink-2); }
.pz-preset__go { margin-top: auto; align-self: flex-end; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius-pill); background: var(--surface-2); color: var(--ink); }
.pz-preset__go .pz-icon { width: 20px; height: 20px; }
@media (min-width: 900px) { .pz-preset { min-height: 220px; padding: var(--space-24); } .pz-preset__num { font-size: 56px; } }

/* ---------- Отзывы: плеер историй ---------- */
/* Одна «страница» 9:16. Тап справа — дальше, слева — назад, удержание посередине — пауза. */
.pz-stories { position: relative; display: flex; align-items: center; justify-content: center; gap: var(--space-16); }
.pz-story-stage { position: relative; width: 100%; max-width: 400px; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--radius-xl); background: var(--ink); color: var(--paper); box-shadow: var(--shadow-card); touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; cursor: pointer; }
.pz-story-stage:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.pz-story-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .2s ease; }
.pz-story-slide[data-active] { opacity: 1; }
.pz-story-slide > img, .pz-story-slide > video, .pz-story-slide > .pz-story-media { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Верхнее затемнение — только под полосками и подписью, чтобы они читались на любом фото. */
.pz-story-stage::before { content: ""; position: absolute; inset: 0 0 auto; height: 160px; z-index: 1; background: linear-gradient(rgba(17, 17, 17, 0.5), rgba(17, 17, 17, 0.28) 45%, rgba(17, 17, 17, 0)); pointer-events: none; }
.pz-story-bars { position: absolute; top: var(--space-12); left: var(--space-12); right: var(--space-12); z-index: 2; display: flex; gap: var(--space-4); pointer-events: none; }
.pz-story-bars i { position: relative; flex: 1; height: 3px; overflow: hidden; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.35); }
.pz-story-bars i::after { content: ""; position: absolute; inset: 0; background: var(--paper); transform: scaleX(0); transform-origin: left; }
.pz-story-bars i[data-done]::after { transform: scaleX(1); }
.pz-story-bars i[data-active]::after { animation: pz-story-progress var(--story-ms, 6000ms) linear forwards; }
.pz-stories[data-paused] .pz-story-bars i[data-active]::after { animation-play-state: paused; }
@keyframes pz-story-progress { to { transform: scaleX(1); } }
.pz-story-head { position: absolute; top: calc(var(--space-12) + 12px); left: var(--space-12); right: var(--space-12); z-index: 2; display: flex; align-items: center; gap: var(--space-8); font: 600 14px/1.2 var(--font-sans); pointer-events: none; }
.pz-story-head img { width: 32px; height: 32px; border-radius: var(--radius-pill); }
.pz-story-head small { font-weight: 500; opacity: 0.85; }
/* Индикатор паузы — стеклянная капсула «Пауза» по центру. */
.pz-story-paused { position: absolute; left: 50%; top: 50%; z-index: 2; display: inline-flex; align-items: center; gap: var(--space-8); padding: var(--space-8) var(--space-16); border-radius: var(--radius-pill); background: var(--glass); color: var(--ink); box-shadow: var(--shadow-glass); font: 700 15px/1 var(--font-sans); transform: translate(-50%, -50%) scale(0.9); opacity: 0; transition: opacity .15s ease, transform .15s ease; pointer-events: none; -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur)); }
.pz-stories[data-paused] .pz-story-paused { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.pz-story-nav { display: none; align-items: center; justify-content: center; width: var(--control-h); height: var(--control-h); flex-shrink: 0; border: 0; border-radius: var(--radius-pill); background: var(--glass); box-shadow: var(--shadow-glass); color: var(--ink); cursor: pointer; }
.pz-story-nav--prev .pz-icon { transform: scaleX(-1); }
@media (hover: hover) and (min-width: 768px) { .pz-story-nav { display: inline-flex; } }
.pz-stories__more { display: flex; justify-content: center; margin-top: var(--space-16); }
.pz-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- FAQ ---------- */
.pz-faq { display: grid; gap: var(--space-8); }
.pz-faq details { border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-item); }
.pz-faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-12); min-height: 60px; padding: var(--space-12) var(--space-12) var(--space-12) var(--space-20); list-style: none; cursor: pointer; font: 600 17px/1.3 var(--font-sans); letter-spacing: -0.01em; }
.pz-faq summary::-webkit-details-marker { display: none; }
.pz-faq__toggle { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: var(--radius-pill); background: var(--surface-2); transition: transform .2s ease; }
.pz-faq__toggle .pz-icon { width: 20px; height: 20px; }
.pz-faq details[open] .pz-faq__toggle { transform: rotate(45deg); }
.pz-faq__answer { margin: 0; padding: 0 var(--space-20) var(--space-20); max-width: var(--measure); font: 400 16px/1.5 var(--font-sans); }

/* ---------- Мессенджеры ---------- */
.pz-messengers { display: flex; flex-wrap: wrap; gap: var(--space-8); margin: 0; padding: 0; list-style: none; }
.pz-messengers a { display: inline-flex; align-items: center; gap: var(--space-8); min-height: var(--control-h); padding: 0 var(--space-20) 0 var(--space-12); border-radius: var(--radius-pill); background: var(--paper); box-shadow: var(--shadow-item); color: var(--ink); text-decoration: none; font: 600 15px/1 var(--font-sans); }
.pz-messengers a:hover { background: var(--surface-2); }
.pz-messengers .pz-icon { width: 22px; height: 22px; }

/* ---------- Мои заявки ---------- */
.pz-requests { display: grid; gap: var(--space-8); margin: 0; padding: 0; list-style: none; }
.pz-request { display: grid; gap: var(--space-8); padding: var(--space-16); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-item); }
.pz-request__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); }
.pz-request__no { margin: 0; font: 700 17px/1.2 var(--font-sans); }
.pz-request__meta { margin: 0; font: 400 14px/1.4 var(--font-sans); color: var(--ink-2); }
.pz-request__items { margin: 0; font: 400 15px/1.45 var(--font-sans); }
.pz-status { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 var(--space-12); border-radius: var(--radius-pill); font: 600 13px/1 var(--font-sans); white-space: nowrap; }
.pz-status::before { content: ""; width: 6px; height: 6px; border-radius: var(--radius-pill); background: currentColor; }
.pz-status--wait { background: var(--wait-soft); color: var(--wait); }
.pz-status--ok { background: var(--ok-soft); color: var(--ok); }
.pz-status--new { background: var(--accent-soft); color: var(--accent); }
.pz-status--cancel { background: var(--danger-soft); color: var(--danger); }
.pz-empty { display: grid; justify-items: center; gap: var(--space-12); padding: var(--space-32) var(--space-16); text-align: center; }
.pz-empty p { margin: 0; max-width: 32ch; font: 400 16px/1.5 var(--font-sans); color: var(--ink-2); }

/* ---------- Главная карточка (первый экран главной и 404) ---------- */
/* Одна стеклянная карточка по центру: крупная фраза, одна строка пояснения, две кнопки. */
.pz-spot { display: grid; justify-items: center; gap: var(--space-12); width: 100%; max-width: 520px; margin: 0 auto; padding: var(--space-40) var(--space-24) var(--space-32); border-radius: var(--radius-xl); background: var(--glass-section); box-shadow: var(--shadow-glass); text-align: center; }
.pz-spot__big { margin: 0; font: 900 120px/0.9 var(--font-display); letter-spacing: -0.04em; }
.pz-spot__big--words { font-size: 56px; line-height: 0.95; letter-spacing: -0.03em; }
.pz-spot__sub { margin: 0; font: 600 20px/1.25 var(--font-sans); letter-spacing: -0.01em; }
.pz-spot__logo { width: 64px; height: 64px; margin-bottom: var(--space-4); }
.pz-spot__title { margin: 0; font: 800 28px/1.1 var(--font-display); letter-spacing: -0.02em; }
.pz-spot__text { margin: 0; max-width: 34ch; font: 400 16px/1.5 var(--font-sans); color: var(--ink-2); }
.pz-spot__actions { display: grid; gap: var(--space-8); width: 100%; margin-top: var(--space-12); }
@media (min-width: 900px) { .pz-spot { padding: var(--space-64) var(--space-48) var(--space-48); } .pz-spot__big { font-size: 180px; } .pz-spot__big--words { font-size: 96px; } .pz-spot__actions { grid-template-columns: 1fr 1fr; } }

/* ---------- Подвал ---------- */
.pz-footer { padding: var(--space-32) var(--space-20); background: var(--glass-section); border-radius: var(--radius-xl); box-shadow: var(--shadow-glass); }
.pz-footer__brand { display: flex; align-items: center; gap: var(--space-12); margin: 0 0 var(--space-24); font: 900 32px/1 var(--font-display); letter-spacing: -0.02em; }
.pz-footer__brand img { width: 48px; height: 48px; }
.pz-footer__grid { display: grid; gap: var(--space-24); }
.pz-footer__title { margin: 0 0 var(--space-12); font: 600 15px/1.2 var(--font-sans); color: var(--ink-2); }
.pz-footer__row { display: flex; align-items: center; gap: var(--space-12); min-height: var(--tap-min); color: var(--ink); text-decoration: none; font: 500 16px/1.4 var(--font-sans); }
a.pz-footer__row:hover { text-decoration: underline; }
.pz-footer__legal { margin: var(--space-24) 0 0; padding-top: var(--space-16); border-top: 1px solid rgba(17, 17, 17, 0.1); font: 500 13px/1.4 var(--font-sans); color: var(--ink-2); }
@media (min-width: 900px) { .pz-footer { padding: var(--space-48) var(--space-40); } .pz-footer__grid { grid-template-columns: 1fr 1fr; } }
