/* ==========================================================================
   Xenia Leybova Jewelry — storefront styles
   Design reference: docs/DESIGN.md (tokens §2, type §3, grid §4, components §7, motion §8).
   Mobile first: < 760 phone · 760–1099 tablet · ≥ 1100 desktop.
   ========================================================================== */

/* ---------- Fonts (self-hosted subsets: Cyrillic + Latin) ---------- */
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url(../fonts/jost-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url(../fonts/jost-latin.woff2) 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: 'Tenor Sans'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/tenor-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Tenor Sans'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/tenor-latin.woff2) 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: 'Cormorant Garamond'; font-style: italic; font-weight: 300 400; font-display: swap;
  src: url(../fonts/cormorant-italic-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 400; font-display: swap;
  src: url(../fonts/cormorant-italic-latin.woff2) 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; }
/* Jost and Tenor Sans have no shekel sign: a 1 KB font draws only "₪" (from Heebo Light). */
@font-face { font-family: 'XL Shekel'; font-style: normal; font-weight: 300 400; font-display: swap;
  src: url(../fonts/shekel.woff2) format('woff2'); unicode-range: U+20AA; }

/* ---------- Tokens (DESIGN.md §2 — same names) ---------- */
:root {
  --c-bg: #F7F3EE;
  --c-ink: #1C1A18;
  --c-text: #3B3631;
  --c-muted: #6F675F;
  --c-bronze: #A57C52;
  --c-bronze-text: #8A6440;
  --c-line: #E4DDD4;
  --c-field-line: #CFC6BA;
  --c-chip-line: #D9D0C4;
  --c-photo: #EDE6DC;
  --c-panel: #EFE9E1;
  --c-error: #9A4A3A;
  --c-overlay: rgba(28, 26, 24, .42);
  --c-sold-badge: rgba(247, 243, 238, .86);

  --f-caps: 'XL Shekel', 'Tenor Sans', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'XL Shekel', 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --f-voice: 'Cormorant Garamond', 'XL Shekel', Georgia, serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 300ms;
  --t-base: 500ms;
  --t-slow: 600ms;
  --t-accordion: 450ms;

  --container: 1360px;
  --gutter-d: 40px;
  --gutter-m: 20px;
  --text-col: 760px;
  --checkout-col: 640px;
  --header-h-d: 84px;
  --header-h-m: 68px;
  --tap: 44px;

  /* layout per breakpoint (phone values here, tablet/desktop below) */
  --gutter: var(--gutter-m);
  --hdr-h: var(--header-h-m);
  --hdr-pad: 8px;
  --logo-s: 50px;     /* compact logo */
  --logo-k: 2.56;     /* hero logo / compact logo: 128 / 50 */
  --hdr-shift: 58px;  /* hero: (top padding 28 + 128/2) − bar 68/2 */
}
@media (min-width: 760px) {
  :root { --gutter: 32px; --hdr-h: 76px; --hdr-pad: 20px; --logo-s: 56px; --logo-k: 2.6786; --hdr-shift: 71px; }
}
@media (min-width: 1100px) {
  :root { --gutter: var(--gutter-d); --hdr-h: var(--header-h-d); --hdr-pad: 56px; --logo-s: 56px; --logo-k: 3.0357; --hdr-shift: 83px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-gutter: stable; }
html.is-locked { overflow: hidden; }
body {
  margin: 0; min-height: 100vh; background: var(--c-bg); color: var(--c-ink);
  font-family: var(--f-body); font-weight: 300; font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
@media (min-width: 1100px) { body { font-size: 17px; } }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
::selection { background: var(--c-panel); color: var(--c-ink); }

:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }
.main:focus { outline: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 300; padding: 14px 20px;
  background: var(--c-ink); color: var(--c-bg); text-decoration: none;
  font: 12px/1 var(--f-caps); letter-spacing: .2em; text-transform: uppercase;
  transform: translateY(-200%); transition: transform var(--t-fast) var(--ease);
}
.skip:focus { transform: none; }

.i { flex: none; fill: none; stroke: currentColor; stroke-width: 1.1; }

/* ---------- Layout ---------- */
.main { display: block; padding-top: var(--hdr-h); }
.has-hero .main { padding-top: 0; }
.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--text { max-width: calc(var(--text-col) + 2 * var(--gutter)); }

/* ---------- Type ---------- */
.caps { font-family: var(--f-caps); font-weight: 400; text-transform: uppercase; }
.h1 { font-family: var(--f-caps); font-weight: 400; text-transform: uppercase; font-size: 30px; line-height: 1.25; letter-spacing: .30em; }
.h2 { font-family: var(--f-caps); font-weight: 400; text-transform: uppercase; font-size: 22px; line-height: 1.3; letter-spacing: .28em; }
.h-sm { font-family: var(--f-caps); font-weight: 400; text-transform: uppercase; font-size: 12px; line-height: 1.6; letter-spacing: .30em; }
.label { font-family: var(--f-caps); font-weight: 400; text-transform: uppercase; font-size: 10px; line-height: 1.4; letter-spacing: .24em; color: var(--c-muted); }
.center-caps { padding-left: .3em; } /* wide tracking pushes centered caps left */
.voice { font-family: var(--f-voice); font-style: italic; font-weight: 400; font-size: 20px; line-height: 1.35; }
.quote { font-family: var(--f-voice); font-style: italic; font-weight: 300; font-size: 32px; line-height: 1.2; }
.muted { color: var(--c-muted); }
.prose { color: var(--c-text); line-height: 1.75; }
.prose p + p { margin-top: 1em; }
@media (min-width: 1100px) {
  .h1 { font-size: 46px; letter-spacing: .34em; }
  .h2 { font-size: 30px; letter-spacing: .32em; }
  .h-sm { font-size: 14px; letter-spacing: .34em; }
  .label { font-size: 11px; }
  .voice { font-size: 22px; }
  .quote { font-size: 48px; }
}

/* Links: a thin underline draws itself from left to right */
.lnk {
  text-decoration: none; padding-bottom: 3px;
  background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat;
  background-position: 0 100%; background-size: 0 1px;
  transition: background-size var(--t-base) var(--ease), color var(--t-fast) var(--ease);
}
.lnk:hover, .lnk:focus-visible, .lnk--on { background-size: 100% 1px; }
/* a bigger tap area without pushing the line away from the text */
/* 44px tall for a finger; the negative margin keeps the lines where they were */
.lnk--tap { display: inline-block; padding: 13px 0; margin: -3px 0; background-origin: content-box; background-position: 0 calc(100% + 3px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 40px; border: 1px solid transparent; border-radius: 0;
  font-family: var(--f-caps); font-weight: 400; font-size: 12px; line-height: 1; letter-spacing: .28em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
@media (min-width: 1100px) { .btn { font-size: 13px; height: 58px; } }
.btn--primary { background: var(--c-ink); color: var(--c-bg); }
.btn--primary:hover { background: var(--c-text); }
.btn--primary:active { background: #000; transform: scale(.98); }
.btn--primary:disabled, .btn--primary.is-disabled { background: var(--c-chip-line); color: var(--c-muted); cursor: default; transform: none; }
.btn--outline { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.btn--outline:hover { background: var(--c-panel); }
.btn--outline:active { transform: scale(.98); }
.btn--outline:disabled, .btn--outline.is-disabled { border: 1px dashed var(--c-field-line); color: var(--c-muted); background: transparent; cursor: default; transform: none; }
.btn--form { height: 50px; }
.btn--block { width: 100%; }
.btn.is-busy { pointer-events: none; }
.btn .spin { width: 14px; height: 14px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: xl-spin .8s linear infinite; }

.ibtn {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: var(--tap); height: var(--tap); padding: 0; border: 0; background: none; color: inherit;
  text-decoration: none; cursor: pointer;
}

/* ---------- Form fields (DESIGN §7.4) ---------- */
.field { display: flex; flex-direction: column; gap: 2px; }
.field__label { font-family: var(--f-caps); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--c-muted); transition: color var(--t-fast) var(--ease); display: flex; justify-content: space-between; gap: 12px; }
@media (min-width: 1100px) { .field__label { font-size: 11px; } }
.field__label [data-counter-for] { flex: none; white-space: nowrap; letter-spacing: .12em; }
.field:focus-within .field__label { color: var(--c-ink); }
.input, .select {
  width: 100%; height: 50px; padding: 0; border: 0; border-bottom: 1px solid var(--c-field-line); border-radius: 0;
  background: transparent; color: var(--c-ink); font: 300 16px var(--f-body); outline: none;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
@media (min-width: 1100px) { .input, .select { height: 52px; font-size: 17px; } }
.input::placeholder, .textarea::placeholder { color: var(--c-muted); opacity: 1; }
.input:focus, .select:focus { border-bottom-color: var(--c-ink); box-shadow: 0 1px 0 var(--c-ink); }
.input:disabled, .input[readonly], .select:disabled { opacity: .5; border-bottom-style: dashed; }
.select { appearance: none; -webkit-appearance: none; padding-right: 28px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1A18' stroke-width='1.3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 2px center / 14px 14px; }
.textarea {
  width: 100%; min-height: 120px; padding: 12px 14px; border: 1px solid var(--c-field-line); border-radius: 0;
  background: transparent; color: var(--c-ink); font: 300 16px/1.5 var(--f-body); resize: vertical; outline: none;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.textarea:focus { border-color: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-ink); }
.field.is-error .field__label { color: var(--c-error); }
.field.is-error .input, .field.is-error .select { border-bottom-color: var(--c-error); box-shadow: 0 1px 0 var(--c-error); }
.field.is-error .textarea { border-color: var(--c-error); }
.field__error { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--c-error); }
.field__error .i { width: 16px; height: 16px; margin-top: 2px; stroke-width: 1.3; }
.field__error[hidden] { display: none; }
input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--c-ink); }
.check { display: flex; align-items: center; gap: 12px; min-height: var(--tap); font-size: 15px; cursor: pointer; }
.check.is-error { color: var(--c-error); }
.check.is-error input { accent-color: var(--c-error); outline: 1px solid var(--c-error); outline-offset: 1px; }

/* ---------- Photos: color → blurred preview → sharp (DESIGN §9) ---------- */
.ph { position: relative; overflow: hidden; background: var(--ph-color, var(--c-photo)); }
.ph__lqip, .ph__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph__lqip { filter: blur(14px); transform: scale(1.12); }
.ph__img { opacity: 0; transition: opacity var(--t-slow) var(--ease), transform .7s var(--ease); }
.ph__img.is-loaded { opacity: 1; }

/* ---------- Header (DESIGN §7.1) ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--hdr-h);
  background: var(--c-bg); color: var(--c-ink); border-bottom: 1px solid var(--c-line);
  transition: transform var(--t-base) var(--ease), background-color 400ms var(--ease),
              border-color 400ms var(--ease), color 400ms var(--ease);
}
.no-js .hdr { position: absolute; }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__in {
  height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center; padding: 0 var(--hdr-pad);
}
.hdr__side { display: flex; align-items: center; gap: 4px; min-width: 0; }
.hdr__side--end { justify-content: flex-end; }
@media (min-width: 1100px) { .hdr__side--end { gap: 14px; } }
.hdr__logo { display: block; width: var(--logo-s); height: var(--logo-s); }
.hdr__logo .logo { width: 100%; height: 100%; transition: filter 400ms var(--ease); }
.hdr--over:not(.is-solid) .logo { filter: var(--over-logo); }
.hdr .hdr__prefs { display: none; margin-right: 10px; }
@media (min-width: 760px) { .hdr .hdr__prefs { display: flex; } }

/* Over the home photo the logo, menu and icons are light, or dark when the owner chose so for a light photo
   (admin «Главная», separately for the computer and the phone photo): body.hero-dark-d / .hero-dark-m. */
body { --over-fg: var(--c-bg); --over-logo: brightness(0) invert(1); --over-shade: rgba(20, 16, 12, .4); --over-line: rgba(247, 243, 238, .35); }
@media (min-width: 760px) { body { --over-shade: rgba(20, 16, 12, .38); } }
@media (max-width: 759px) { body.hero-dark-m { --over-fg: var(--c-ink); --over-logo: none; --over-shade: rgba(247, 243, 238, .5); --over-line: rgba(28, 26, 24, .25); } }
@media (min-width: 760px) { body.hero-dark-d { --over-fg: var(--c-ink); --over-logo: none; --over-shade: rgba(247, 243, 238, .45); --over-line: rgba(28, 26, 24, .25); } }
.hdr--over { background: transparent; border-bottom-color: transparent; color: var(--over-fg); }
.hdr--over .hdr__in { transform: translateY(calc(var(--hdr-shift) * (1 - var(--p, 0)))); animation: xl-fade 1.2s var(--ease) both; }
.hdr--over .hdr__logo { transform: scale(calc(1 + (var(--logo-k) - 1) * (1 - var(--p, 0)))); }
.hdr--over:not(.is-solid) :focus-visible { outline-color: var(--over-fg); }
.hdr--over.is-solid { background: var(--c-bg); border-bottom-color: var(--c-line); color: var(--c-ink); }
.js .hdr--over .hdr__in, .js .hdr--over .hdr__logo { will-change: transform; }

.hdr__cart { position: relative; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
  background: var(--c-bronze); color: var(--c-ink); font: 10px/16px var(--f-caps); text-align: center;
}
.cart-count[hidden] { display: none; }
.cart-count.is-pulse { animation: xl-pulse var(--t-slow) var(--ease); }

/* Language and currency switches */
.prefs { display: flex; align-items: center; gap: 18px; font-family: var(--f-caps); font-size: 12px; line-height: 1; letter-spacing: .2em; }
.prefs__group { display: flex; align-items: center; gap: 4px; margin: 0; }
.prefs__opt {
  display: inline-flex; align-items: center; justify-content: center; min-width: 26px; min-height: var(--tap);
  padding: 0 2px; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit;
  text-decoration: none; opacity: .62; cursor: pointer; transition: opacity var(--t-fast) var(--ease);
}
.prefs__opt:hover, .prefs__opt.is-on, .prefs__opt[aria-pressed="true"] { opacity: 1; }
.prefs__sep { opacity: .5; }

/* ---------- Layers: menu, search, cart (DESIGN §7.11) ---------- */
.layer { position: fixed; inset: 0 calc(0px - var(--sbw, 0px)) 0 0; z-index: 100; visibility: hidden; transition: visibility 0s linear var(--t-slow); }
.layer[hidden] { display: none; }
.layer.is-open { visibility: visible; transition-delay: 0s; }
.layer__overlay { position: absolute; inset: 0; background: var(--c-overlay); opacity: 0; transition: opacity var(--t-base) var(--ease); }
.layer.is-open .layer__overlay { opacity: 1; }
.panel { position: absolute; top: 0; bottom: 0; display: flex; flex-direction: column; background: var(--c-bg); overflow-y: auto; overscroll-behavior: contain; }
.panel--left { left: 0; width: min(350px, calc(100vw - 40px)); transform: translateX(-100%); transition: transform var(--t-base) var(--ease); }
@media (min-width: 760px) { .panel--left { width: 400px; } }
.panel--right { right: 0; width: 100vw; transform: translateX(100%); transition: transform var(--t-slow) var(--ease); }
@media (min-width: 760px) { .panel--right { width: 460px; } }
.panel--full { inset: 0; opacity: 0; transition: opacity var(--t-base) var(--ease); }
.layer.is-open .panel--left, .layer.is-open .panel--right { transform: none; }
.layer.is-open .panel--full { opacity: 1; }

/* Menu */
.menu { padding: 16px 28px 28px; }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: 64px; margin: 0 -12px; }
.menu__logo { display: block; width: 48px; height: 48px; margin-right: 12px; }
.menu__logo .logo { width: 100%; height: 100%; }
.menu__search { margin-top: 12px; }
.menu__search-field { display: flex; align-items: center; gap: 12px; height: 52px; border-bottom: 1px solid var(--c-field-line); color: var(--c-muted); transition: border-color var(--t-fast) var(--ease); }
.menu__search-field:focus-within { border-bottom-color: var(--c-ink); color: var(--c-ink); }
.menu__search-field input { flex: 1; min-width: 0; height: 44px; padding: 0; border: 0; background: transparent; font: 300 16px var(--f-body); color: var(--c-ink); outline: none; }
.menu__search-field input::placeholder { color: var(--c-muted); opacity: 1; }
.menu__search-field input::-webkit-search-cancel-button { -webkit-appearance: none; }
.menu__main { margin-top: 28px; font-family: var(--f-caps); font-size: 17px; letter-spacing: .17em; text-transform: uppercase; }
@media (min-width: 760px) { .menu__main { font-size: 18px; letter-spacing: .2em; } }
.menu__main a {
  display: flex; align-items: center; gap: 14px; min-height: 46px; line-height: 1.3; text-decoration: none; color: var(--c-ink);
  transition: color var(--t-fast) var(--ease);
}
.menu__main a:hover { color: var(--c-bronze-text); }
.menu__main a.is-active { color: var(--c-bronze-text); }
.menu__main a.is-active::before { content: ''; width: 18px; height: 1px; background: var(--c-bronze); flex: none; }
.js .menu__main li { opacity: 0; transform: translateY(8px); transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease); }
.js .layer.is-open .menu__main li { opacity: 1; transform: none; transition-delay: calc(var(--i) * 50ms + 80ms); }
.menu__info {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--c-line);
  font-family: var(--f-caps); font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
}
.menu__info a { display: flex; align-items: center; min-height: var(--tap); text-decoration: none; color: var(--c-text); }
.menu__info a:hover, .menu__info a.is-active { color: var(--c-bronze-text); }
.menu__foot { margin-top: auto; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.menu__foot .prefs { gap: 14px; letter-spacing: .18em; }
.menu__foot .socials { margin-right: -10px; }
.socials { display: flex; align-items: center; }

/* Search */
.search__top { display: flex; justify-content: flex-end; align-items: center; height: 60px; padding: 0 8px; }
.search__form, .search__body { width: 100%; max-width: calc(var(--text-col) + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.search__form { padding-top: 8px; }
.search__field { display: flex; align-items: center; gap: 14px; height: 60px; border-bottom: 1px solid var(--c-ink); }
.search__field input { flex: 1; min-width: 0; height: 56px; padding: 0; border: 0; background: transparent; font: 300 22px var(--f-body); color: var(--c-ink); outline: none; }
.search__field input::placeholder { color: var(--c-muted); opacity: 1; }
.search__field input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search__body { padding-top: 24px; padding-bottom: 32px; }
.search__hint { font-size: 15px; color: var(--c-muted); }
@media (min-width: 1100px) {
  .search__top { height: var(--hdr-h); padding: 0 var(--hdr-pad); }
  .search__form { padding-top: 48px; }
  .search__field input { font-size: 26px; }
}

/* Cart */
.cart__head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h-m); flex: none; padding: 0 8px 0 20px; border-bottom: 1px solid var(--c-line); }
@media (min-width: 760px) { .cart__head { height: var(--hdr-h); padding: 0 16px 0 32px; } }
.cart__title { font-family: var(--f-caps); font-weight: 400; font-size: 16px; letter-spacing: .28em; text-transform: uppercase; }
.cart__body { flex: 1; display: flex; flex-direction: column; }

/* Empty states (DESIGN §7.16) */
.empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 40px 36px; text-align: center; }
.empty__icon { color: var(--c-bronze); stroke-width: .8; }
.empty__title { font-family: var(--f-voice); font-style: italic; font-weight: 300; font-size: 32px; line-height: 1.2; }
.empty__text { max-width: 340px; font-size: 16px; line-height: 1.65; color: var(--c-text); }
.empty .btn { margin-top: 10px; }
.empty__link { font-size: 15px; }

