/* milanwardrobe.com — the main page: «The Milan Wardrobe» (owner 22.11 evening: «стиль… свой… явная, чёткая разница» with the shoe page).
   The shoe page is dark terracotta, heavy grotesk and leather (site.css). This one takes the cover of its own book: a light dressing room,
   cream plaster and travertine, the deep green of the cover wall as the one accent, serif headings like the cover's raised letters,
   thin gold hairlines and the hanger, the sign of this book. Text stays large and upright for readers over 60 (Figtree 500, no italics). */
@font-face { font-family: "Paola Serif"; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/serif-600.woff) format("woff"); }
@font-face { font-family: "Paola Serif"; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/serif-700.woff) format("woff"); }
@font-face { font-family: "Figtree"; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/figtree-500.woff) format("woff"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/figtree-600.woff) format("woff"); }
@font-face { font-family: "Figtree"; font-weight: 800; font-style: normal; font-display: swap; src: url(../fonts/figtree-800.woff) format("woff"); }

:root {
  --ivory: #f6f1e8;        /* the dressing-room wall in daylight */
  --linen: #ede5d7;
  --paper: #fffdf8;
  --green: #2c4733;        /* the wall on the cover */
  --green-d: #1f3326;
  --green-l: #3d5d45;
  --ink: #1e221f;
  --ink-2: #474a43;
  --gold: #b39463;         /* the brass rail, the earrings */
  --line: #d9cdb9;
  --focus: #2c4733;

  --serif: "Paola Serif", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --fs-body: 20px;
  --pad: 18px;
  --section-y: 64px;
  --maxw: 1200px;
  --ornament: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 18'%3E%3Cg fill='none' stroke='%23b39463' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12.5h44M86 12.5h44'/%3E%3Cpath d='M63.2 4.6a2.8 2.8 0 1 1 2.8 2.8V9L54 15.4h24L66 9'/%3E%3C/g%3E%3C/svg%3E");
}
@media (min-width: 700px) { :root { --pad: 32px; --section-y: 88px; } }
@media (min-width: 1000px) { :root { --fs-body: 21px; --section-y: 112px; --pad: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-weight: 500; font-size: var(--fs-body); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
b, strong { font-weight: 800; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0 0 .4em; letter-spacing: -.005em; color: inherit; }
:focus-visible { outline: 4px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 300; background: var(--paper); color: var(--ink); padding: 14px 20px; }
.skip:focus { left: 8px; }
.nb { white-space: nowrap; }
.center { text-align: center; }
.w-wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.w-narrow { max-width: 880px; }

/* ---------- headings: serif, a gold hairline with the hanger under each ---------- */
.w-title { font-size: 36px; }
.w-title::after { content: ""; display: block; width: 132px; height: 18px; margin: 18px 0 0; background: var(--ornament) no-repeat left center / 132px 18px; }
.w-title.center::after { margin-left: auto; margin-right: auto; background-position: center; }
@media (min-width: 700px) { .w-title { font-size: 46px; } }
@media (min-width: 1000px) { .w-title { font-size: 56px; } }
.w-eyebrow { font-weight: 800; font-size: 17px; letter-spacing: .03em; color: var(--green); margin: 0 0 10px; }
.w-lead { max-width: 660px; margin: 0 auto 36px; color: var(--ink-2); font-size: 20px; line-height: 1.55; }
.w-section { padding: var(--section-y) 0; }
.w-section--linen { background: var(--linen); }

/* ---------- buttons: a calm green pill, cream words ---------- */
.w-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 64px; padding: 12px 34px; border-radius: 999px; border: 0;
  background: var(--green); color: #fbf6ec; font-family: var(--sans); font-weight: 800; font-size: 21px; line-height: 1.2; text-decoration: none; text-align: center;
  box-shadow: 0 10px 24px rgba(31, 51, 38, .22); cursor: pointer; transition: background .15s ease, transform .15s ease; }
.w-btn:hover { background: var(--green-d); }
.w-btn:active { transform: translateY(1px); }
.w-btn .btn-price { white-space: nowrap; font-weight: 600; }
.w-btn--big { min-height: 72px; font-size: 22px; padding: 14px 38px; }
.soon .btn, .guar .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding: 10px 34px; border-radius: 999px; border: 0;
  background: var(--green); color: #fbf6ec; font: 800 20px/1.2 var(--sans); cursor: pointer; }
.soon .btn:hover, .guar .btn:hover { background: var(--green-d); }

/* ---------- price (the second Buy) ---------- */
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 2px; }
.price-now { display: inline-flex; align-items: baseline; gap: 8px; }
.price-big { font-family: var(--serif); font-weight: 700; font-size: 54px; line-height: 1; color: var(--green); }
.price-cur { font-weight: 800; font-size: 19px; }
.price-was { font-size: 26px; font-weight: 800; opacity: .8; }
.price-note { font-size: 18px; line-height: 1.4; margin: 6px 0 18px; color: var(--ink-2); }

