@font-face { font-family: "Cormorant"; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/cormorant-cyrillic-400.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant"; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/cormorant-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }
@font-face { font-family: "Cormorant"; font-weight: 500; font-style: italic; font-display: swap; src: url(fonts/cormorant-cyrillic-500-italic.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant"; font-weight: 500; font-style: italic; font-display: swap; src: url(fonts/cormorant-latin-500-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }
@font-face { font-family: "Cormorant"; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/cormorant-cyrillic-600.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant"; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/cormorant-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url(fonts/manrope-cyrillic-400.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url(fonts/manrope-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url(fonts/manrope-cyrillic-600.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url(fonts/manrope-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }

:root {
  --bg: #f3ede4;
  --paper: #fbf8f3;
  --ink: #1b1816;
  --muted: #74695f;
  --line: #ddd2c4;
  --accent: #a8774f;
  --serif: "Cormorant", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.05; margin: 0 0 .5em; }
h2 { font-size: clamp(36px, 5vw, 56px); text-align: center; margin-bottom: 40px; }
h3 { font-size: 26px; }
section { padding: 90px 6vw; }

.btn { display: inline-block; border: 1px solid var(--ink); padding: 15px 30px; font: 600 14px var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; background: none; color: var(--ink); transition: .2s; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--accent); border-color: var(--accent); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-light { border-color: var(--paper); color: var(--paper); }
.btn-light:hover { background: var(--paper); color: var(--ink); }
.btn.small { padding: 10px 18px; font-size: 12px; }
.btn.wide { width: 100%; margin-top: 18px; }
.btn[disabled] { opacity: .5; cursor: wait; }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 32px; padding: 14px 6vw; background: rgba(243, 237, 228, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand img { height: 40px; }
.top nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--ink); }

.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; padding-top: 50px; padding-bottom: 60px; min-height: calc(100vh - 64px); }
.kicker { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; color: var(--accent); margin: 0 0 22px; }
.hero h1 { font-size: clamp(54px, 7.5vw, 112px); }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--accent); }
.lead { font-size: 18px; color: var(--muted); max-width: 30em; margin: 0 0 34px; }
.row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 6vw; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 28px 10px; text-align: center; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts b { display: block; font: 600 24px var(--serif); }
.facts span { font-size: 13px; color: var(--muted); }

.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: 5vw; align-items: start; margin: 0 auto 100px; max-width: 1200px; }
.product:nth-child(even) .gallery { order: 2; }
.gallery .main { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--paper); }
.thumbs { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; margin-top: 6px; }
.thumbs img { aspect-ratio: 3 / 4; object-fit: cover; cursor: pointer; opacity: .55; transition: .2s; }
.thumbs img.on, .thumbs img:hover { opacity: 1; }
.info { position: sticky; top: 100px; }
.info h3 { font-size: clamp(40px, 4.5vw, 60px); margin-bottom: 6px; }
.info .sub { color: var(--muted); margin: 0 0 22px; }
.price { font: 600 32px var(--serif); margin: 0 0 22px; }
.price.ask { font: 15px var(--sans); color: var(--muted); }
.info ul { list-style: none; padding: 0; margin: 0 0 28px; }
.info li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.info li::before { content: "— "; color: var(--accent); }
.info .sizes-line { font-size: 14px; color: var(--muted); margin-bottom: 22px; }

.sizes { display: grid; grid-template-columns: 1.3fr 1fr; gap: 5vw; align-items: center; background: var(--paper); }
.sizes h2 { text-align: left; }
.sizes img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 11px 8px; text-align: left; border-bottom: 1px solid var(--line); }
th { font-weight: 600; font-size: 13px; color: var(--muted); }
td:first-child { font-weight: 600; }
.note { font-size: 14px; color: var(--muted); }

.delivery .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4vw; max-width: 1100px; margin: 0 auto; }
.delivery h3 { font-size: 30px; }
.delivery p { color: var(--muted); }

.club { background: var(--ink); color: var(--paper); text-align: center; }
.club-logo { width: 220px; margin: 0 auto 30px; }
.club p { color: #c9bdb0; margin: 0 0 30px; font-size: 18px; }

footer { padding: 50px 6vw; display: flex; gap: 30px; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
footer img { height: 34px; }

dialog { border: 0; padding: 0; width: min(520px, 94vw); max-height: 94vh; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: rgba(27, 24, 22, .6); }
dialog form, #order-done { padding: 30px 32px 26px; position: relative; }
.close { position: absolute; right: 12px; top: 8px; border: 0; background: none; font-size: 30px; cursor: pointer; color: var(--muted); }
.order-head { display: flex; gap: 18px; align-items: center; margin-bottom: 10px; }
.order-head img { width: 76px; aspect-ratio: 3 / 4; object-fit: cover; }
.order-head h3 { margin: 0 0 4px; font-size: 30px; }
.order-head .price { margin: 0; font-size: 24px; }
label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 6px; }
.opt { font-size: 11px; opacity: .7; }
input, select, textarea { width: 100%; padding: 12px; border: 1px solid var(--line); background: #fff; font: 15px var(--sans); color: var(--ink); border-radius: 0; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { min-width: 50px; padding: 9px 12px; border: 1px solid var(--line); background: #fff; font: 600 13px var(--sans); cursor: pointer; color: var(--ink); }
.chips button.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
label.check { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: 13px; }
label.check input { width: auto; margin-top: 2px; }
.hp { position: absolute; left: -9999px; }
.err { color: #a3352a; font-size: 14px; min-height: 1em; margin: 10px 0 0; }
#order-done { text-align: center; }
.done-logo { width: 160px; margin: 10px auto 20px; }

@media (max-width: 860px) {
  section { padding: 60px 5vw; }
  .top { gap: 14px; }
  .top nav { display: none; }
  .top .btn { margin-left: auto; }
  .brand img { height: 28px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 30px; gap: 30px; }
  .hero-photo { order: -1; margin: 0 -5vw; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(2) { border-right: 0; }
  .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .product { grid-template-columns: 1fr; margin-bottom: 70px; }
  .product:nth-child(even) .gallery { order: 0; }
  .thumbs { grid-template-columns: repeat(4, 1fr); }
  .info { position: static; }
  .sizes { grid-template-columns: 1fr; }
  .sizes img { display: none; }
  th, td { padding: 9px 4px; font-size: 13px; }
  .delivery .cols { grid-template-columns: 1fr; }
  dialog form, #order-done { padding: 24px 20px; }
}