/* ---------- Home: first screen (DESIGN §7.1, §8) ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background: #3A2E26; color: var(--c-bg); }
.hero__media { position: absolute; inset: 0; background: var(--ph-color, #3A2E26); }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal-d, 50% 50%); animation: xl-zoom 9s var(--ease) forwards; }
@media (max-width: 759px) { .hero__img { object-position: var(--focal-m, 50% 50%); } }
.hero__shade { position: absolute; inset: 0 0 auto 0; height: 240px; background: linear-gradient(180deg, var(--over-shade), transparent); pointer-events: none; }
@media (min-width: 760px) { .hero__shade { height: 300px; } }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: var(--tap); color: var(--over-fg); text-decoration: none; }
.hero__scroll:focus-visible { outline-color: var(--over-fg); }
.hero__scroll-label { display: none; font-family: var(--f-caps); font-size: 10px; letter-spacing: .4em; padding-left: .4em; text-transform: uppercase; opacity: .85; }
.hero__line { display: block; width: 1px; height: 60px; overflow: hidden; background: var(--over-line); }
.hero__line > span { display: block; width: 1px; height: 100%; background: var(--over-fg); animation: xl-line 2.6s cubic-bezier(.45, 0, .2, 1) infinite; }
@media (min-width: 1100px) {
  .hero__scroll { bottom: 36px; }
  .hero__scroll-label { display: block; }
  .hero__line { height: 64px; }
}
.home-next { scroll-margin-top: var(--hdr-h); }

/* ---------- Footer (DESIGN §7.2) ---------- */
.ftr { border-top: 1px solid var(--c-line); margin-top: 56px; font-size: 13px; color: var(--c-muted); }
.has-hero .ftr { margin-top: 0; }
@media (min-width: 1100px) { .ftr { margin-top: 104px; } }
.ftr a { color: inherit; }
.ftr__logo { display: block; width: 76px; height: 76px; }
.ftr__logo .logo { width: 100%; height: 100%; }
.ftr__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; width: 100%; font-family: var(--f-caps); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.ftr__nav a { color: var(--c-ink); justify-self: center; }
.ftr__nav a.is-active { color: var(--c-bronze-text); }
.ftr__social { gap: 8px; }
.ftr__social .ibtn { position: relative; width: 48px; height: 48px; border: 1px solid var(--c-line); border-radius: 50%; color: var(--c-ink); transition: color var(--t-fast) var(--ease); }
.ftr__legal { display: flex; flex-direction: column; align-items: center; gap: 0; }
.ftr__legal a, .ftr__cookies { background-size: 100% 1px; }
.ftr__cookies { border: 0; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; background-color: transparent; }
.ftr__prefs { color: var(--c-ink); gap: 24px; }
.ftr__pay { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ftr__allpay { display: flex; align-items: center; gap: 10px; min-height: var(--tap); text-decoration: none; color: var(--c-muted); }
.ftr__allpay img { width: 66px; height: auto; }
.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.cards__chip { display: flex; align-items: center; justify-content: center; height: 28px; min-width: 52px; padding: 0 10px; border: 1px solid var(--c-chip-line); border-radius: 4px; color: var(--c-text); }

/* social icons on hover: a bronze ring closes around the icon, the icon turns slightly */
.ftr__social .ibtn::before { content: ''; position: absolute; inset: -1px; border: 1px solid var(--c-bronze); border-radius: 50%; opacity: 0; transform: scale(.72); transition: opacity var(--t-fast) var(--ease), transform var(--t-base) var(--ease); pointer-events: none; }
.ftr__social .i { transition: transform var(--t-base) var(--ease); }
@media (hover: hover) {
  .ftr__social .ibtn:is(:hover, :focus-visible) { color: var(--c-bronze-text); }
  .ftr__social .ibtn:is(:hover, :focus-visible)::before { opacity: 1; transform: none; }
  .ftr__social .ibtn:is(:hover, :focus-visible) .i { transform: translateY(-1px) rotate(-8deg) scale(1.08); }
}

/* phone: one centered column */
.ftr__row { display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 56px var(--gutter) 0; text-align: center; }
.ftr__row--meta { padding-top: 24px; gap: 20px; }
.ftr__row--pay { margin: 28px var(--gutter) 0; padding: 24px 0 32px; border-top: 1px solid var(--c-line); gap: 8px; }

/* from tablet up: logo · links · socials, then documents · switches · ©, then payments */
@media (min-width: 760px) {
  .ftr__social .ibtn { width: var(--tap); height: var(--tap); border: 0; }
  .ftr__social .ibtn::before { inset: 0; }
  .cards { gap: 8px; }
  .cards__chip { height: 30px; padding: 0 12px; }
  .ftr__allpay img { width: 70px; }

  .ftr__row { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 24px 32px; max-width: 1280px; margin: 0 auto; padding: 48px var(--gutter) 0; text-align: left; }
  .ftr__logo { width: 64px; height: 64px; }
  .ftr__nav { display: flex; width: auto; gap: 32px; font-size: 12px; letter-spacing: .22em; }
  .ftr__social { margin-right: -10px; }
  .ftr__row--meta { padding-top: 28px; padding-bottom: 28px; align-items: center; }
  .ftr__legal { flex-direction: row; gap: 24px; }
  .ftr__legal a, .ftr__cookies { background-size: 0 1px; }
  .ftr__legal a:hover, .ftr__legal a:focus-visible, .ftr__cookies:hover, .ftr__cookies:focus-visible { background-size: 100% 1px; }
  .ftr__row--pay { margin: 0 auto; padding: 18px var(--gutter) 32px; border-top: 1px solid var(--c-line); align-items: center; }
  .ftr__pay { flex-direction: row; flex-wrap: wrap; gap: 16px 28px; }
  .ftr__copy { margin-left: auto; }
}
@media (min-width: 1100px) {
  .ftr__row { padding-top: 56px; }
}

/* ---------- 404 (DESIGN §7.16) ---------- */
.nf {
  min-height: calc(100vh - var(--hdr-h)); min-height: calc(100svh - var(--hdr-h));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  padding: 40px var(--gutter) 64px; text-align: center;
}
.nf__stage { position: relative; width: min(420px, 100%); height: 170px; }
.nf__floor { position: absolute; left: 0; right: 0; bottom: 18px; height: 1px; background: var(--c-line); }
.nf__bead { position: absolute; left: 50%; bottom: 19px; width: 120px; height: 120px; margin-left: -60px; border-radius: 50%; overflow: hidden; box-shadow: 0 18px 24px -18px rgba(28, 26, 24, .35); animation: xl-roll 1.6s var(--ease) both; }
.nf__bead .ph { width: 100%; height: 100%; }
.nf__code { font-family: var(--f-caps); font-size: 12px; letter-spacing: .4em; padding-left: .4em; color: var(--c-bronze-text); }
.nf__title { max-width: 900px; font-family: var(--f-voice); font-style: italic; font-weight: 300; font-size: 32px; line-height: 1.15; }
.nf__text { max-width: 460px; font-size: 16px; line-height: 1.7; color: var(--c-text); }
.nf__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 8px; }
@media (max-width: 759px) { .nf__actions { flex-direction: column; align-self: stretch; } }
@media (min-width: 1100px) {
  .nf { gap: 32px; }
  .nf__stage { height: 200px; }
  .nf__title { font-size: 52px; }
  .nf__text { font-size: 18px; }
}

