/* BERGAMO. Бумага, чернила и один тёплый акцент. */

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/manrope-cyrillic-400-normal.woff2?v=1") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/manrope-cyrillic-500-normal.woff2?v=1") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/manrope-cyrillic-600-normal.woff2?v=1") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/manrope-latin-400-normal.woff2?v=1") format("woff2");
  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;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/manrope-latin-500-normal.woff2?v=1") format("woff2");
  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;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/manrope-latin-600-normal.woff2?v=1") format("woff2");
  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;
}
@font-face {
  font-family: Oranienbaum;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/oranienbaum-cyrillic-400-normal.woff2?v=1") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Oranienbaum;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/oranienbaum-latin-400-normal.woff2?v=1") format("woff2");
  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 {
  --paper: #f7f4ee;
  --surface: #efeae1;
  --ink: #1b1916;
  --soft: #4b453e;
  --muted: #81796f;
  --line: #e2dbcf;
  --accent: #8c6239;
  --error: #9a3b32;

  --serif: Oranienbaum, "Times New Roman", serif;
  --sans: Manrope, "Helvetica Neue", Arial, sans-serif;

  --bar: 36px;
  --header: 68px;
  --max: 1440px;
  --gutter: clamp(20px, 4.2vw, 64px);
  --pad: max(var(--gutter), calc((100vw - var(--max)) / 2));
  --gap: clamp(48px, 5.6vw, 84px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a[href^="tel:"] { white-space: nowrap; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.02;
  text-wrap: balance;
}
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr, .skip {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.skip:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  clip: auto;
  background: var(--paper);
  padding: 8px 12px;
  z-index: 80;
}

.eyebrow, .combo__label, .contacts__list small, .reviews-more small {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted);
}
.fine { color: var(--muted); font-size: 13px; line-height: 1.55; max-width: 460px; }
.fine a { border-bottom: 1px solid var(--line); }
.empty { padding: 40px var(--pad) 0; color: var(--muted); font-size: 16px; }
.empty a { color: var(--ink); border-bottom: 1px solid currentColor; }
.section .empty, .grid .empty { padding: 0; grid-column: 1 / -1; }

/* Кнопки и ссылки */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(27, 25, 22, 0.28); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn:disabled { opacity: 0.45; cursor: default; }
.text-link, .text-btn {
  display: inline-flex;
  align-items: center;
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.text-btn { justify-self: start; margin-top: 8px; border-bottom-color: var(--line); }
.text-btn:hover { border-bottom-color: currentColor; }
.text-link:hover { color: var(--accent); }
.ghost-link {
  justify-self: start;
  border: 0;
  background: none;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease;
}
.ghost-link:hover { color: var(--ink); }

/* Верхняя строка и шапка */

.topbar {
  height: var(--bar);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.topbar > * + *::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin-right: 16px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
  vertical-align: middle;
}
.topbar a { transition: color 0.2s ease; }
.topbar a:hover { color: var(--ink); }

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--pad);
  background: rgba(247, 244, 238, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.2em;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover::after, .nav a.is-on::after { transform: scaleX(1); }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 23px;
  letter-spacing: 0.24em;
  line-height: 1;
  text-transform: uppercase;
}
.logo--wide { letter-spacing: 0.08em; font-size: 18px; }
.logo__mark, .logo__mark svg { width: 20px; height: 20px; }
.logo__img { display: block; height: 28px; width: auto; max-width: 88px; object-fit: contain; }
.footer__brand .logo__img { height: 36px; max-width: 140px; }
.logo svg, .icon-btn svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.header__tools { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.header__social {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 12px;
  padding-right: 14px;
  border-right: 1px solid var(--line);
}
.header__social a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: color 0.2s ease;
}
.header__social a:hover { color: var(--ink); }
.header__social svg { width: 15px; height: 15px; }
.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  transition: color 0.2s ease;
}
.icon-btn:hover { color: var(--accent); }
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn em {
  position: absolute;
  top: 4px;
  right: 0;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--ink);
  color: var(--paper);
  font-size: 9.5px;
  font-style: normal;
  font-weight: 600;
  line-height: 15px;
  text-align: center;
}
.nav-toggle { display: none; }

.tabbar { display: none; }

.nav-panel {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 104px var(--gutter) 32px;
  background: var(--paper);
  overflow-y: auto;
  animation: fade 0.3s ease;
}
.nav-panel__main { display: grid; gap: 4px; }
.nav-panel__main a { font-family: var(--serif); font-size: clamp(46px, 13vw, 76px); line-height: 1.08; }
.nav-panel__social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-panel__close { position: absolute; top: 14px; right: calc(var(--gutter) - 10px); }