/* ---------- header ---------- */
.w-top { position: relative; z-index: 3; }
.w-top-in { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.w-brand { font-family: var(--serif); font-weight: 600; font-size: 21px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--green); }
.w-nav { display: flex; gap: 6px; }
.w-nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; font-weight: 600; font-size: 18px; text-decoration: none; color: var(--ink); }
.w-nav a:hover { text-decoration: underline; }

/* ---------- 1. the hero ---------- */
.w-hero { position: relative; background: var(--ivory); overflow: hidden; }
.w-hero-pic img { width: 100%; height: auto; }
.w-hero-in { position: relative; z-index: 2; }
.w-hero-buy { text-align: center; padding: 22px var(--pad) 30px; }
.w-hero-by { font-family: var(--serif); font-weight: 600; font-size: 18px; letter-spacing: .2em; text-transform: uppercase; color: var(--green); margin: 0 0 10px; }
.w-hero h1 { font-size: 46px; line-height: 1.02; margin: 0 0 10px; color: var(--ink); }
.w-hero-kind { font-size: 22px; line-height: 1.3; font-weight: 600; color: var(--ink-2); margin: 0 0 22px; }
.w-hero .w-btn { width: 100%; max-width: 460px; }
.w-hero-meta { font-weight: 600; font-size: 17px; line-height: 1.35; margin: 14px 0 0; color: var(--ink-2); }
.guar-link { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; padding: 12px 0; }
.guar-link:hover { text-decoration-thickness: 3px; }

/* phone: no header (the book first, as on the shoe page), the book large, the words centered under it */
@media (max-width: 699px) {
  .w-top { display: none; }
  .w-hero-pic img { width: 100%; height: 96vw; object-fit: cover; object-position: 50% 30%; }
  /* owner 22.11: «Паоло Галли нужно удалить… на самой книге и так есть надпись… немного пространства высвободится» — the name
     stands on the cover right above; the computer keeps the line */
  .w-hero-by { display: none; }
}
/* tablet: the header, the whole wide photo, the words under it */
@media (min-width: 700px) and (max-width: 1199px) {
  .w-hero h1 { font-size: 60px; }
  .w-hero-buy { padding: 34px var(--pad) 44px; }
}
/* computer: the words on the flat ivory at the left, the photo on the right, its wall fading into the ivory before the book
   (owner 18.11: words on their own flat colour, never over a picture). The book starts at 37 % of the photo; the photo runs 8 % past
   the right edge, so the brass rail stays and the words get room. */