/* ---------- Product cards (DESIGN §7.6) ---------- */
.card { min-width: 0; }
.card__link { display: flex; flex-direction: column; gap: 12px; height: 100%; color: inherit; text-decoration: none; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--c-photo); }
.card__media > .ph { position: absolute; inset: 0; }
.card__ph--hover { opacity: 0; transition: opacity var(--t-slow) var(--ease); }
.card__ph .ph__img { transition: opacity var(--t-slow) var(--ease), transform .7s var(--ease); }
@media (hover: hover) {
  .card__link:hover .card__ph--hover { opacity: 1; }
  .card__link:hover .card__media .ph__img.is-loaded { transform: scale(1.03); }
}
@media (hover: none) { .card__ph--hover { display: none; } }
.card__meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 5px 12px; }
.card__title { font-family: var(--f-caps); font-size: 11px; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; color: var(--c-ink); }
.card__new { font-family: var(--f-caps); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--c-bronze-text); }
.card__price { grid-column: 1 / -1; font-size: 15px; color: var(--c-muted); }
.card__sold { position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, -50%); padding: 8px 12px; background: var(--c-sold-badge); color: var(--c-ink); font-family: var(--f-caps); font-size: 10px; line-height: 1; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }
.is-sold .card__title { color: var(--c-muted); }
@media (min-width: 1100px) {
  .card__link { gap: 18px; }
  .card__title { font-size: 13px; letter-spacing: .2em; }
  .card__new { font-size: 10px; letter-spacing: .24em; }
  .card__sold { padding: 10px 16px; font-size: 11px; letter-spacing: .26em; }
}
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Catalog: header, showcase grid, archive, SEO text (TZ 9, DESIGN §7.7) ---------- */
.cat-head { max-width: calc(var(--text-col) + 48px); margin: 0 auto; padding: 56px 28px 44px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.cat-head__intro { max-width: 520px; font-size: 16px; line-height: 1.65; color: var(--c-text); }
.cat-head__count { display: flex; align-items: center; gap: 14px; font-family: var(--f-caps); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--c-muted); }
.rule { display: block; width: 24px; height: 1px; background: var(--c-bronze); flex: none; }
@media (min-width: 1100px) {
  .cat-head { padding: 104px 24px 80px; gap: 26px; }
  .cat-head__intro { font-size: 19px; }
  .cat-head__count { gap: 18px; font-size: 11px; letter-spacing: .26em; }
  .cat-head__count .rule { width: 32px; }
}

.showcase, .grid4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; grid-auto-flow: row dense; }
.card--big { grid-column: 1 / -1; }
.card--big .card__media { margin-inline: calc(-1 * var(--gutter)); }
.card--big .card__meta { grid-template-columns: minmax(0, 1fr) auto auto; }
.card--big .card__price { grid-column: auto; }
.card--big .card__title { font-size: 12px; letter-spacing: .18em; }
@media (min-width: 760px) {
  .showcase, .grid4 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 20px; }
  .card--big .card__media { margin-inline: 0; aspect-ratio: 3 / 2; }
}
@media (min-width: 1100px) {
  .showcase, .grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 24px; }
  .card--big { grid-column: span 2; grid-row: span 2; }
  .card--l { grid-column: 1 / span 2; }
  .card--r { grid-column: 3 / span 2; }
  .card--big .card__media { flex: 1; min-height: 0; aspect-ratio: auto; }
  .card--big .card__title { font-size: 13px; letter-spacing: .2em; }
}

.archive { padding-top: 72px; }
.archive__head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.archive__head .rule { flex: 1; width: auto; background: var(--c-line); }
.archive__head .h-sm { color: var(--c-text); white-space: nowrap; }
.archive__voice { margin: 0 auto 32px; max-width: 560px; text-align: center; font-family: var(--f-voice); font-style: italic; font-size: 19px; line-height: 1.35; color: var(--c-muted); }
@media (min-width: 1100px) {
  .archive { padding-top: 120px; }
  .archive__head { gap: 28px; margin-bottom: 20px; }
  .archive__voice { margin-bottom: 56px; font-size: 20px; }
}

.pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 560px; margin: 56px auto 0; font-size: 14px; color: var(--c-muted); }
.pager a { color: var(--c-ink); }
.js .pager.is-auto { display: none; }
.loader { display: flex; justify-content: center; padding: 40px 0 0; }
.loader span { width: 18px; height: 18px; border: 1px solid var(--c-bronze); border-right-color: transparent; border-radius: 50%; animation: xl-spin .9s linear infinite; }