/* Главная */

main > :first-child { animation: fade 0.6s ease; }

.stage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  height: clamp(480px, calc(100vh - var(--header) - var(--bar) - 44px), 860px);
}
.stage a {
  position: relative;
  display: block;
  overflow: hidden;
  color: #fff;
  background: var(--surface);
}
.stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  transition: transform 1.4s var(--ease);
}
.stage a:nth-child(2) img { object-position: center 48%; }
.stage a:nth-child(3) img { object-position: center 42%; }
.stage a:hover img { transform: scale(1.03); }
.stage a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 16, 14, 0.58), rgba(18, 16, 14, 0) 46%);
}
.stage span {
  position: absolute;
  left: clamp(18px, 2.2vw, 32px);
  right: clamp(18px, 2.2vw, 32px);
  bottom: clamp(20px, 2.2vw, 32px);
  z-index: 1;
}
.stage h1, .stage b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(34px, 3.4vw, 54px);
  font-weight: 400;
  line-height: 1;
}
.stage small {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
}

.intro { padding: clamp(36px, 4vw, 60px) var(--pad) 0; }
.answers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 0 / 100% 1px;
}
.answers li {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px 28px 4px 0;
}
.answers li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.answers i {
  margin-bottom: clamp(22px, 3.2vw, 52px);
  font-family: var(--serif);
  font-size: clamp(38px, 3.6vw, 56px);
  font-style: normal;
  line-height: 1;
  color: var(--accent);
}
.answers b { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.answers span { color: var(--muted); font-size: 14px; }

.intro.reveal .answers { background-size: 0 1px; transition: background-size 1.3s var(--ease) 0.15s; }
.intro.reveal.is-in .answers { background-size: 100% 1px; }
.intro.reveal .answers li { opacity: 0; transform: translateY(14px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.intro.reveal.is-in .answers li { opacity: 1; transform: none; }
.intro.reveal .answers li:nth-child(1) { transition-delay: 0.25s; }
.intro.reveal .answers li:nth-child(2) { transition-delay: 0.37s; }
.intro.reveal .answers li:nth-child(3) { transition-delay: 0.49s; }
.intro.reveal .answers li:nth-child(4) { transition-delay: 0.61s; }

.promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: clamp(36px, 4vw, 60px) var(--pad) 0;
}
.promo {
  display: grid;
  grid-template-columns: minmax(120px, 0.72fr) 1fr;
  align-items: center;
  background: var(--surface);
}
.promo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 62%;
}
.promo__copy { display: grid; gap: 14px; padding: clamp(22px, 3vw, 48px); }
.promo .eyebrow { color: var(--accent); }
.promo b {
  font-family: var(--serif);
  font-size: clamp(52px, 5.6vw, 88px);
  font-weight: 400;
  line-height: 0.9;
}
.promo--code b {
  font-family: var(--sans);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.2;
}
.promo span { max-width: 34ch; color: var(--soft); font-size: 14px; line-height: 1.55; }
.promo--plain { grid-template-columns: 1fr; }

.section { padding: var(--gap) var(--pad) 0; }
.section__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px clamp(28px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(22px, 2.5vw, 36px);
}
.section__head h2 { font-size: clamp(40px, 4.6vw, 68px); margin-top: 14px; }
.section__head > p { max-width: 380px; padding-bottom: 6px; color: var(--muted); }
.section__head .text-link { margin-bottom: 8px; }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 14px; }
.grid--page { padding: clamp(32px, 4vw, 56px) var(--pad) 0; }
.card { min-width: 0; }
.card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transition: transform 1.2s var(--ease);
}
.card:hover .card__media img { transform: scale(1.035); }
.card__body { display: grid; gap: 5px; padding-top: 16px; }
.card__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; }
.card__top h3 { font-size: 23px; letter-spacing: 0.03em; line-height: 1.1; }
.card__meta { color: var(--muted); font-size: 13px; }
.price { white-space: nowrap; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.price s { margin-right: 8px; color: var(--muted); font-weight: 400; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.swatch, .color i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
}
.swatch.is-on { outline: 1px solid var(--ink); outline-offset: 2px; }

.tasks { padding: var(--gap) var(--pad) 0; }
.tasks h2 { font-size: clamp(36px, 4vw, 58px); margin-bottom: clamp(22px, 2.5vw, 36px); }
.tasks__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tasks a { display: grid; align-content: start; gap: 4px; }
.tasks__media {
  display: block;
  aspect-ratio: 4 / 5;
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--surface);
}
.tasks img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 1.2s var(--ease);
}
.tasks a:hover img { transform: scale(1.035); }
.tasks b { font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.1; }
.tasks a > span:last-child { color: var(--muted); font-size: 14px; }