@media (min-width: 1200px) {
  .w-hero { --hh: clamp(600px, 44vw, 1120px); --wp: calc(var(--hh) * 1672 / 941); min-height: var(--hh); }
  .w-top { position: absolute; top: 0; left: 0; right: 0; }
  .w-top-in { max-width: none; padding: 0 var(--pad); min-height: 92px; }
  .w-nav a { font-size: 19px; }
  .w-hero-pic { position: absolute; top: 0; right: calc(var(--wp) * -.08); width: var(--wp); height: var(--hh);
    -webkit-mask-image: linear-gradient(to right, transparent calc(var(--wp) * .37 - 230px), #000 calc(var(--wp) * .37 - 40px));
            mask-image: linear-gradient(to right, transparent calc(var(--wp) * .37 - 230px), #000 calc(var(--wp) * .37 - 40px)); }
  .w-hero-pic img { width: 100%; height: 100%; object-fit: cover; }
  .w-hero-in { width: calc(100vw - var(--wp) * .55 - 230px); min-height: var(--hh); display: flex; align-items: center; justify-content: center;
    padding: 92px 0 40px var(--pad); }
  .w-hero-buy { padding: 0; max-width: 520px; }
  .w-hero h1 { font-size: clamp(60px, 4.6vw, 104px); }
  .w-hero-kind { font-size: clamp(22px, 1.6vw, 30px); margin-bottom: 30px; }
  .w-hero-by { font-size: clamp(17px, 1.1vw, 22px); }
  .w-hero-meta { font-size: clamp(17px, 1.1vw, 20px); }
}

.w-good { margin: 0; padding: 16px var(--pad); text-align: center; font-size: 18px; line-height: 1.45; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.w-good b { color: var(--green); }

/* ---------- 2. inside the e-book: the slider (js/site.js setupSlides, setupZoom) ---------- */
.slides { max-width: 760px; margin: 0 auto; }
.slide-stage { display: grid; grid-template-columns: 1fr; align-items: center; }
.slide-track { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.slide-track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; min-width: 0; margin: 0; scroll-snap-align: start; padding: 4px 4px 0; }
.slide picture { display: block; aspect-ratio: 1300 / 1683; cursor: zoom-in; }
.slide img { width: 100%; height: 100%; object-fit: contain; background: #fff; box-shadow: 0 18px 40px rgba(40, 34, 24, .22); }
.slide-arrow { display: none; align-items: center; justify-content: center; width: 58px; height: 58px; padding: 0; border-radius: 50%; cursor: pointer;
  background: var(--paper); color: var(--green); border: 2px solid var(--green); }
.slide-arrow svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.slide-arrow:hover { background: var(--green); color: #fbf6ec; }
.slide-arrow:disabled { opacity: .3; cursor: default; background: var(--paper); color: var(--green); }
.slide-nav { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 18px; }
.slide-dots { display: flex; gap: 2px; flex-wrap: wrap; justify-content: center; }
.slide-tab { appearance: none; -webkit-appearance: none; width: 34px; height: 34px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.slide-tab::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; border: 2px solid var(--green); }
.slide-tab[aria-current="true"]::after { background: var(--green); }
.slide-count { margin: 0; font-size: 17px; font-weight: 800; color: var(--ink-2); }
.slides:not(.js) .slide-count { visibility: hidden; }
@media (min-width: 900px) {
  .slide-stage { grid-template-columns: 76px 1fr 76px; }
  .slide-arrow { display: inline-flex; justify-self: center; }
}
@media (max-width: 899px) {
  /* a phone: the arrows stand under the page, at both ends of the row of dots — over the page they covered its words */
  .slide-stage { position: relative; }
  .slide-arrow { display: inline-flex; position: absolute; top: 100%; margin-top: 12px; width: 50px; height: 50px; z-index: 2; }
  .slide-arrow--prev { left: 0; }
  .slide-arrow--next { right: 0; }
  .slide-nav { min-height: 62px; justify-content: center; margin-top: 14px; padding: 0 54px; }
  .slide-dots { gap: 0; flex-wrap: nowrap; }
  .slide-tab { width: 24px; }
  .slide-tab::after { width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; }
  .slide-count { display: none; }
}

/* the loupe and the full-screen page (js/site.js setupZoom) */
.zoom-btn, .zoom-out { display: inline-flex; align-items: center; justify-content: center; padding: 0; border-radius: 50%; cursor: pointer;
  background: rgba(31, 51, 38, .55); color: #fff; border: 2px solid rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.zoom-btn svg, .zoom-out svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.zoom-btn { position: absolute; right: 16px; bottom: 12px; width: 52px; height: 52px; z-index: 2; }
.zoom-btn svg { width: 26px; height: 26px; }
.zoom { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 24, 20, .95); }
.zoom[open] { display: flex; align-items: center; justify-content: center; cursor: zoom-out; }
.zoom::backdrop { background: rgba(20, 24, 20, .95); }
.zoom img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; background: #fff; }
.zoom-out { position: absolute; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 60px; height: 60px; }
.zoom-out svg { width: 30px; height: 30px; }
html.zoom-open, html.zoom-open body { overflow: hidden; }

/* ---------- 3. Paola's letter: words on the paper, her picture to the page's edge ---------- */
.w-letter { display: grid; background: var(--paper); }
.w-letter-pic picture, .w-letter-pic img { width: 100%; }
.w-letter-pic img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; }
.w-letter-text { padding: 48px var(--pad) 56px; }
.w-letter-text p { max-width: 620px; }
/* 24.11 (owner: «гораздо меньше… просто тёплое приветствие и пожелание»): two short lines, set larger, like a card */
.w-letter-text p:not(.w-eyebrow):not(.w-signature) { font-family: var(--serif); font-size: 24px; line-height: 1.45; max-width: 560px; }
.w-signature { margin-top: 20px; }
.w-signature { font-family: var(--serif); font-weight: 600; font-size: 40px; color: var(--green); margin: 8px 0 0; }
/* 22.11 (owner: «Паолу… в левую часть… шахматность: книга сверху справа, Паола слева, текст справа»): her picture to the left edge, the words right */
@media (min-width: 1000px) {
  .w-letter { grid-template-columns: 44% 1fr; }
  .w-letter-text { order: 2; padding: var(--section-y) max(var(--pad), calc((100vw - var(--maxw)) / 2 + var(--pad))) var(--section-y) 72px; align-self: center; }
  .w-letter-pic { order: 1; }
  .w-letter-pic picture { height: 100%; }
  .w-letter-pic img { height: 100%; aspect-ratio: auto; object-position: 50% 18%; }
  .w-letter-text p:not(.w-eyebrow):not(.w-signature) { font-size: 30px; }
  .w-letter-pic { max-height: 760px; }
}

/* ---------- 4. eight color pairs: the book's chips, side by side like cloth swatches ---------- */
.w-pairs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 18px; }
@media (min-width: 900px) { .w-pairs { grid-template-columns: repeat(4, 1fr); gap: 44px 28px; } }
.w-pair { margin: 0; }
.w-chips { display: flex; height: 120px; box-shadow: 0 10px 22px rgba(40, 34, 24, .14); }
@media (min-width: 900px) { .w-chips { height: 150px; } }
.w-chip { flex: 1 1 0; position: relative; display: flex; align-items: flex-end; padding: 8px 9px; color: #fff; font-weight: 600; font-size: 15px; line-height: 1.2; }
.w-chip.pale { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .07); }
.w-pair-name { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.2; margin: 14px 0 0; }
@media (min-width: 900px) { .w-pair-name { font-size: 23px; } .w-chip { font-size: 16px; } }

/* ---------- 5. how you read it ---------- */
.w-read-grid { display: grid; gap: 34px; align-items: center; }
.w-read-pic img { width: 100%; }
.w-steps { list-style: none; counter-reset: s; margin: 8px 0 0; padding: 0; }
.w-steps li { counter-increment: s; position: relative; padding: 0 0 18px 58px; margin: 0 0 18px; border-bottom: 1px solid var(--line); }
.w-steps li:last-child { border-bottom: 0; margin-bottom: 0; }
.w-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 700; font-size: 21px; color: var(--green); }
.w-steps b { display: block; color: var(--ink); }
@media (min-width: 1000px) { .w-read-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; } }

/* ---------- 6. what you get ---------- */
.w-get { display: grid; gap: 40px; align-items: center; }
.w-get-pic { max-width: 520px; margin: 0 auto; width: 100%; }
.w-get-pic img { width: 100%; box-shadow: 0 22px 46px rgba(40, 34, 24, .22); }
.w-facts { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.w-facts li { border-top: 1px solid var(--gold); padding: 16px 0 22px; }
.w-facts b { display: block; font-family: var(--serif); font-weight: 700; font-size: 46px; line-height: 1; color: var(--green); margin-bottom: 8px; }
.w-facts span { display: block; font-size: 18px; line-height: 1.4; color: var(--ink-2); }
@media (min-width: 1000px) { .w-get { grid-template-columns: 440px 1fr; gap: 80px; } .w-facts b { font-size: 56px; } }

/* ---------- 7. eight parts and Buy again ---------- */
.w-parts { display: grid; background: var(--paper); }
.w-parts-text { padding: 56px var(--pad) 60px; }
.w-toc { list-style: none; margin: 8px 0 34px; padding: 0; max-width: 640px; }
.w-toc li { display: grid; grid-template-columns: 48px 1fr; gap: 0 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.w-toc li:first-child { border-top: 1px solid var(--line); }
.w-toc-n { font-family: var(--serif); font-weight: 700; font-size: 26px; line-height: 1.2; color: var(--green); }
.w-toc-t { font-size: 18px; line-height: 1.45; color: var(--ink-2); }
.w-toc-t b { display: block; font-size: 20px; color: var(--ink); }
.w-again .w-btn { width: 100%; max-width: 460px; }
.w-parts-pic img { width: 100%; }
@media (max-width: 999px) { .w-parts-pic { order: -1; } }
@media (min-width: 1000px) {
  .w-parts { grid-template-columns: 1fr 46%; }
  .w-parts-text { padding: var(--section-y) 64px var(--section-y) max(var(--pad), calc((100vw - var(--maxw)) / 2 + var(--pad))); }
  /* the square picture keeps its own shape (stretched to the long list it became one giant cover), on linen, in the middle */
  .w-parts-pic { display: flex; align-items: center; justify-content: center; padding: 56px 48px; background: var(--linen); }
  .w-parts-pic picture { width: 100%; max-width: 560px; }
  .w-parts-pic img { box-shadow: 0 22px 46px rgba(40, 34, 24, .2); }
}

/* ---------- 8. questions ---------- */
.w-guarantee { margin: 26px 0 30px; padding: 20px 24px; background: var(--paper); border-left: 3px solid var(--gold); }
.w-faq details { border-top: 1px solid var(--gold); }
.w-faq details:last-child { border-bottom: 1px solid var(--gold); }
.w-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 68px; padding: 12px 2px;
  font-family: var(--serif); font-weight: 600; font-size: 23px; line-height: 1.3; }
.w-faq summary::-webkit-details-marker { display: none; }
.w-faq summary::after { content: "+"; flex: 0 0 auto; font-family: var(--sans); font-size: 32px; font-weight: 500; color: var(--green); margin-left: 16px; line-height: 1; }
.w-faq details[open] summary::after { content: "–"; }
.w-faq .a { padding: 0 2px 20px; color: var(--ink-2); }
.w-faq .a p { margin: 0; }
.w-faq .a a { color: var(--green); font-weight: 700; }
.w-faq .faq-steps { margin: 10px 0 0; padding-left: 1.5em; }
.w-faq .faq-steps li { margin-top: 10px; padding-left: 4px; }
.w-faq .faq-steps li::marker { color: var(--green); font-weight: 800; }
.w-faq .faq-steps strong { color: var(--ink); }

/* ---------- reviews (when there are any) ---------- */
.reviews { display: grid; gap: 24px; }
.review { margin: 0; padding: 24px; background: var(--paper); }
.review blockquote { margin: 0 0 10px; font-family: var(--serif); font-size: 22px; line-height: 1.4; }

/* ---------- footer ---------- */
.w-footer { background: var(--green-d); color: #efe8da; padding: 52px 0 120px; font-size: 18px; }
.w-footer a { color: #fff; }
.w-foot-brand { font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.w-foot-links { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; }
.w-foot-links li { margin: 0 6px 8px 0; }
.w-foot-links a { display: inline-flex; align-items: center; min-height: 48px; padding: 6px 12px 6px 0; text-decoration: underline; font-weight: 800; }
.w-footer p { margin: 0 0 8px; }

/* ---------- sticky buy bar (js/site.js setupBuyBar) ---------- */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--paper); box-shadow: 0 -8px 24px rgba(0,0,0,.14); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .25s ease; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); }
.buybar.show { transform: translateY(0); }
.buybar-in { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.buybar-text { margin-right: 14px; line-height: 1.2; min-width: 0; }
.buybar-title { display: block; font-family: var(--serif); font-weight: 600; font-size: 22px; }
.buybar-price { display: block; font-weight: 800; font-size: 21px; }
.buybar-price small { font-size: 17px; color: var(--ink-2); white-space: nowrap; }
.buybar-kind { display: none; font-size: 16px; color: var(--ink-2); }
.buybar .w-btn { flex: 0 0 auto; min-height: 58px; padding: 10px 26px; font-size: 20px; box-shadow: none; }
@media (max-width: 559px) { .buybar-title { display: none; } .buybar-kind { display: block; } }
@media (max-width: 380px) { .buybar .w-btn { padding: 10px 18px; } }

/* ---------- windows: almost ready, the guarantee ---------- */
.soon { max-width: 480px; width: calc(100% - 32px); background: var(--ivory); color: var(--ink); border: 0; border-radius: 6px; padding: 40px 30px 30px; text-align: center; box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.soon::backdrop { background: rgba(20, 24, 20, .55); }
.soon h2 { font-size: 40px; margin-bottom: 12px; }
.soon-close { position: absolute; top: 8px; right: 10px; width: 48px; height: 48px; border: 0; background: transparent; font-size: 32px; line-height: 1; cursor: pointer; color: var(--ink); }
.guar { text-align: left; }
.guar h2 { font-size: 32px; line-height: 1.15; text-align: center; }
.guar p { font-size: 19px; line-height: 1.5; margin: 0 0 14px; }
.guar .guar-mail a { color: var(--green); font-weight: 700; text-underline-offset: 3px; }
.guar form:last-child { text-align: center; }

/* ---------- Paola's books: the switch between her two books (off until the shoe book is released; home.config.json → shelf) ---------- */
.w-shelf { position: relative; z-index: 3; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 253, 248, .9); }
.w-shelf-in { display: flex; align-items: center; gap: 8px 22px; flex-wrap: wrap; min-height: 64px; }
.w-shelf-label { font-weight: 800; font-size: 16px; color: var(--ink-2); }
.w-shelf a { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; text-decoration: none; padding: 4px 2px; border-bottom: 2px solid transparent; }
.w-shelf a[aria-current="page"] { border-bottom-color: var(--green); }
.w-shelf img { width: 30px; height: auto; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.w-shelf b { display: block; font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.1; }
.w-shelf small { display: block; font-size: 15px; color: var(--ink-2); }
@media (min-width: 1200px) { .w-shelf { position: absolute; top: 92px; left: 0; right: 0; background: transparent; border: 0; } .w-shelf-in { max-width: none; padding: 0 var(--pad); } }

/* ---------- legal pages and 404 in this look ---------- */
.legal { padding: 40px 0 80px; background: var(--paper); }
.legal h1 { font-size: 46px; }
.legal h2 { font-size: 30px; margin-top: 1.4em; }
.legal li { margin-bottom: .5em; }
.notfound p { color: var(--ink-2); }
.notfound-book { max-width: 220px; margin: 18px auto 30px; }
.notfound-book img { width: 100%; height: auto; box-shadow: 0 14px 30px rgba(40, 34, 24, .24); }
.notfound .fine { font-size: 18px; margin-top: 22px; }
.site-header { background: var(--ivory); border-bottom: 1px solid var(--line); }
.site-header .wrap, .site-footer .wrap, .legal .wrap, .notfound .wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.site-header .wrap { display: flex; align-items: center; min-height: 72px; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 21px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--green); }
.site-footer { background: var(--green-d); color: #efe8da; padding: 44px 0 60px; font-size: 18px; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0 0 8px; }
.foot-brand { font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: .14em; text-transform: uppercase; }
.foot-links { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; }
.foot-links li { margin: 0 6px 8px 0; }
.foot-links a { display: inline-flex; align-items: center; min-height: 48px; padding: 6px 12px 6px 0; text-decoration: underline; font-weight: 800; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding: 10px 34px; border-radius: 999px; background: var(--green); color: #fbf6ec; font-weight: 800; text-decoration: none; }
.site-header .nav { margin-left: auto; display: flex; gap: 4px; }
.site-header .nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; font-weight: 600; font-size: 18px; text-decoration: none; color: var(--ink); }
.site-header .nav a:hover { text-decoration: underline; }
@media (max-width: 559px) { .site-header .nav a:first-child { display: none; } }
.narrow { max-width: 880px; }
.btn--outline { background: transparent; color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.btn--outline:hover { background: var(--paper); }
/* the menu sits over the photo on a computer: a soft ivory ground keeps it readable over the brass rail */
@media (min-width: 1200px) { .w-top .w-nav { background: rgba(246, 241, 232, .86); border-radius: 999px; padding: 0 8px; } }

/* ---------- the same woman, the Milan way: a before-and-after slider (owner 22.11: «тянуть право-лево… ползунок вертикальный»;
   js/site.js setupWays). The Milan way lies underneath, the usual way on top, cut at --pos; the reader drags the line or the grip. ---------- */
.w-ways { display: grid; gap: 52px; max-width: 960px; margin: 0 auto; }
@media (min-width: 860px) { .w-ways { grid-template-columns: 1fr 1fr; gap: 56px; } }
.w-way { margin: 0; min-width: 0; }
.w-way-pics { --pos: 50%; position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: var(--paper); box-shadow: 0 20px 44px rgba(40, 34, 24, .2);
  cursor: ew-resize; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.w-way-a, .w-way-b { position: absolute; inset: 0; }
.w-way-a picture, .w-way-b picture { width: 100%; height: 100%; }
.w-way-a img, .w-way-b img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.w-way-a { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.w-way-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 8px rgba(0, 0, 0, .35); pointer-events: none; }
.w-way-grip { position: absolute; top: 50%; left: var(--pos); width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: #fff; color: var(--green);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .3); display: flex; align-items: center; justify-content: center; cursor: ew-resize; z-index: 2; }
.w-way-grip svg { width: 30px; height: 30px; }
.w-way-grip:focus-visible { outline: 4px solid var(--gold); outline-offset: 3px; }
.w-way-tag { position: absolute; top: 12px; z-index: 1; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: 16px; line-height: 1.2; pointer-events: none; transition: opacity .2s ease; }
.w-way-tag--a { left: 12px; background: rgba(255, 253, 248, .93); color: var(--ink); }
.w-way-tag--b { right: 12px; background: var(--green); color: #fbf6ec; }
.w-way-tag.is-off { opacity: 0; }
.w-way figcaption { max-width: 440px; margin: 18px auto 0; text-align: center; font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.w-way figcaption b { display: block; margin-bottom: 4px; font-family: var(--serif); font-weight: 600; font-size: 23px; color: var(--ink); }
@media (max-width: 420px) { .w-way-tag { font-size: 14px; padding: 5px 11px; } }
/* without JavaScript: both pictures side by side, no line */
.w-way:not(.js) .w-way-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; aspect-ratio: auto; cursor: auto; }
.w-way:not(.js) .w-way-a, .w-way:not(.js) .w-way-b { position: relative; clip-path: none; }
.w-way:not(.js) .w-way-a { order: -1; }
.w-way:not(.js) .w-way-line, .w-way:not(.js) .w-way-grip { display: none; }

/* the footer in the middle (owner 22.11: «футер… немножко центрировать, а то он влево смещён») */
.w-footer, .site-footer { text-align: center; }
.w-foot-links, .foot-links { justify-content: center; }
.w-foot-links li, .foot-links li { margin: 0 6px 8px; }
.w-foot-links a, .foot-links a { padding: 6px 10px; }
/* a phone shows one before-and-after (owner 22.11: «для мобильной версии… хватит одного… чем больше листаешь, тем меньше конверсия») */
@media (max-width: 699px) { .w-way + .w-way { display: none; } }

/* the color pairs on a phone: one row, two pairs at a time, swiped sideways, arrows and dots under it (owner 22.11; js/site.js setupPagers) */
.w-pager-nav { display: none; }
@media (max-width: 699px) {
  .w-pairs { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
  .w-pairs::-webkit-scrollbar { display: none; }
  .w-pair { flex: 0 0 calc(50% - 7px); min-width: 0; }
  .w-pair:nth-child(odd) { scroll-snap-align: start; }
  .w-pager-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
  .w-pager-nav .slide-arrow { display: inline-flex; position: static; margin: 0; width: 50px; height: 50px; flex: none; }
  .w-pager-dots { flex-wrap: nowrap; }
}

/* the Buy button in one line on a phone (owner 22.11: «в две строки выглядит нелепо… короткое тире… поиграться с отступами») */
.w-btn--big > span { white-space: nowrap; }
@media (max-width: 699px) {
  .w-btn--big { font-size: clamp(16px, 5.2vw, 21px); padding: 12px 14px; min-height: 66px; }
  .w-hero .w-btn, .w-again .w-btn { width: 100%; }
}

/* ---------------------------------------------------------------- the welcome film right under the header (owner 22.11 night:
   «для телефона и для компьютера можешь уже заливать на Cloudflare и на сайт наш»): the green of the cover's wall, the film framed in
   gold; js/site.js puts the Cloudflare Stream player in place of our own file when Stream answers. A phone gets the tall cut. */
.w-watch { background: var(--green); color: var(--ivory); padding: var(--section-y) 0; }
.w-watch .w-eyebrow { color: var(--gold); }
.w-watch .w-title { color: var(--ivory); }
.w-watch .w-lead { color: var(--ivory); opacity: .92; margin: 14px auto 34px; max-width: 46ch; }
.w-watch .player { max-width: 1040px; margin: 0 auto; }
.w-watch .player-box { position: relative; width: 100%; border-radius: 10px; overflow: hidden; background: var(--green-d);
  box-shadow: 0 0 0 1px rgba(179, 148, 99, .55), 0 26px 60px rgba(0, 0, 0, .42); }
.w-watch .player-box::before { content: ""; display: block; padding-top: 56.25%; }
.w-watch .player-box video, .w-watch .player-box iframe, .w-watch .player-box > img { position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border: 0; display: block; object-fit: cover; }
.w-watch .player-box--tall { display: none; max-width: 480px; margin: 0 auto; }
.w-watch .player-box--tall::before { padding-top: 177.78%; }
@media (max-width: 699px) {
  .w-watch .player-box--wide { display: none; }
  .w-watch .player-box--tall { display: block; }
}