.seo-text { max-width: calc(var(--text-col) + 2 * var(--gutter)); margin: 0 auto; padding: 72px var(--gutter) 0; display: flex; flex-direction: column; gap: 16px; }
.seo-text h2 { text-align: center; line-height: 1.6; }
.seo-text p { font-size: 15px; line-height: 1.8; color: var(--c-text); }
.seo-text__more { display: flex; flex-direction: column; }
.seo-text__more > summary { order: 2; align-self: center; display: inline-flex; align-items: center; min-height: var(--tap); list-style: none; cursor: pointer; font-family: var(--f-caps); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.seo-text__more > summary::-webkit-details-marker { display: none; }
.seo-text__more p + p, .seo-text__more p { margin-top: 14px; }
.seo-text__more[open] .seo-text__open, .seo-text__more:not([open]) .seo-text__close { display: none; }
@media (min-width: 1100px) {
  .seo-text { padding-top: 128px; gap: 20px; }
  .seo-text p { font-size: 16px; }
}
.empty--page { padding: 0 20px 40px; }

/* ---------- Home: New In slider (TZ 7.2) ---------- */
.newin { padding: 72px 0 80px; }
.newin__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 0 var(--gutter); margin-bottom: 28px; }
.newin__titles { display: flex; align-items: baseline; gap: 28px; flex-wrap: wrap; }
.newin__voice { display: none; font-family: var(--f-voice); font-style: italic; font-size: 20px; color: var(--c-muted); }
.newin__all { display: inline-flex; align-items: center; min-height: var(--tap); font-size: 11px; letter-spacing: .22em; padding-bottom: 0; background-position: 0 calc(100% - 10px); background-size: 100% 1px; }
.newin__viewport { position: relative; }
.newin__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 232px; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 0 var(--gutter); scrollbar-width: none;
}
.newin__track::-webkit-scrollbar { display: none; }
.newin__track > .card { scroll-snap-align: start; }
.newin__track.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.newin__track.is-dragging a { pointer-events: none; }
.newin__arrow { display: none; }
.newin__progress { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 0 var(--gutter); }
.newin__bar { position: relative; flex: 1; height: 1px; background: var(--c-line); overflow: hidden; }
.newin__bar > span { position: absolute; left: 0; top: 0; bottom: 0; width: var(--fill, 0%); background: var(--c-bronze); transition: width var(--t-fast) var(--ease); }
.newin__count { font-family: var(--f-caps); font-size: 10px; letter-spacing: .2em; color: var(--c-muted); }
@media (min-width: 760px) {
  .newin__track { grid-auto-columns: calc((100% - 2 * var(--gutter) - 2 * 20px) / 3); gap: 20px; }
}
@media (min-width: 1100px) {
  .newin { max-width: var(--container); margin: 0 auto; padding: 128px var(--gutter) 120px; }
  .newin__head { padding: 0; margin-bottom: 48px; }
  .newin__voice { display: inline; }
  .newin__all { font-size: 12px; letter-spacing: .24em; background-position: 0 calc(100% - 10px); background-size: 0 1px; }
  .newin__all:hover { background-size: 100% 1px; }
  .newin__track { grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px; padding: 0; scroll-padding-inline: 0; }
  .newin__arrow {
    position: absolute; top: 38%; z-index: 2; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border: 1px solid var(--c-line); border-radius: 50%; background: rgba(247, 243, 238, .92); color: var(--c-ink); cursor: pointer;
    opacity: 0; transition: opacity var(--t-fast) var(--ease);
  }
  .newin__arrow--prev { left: -22px; }
  .newin__arrow--next { right: -22px; }
  .newin__viewport:hover .newin__arrow, .newin__arrow:focus-visible { opacity: 1; }
  .newin__arrow:disabled { opacity: 0 !important; pointer-events: none; }
  .newin__progress { margin-top: 48px; padding: 0; gap: 24px; }
  .newin__count { font-size: 11px; letter-spacing: .24em; }
}

/* ---------- Product page (TZ 11, DESIGN §7.8) ---------- */
.product__gallery { position: relative; }
.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__item { position: relative; flex: 0 0 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; background: var(--c-photo); scroll-snap-align: start; cursor: zoom-in; }
.gallery__item > .ph { position: absolute; inset: 0; }
.gallery__item--video { cursor: pointer; }
.gallery__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.gallery__bars { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; pointer-events: none; }
.gallery__bars span { width: 18px; height: 2px; background: rgba(247, 243, 238, .45); transition: background-color var(--t-fast) var(--ease); }
.gallery__bars span.is-on { background: var(--c-bg); }
.product__info { display: flex; flex-direction: column; gap: 20px; padding: 24px var(--gutter) 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--c-muted); }
.crumbs a { color: var(--c-muted); }
.crumbs [aria-current] { color: var(--c-ink); }
.product__head { display: flex; flex-direction: column; gap: 12px; }
.product__title { font-family: var(--f-caps); font-weight: 400; font-size: 24px; line-height: 1.4; letter-spacing: .2em; text-transform: uppercase; }
.product__price { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.product__amount { font-size: 20px; }
.ooak { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-caps); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--c-bronze-text); }
.tag-sold { align-self: flex-start; padding: 8px 12px; background: #E9E2D8; font-family: var(--f-caps); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--c-ink); }
.product__desc { font-size: 16px; }
.details { display: flex; flex-direction: column; gap: 10px; }
.details dl { display: grid; grid-template-columns: 110px minmax(0, 1fr); border-top: 1px solid var(--c-line); font-size: 14px; line-height: 1.5; }
.details dt, .details dd { padding: 10px 0; border-bottom: 1px solid var(--c-line); }
.details dt { color: var(--c-muted); padding-right: 12px; }
.product__voice { display: flex; align-items: center; gap: 14px; margin-top: -4px; font-family: var(--f-voice); font-style: italic; font-size: 18px; line-height: 1.4; color: var(--c-text); }
.product__voice .rule { width: 36px; }
.product__voice-plain { font-family: var(--f-voice); font-style: italic; font-size: 19px; line-height: 1.4; color: var(--c-text); }
.product__online { display: flex; gap: 14px; padding: 18px 20px; background: var(--c-panel); font-size: 15px; line-height: 1.6; color: var(--c-text); }
.product__online-icon { flex: none; margin-top: 1px; color: var(--c-bronze); }
.product__online-title { display: block; margin-bottom: 4px; font-family: var(--f-caps); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--c-ink); }
.wa-link { display: flex; align-items: center; gap: 12px; min-height: var(--tap); margin-top: -6px; color: var(--c-text); font-size: 15px; line-height: 1.4; text-decoration: none; }
.wa-link__icon { color: var(--c-bronze); }
.wa-link__cta { color: var(--c-ink); }
.acc { border-top: 1px solid var(--c-line); }
.acc__item { border-bottom: 1px solid var(--c-line); }
.acc__item > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 58px; list-style: none; cursor: pointer; font-family: var(--f-caps); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; }
.acc__item > summary::-webkit-details-marker { display: none; }
.acc__body { overflow: hidden; }
.acc__body p { padding-bottom: 24px; font-size: 15px; line-height: 1.75; color: var(--c-text); }
.acc__link { color: var(--c-bronze-text); }
.plus .plus__v { transform-box: fill-box; transform-origin: center; transition: transform var(--t-accordion) var(--ease), opacity var(--t-fast) var(--ease); }
details[open] > summary .plus__v { transform: rotate(90deg); opacity: 0; }
details.is-closing > summary .plus__v { transform: none; opacity: 1; }
@media (min-width: 760px) {
  .product__info { max-width: 720px; margin: 0 auto; }
}
@media (min-width: 1100px) {
  .product { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 80px; align-items: start; max-width: var(--container); margin: 0 auto; padding: 40px var(--gutter) 0; }
  .gallery__track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; overflow: visible; }
  .gallery__item:first-child { grid-column: 1 / -1; }
  .gallery__bars { display: none; }
  .product__info { position: sticky; top: 40px; max-width: none; margin: 0; padding: 24px 0 0; gap: 28px; }
  .crumbs { gap: 10px; }
  .product__title { font-size: 32px; line-height: 1.35; letter-spacing: .24em; }
  .product__head { gap: 16px; }
  .product__amount { font-size: 22px; }
  .ooak { font-size: 11px; }
  .product__desc { font-size: 17px; }
  .details dl { grid-template-columns: 150px minmax(0, 1fr); font-size: 15px; }
  .details dt, .details dd { padding: 11px 0; }
  .product__voice { margin-top: 0; font-size: 19px; }
  .wa-link { margin-top: -8px; }
  .acc__item > summary { height: 60px; font-size: 12px; letter-spacing: .26em; }
}

.how { display: flex; flex-direction: column; gap: 18px; padding: 64px var(--gutter) 0; }
.how__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--c-photo); }
.how__media > .ph, .how__play > .ph, .how__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.how__play { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.how__btn { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(247, 243, 238, .9); color: var(--c-ink); }
.how__time { position: absolute; left: 12px; bottom: 12px; padding: 5px 8px; background: rgba(247, 243, 238, .9); font-family: var(--f-caps); font-size: 9px; letter-spacing: .2em; color: var(--c-ink); }
.how__text { display: flex; flex-direction: column; gap: 14px; }
.label--bronze { color: var(--c-bronze-text); }
.how__title { font-family: var(--f-voice); font-style: italic; font-size: 24px; line-height: 1.25; }
.how__body { font-size: 15px; line-height: 1.7; color: var(--c-text); }
@media (min-width: 1100px) {
  .how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 140px var(--gutter) 0; }
  .how__btn { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
  .how__time { left: 18px; bottom: 16px; padding: 6px 10px; font-size: 10px; }
  .how__text { gap: 22px; }
  .how__title { font-size: 36px; line-height: 1.2; }
  .how__body { font-size: 17px; line-height: 1.8; }
}

.related { padding: 64px 0 0; }
.related__title { padding: 0 var(--gutter); margin-bottom: 24px; font-size: 15px; letter-spacing: .26em; }
.related__row { display: grid; grid-auto-flow: column; grid-auto-columns: 200px; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.related__row::-webkit-scrollbar { display: none; }
.related__row > .card { scroll-snap-align: start; }
@media (min-width: 760px) {
  .related__row { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; gap: 24px; }
}
@media (min-width: 1100px) {
  .related { padding-top: 140px; }
  .related__title { margin-bottom: 44px; text-align: center; font-size: 20px; letter-spacing: .3em; padding-left: .3em; }
}

/* Sticky buy bar on phones (DESIGN §7.9) */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 12px 16px calc(20px + env(safe-area-inset-bottom)); background: rgba(247, 243, 238, .97); border-top: 1px solid var(--c-line);
  transform: translateY(100%); transition: transform 400ms var(--ease); visibility: hidden;
}
.buybar.is-shown { transform: none; visibility: visible; }
.buybar__thumb { position: relative; width: 44px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--c-photo); }
.buybar__thumb > .ph { position: absolute; inset: 0; }
.buybar__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.buybar__title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--f-caps); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.buybar__price { font-size: 14px; color: var(--c-muted); }
.buybar__sold { font-family: var(--f-caps); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--c-muted); }
.buybar__btn { height: 48px; padding: 0 20px; font-size: 11px; letter-spacing: .22em; }
@media (max-width: 1099px) { .page-product .main { padding-bottom: 96px; } }
@media (min-width: 1100px) { .buybar { display: none; } }