.about-strip {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  margin: var(--gap) var(--pad) 0;
  background: var(--surface);
}
.about-strip img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 760px;
  object-fit: cover;
  object-position: center 28%;
}
.about-strip div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 22px;
  padding: clamp(32px, 6vw, 96px);
}
.about-strip h2 { font-size: clamp(36px, 3.8vw, 58px); }
.about-strip p:not(.eyebrow) { max-width: 420px; color: var(--soft); }
.about-strip .btn { margin-top: 10px; }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reviews--page { padding: clamp(32px, 4vw, 56px) var(--pad) 0; }
.review {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  background: #fdfbf7;
}
.review img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface); }
.review__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: clamp(18px, 1.8vw, 26px) clamp(18px, 1.9vw, 28px) clamp(18px, 1.7vw, 24px);
}
.stars { display: flex; gap: 3px; line-height: 0; }
.stars svg { width: 19px; height: 19px; fill: #d99a1e; }
.stars .is-off { fill: #ddd5c6; }
.review__body p:not(.stars) { color: var(--soft); font-size: 15px; line-height: 1.6; }
.review small {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.reviews-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(36px, 4vw, 56px);
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.reviews-more small { display: block; margin-bottom: 8px; }
.reviews-more b {
  font-family: var(--serif);
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 400;
  line-height: 1;
}
.reviews-more span:last-child {
  flex: none;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.reviews-more:hover span:last-child { color: var(--accent); }
.reviews-more--page { margin-left: var(--pad); margin-right: var(--pad); }

.kinds { padding: var(--gap) var(--pad) 0; }
.kinds h2 { font-size: clamp(36px, 4vw, 58px); margin-bottom: clamp(22px, 2.5vw, 36px); }
.kinds__grid {
  display: grid;
  grid-template-columns: repeat(var(--kinds, 6), minmax(0, 1fr));
  gap: 36px 20px;
}
.kind { display: grid; align-content: start; gap: 4px; }
.kind__media {
  display: block;
  aspect-ratio: 4 / 5;
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--surface);
}
.kind__media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 42%;
  transition: transform 1.2s var(--ease);
}
.kind__media--mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  background: var(--paper);
}
.kind:hover .kind__media:not(.kind__media--mosaic) img { transform: scale(1.035); }
.kind b { font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.1; transition: color 0.2s ease; }
.kind > span:last-child { color: var(--muted); font-size: 13px; }
.kind:hover b { color: var(--accent); }

.faq { padding: var(--gap) var(--pad) 0; }
.faq h2 { font-size: clamp(36px, 4vw, 58px); margin-bottom: clamp(22px, 2.5vw, 36px); }
.faq__list { margin: 0; }
.faq__list > div {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 12px 48px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.faq__list > div:last-child { border-bottom: 1px solid var(--line); }
.faq dt {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.2;
}
.faq dd { margin: 0; max-width: 62ch; font-size: 16px; line-height: 1.55; }
@media (max-width: 720px) {
  .faq__list > div { grid-template-columns: 1fr; gap: 8px; }
}

/* Клуб и подвал */

.club {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px clamp(32px, 6vw, 96px);
  align-items: end;
  margin-top: var(--gap);
  padding: clamp(56px, 6.5vw, 96px) var(--pad);
  background: var(--surface);
}
.club h2 { font-size: clamp(34px, 3.8vw, 56px); margin: 16px 0 14px; max-width: 20ch; }
.club p:not(.eyebrow):not(.form-note) { color: var(--soft); }
.club__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 16px; align-items: end; }
.club__form .form-note { grid-column: 1 / -1; margin-top: 12px; }

.footer {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px 32px;
  padding: clamp(56px, 6vw, 88px) var(--pad) 28px;
}
.footer h3 {
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}
.footer a, .footer p {
  display: block;
  width: fit-content;
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer a:hover { color: var(--ink); }
.footer__brand .logo { margin-bottom: 20px; color: var(--ink); font-size: 26px; }
.footer__brand p { max-width: 300px; }
.footer__legal {
  grid-column: 1 / -1;
  width: auto;
  max-width: none;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.footer__bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Внутренние страницы */

.page-head { padding: clamp(48px, 6vw, 96px) var(--pad) 0; }
.page-head h1 { max-width: 18ch; margin: 16px 0 22px; font-size: clamp(44px, 6vw, 88px); }
.page-head p:not(.eyebrow) { max-width: 600px; color: var(--soft); font-size: 17px; }
.page-head p + p:not(.eyebrow) { margin-top: 10px; }
.page-head .btn { margin-top: 32px; }

.filters {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 24px clamp(24px, 3vw, 48px);
  padding: clamp(32px, 3.8vw, 56px) var(--pad) 0;
}
.combo { position: relative; flex: 0 1 248px; min-width: 0; }
.combo--end { margin-left: auto; }
.combo summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px 14px;
  padding: 0 2px 13px 0;
  border-bottom: 1px solid rgba(27, 25, 22, 0.28);
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.combo summary::-webkit-details-marker { display: none; }
.combo summary:hover, .combo[open] summary { border-bottom-color: var(--ink); }
.combo[open] summary { box-shadow: 0 1px 0 var(--ink); }
.combo__label { grid-column: 1 / -1; }
.combo__value { overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.combo__arrow {
  width: 11px;
  height: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  transition: transform 0.3s var(--ease);
}
.combo[open] .combo__arrow { transform: rotate(180deg); }
.combo__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  display: grid;
  min-width: 100%;
  width: max-content;
  max-width: calc(100vw - var(--pad) * 2);
  padding: 8px;
  border: 1px solid var(--line);
  background: #fdfbf7;
  box-shadow: 0 24px 48px -24px rgba(27, 25, 22, 0.32);
  animation: combo-in 0.24s var(--ease);
}
.combo--end .combo__menu { left: auto; right: 0; }
.combo__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 11px 14px;
  color: var(--soft);
  font-size: 14px;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.combo__option:hover, .combo__option:focus-visible { background: var(--surface); color: var(--ink); }
.combo__option.is-on { color: var(--ink); font-weight: 500; }
.combo__option.is-on::after {
  content: "";
  width: 5px;
  height: 9px;
  margin: -3px 3px 0 0;
  border: solid var(--accent);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
@keyframes combo-in {
  from { opacity: 0; transform: translateY(-6px); }
}

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: start;
  padding: 28px var(--pad) 0;
}
.pdp__gallery {
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 420px;
  max-height: calc(100vh - var(--header) - 56px);
  overflow: hidden;
  background: var(--surface);
}
.pdp__gallery img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.pdp__info { position: sticky; top: calc(var(--header) + 28px); max-width: 540px; padding-top: 8px; }
.pdp__info h1 { margin: 14px 0 10px; font-size: clamp(52px, 5.6vw, 88px); letter-spacing: 0.01em; }
.pdp__color { margin-bottom: 18px; color: var(--muted); }
.pdp__info > .price { font-size: 20px; font-weight: 400; }
.pdp__colors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.color {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px 9px 11px;
  border: 1px solid var(--line);
  font-size: 13px;
  transition: border-color 0.2s ease;
}
.color:hover { border-color: var(--muted); }
.color.is-on { border-color: var(--ink); }
.lead { max-width: 520px; margin: 28px 0; color: var(--soft); }
.pdp__buy { display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px; margin-bottom: 36px; }
.pdp__buy .btn { padding: 0 16px; }
.specs { margin: 0 0 20px; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.specs li {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.specs li span:first-child { color: var(--muted); }

.prose {
  display: grid;
  gap: 16px;
  max-width: calc(760px + var(--pad) * 2);
  padding: clamp(36px, 4vw, 56px) var(--pad) 0;
}
.prose p { color: var(--soft); font-size: 16px; }
.prose h2 { margin-top: 28px; font-size: 34px; }
.prose img { width: min(100%, 560px); aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 12px; background: var(--surface); }
.prose--split {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  max-width: none;
}
.prose--split img { width: 100%; margin: 0; }
.prose--split > div { display: grid; gap: 16px; max-width: 600px; }
.prose--split h2:first-child { margin-top: 0; }
.prose a, .info-grid a { border-bottom: 1px solid var(--accent); transition: color 0.2s ease; }
.prose a:hover, .info-grid a:hover { color: var(--accent); }

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px clamp(32px, 5vw, 80px);
  padding: clamp(40px, 5vw, 72px) var(--pad) 0;
}
.info-grid article, .order-card { padding-top: 24px; border-top: 1px solid var(--ink); }
.info-grid h2 { margin-bottom: 16px; font-size: 32px; }
.info-grid p, .info-grid li { color: var(--soft); }
.info-grid p + p { margin-top: 10px; }
.info-grid ol { display: grid; gap: 10px; margin: 0; padding-left: 20px; }
.info-grid li::marker { color: var(--muted); }

.contacts { display: grid; gap: clamp(36px, 4vw, 56px); padding: clamp(48px, 6vw, 96px) var(--pad) 0; }
.contacts__head h1 { margin: 16px 0 22px; font-size: clamp(44px, 6vw, 88px); }
.contacts__head p:not(.eyebrow) { max-width: 460px; color: var(--soft); font-size: 17px; }
.contacts__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.contacts__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.contacts__list a { display: grid; gap: 6px; padding: 16px 0 18px; border-top: 1px solid var(--line); }
.contacts__list span { font-size: 16px; transition: color 0.2s ease; }
.contacts__list a:hover span { color: var(--accent); }
.contacts__map { display: block; overflow: hidden; background: var(--surface); }
.contacts__map img {
  width: 100%;
  height: auto;
  aspect-ratio: 13 / 9;
  object-fit: cover;
  filter: grayscale(1) contrast(0.92) brightness(1.03);
  transition: filter 0.6s ease;
}
.contacts__map:hover img { filter: none; }

.order-card { display: grid; gap: 20px; max-width: 720px; margin: clamp(36px, 4vw, 56px) var(--pad) 0; }
.order-card ul { margin: 0; padding: 0; list-style: none; }
.order-card li, .drawer__total, .cart-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.order-card .btn { justify-self: start; }

/* Формы */

.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  padding: clamp(36px, 4vw, 56px) var(--pad) 0;
}
.form { display: grid; gap: 22px; }
.form label {
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.form input, .form select, .form textarea, .club__form input, .modal input {
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(27, 25, 22, 0.28);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form input:focus, .form select:focus, .form textarea:focus, .club__form input:focus, .modal input:focus {
  border-bottom-color: var(--ink);
  box-shadow: 0 1px 0 var(--ink);
}
.form ::placeholder, .club__form ::placeholder, .modal ::placeholder { color: var(--muted); opacity: 0.75; }
.form select {
  padding-right: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%231b1916' stroke-width='1.2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 11px;
  cursor: pointer;
}
.form textarea { min-height: 92px; resize: vertical; }
.form .check {
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  color: var(--soft);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.form .check input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  accent-color: var(--ink);
  -webkit-appearance: auto;
  appearance: auto;
}
.check a { border-bottom: 1px solid var(--line); }
.form .fine { margin-top: -10px; }
.form .btn { margin-top: 4px; }
.form-note { min-height: 1.2em; color: var(--accent); font-size: 13px; }
.form-note.is-error { color: var(--error); }
.checkout__side {
  position: sticky;
  top: calc(var(--header) + 28px);
  display: grid;
  align-content: start;
  gap: 4px;
  padding: clamp(24px, 3vw, 40px);
  background: var(--surface);
}
.checkout__side h2 { margin-bottom: 10px; font-size: 32px; }
.checkout__side .cart-line, .checkout__side .drawer__total { border-bottom-color: rgba(27, 25, 22, 0.1); }
.checkout__side .drawer__total { border-bottom: 0; padding-bottom: 0; }
.drawer__total { align-items: baseline; }
.drawer__total strong { font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; }

/* Поиск и корзина */

.modal, .drawer { position: fixed; inset: 0; z-index: 50; }
.modal {
  display: grid;
  place-items: start center;
  padding-top: 12vh;
  background: var(--paper);
  overflow-y: auto;
  animation: fade 0.25s ease;
}
.modal__panel { width: min(720px, calc(100% - var(--gutter) * 2)); padding-bottom: 40px; }
.modal__head { display: flex; justify-content: space-between; align-items: center; }
.modal h2, .drawer h2 { font-size: 34px; }
.modal input {
  margin-top: 12px;
  padding: 14px 0 16px;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
}
.modal input::-webkit-search-cancel-button { display: none; }
.search-list { display: grid; margin-top: 20px; }
.search-list a {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.4;
  transition: color 0.2s ease;
}
.search-list a:hover { color: var(--accent); }
.search-list img { width: 56px; height: 70px; object-fit: cover; background: var(--surface); }
.search-list small { color: var(--muted); font-size: 13px; }
.search-list b { font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }

.drawer { display: flex; justify-content: flex-end; }
.drawer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(27, 25, 22, 0.32);
  cursor: default;
  animation: fade 0.35s ease;
}
.drawer__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(440px, 100%);
  height: 100%;
  padding: 22px clamp(20px, 2.4vw, 32px) 28px;
  background: var(--paper);
  animation: slide 0.45s var(--ease);
}
.cart-lines { flex: 1; margin-top: 16px; overflow: auto; border-top: 1px solid var(--line); }
.cart-lines .fine { padding-top: 20px; }
.cart-lines .cart-line {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
}
.cart-line img { width: 76px; height: 95px; object-fit: cover; background: var(--surface); }
.cart-line > div { display: grid; gap: 6px; }
.cart-line strong { font-weight: 500; }
.cart-lines .cart-line span { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.cart-lines .cart-line s, .checkout__side .cart-line s { margin-right: 6px; color: var(--muted); font-weight: 400; }
.cart-lines .cart-line--note { grid-template-columns: 1fr; }
.cart-offer { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 14px; }
.cart-offer b { color: var(--ink); font-weight: 500; }
.drawer__code { display: grid; gap: 4px; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.drawer__code input { width: 100%; padding: 8px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 16px; letter-spacing: 0; text-transform: none; outline: none; }
.qty { display: inline-flex; justify-self: start; align-items: center; margin-top: 2px; border: 1px solid var(--line); }
.qty button { width: 30px; height: 30px; border: 0; background: transparent; color: var(--ink); }
.qty button:hover { color: var(--accent); }
.cart-lines .qty span { min-width: 20px; color: var(--ink); font-size: 13px; line-height: 30px; text-align: center; }
.drawer__foot { display: grid; gap: 14px; padding-top: 6px; }
.drawer__foot .drawer__total { margin: 0; border-bottom: 0; border-top: 1px solid var(--line); padding: 18px 0 0; }
.drawer__foot .btn { width: 100%; }

/* Движение */

@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(32px); opacity: 0; } }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Админка */

.admin { background: #fff; font-size: 14px; }
.admin .header {
  position: static;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  background: #fff;
  border-bottom-color: var(--line);
}
.admin-shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); align-items: start; min-height: calc(100vh - 57px); }
.admin__main { padding: 28px 32px 64px; overflow: auto; }
.admin-shell .admin__main > section { display: none; padding: 0; border-bottom: 0; }
.admin-shell .admin__main > section.is-on { display: block; }
.admin h2 { margin: 0 0 14px; font-size: 30px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(108px, 1fr)); gap: 8px; margin: 0 0 16px; }
.stat-tile { display: grid; gap: 4px; padding: 12px; background: var(--paper); color: inherit; text-decoration: none; }
.stat-tile b { font-size: 26px; font-weight: 500; font-variant-numeric: tabular-nums; }
.stat-tile span { color: var(--muted); font-size: 12px; }
.stat-tile.is-on { box-shadow: inset 0 0 0 1px var(--ink); }
.stat-nums { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px 16px; margin: 0 0 22px; }
.stat-nums div { padding-top: 12px; border-top: 1px solid var(--line); }
.stat-nums b { display: block; font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; }
.stat-nums span { color: var(--muted); font-size: 12px; }
.stat-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 36px; margin: 0 0 26px; }
.stat-chart { display: block; width: 100%; height: auto; }
.stat-chart text { fill: var(--muted); font-size: 11px; font-family: inherit; }
.stat-split { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 36px; }
.stat-block h3, .stat-kicker { margin: 0 0 8px; font-size: 18px; font-weight: 500; }
.stat-list { list-style: none; margin: 0; padding: 0; }
.stat-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); }
.stat-list span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stat-list b { font-weight: 500; font-variant-numeric: tabular-nums; }
.stat-list i { grid-column: 1 / -1; height: 2px; background: var(--ink); }
@media (max-width: 900px) {
  .stat-charts { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .stat-nums, .stat-split { grid-template-columns: 1fr 1fr; }
}
.admin-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.admin-head h2 { margin: 0; }
.admin-head .btn { min-height: 36px; padding: 0 16px; }
.admin table { width: 100%; margin-bottom: 18px; border-collapse: collapse; }
.admin th, .admin td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin th { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.admin-nav {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-self: stretch;
  min-height: calc(100vh - 57px);
  padding: 16px 12px 20px;
  border-right: 1px solid var(--line);
  background: #fff;
}
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.admin-nav svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.admin-nav a:hover, .admin-nav a.is-on { background: var(--paper); color: var(--ink); }
.admin-nav__end { margin-top: auto; }
@media (max-width: 560px) {
  .admin-shell { grid-template-columns: 1fr; min-height: 0; }
  .admin-nav { position: static; flex-direction: row; align-self: start; align-items: center; min-height: 0; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-nav a { align-self: center; white-space: nowrap; }
  .admin-nav__end { margin-top: 0; }
  .admin__main { padding: 20px 16px 48px; }
}
.admin form { display: grid; gap: 12px; max-width: 460px; margin-top: 18px; }
.admin form.admin-answers { max-width: 760px; }
.admin-answers > p:first-of-type { margin: 0; font-size: 14px; }
.admin-answers .answer-row { display: grid; grid-template-columns: 28px minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 8px 12px; align-items: end; }
.admin-answers .answer-row:has(textarea) { align-items: start; }
.admin-answers .answer-row:has(textarea) > span { padding-top: 26px; }
.admin-answers .answer-row span { padding-bottom: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
.admin label { display: grid; gap: 4px; color: var(--muted); font-size: 12px; }
.admin label[hidden] { display: none; }
.admin label.is-check { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.admin label.is-check input { width: auto; min-height: 0; }
.admin .logo-preview { display: block; height: 48px; width: auto; max-width: 180px; margin-bottom: 12px; object-fit: contain; }
.admin #brand .logo__mark { display: block; margin-bottom: 12px; }
.admin input, .admin textarea, .admin select {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.admin input:focus, .admin textarea:focus, .admin select:focus { border-color: var(--ink); outline: none; }
.admin textarea { min-height: 72px; }
.admin .btn { justify-self: start; }
.admin-kicker { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 0; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.admin-kicker small { color: var(--muted); font-weight: 500; letter-spacing: 0; text-transform: none; }
.admin-rows { margin: 0; padding: 0; list-style: none; }
.admin-rows li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.admin-rows li.no-photo { grid-template-columns: minmax(0, 1fr) auto; }
.admin-rows img { width: 48px; height: 60px; object-fit: cover; }
.admin-rows li.is-review { grid-template-columns: 120px minmax(0, 1fr) auto; min-height: 148px; }
.admin-rows li.is-review img { width: 108px; height: 135px; }
.admin-rows li.is-stopped img { opacity: 0.45; }
.admin-rows b { display: block; font-size: 15px; font-weight: 600; }
.admin-rows small { display: block; color: var(--muted); }
.admin-rows li.is-empty { min-height: 0; padding: 8px 0 14px; border-bottom: 0; }
.admin-pop {
  width: min(640px, calc(100vw - 32px));
  max-height: min(88vh, 860px);
  padding: 18px 20px 20px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.admin-pop::backdrop { background: rgba(27, 25, 22, 0.46); }
.admin-pop__bar { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: -18px -20px 14px; padding: 16px 20px 12px; background: #fff; }
.admin-pop h3 { margin: 0; font-size: 26px; }
.admin-pop [data-pop-close] { width: 36px; height: 36px; border: 1px solid var(--line); background: #fff; font-size: 22px; line-height: 1; }
.admin-pop form { max-width: none; margin-top: 0; }
.admin-pop__photo { width: 140px; height: 176px; object-fit: cover; }
.admin-pop .admin-actions { justify-content: flex-start; }
.admin-pop .fine { margin: 0; }
@media (max-width: 760px) {
  .admin-answers .answer-row { grid-template-columns: 28px minmax(0, 1fr); }
  .admin-answers .answer-row label:last-child { grid-column: 2; }
  .admin-rows li, .admin-rows li.no-photo { grid-template-columns: minmax(0, 1fr); }
  .admin-rows li.is-review { grid-template-columns: 84px minmax(0, 1fr); min-height: 0; }
  .admin-rows li.is-review img { width: 84px; height: 105px; }
  .admin-rows li.is-review .admin-actions { grid-column: 1 / -1; }
  .admin-rows .admin-actions { justify-content: flex-start; }
}
.admin-actions { display: flex; gap: 8px; justify-content: flex-end; white-space: nowrap; }
.admin tr.is-stopped td { color: var(--muted); }
.admin [data-del], .admin [data-stop], .admin-rows [data-pop] { flex: none; min-height: 34px; padding: 0 14px; border: 1px solid var(--line); background: #fff; font-size: 13px; }
.admin [data-stop]:hover { border-color: var(--ink); }
.admin [data-del]:hover { border-color: var(--error); color: var(--error); }
.admin .header [data-logout] { padding: 6px 12px; border: 1px solid var(--line); background: none; font-size: 12px; }
.admin .header [data-logout]:hover { border-color: var(--ink); }

/* Ширины */

@media (min-width: 760px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 48px 20px; }
}
@media (min-width: 1100px) {
  .grid { grid-template-columns: repeat(4, 1fr); gap: 56px 24px; }
}

@media (max-width: 1180px) {
  .nav { gap: 22px; }
}

@media (max-width: 980px) {
  .nav, .header__social, .header__tools, .nav-toggle { display: none; }
  .header { grid-template-columns: 1fr; justify-items: center; }
  .tabbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: calc(58px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    background: rgba(247, 244, 238, 0.96);
    backdrop-filter: blur(10px);
  }
  .tabbar .icon-btn { width: 100%; height: 100%; }
  .tabbar .icon-btn em { top: 8px; right: calc(50% - 22px); }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .tabbar { z-index: 45; }
  .nav-panel { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .drawer__panel { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .answers { grid-template-columns: 1fr 1fr; }
  .answers li { padding: 20px 20px 28px 0; }
  .answers li + li { padding-left: 20px; }
  .answers li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .answers li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .answers i { margin-bottom: 18px; }
  .promos { grid-template-columns: 1fr; gap: 14px; }
  .section__head { grid-template-columns: 1fr; align-items: start; }
  .section__head .text-link { justify-self: start; margin: 6px 0 0; }
  .about-strip, .pdp, .checkout, .club, .info-grid, .contacts__body, .prose--split { grid-template-columns: 1fr; }
  .about-strip img { max-height: 120vw; }
  .kinds__grid { grid-template-columns: repeat(3, 1fr); }
  .pdp { padding-top: 0; }
  .pdp__gallery { width: auto; min-height: 0; max-height: none; margin: 0 calc(var(--pad) * -1); }
  .pdp__info, .checkout__side { position: static; max-width: none; }
  .club { align-items: start; }
  .footer { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .topbar span:nth-child(1), .topbar span:nth-child(3), .topbar span:nth-child(2)::before { display: none; }
  .logo { font-size: 21px; letter-spacing: 0.2em; }
  .stage, .tasks__grid, .section--reviews .reviews {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .stage::-webkit-scrollbar, .tasks__grid::-webkit-scrollbar, .section--reviews .reviews::-webkit-scrollbar { display: none; }
  .stage { height: min(72vh, 124vw); }
  .stage a { flex: 0 0 86%; scroll-snap-align: start; }
  .tasks__grid, .section--reviews .reviews {
    gap: 14px;
    margin: 0 calc(var(--pad) * -1);
    padding: 0 var(--pad);
    scroll-padding: 0 var(--pad);
  }
  .tasks__grid > *, .section--reviews .review { flex: 0 0 74%; scroll-snap-align: start; }
  .reviews--page { grid-template-columns: 1fr 1fr; gap: 14px; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .combo--end { grid-column: 1 / -1; margin-left: 0; }
  .combo--end .combo__menu { left: 0; right: auto; }
  .combo:nth-child(2):not(.combo--end) .combo__menu { left: auto; right: 0; }
  .combo__option { padding: 13px 14px; }
  .contacts__list { grid-template-columns: 1fr; }
  .reviews-more { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; }
}

@media (max-width: 560px) {
  .header .icon-btn { width: 36px; }
  .nav-toggle { margin-left: -8px; }
  .header__tools { margin-right: -8px; }
  .header .logo { font-size: 19px; letter-spacing: 0.18em; }
  .header .logo--wide { letter-spacing: 0.06em; font-size: 16px; }
  .header .logo__mark { display: none; }
  .header .logo__img { height: 22px; max-width: 56px; }
  .answers { grid-template-columns: 1fr; }
  .answers li, .answers li + li { grid-template-columns: 58px 1fr; gap: 4px 0; padding: 18px 0 20px; border-left: 0; }
  .answers li + li { border-top: 1px solid var(--line); }
  .answers i { grid-row: span 2; margin: 0; font-size: 30px; }
  .card__top h3 { font-size: 21px; }
  .promo { grid-template-columns: 116px 1fr; }
  .promo__copy { gap: 10px; padding: 18px 18px 18px 20px; }
  .promo b { font-size: 46px; }
  .promo--code b { font-size: 19px; letter-spacing: 0.16em; }
  .kinds__grid { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .kind b { font-size: 22px; }
  .reviews--page { grid-template-columns: 1fr; }
  .club__form { grid-template-columns: 1fr; gap: 16px 0; }
  .club__form .form-note { margin-top: 0; }
  .pdp__buy { grid-template-columns: 1fr; }
  .specs li { grid-template-columns: 96px 1fr; }
}

@media (max-width: 360px) {
  .header { grid-template-columns: auto 1fr auto; }
  .header .logo { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