/* Full-screen photos (TZ 11.2, DESIGN §7.12) */
.lightbox { display: flex; flex-direction: column; }
.lightbox__top { display: flex; align-items: center; justify-content: space-between; flex: none; height: 64px; padding: 0 8px 0 20px; }
.lightbox__acts { display: flex; align-items: center; gap: 4px; }
.lightbox__sound .lightbox__sound-on, .lightbox__sound[aria-pressed="true"] .lightbox__sound-off { display: none; }
.lightbox__sound[aria-pressed="true"] .lightbox__sound-on { display: block; }
.lightbox__count { font-family: var(--f-caps); font-size: 11px; letter-spacing: .24em; color: var(--c-muted); }
.lightbox__stage { position: relative; flex: 1; min-height: 0; overflow: hidden; touch-action: none; }
.lightbox__slide { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; }
.lightbox__slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; background: var(--c-photo); transform-origin: 0 0; user-select: none; -webkit-user-drag: none; cursor: zoom-in; }
.lightbox__slide.is-zoomed img { cursor: grab; }
.lightbox__slide video { max-width: 100%; max-height: 100%; width: auto; height: auto; background: var(--c-photo); user-select: none; cursor: pointer; }
.lightbox__thumbs .lightbox__thumb-video { display: flex; align-items: center; justify-content: center; color: var(--c-ink); }
.lightbox__arrow { position: absolute; top: 50%; z-index: 2; width: var(--tap); height: var(--tap); margin-top: -22px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(247, 243, 238, .85); color: var(--c-ink); cursor: pointer; }
.lightbox__arrow--prev { left: 4px; }
.lightbox__arrow--next { right: 4px; }
.lightbox__bottom { flex: none; display: flex; flex-direction: column; gap: 16px; padding: 16px 20px calc(28px + env(safe-area-inset-bottom)); }
.lightbox__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 8px; max-width: 480px; width: 100%; margin: 0 auto; }
.lightbox__thumbs button { aspect-ratio: 4 / 5; padding: 0; border: 1px solid transparent; background: var(--c-photo); overflow: hidden; opacity: .55; cursor: pointer; transition: opacity var(--t-fast) var(--ease); }
.lightbox__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__thumbs button[aria-current="true"] { opacity: 1; border-color: var(--c-ink); outline: 1px solid var(--c-ink); outline-offset: 2px; }
.lightbox__hint { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--c-muted); }
.hint-mouse { display: none; }
@media (pointer: fine) { .hint-touch { display: none; } .hint-mouse { display: inline; } }
@media (min-width: 1100px) {
  .lightbox__top { height: var(--hdr-h); padding: 0 var(--hdr-pad); }
  .lightbox__arrow--prev { left: 24px; }
  .lightbox__arrow--next { right: 24px; }
  .lightbox__thumbs { grid-template-columns: repeat(auto-fill, 64px); justify-content: center; }
}

/* Modal forms (DESIGN §7.11): MADE TO ORDER, «Хочу записаться» */
.layer--modal { display: flex; align-items: flex-start; justify-content: center; padding: 72px 12px 24px; overflow-y: auto; }
.layer--modal[hidden] { display: none; }
.modal {
  position: relative; width: 560px; max-width: 100%; padding: 44px 24px 32px; background: var(--c-bg);
  opacity: 0; transform: scale(.97); transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.layer.is-open .modal { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 8px; right: 8px; }
.modal__form { display: flex; flex-direction: column; gap: 22px; }
.modal__title { text-align: center; font-family: var(--f-caps); font-weight: 400; font-size: 17px; letter-spacing: .26em; text-transform: uppercase; padding-left: .26em; }
.modal__intro { margin-top: -10px; text-align: center; font-size: 15px; line-height: 1.6; color: var(--c-muted); }
.modal__thanks { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 16px 0; text-align: center; }
.modal__thanks .modal__logo { width: 64px; height: 64px; }
.modal__thanks-text { font-family: var(--f-voice); font-style: italic; font-size: 26px; line-height: 1.3; outline: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (min-width: 760px) {
  .layer--modal { align-items: center; padding: 24px; }
  .modal { padding: 56px 48px 44px; }
}

/* ---------- Cart panel (TZ 15.1) ---------- */
.cart__count { color: var(--c-muted); }
.cart__body { min-height: 0; }
.cart__list { flex: 1; overflow-y: auto; padding: 0 20px; }
.cart-item { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--c-line); }
.cart-item__photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--c-photo); }
.cart-item__photo > .ph { position: absolute; inset: 0; }
.cart-item.is-unavailable .cart-item__photo > .ph { filter: saturate(.45); opacity: .7; }
.cart-item__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cart-item__top { display: flex; justify-content: space-between; gap: 12px; }
.cart-item__title { font-family: var(--f-caps); font-size: 12px; line-height: 1.5; letter-spacing: .18em; text-transform: uppercase; color: var(--c-ink); text-decoration: none; }
.cart-item__price { font-size: 16px; white-space: nowrap; }
.cart-item__note { font-size: 13px; color: var(--c-bronze-text); }
.cart-item__note--warn { color: var(--c-error); }
.cart-item__bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cart-item__qty { font-size: 14px; color: var(--c-muted); }
.cart-item__remove { min-height: var(--tap); padding: 0; border: 0; background: none; font-size: 14px; color: var(--c-muted); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--c-line); }
.qty button { width: var(--tap); height: var(--tap); display: flex; align-items: center; justify-content: center; border: 0; background: none; color: var(--c-ink); cursor: pointer; }
.qty button:disabled { color: var(--c-chip-line); cursor: default; }
.qty span { min-width: 28px; text-align: center; font-size: 15px; }
.cart__note { display: flex; align-items: flex-start; gap: 12px; margin: 28px 0; font-family: var(--f-voice); font-style: italic; font-size: 19px; line-height: 1.4; color: var(--c-text); }
.cart__note .i { flex: none; margin-top: 3px; color: var(--c-bronze); }
.cart__foot { flex: none; display: flex; flex-direction: column; gap: 14px; padding: 20px 20px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--c-line); }
.cart__subtotal { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 22px; }
.cart__subtotal .caps { font-size: 12px; letter-spacing: .26em; }
.cart__hint { font-size: 14px; color: var(--c-muted); }
.cart__foot .btn { margin-top: 6px; }
.cart__continue { min-height: var(--tap); border: 0; background: none; font-size: 15px; color: var(--c-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; cursor: pointer; }
.cart__fresh { padding: 0 20px 28px; }
.cart__fresh-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.cart__fresh-row a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--c-photo); }
.cart__fresh-row a > .ph { position: absolute; inset: 0; }
.cart__fresh .label { display: block; text-align: center; }
@media (min-width: 760px) {
  .cart__list { padding: 0 36px; }
  .cart-item { grid-template-columns: 104px minmax(0, 1fr); gap: 20px; padding: 28px 0; }
  .cart-item__title { font-size: 13px; }
  .cart__foot { padding: 24px 36px 32px; }
  .cart__fresh { padding: 0 36px 32px; }
}

/* ---------- Search results (TZ 10) ---------- */
.search__found { margin-bottom: 20px; }
.search__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
.search-card { display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none; }
.search-card__sub { font-size: 13px; color: var(--c-muted); }
.search__idle { display: flex; flex-direction: column; gap: 18px; }
.search__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-btn { min-height: var(--tap); padding: 0 18px; border: 1px solid var(--c-line); background: transparent; font: 300 15px var(--f-body); color: var(--c-ink); cursor: pointer; transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.chip-btn:hover { border-color: var(--c-ink); }
.search__empty { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-top: 48px; text-align: center; }
.search__empty-title { font-family: var(--f-voice); font-style: italic; font-size: 26px; line-height: 1.3; }
.search__empty-text { max-width: 420px; font-size: 15px; line-height: 1.6; color: var(--c-text); }
.search--page { max-width: calc(var(--text-col) + 2 * var(--gutter)); margin: 0 auto; padding: 32px var(--gutter) 0; }
.search--page .search__body { padding: 24px 0 0; }
@media (min-width: 760px) { .search__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; } }

/* ---------- Text pages, Contact, Cancel a purchase (DESIGN §16: the Delivery template) ---------- */
.page-head { max-width: calc(var(--text-col) + 2 * var(--gutter)); margin: 0 auto; padding: 56px var(--gutter) 40px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.page-head__title { font-size: 20px; letter-spacing: .2em; overflow-wrap: break-word; }
.page-head__lead { font-size: 14px; line-height: 1.6; color: var(--c-muted); max-width: 560px; }
.page-head__intro { font-size: 16px; line-height: 1.65; color: var(--c-text); max-width: 540px; }
.page-head__voice { font-family: var(--f-voice); font-style: italic; font-weight: 300; font-size: 24px; line-height: 1.35; max-width: 560px; }
.page-head__link { font-size: 14px; color: var(--c-bronze-text); }
@media (min-width: 760px) {
  .page-head { padding-top: 80px; padding-bottom: 56px; gap: 26px; }
  .page-head__title { font-size: 30px; letter-spacing: .28em; }
  .page-head__voice { font-size: 28px; }
}
@media (min-width: 1100px) {
  .page-head { padding-top: 104px; padding-bottom: 64px; }
  .page-head__title { font-size: 40px; letter-spacing: .3em; }
  .page-head__intro { font-size: 18px; }
  .page-head__voice { font-size: 30px; }
}

.doc { max-width: calc(var(--text-col) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); color: var(--c-text); font-size: 16px; line-height: 1.75; }
.doc p + p, .doc p + .doc__list, .doc__list + p, .doc__list + .doc__list { margin-top: 14px; }
.doc__h { margin: 48px 0 16px; font-family: var(--f-caps); font-weight: 400; text-transform: uppercase; font-size: 12px; line-height: 1.6; letter-spacing: .26em; color: var(--c-ink); }
.doc__h:first-child { margin-top: 0; }
.doc ul.doc__list { padding-left: 1.2em; list-style: disc; }
.doc__list li + li { margin-top: 6px; }
.doc__list li::marker { color: var(--c-bronze); }
.doc strong { font-weight: 400; color: var(--c-ink); }
.doc .lnk { color: var(--c-bronze-text); }
@media (min-width: 1100px) { .doc { font-size: 17px; } .doc__h { font-size: 13px; margin-top: 56px; } }

.channels { max-width: calc(980px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.channel { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 20px; border: 1px solid var(--c-line); text-decoration: none; color: var(--c-ink); transition: background-color var(--t-fast) var(--ease); }
.channel:hover { background: var(--c-panel); }
.channel__icon { color: var(--c-bronze); }
.channel__name { font-family: var(--f-caps); text-transform: uppercase; font-size: 12px; letter-spacing: .26em; }
.channel__value { font-size: 16px; color: var(--c-text); overflow-wrap: anywhere; }
@media (min-width: 760px) { .channels { gap: 16px; } .channel { padding: 32px 20px; } }

.msg { max-width: calc(var(--checkout-col) + 2 * var(--gutter)); margin: 0 auto; padding: 72px var(--gutter) 0; }
.msg--tight { padding-top: 0; }
.msg__form { display: flex; flex-direction: column; gap: 26px; }
.msg__head { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 15px; }
.msg__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px 24px; }
.msg__thanks { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 40px 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); text-align: center; animation: xl-rise var(--t-base) var(--ease); }
.msg__logo { width: 64px; height: 64px; }
.msg__thanks-text { max-width: 480px; font-family: var(--f-voice); font-style: italic; font-size: 26px; line-height: 1.3; outline: none; }
@media (min-width: 1100px) { .msg { padding-top: 112px; } .msg--tight { padding-top: 0; } .msg__thanks-text { font-size: 30px; } }

/* ---------- Delivery (mockup «Delivery») ---------- */
.ship { max-width: calc(820px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.ship__plates { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.ship__plate { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; background: var(--c-panel); }
.ship__where { font-family: var(--f-caps); text-transform: uppercase; font-size: 12px; letter-spacing: .26em; }
.ship__price { font-family: var(--f-caps); font-size: 34px; line-height: 1; letter-spacing: .04em; }
.ship__time { font-size: 16px; color: var(--c-text); }
.ship__note { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 20px; text-align: center; font-size: 15px; color: var(--c-muted); }
.ship__note .i { color: var(--c-bronze); }
@media (min-width: 760px) { .ship__plates { gap: 16px; } .ship__plate { padding: 36px 32px; gap: 14px; } .ship__price { font-size: 40px; } }

.pack { max-width: calc(1080px + 2 * var(--gutter)); margin: 0 auto; padding: 72px var(--gutter) 0; display: grid; gap: 32px; align-items: center; }
.pack--text { max-width: calc(var(--text-col) + 2 * var(--gutter)); text-align: center; }
.pack__photo .ph { background: var(--c-photo); }
.pack__text { display: flex; flex-direction: column; gap: 20px; }
.pack--text .pack__text { align-items: center; }
.pack__body { font-size: 16px; line-height: 1.8; color: var(--c-text); }
.pack__voice { font-family: var(--f-voice); font-style: italic; font-size: 22px; line-height: 1.4; color: var(--c-ink); }
.pack__sign { white-space: nowrap; }
@media (min-width: 760px) { .pack:not(.pack--text) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }
@media (min-width: 1100px) { .pack { padding-top: 112px; } .pack:not(.pack--text) { gap: 64px; } .pack__body { font-size: 17px; } }

.faq { max-width: calc(820px + 2 * var(--gutter)); margin: 0 auto; padding: 88px var(--gutter) 0; }
.faq__title { margin-bottom: 32px; text-align: center; }
.faq__item > summary { height: auto; min-height: 64px; padding: 14px 0; font-family: var(--f-body); font-size: 17px; letter-spacing: 0; text-transform: none; line-height: 1.45; }
.faq__item > summary .plus { flex: none; }
.faq__item .acc__body p { max-width: 640px; font-size: 16px; }
.faq__item .lnk { color: var(--c-bronze-text); }
@media (min-width: 1100px) { .faq { padding-top: 128px; } .faq__title { margin-bottom: 40px; } .faq__item > summary { min-height: 68px; font-size: 18px; } }

.doc-photo { max-width: calc(var(--text-col) + 2 * var(--gutter)); margin: 0 auto 40px; padding: 0 var(--gutter); }
@media (min-width: 1100px) { .doc-photo { margin-bottom: 56px; } }

/* ---------- About (TZ 16, mockup «About») ---------- */
.about { max-width: calc(1160px + 2 * var(--gutter)); margin: 0 auto; padding: 40px var(--gutter) 0; display: grid; gap: 44px; }
.about__photo { position: relative; }
.about__photo .ph { background: var(--c-photo); }
.about__text { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.about__title { font-family: var(--f-caps); font-weight: 400; font-size: 13px; line-height: 1.5; letter-spacing: .36em; text-transform: uppercase; color: var(--c-bronze-text); }
.about__quote { font-family: var(--f-voice); font-style: italic; font-weight: 300; font-size: 32px; line-height: 1.2; color: var(--c-ink); }
.about__body { max-width: 520px; font-size: 17px; line-height: 1.8; color: var(--c-text); }
.about__body--more { white-space: pre-line; }
.about--text { max-width: calc(var(--text-col) + 2 * var(--gutter)); padding-top: 56px; text-align: center; }
.about--text .about__text { align-items: center; }

.glance { max-width: calc(1160px + 2 * var(--gutter)); margin: 0 auto; padding: 72px var(--gutter) 0; }
.glance__title { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; font-family: var(--f-caps); font-weight: 400; font-size: 13px; line-height: 1.5; letter-spacing: .34em; text-transform: uppercase; color: var(--c-ink); white-space: nowrap; }
.glance__title::before, .glance__title::after { content: ''; flex: 1; height: 1px; background: var(--c-line); }
.glance__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 48px; }
.glance__item { display: flex; flex-direction: column; gap: 8px; }
.glance__item dt { font-family: var(--f-caps); font-size: 11px; line-height: 1.6; letter-spacing: .24em; text-transform: uppercase; color: var(--c-muted); }
.glance__item dd { margin: 0; font-size: 17px; line-height: 1.5; color: var(--c-ink); }

.about-wide { height: clamp(260px, 44vw, 640px); margin-top: 72px; }
.about-wide .ph { height: 100%; }

.about-cta { max-width: calc(680px + 2 * var(--gutter)); margin: 0 auto; padding: 72px var(--gutter) 0; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.about-cta__line { width: 1px; height: 56px; background: var(--c-bronze); }
.about-cta__text { font-family: var(--f-voice); font-style: italic; font-size: 26px; line-height: 1.35; color: var(--c-ink); }
.about-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; width: 100%; }
.about-cta__actions .btn { flex: 1 1 100%; }

@media (min-width: 760px) {
  .about:not(.about--text) { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
  .about--text { padding-top: 80px; }
  .about-cta__actions .btn { flex: none; }
}
@media (min-width: 1100px) {
  .about { padding-top: 96px; }
  .about--text { padding-top: 104px; }
  .about:not(.about--text) { gap: 96px; }
  .about__text { gap: 36px; }
  .about__quote { font-size: 46px; }
  .about__body { font-size: 18px; }
  .glance { padding-top: 128px; }
  .glance__title { gap: 28px; margin-bottom: 36px; font-size: 14px; }
  .glance__list { gap: 36px 48px; }
  .glance__item dd { font-size: 18px; }
  .about-wide { margin-top: 140px; }
  .about-cta { padding-top: 120px; }
  .about-cta__text { font-size: 30px; }
}

/* ---------- Checkout (TZ 15.2, DESIGN §7.14) ---------- */
.hdr--plain { display: flex; align-items: center; justify-content: center; }
.co { max-width: calc(var(--checkout-col) + 2 * var(--gutter)); margin: 0 auto; padding: 40px var(--gutter) 56px; display: flex; flex-direction: column; gap: 48px; }
.co__head { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.co__title { font-family: var(--f-caps); font-weight: 400; font-size: 20px; line-height: 1.3; letter-spacing: .3em; text-transform: uppercase; }
.co__back { min-height: var(--tap); padding: 0; border: 0; background: none; font-size: 14px; color: var(--c-muted); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; cursor: pointer; }
.co__back:hover { color: var(--c-ink); }
.co__error { margin: -16px 0; outline: none; }
.co__section { display: flex; flex-direction: column; gap: 18px; }
.co__section--tight { gap: 14px; }
.co__step { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 14px; font-family: var(--f-caps); font-weight: 400; font-size: 13px; line-height: 1.6; letter-spacing: .26em; text-transform: uppercase; }
.co__num { font-family: var(--f-voice); font-style: italic; font-size: 22px; line-height: 1; letter-spacing: 0; color: var(--c-bronze-text); }
.co__opt { font-family: var(--f-body); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--c-muted); }
.co__method { margin: 0; padding: 0; border: 0; min-width: 0; }
.co__address { display: flex; flex-direction: column; gap: inherit; }
.co__two { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.co__two--city { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; }
.co__plate { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; background: var(--c-panel); font-size: 15px; }
.co__plate--note { align-items: flex-start; justify-content: flex-start; gap: 14px; padding: 18px 16px; line-height: 1.6; color: var(--c-text); }
.co__plate--note .i { margin-top: 1px; color: var(--c-bronze); }
.co__note { min-height: 0; resize: none; }
.co-gift { display: flex; align-items: flex-end; gap: 12px; }
.co-gift .field { flex: 1; min-width: 0; }
.co-gift__input { letter-spacing: .08em; text-transform: uppercase; }
.co-gift__input[readonly] { opacity: 1; border-bottom-style: solid; }
.co-gift__btn { flex: none; height: 48px; padding: 0 20px; font-size: 11px; letter-spacing: .22em; }
.co-gift__btn:disabled { border: 1px solid var(--c-ink); color: var(--c-ink); }
.co-gift__ok { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.5; color: var(--c-text); animation: xl-row var(--t-base) var(--ease); }
.co-gift__ok .i { width: 16px; height: 16px; margin-top: 2px; color: var(--c-bronze-text); stroke-width: 1.4; }
.co-gift__remove { padding: 0; border: 0; background: none; color: var(--c-muted); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.co-gift__remove:hover { color: var(--c-ink); }
.co [data-gift-error] { margin-top: 0; }

.sum { display: flex; flex-direction: column; padding: 24px 20px; background: var(--c-panel); }
.sum__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.sum__cur { font-size: 11px; }
.no-js .sum__cur { display: none; }
.sum__item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 8px 0; font-size: 15px; }
.sum__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #E2D9CD; }
.sum__photo > .ph { position: absolute; inset: 0; }
.sum__rows { display: flex; flex-direction: column; margin-top: 12px; padding: 12px 0; border-top: 1px solid var(--c-chip-line); border-bottom: 1px solid var(--c-chip-line); }
.sum__row { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-size: 15px; color: var(--c-text); }
.sum__row--gift { color: var(--c-bronze-text); animation: xl-row var(--t-base) var(--ease); }
.sum__total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 16px; font-size: 24px; }
.sum__total .caps { font-size: 12px; letter-spacing: .24em; }
.sum__note { margin-top: 14px; font-size: 13px; line-height: 1.55; color: var(--c-muted); }

.co__check { align-items: flex-start; gap: 14px; line-height: 1.5; color: var(--c-text); }
.co__check input { margin-top: 2px; }
.co__check a { color: var(--c-ink); text-underline-offset: 4px; }
.co__check.is-error { color: var(--c-error); }
.co__pay { display: flex; flex-direction: column; gap: 14px; }
.co__btn { height: 58px; }
.co__btn.is-busy { opacity: .85; }
.co__secure { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; font-size: 13px; color: var(--c-muted); }
.co__secure .i { stroke-width: 1.3; }

.co-state { min-height: calc(100vh - var(--hdr-h)); min-height: calc(100svh - var(--hdr-h)); max-width: 560px; margin: 0 auto; padding: 40px var(--gutter) 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; }
.co-state__title { font-family: var(--f-voice); font-style: italic; font-weight: 300; font-size: 32px; line-height: 1.2; }
.co-state__text { font-size: 16px; line-height: 1.7; color: var(--c-text); }
.co-state__sum { display: flex; align-items: baseline; gap: 16px; font-size: 24px; }
.co-state__sum .caps { font-size: 12px; letter-spacing: .24em; }
.co-state__sum b { font-weight: 300; }
.co-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: 100%; margin-top: 12px; }
.co-state__actions .btn { flex: 1 1 100%; }

/* «Спасибо за заказ» */
.thanks { max-width: calc(var(--checkout-col) + 2 * var(--gutter)); margin: 0 auto; padding: 64px var(--gutter) 48px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; animation: xl-rise .8s var(--ease) both; }
.thanks__line { width: 1px; height: 48px; background: var(--c-bronze); }
.thanks__title { font-family: var(--f-voice); font-style: italic; font-weight: 300; font-size: 44px; line-height: 1.1; overflow-wrap: anywhere; }
.thanks__status { font-family: var(--f-caps); font-size: 12px; line-height: 1.6; letter-spacing: .26em; text-transform: uppercase; }
.thanks__text { font-size: 16px; line-height: 1.7; color: var(--c-text); overflow-wrap: anywhere; }
.thanks__track { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 28px; border: 1px solid var(--c-line); }
.thanks__pickup { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; margin-top: 8px; padding: 24px; border: 1px solid var(--c-bronze); font-size: 17px; line-height: 1.6; }
.thanks__pickup-title { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-caps); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; }
.thanks__pickup-title .i { color: var(--c-bronze); }
.thanks__pickup-sub { font-size: 14px; color: var(--c-muted); overflow-wrap: anywhere; }
.thanks__access-btn { margin-top: 6px; max-width: 100%; }
.thanks__track b { font-weight: 300; font-size: 20px; letter-spacing: .06em; }
.thanks-note { max-width: var(--checkout-col); margin: 0 var(--gutter); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; background: var(--c-panel); }
.thanks-note__text { font-family: var(--f-voice); font-style: italic; font-size: 22px; line-height: 1.4; }
.receipt { max-width: calc(var(--checkout-col) + 2 * var(--gutter)); margin: 0 auto; padding: 48px var(--gutter) 0; display: flex; flex-direction: column; }
.receipt__title { margin-bottom: 18px; font-family: var(--f-caps); font-weight: 400; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; }
.receipt__item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 10px 0; border-top: 1px solid var(--c-line); font-size: 15px; }
.receipt__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--c-photo); }
.receipt__photo > .ph { position: absolute; inset: 0; }
.receipt__name { font-family: var(--f-caps); font-size: 11px; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; }
.receipt__rows { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--c-line); font-size: 15px; }
.receipt__row { display: flex; justify-content: space-between; gap: 16px; color: var(--c-text); }
.receipt__row--gift { color: var(--c-bronze-text); }
.receipt__total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 8px; }
.receipt__total .caps { font-size: 11px; letter-spacing: .24em; }
.receipt__total b { font-weight: 300; font-size: 22px; }
.receipt__address { display: flex; flex-direction: column; gap: 6px; margin-top: 28px; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.thanks-actions { max-width: calc(var(--checkout-col) + 2 * var(--gutter)); margin: 0 auto; padding: 48px var(--gutter) 56px; display: flex; flex-direction: column; gap: 12px; }

@media (min-width: 760px) {
  .co { padding-top: 72px; padding-bottom: 96px; gap: 56px; }
  .co__title { font-size: 28px; letter-spacing: .32em; }
  .co__section { gap: 20px; }
  .co__section--tight { gap: 16px; }
  .co__step { gap: 0 16px; font-size: 14px; letter-spacing: .28em; }
  .co__num { font-size: 26px; }
  .co__two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .co__two--city { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; }
  .co__plate { padding: 18px 20px; font-size: 16px; }
  .co-gift { gap: 16px; }
  .co-gift__btn { height: 50px; padding: 0 28px; font-size: 12px; letter-spacing: .24em; }
  .co-gift__ok { font-size: 15px; }
  .sum { padding: 32px 32px 28px; }
  .sum__head { margin-bottom: 20px; }
  .sum__item { gap: 16px; padding: 10px 0; font-size: 16px; }
  .sum__row { font-size: 16px; }
  .sum__total { font-size: 28px; }
  .sum__total .caps { font-size: 13px; letter-spacing: .26em; }
  .co__check { font-size: 16px; }
  .co__btn { height: 60px; }
  .co__secure { font-size: 14px; }
  .co-state__actions .btn { flex: none; }
  .thanks { padding-top: 88px; }
  .thanks__title { font-size: 52px; }
  .thanks-note { margin: 0 auto; padding: 32px; }
  .thanks-actions { flex-direction: row; }
  .thanks-actions .btn { flex: 1; padding: 0 16px; }
}

/* ---------- Gift cards (TZ 13, DESIGN §7.13) ---------- */
/* the upright tile: the grid, the cart, the order */
.gtile { position: relative; aspect-ratio: 4 / 5; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 14% 8%; color: var(--c-ink); text-align: center; container-type: inline-size; }
.gtile::before { content: ''; position: absolute; inset: 5%; border: 1px solid var(--c-bronze); opacity: .6; pointer-events: none; }
.gtile--light { color: var(--c-bg); }
.gtile__logo { position: relative; width: 27%; height: auto; aspect-ratio: 1; }
.gtile--light .gtile__logo, .gcard--light .gcard__logo { filter: brightness(0) invert(1); opacity: .92; }
.gtile__value { position: relative; font-family: var(--f-caps); font-size: 38px; font-size: 16cqw; line-height: 1.1; letter-spacing: .06em; white-space: nowrap; }
.gtile--workshop .gtile__value { font-size: 20px; font-size: 8.4cqw; letter-spacing: .3em; padding-left: .3em; text-transform: uppercase; white-space: normal; max-width: 6em; line-height: 1.6; }
.gtile__line { position: relative; font-family: var(--f-voice); font-style: italic; font-size: 18px; font-size: 7.6cqw; line-height: 1.2; opacity: .85; }
.gtile--mini { position: absolute; inset: 0; padding: 12% 6%; }
.gtile--mini .gtile__line { display: none; }
.gtile--mini .gtile__value { font-size: 22cqw; }
.gtile--mini.gtile--workshop .gtile__value { font-size: 11cqw; letter-spacing: .12em; padding-left: .12em; }
.gtile--mini .gtile__logo { width: 34%; }

/* the grid page */
.ggrid { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 12px; }
.ggrid__item { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--c-ink); }
.ggrid__item .gtile { margin-bottom: 10px; transition: transform .7s var(--ease); }
.ggrid__title { font-family: var(--f-caps); font-size: 11px; line-height: 1.5; letter-spacing: .18em; text-transform: uppercase; }
.ggrid__price { font-size: 15px; color: var(--c-muted); }
@media (hover: hover) { .ggrid__item:hover .gtile { transform: translateY(-4px); } }
.gpoints { max-width: calc(1180px + 2 * var(--gutter)); margin: 0 auto; padding: 72px var(--gutter) 0; }
.gpoints__in { display: grid; gap: 40px; padding-top: 48px; border-top: 1px solid var(--c-line); }
.gpoints__item { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.gpoints__item .i { color: var(--c-bronze); stroke-width: 1; }
.gpoints__title { font-family: var(--f-caps); font-weight: 400; font-size: 13px; line-height: 1.5; letter-spacing: .26em; text-transform: uppercase; }
.gpoints__item p { max-width: 300px; font-size: 16px; line-height: 1.7; color: var(--c-text); }
.gpoints__item .lnk { color: var(--c-bronze-text); }

/* the card 1.42 : 1 */
.gcard { position: relative; width: 100%; aspect-ratio: 1.42 / 1; display: flex; flex-direction: column; justify-content: space-between; padding: 6.5% 7.1%; color: var(--c-ink); background-size: cover; background-position: center; box-shadow: 0 1px 2px rgba(28, 26, 24, .06); container-type: inline-size; transition: background-color var(--t-base) var(--ease); }
.gcard::before { content: ''; position: absolute; inset: 2.3%; border: 1px solid var(--c-bronze); opacity: .6; pointer-events: none; }
.gcard[style*="background-image"]::before { display: none; }
.gcard--light { color: var(--c-bg); }
.gcard__top, .gcard__bottom { position: relative; display: flex; justify-content: space-between; gap: 4%; }
.gcard__top { align-items: flex-start; }
.gcard__bottom { align-items: flex-end; }
.gcard__head { display: flex; flex-direction: column; gap: 1.3cqw; min-width: 0; }
.gcard__caps { font-family: var(--f-caps); font-size: 1.95cqw; letter-spacing: .32em; text-transform: uppercase; }
.gcard__for { font-family: var(--f-voice); font-style: italic; font-size: 5.5cqw; line-height: 1.1; overflow-wrap: anywhere; }
.gcard__logo { flex: none; width: 13.5%; height: auto; aspect-ratio: 1; }
.gcard__msg { position: relative; max-width: 68%; font-family: var(--f-voice); font-style: italic; font-size: 3.25cqw; line-height: 1.4; white-space: pre-line; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.gcard__from { display: block; font-size: 2.75cqw; opacity: .8; }
.gcard__sum { display: flex; flex-direction: column; gap: 1.6cqw; }
.gcard__value { font-family: var(--f-caps); font-size: 7.4cqw; line-height: 1; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.gcard__code { font-family: var(--f-caps); font-size: 2.1cqw; letter-spacing: .22em; opacity: .75; }
.gcard__terms { max-width: 34%; text-align: right; font-size: 1.95cqw; line-height: 1.5; opacity: .75; }

@media (max-width: 559px) {
  .gcard__caps { font-size: 2.6cqw; }
  .gcard__for { font-size: 7cqw; }
  .gcard__msg { max-width: 76%; font-size: 4.1cqw; }
  .gcard__from { font-size: 3.5cqw; }
  .gcard__value { font-size: 8.4cqw; }
  .gcard__code { font-size: 2.6cqw; }
  .gcard__terms { display: none; }
}

/* the page of one card */
.gpage { display: grid; }
.gpage__preview { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 36px var(--gutter) 28px; background: var(--c-photo); }
.gpage__stage { width: 100%; max-width: 620px; }
.gpage__note { font-size: 13px; text-align: center; color: var(--c-text); }
.gform { display: flex; flex-direction: column; gap: 30px; padding: 28px var(--gutter) 0; min-width: 0; }
.gform__head { display: flex; flex-direction: column; gap: 12px; }
.gform__title { font-family: var(--f-caps); font-weight: 400; font-size: 22px; line-height: 1.4; letter-spacing: .2em; text-transform: uppercase; }
.gform__text { font-size: 16px; line-height: 1.65; color: var(--c-text); }
.gform__group { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; border: 0; min-width: 0; }
.gform__group--line { padding-top: 24px; border-top: 1px solid var(--c-line); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills--even { display: grid; grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); }
.pills--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pill { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border: 1px solid var(--c-field-line); color: var(--c-ink); font-family: var(--f-caps); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; text-align: center; cursor: pointer; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.pill:hover { border-color: var(--c-ink); }
.pill.is-on, .pill--radio:has(input:checked) { border-color: var(--c-ink); background: var(--c-ink); color: var(--c-bg); }
.pill--radio input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pill--radio:has(input:focus-visible) { outline: 2px solid var(--c-ink); outline-offset: 3px; }
.gform__gift { display: flex; flex-direction: column; gap: 20px; animation: xl-row var(--t-base) var(--ease); }
.gform__two { display: grid; gap: 20px; }
.gform__msg { min-height: 0; resize: none; }
.gform .field[data-field="message"] { gap: 8px; }
.gform__when { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; border: 0; min-width: 0; }
.gform__when .label { padding: 0; margin-bottom: 8px; }
.gform__when .check { gap: 14px; font-size: 16px; }
.gform__date { max-width: 240px; margin-left: 34px; animation: xl-row 400ms var(--ease); }
.gform__buy { display: flex; flex-direction: column; gap: 14px; }
.gform__delivery { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.6; color: var(--c-text); }
.gform__delivery .i { margin-top: 2px; color: var(--c-bronze); }

/* gift lines in the cart, the checkout and the order */
.cart-item__note--gift { color: var(--c-muted); line-height: 1.4; }
.sum__sub, .receipt__sub { display: block; margin-top: 4px; font-family: var(--f-body); font-size: 13px; line-height: 1.4; letter-spacing: 0; text-transform: none; color: var(--c-muted); }

/* «Спасибо»: the issued cards */
.gcards { max-width: calc(var(--checkout-col) + 2 * var(--gutter)); margin: 0 auto; padding: 48px var(--gutter) 0; }
.gcards__item { display: grid; gap: 16px; padding: 20px 0; border-top: 1px solid var(--c-line); }
.gcards__info { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.gcards__code { font-size: 22px; letter-spacing: .06em; }
.gcards__note { font-size: 14px; line-height: 1.5; color: var(--c-muted); overflow-wrap: anywhere; }
.gcards__pdf { align-self: flex-start; margin-top: 6px; padding: 0 24px; }
.gcards__hint { padding-top: 16px; border-top: 1px solid var(--c-line); font-size: 14px; color: var(--c-muted); }

@media (min-width: 560px) {
  .ggrid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 48px 20px; }
  .gcards__item { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 24px; }
}
@media (min-width: 760px) {
  .ggrid__title { font-size: 13px; letter-spacing: .2em; }
  .gpoints__in { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; padding-top: 56px; }
  .gform__two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .gform__delivery { font-size: 15px; }
}
@media (min-width: 900px) {
  .gpage { max-width: var(--container); margin: 0 auto; padding: 48px var(--gutter) 0; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
  .gpage__preview { position: sticky; top: calc(var(--hdr-h) + 24px); padding: 0; gap: 18px; background: none; }
  .gpage__stage { max-width: none; padding: 9% 8%; background: var(--c-photo); }
  .gpage__note { font-size: 14px; }
  .gform { gap: 36px; padding: 8px 0 0; }
  .gform__title { font-size: 30px; letter-spacing: .24em; line-height: 1.35; }
  .gform__text { font-size: 17px; line-height: 1.7; }
  .pills { gap: 10px; }
  .pill { font-size: 13px; padding: 0 22px; }
  .gform__gift { gap: 22px; }
}
@media (min-width: 1100px) {
  .ggrid { gap: 56px 24px; }
  .gpoints { padding-top: 128px; }
  .gpage { gap: 80px; }
}

/* ---------- Workshops (TZ 14, mockup «Workshops») ---------- */
.ws-hero { height: clamp(260px, 43vw, 620px); }
.ws-hero .ph { height: 100%; }
.page-head--after-photo { padding-top: 48px; }
.ruled { display: flex; align-items: center; gap: 20px; margin-bottom: 36px; font-family: var(--f-caps); font-weight: 400; font-size: 13px; line-height: 1.5; letter-spacing: .34em; text-transform: uppercase; white-space: nowrap; }
.ruled::before, .ruled::after { content: ''; flex: 1; height: 1px; background: var(--c-line); }
.ws { max-width: calc(1100px + 2 * var(--gutter)); margin: 0 auto; padding: 16px var(--gutter) 0; }
.ws-card { display: grid; gap: 28px; }
.ws-card + .ws-card { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--c-line); }
.ws-card__photo .ph { background: var(--c-photo); }
.ws-card__body { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.ws-card--text { max-width: var(--text-col); margin-left: auto; margin-right: auto; }
.ws-card__head { display: flex; flex-direction: column; gap: 10px; }
.ws-card__date { font-family: var(--f-voice); font-style: italic; font-size: 22px; line-height: 1.2; color: var(--c-bronze-text); }
.ws-card__title { font-family: var(--f-caps); font-weight: 400; font-size: 20px; line-height: 1.45; letter-spacing: .18em; text-transform: uppercase; overflow-wrap: anywhere; }
.ws-card__facts { display: grid; grid-template-columns: 110px minmax(0, 1fr); row-gap: 12px; margin: 0; padding-top: 20px; border-top: 1px solid var(--c-line); font-size: 16px; }
.ws-card__facts dt { padding-top: 4px; font-family: var(--f-caps); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--c-muted); }
.ws-card__facts dd { margin: 0; overflow-wrap: anywhere; }
.ws-card__text { font-size: 16px; line-height: 1.75; color: var(--c-text); white-space: pre-line; }
.ws-card__btn { align-self: stretch; }
.ws-empty { max-width: 640px; margin: 0 auto; padding: 40px 24px; display: flex; flex-direction: column; align-items: center; gap: 18px; border: 1px solid var(--c-line); text-align: center; }
.ws-empty__title { font-family: var(--f-voice); font-style: italic; font-weight: 300; font-size: 28px; line-height: 1.25; }
.ws-empty__text { font-size: 15px; line-height: 1.65; color: var(--c-text); }
.ws-empty__btn { align-self: stretch; margin-top: 6px; padding: 0 16px; }
.ws-models { max-width: calc(1100px + 2 * var(--gutter)); margin: 0 auto; padding: 64px var(--gutter) 0; }
.ws-models__text { max-width: 620px; margin: 0 auto 28px; text-align: center; font-size: 16px; line-height: 1.7; color: var(--c-text); }
.ws-models__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
.ws-model { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ws-model .ph { background: var(--c-photo); }
.ws-model__name { font-family: var(--f-caps); font-size: 11px; line-height: 1.5; letter-spacing: .2em; text-transform: uppercase; text-align: center; }
@media (min-width: 760px) { .ws-models__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 16px; } }
.join-model { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; border: 0; min-width: 0; }
.join-model > legend { margin-bottom: 6px; padding: 0; }
.join-model .check { align-items: flex-start; padding-top: 10px; min-height: 0; }
.join-model .check input { margin-top: 4px; flex: none; }
.join-model__hint { display: block; margin-top: 2px; font-size: 13px; line-height: 1.5; color: var(--c-muted); }
.join-model__panel { display: flex; flex-direction: column; gap: 18px; padding: 14px 0 8px 28px; }
.join-model__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.join-pick { position: relative; display: flex; flex-direction: column; gap: 6px; cursor: pointer; }
.join-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.join-pick__photo { display: block; outline: 1px solid transparent; outline-offset: 2px; transition: outline-color var(--t-fast) var(--ease); }
.join-pick__photo .ph { background: var(--c-photo); }
.join-pick__name { font-size: 12px; line-height: 1.35; text-align: center; color: var(--c-text); }
.join-pick:hover .join-pick__photo { outline-color: var(--c-line); }
.join-pick input:checked + .join-pick__photo { outline: 2px solid var(--c-ink); }
.join-pick input:checked ~ .join-pick__name { color: var(--c-ink); font-weight: 500; }
.join-pick input:focus-visible + .join-pick__photo { outline: 2px solid var(--c-ink); outline-offset: 4px; }
.join-photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.join-photos__item { position: relative; width: 76px; height: 76px; background: var(--c-photo); }
.join-photos__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.join-photos__item button { position: absolute; top: 2px; right: 2px; display: grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(28, 26, 24, .72); color: #fff; cursor: pointer; }
.join-photos__add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 76px; height: 76px; border: 1px dashed var(--c-field-line); font-size: 11px; line-height: 1.2; text-align: center; color: var(--c-text); cursor: pointer; }
.join-photos__add:has(input:focus-visible) { outline: 2px solid var(--c-ink); outline-offset: 2px; }
.join-photos__add[hidden] { display: none; }
@media (min-width: 760px) { .join-model__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ws-gallery { max-width: calc(1100px + 2 * var(--gutter)); margin: 0 auto; padding: 64px var(--gutter) 0; }
.ws-gallery__title { margin-bottom: 8px; text-align: center; font-family: var(--f-caps); font-weight: 400; font-size: 14px; letter-spacing: .26em; text-transform: uppercase; }
.ws-gallery__voice { margin-bottom: 24px; text-align: center; font-family: var(--f-voice); font-style: italic; font-size: 18px; color: var(--c-muted); }
.ws-gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ws-gallery__item .ph { background: var(--c-photo); }
.ws-terms { max-width: calc(680px + 2 * var(--gutter)); margin: 0 auto; padding: 56px var(--gutter) 0; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.ws-terms__text { font-size: 15px; line-height: 1.7; color: var(--c-text); white-space: pre-line; }
.ws-terms__line { width: 1px; height: 36px; margin: 8px 0; background: var(--c-bronze); }
.ws-terms__voice { font-family: var(--f-voice); font-style: italic; font-size: 21px; line-height: 1.35; color: var(--c-text); }
.ws-terms__link { font-family: var(--f-caps); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--c-ink); background-size: 100% 1px; }
@media (min-width: 760px) {
  .ws-card:not(.ws-card--text) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
  .ws-card__btn { align-self: flex-start; padding: 0 44px; }
  .ws-card__facts { grid-template-columns: 140px minmax(0, 1fr); row-gap: 14px; padding-top: 24px; }
  .ws-card__facts dt { font-size: 11px; }
  .ws-empty { padding: 56px 48px; }
  .ws-empty__btn { align-self: center; padding: 0 36px; }
  .ws-gallery__grid { gap: 16px; }
}
@media (min-width: 1100px) {
  .page-head--after-photo { padding-top: 96px; padding-bottom: 40px; }
  .ruled { gap: 28px; margin-bottom: 48px; font-size: 14px; }
  .ws { padding-top: 56px; }
  .ws-card:not(.ws-card--text) { gap: 72px; }
  .ws-card__body { gap: 30px; }
  .ws-card__date { font-size: 26px; }
  .ws-card__title { font-size: 26px; letter-spacing: .2em; }
  .ws-card__text { font-size: 17px; }
  .ws-card + .ws-card { margin-top: 96px; padding-top: 96px; }
  .ws-gallery { padding-top: 140px; }
  .ws-gallery__title { margin-bottom: 12px; font-size: 20px; letter-spacing: .3em; }
  .ws-gallery__voice { margin-bottom: 48px; font-size: 20px; }
  .ws-terms { padding-top: 120px; gap: 22px; }
  .ws-terms__text { font-size: 17px; line-height: 1.75; }
  .ws-terms__line { height: 48px; margin: 18px 0; }
  .ws-terms__voice { font-size: 24px; }
  .ws-terms__link { font-size: 12px; letter-spacing: .26em; }
}

/* ---------- Motion (DESIGN §8) ---------- */
@keyframes xl-zoom { from { transform: scale(1); } to { transform: scale(1.05); } }
@keyframes xl-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes xl-line {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes xl-roll { 0% { transform: translateX(-60px) rotate(-200deg); opacity: 0; } 70% { opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes xl-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
@keyframes xl-row { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes xl-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes xl-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .ph__img { opacity: 1; }
  .ph__lqip { display: none; }
}

/* ---------- The cookie notice: shown only while Google Analytics is connected (TZ 22) ---------- */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; flex-direction: column; gap: 14px;
  padding: 18px var(--gutter-m) calc(18px + env(safe-area-inset-bottom)); background: var(--c-bg); border-top: 1px solid var(--c-line);
  box-shadow: 0 -8px 30px rgba(28, 26, 24, .08);
}
.consent[hidden] { display: none; }
.consent__text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--c-text); max-width: 760px; }
.consent__text a { white-space: nowrap; }
.consent__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent__btns .btn { height: 44px; padding: 0 22px; }
@media (min-width: 760px) {
  .consent { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; padding: 18px var(--gutter-d); }
  .consent__btns { display: flex; flex: none; }
}
