:root {
  --bg: #f3efe8;
  --paper: #faf7f2;
  --ink: #241f1b;
  --muted: #6e675f;
  --line: #ddd4c8;
  --accent: #8f3d32;
  --pad: clamp(18px, 3vw, 40px);
  --bar: 64px;
  --serif: "Montserrat", "Avenir Next", "Segoe UI", sans-serif;
  --sans: "Montserrat", "Avenir Next", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: #e4d2c4; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -40px; background: var(--ink); color: var(--bg);
  padding: 8px 12px; z-index: 100;
}
.skip:focus { top: 8px; }

.kicker, .sku, .meta {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 600; letter-spacing: -.03em; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 30;
  height: var(--bar);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 var(--pad);
  background: rgba(243, 239, 232, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.header.is-stuck { border-bottom-color: var(--line); }
.logo { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: -.03em; display: flex; align-items: baseline; gap: 8px; }
.logo span { font-family: var(--sans); font-size: 12px; color: var(--muted); letter-spacing: 0; }
.nav { display: flex; gap: 20px; }
.nav a { font-size: 14px; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.header__end { display: flex; align-items: center; gap: 18px; }
.menu-btn { display: none; font-size: 14px; }
.bag-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.bag-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: var(--ink); color: var(--bg); font-size: 12px;
  display: inline-grid; place-items: center;
}
.bag-count.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.25); } }

.menu {
  border-bottom: 1px solid var(--line);
  padding: 8px var(--pad) 18px;
  display: grid; gap: 10px;
  background: var(--bg);
}
.menu[hidden] { display: none; }
.menu a { font-family: var(--sans); font-size: 22px; font-weight: 600; letter-spacing: -.03em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 18px;
  background: var(--ink); color: var(--bg);
  border: 1px solid var(--ink); font-size: 15px; font-weight: 500;
}
.btn:hover { background: #3a332c; }
.btn--block { width: 100%; }
.link {
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link:hover { color: var(--accent); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) 1.22fr;
  gap: 36px;
  padding: 22px var(--pad) 10px;
  align-items: end;
}
.hero__copy { display: flex; flex-direction: column; justify-content: space-between; min-height: min(74vh, 760px); padding-bottom: 28px; }
.hero h1 { font-size: clamp(40px, 4.8vw, 68px); line-height: 1.08; margin: 12px 0 0; }
.lede { max-width: 38ch; font-size: 17px; margin: 18px 0 0; }
.hero__photo img { width: 100%; height: min(74vh, 760px); object-fit: cover; background: #e4ddd3; }
.hero__photo figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }

.facts {
  list-style: none; margin: 18px 0 0; padding: 18px var(--pad);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.facts strong { display: block; font-family: var(--sans); font-weight: 600; font-size: 26px; line-height: 1.15; letter-spacing: -.03em; }
.facts span { color: var(--muted); font-size: 14px; }

.section { padding: 72px var(--pad); }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.sec-head h2 { font-size: clamp(32px, 4vw, 46px); margin: 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 22px; }
.card__media { position: relative; aspect-ratio: 4 / 5; background: #e6dfd6; overflow: hidden; display: block; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__media img.alt { opacity: 0; transition: opacity .35s ease; }
@media (hover: hover) {
  .card:hover .card__media img.alt { opacity: 1; }
}
.badge {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  background: var(--paper); padding: 4px 8px;
  font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
}
.card__body { padding-top: 10px; display: grid; gap: 2px; }
.card__name { font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.card__spec { margin: 0; color: var(--muted); font-size: 14px; }
.card__buy { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 8px; }
.card__price { font-variant-numeric: tabular-nums; font-size: 14px; }
.card__quick { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.card__quick:hover { color: var(--accent); }
.card__packs { color: var(--muted); font-size: 12px; letter-spacing: .04em; }

.rooms { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.room { display: block; }
.room img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #e6dfd6; }
.room__name { display: block; margin-top: 8px; font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.room__n { color: var(--muted); font-size: 13px; }

.cases { background: var(--ink); color: var(--bg); }
.cases .split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.cases h2 { font-size: clamp(32px, 4vw, 46px); margin: 8px 0 12px; }
.cases p { color: #c9c0b6; max-width: 42ch; }
.cases a { color: var(--bg); }
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th { text-align: left; font-weight: 500; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #b7aea4; padding: 0 0 8px; }
.price-table td { padding: 12px 8px 12px 0; border-top: 1px solid rgba(255,255,255,.16); }
.price-table td:last-child, .price-table th:last-child { text-align: right; }
.price-table .save { color: #e4bdb4; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #e6dfd6; }
.about h2 { font-size: clamp(32px, 4vw, 46px); margin: 8px 0 12px; }
.about p { font-size: 17px; max-width: 48ch; }

.places { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.places figure { margin: 0; }
.places img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #e6dfd6; }
.places figcaption { padding-top: 8px; font-size: 14px; }
.places figcaption span { display: block; color: var(--muted); font-size: 13px; }

.signup {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: end;
  border-top: 1px solid var(--line); padding: 56px var(--pad) 72px;
}
.signup h2 { font-size: clamp(32px, 4vw, 46px); margin: 0 0 8px; }
.signup form { display: flex; gap: 10px; border-bottom: 1px solid var(--ink); }
.signup input { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; outline: none; }
.signup button { font-weight: 500; }

.footer { padding: 36px var(--pad) 22px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 28px; }
.footer h2 { font-size: 22px; margin: 0 0 8px; }
.footer p, .footer li { font-size: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__base {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px;
}

/* Shop */
.page-head { padding: 36px var(--pad) 8px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.page-head h1 { font-size: clamp(40px, 5vw, 64px); margin: 0; }
.page-head p { margin: 0; max-width: 36ch; color: var(--muted); }
.toolbar {
  position: sticky; top: var(--bar); z-index: 20;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 12px var(--pad); margin-top: 18px;
  background: rgba(243, 239, 232, .94);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.chips { display: flex; gap: 16px; overflow-x: auto; }
.chip { font-size: 14px; white-space: nowrap; border-bottom: 1px solid transparent; padding-bottom: 2px; color: var(--muted); }
.chip.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.sort select { background: transparent; border: 0; border-bottom: 1px solid var(--ink); padding: 2px 4px; font-weight: 500; color: var(--ink); }
.shop-grid { padding: 28px var(--pad) 80px; }
.empty { color: var(--muted); padding: 40px 0; }

/* Product */
.pdp {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px;
  padding: 22px var(--pad) 64px; align-items: start;
}
.gallery { display: grid; gap: 12px; }
.gallery .ph { background: #e6dfd6; cursor: zoom-in; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pdp__info { position: sticky; top: calc(var(--bar) + 16px); }
.crumbs { display: flex; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.crumbs a:hover { color: var(--ink); }
.pdp h1 { font-size: clamp(36px, 4vw, 52px); margin: 6px 0 0; line-height: 1.08; }
.pdp__color { margin: 8px 0 0; color: var(--muted); }
.pdp__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 22px 0 4px; font-variant-numeric: tabular-nums; }
.pdp__price strong { font-size: 28px; font-weight: 500; }
.pdp__price .per { color: var(--muted); font-size: 14px; }
.save { color: var(--accent); }
.pdp__range { color: var(--muted); font-size: 13px; margin: 0; }
.opt-label { display: flex; justify-content: space-between; margin: 26px 0 8px; font-size: 13px; color: var(--muted); }
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pack {
  text-align: left; padding: 10px 10px 9px; border: 1px solid var(--line); background: var(--paper);
  font-variant-numeric: tabular-nums; position: relative;
}
.pack:hover { border-color: var(--ink); }
.pack.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pack b { display: block; font-size: 14px; font-weight: 600; }
.pack span { display: block; font-size: 13px; }
.pack small { display: block; margin-top: 6px; font-size: 11px; letter-spacing: .03em; opacity: .7; }
.pack .tag { position: absolute; top: 0; right: 0; background: var(--accent); color: #fff; font-size: 10px; letter-spacing: .04em; padding: 2px 5px; }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: 6px; margin-top: 14px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--ink); height: 46px; }
.stepper button { width: 36px; height: 100%; }
.stepper button:hover { background: var(--ink); color: var(--bg); }
.stepper input { width: 36px; text-align: center; border: 0; background: transparent; font-weight: 600; }
.stepper--sm { height: 32px; }
.stepper--sm button { width: 28px; }
.stepper--sm input { width: 28px; font-size: 13px; }
.fine { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.acc { border-top: 1px solid var(--line); margin-top: 26px; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { cursor: pointer; padding: 14px 0; font-weight: 600; font-size: 14px; list-style: none; display: flex; justify-content: space-between; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-weight: 400; }
.acc details[open] summary::after { content: "–"; }
.acc p { margin: 0 0 10px; font-size: 14px; }
.mini-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.mini-table td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.mini-table td:last-child { text-align: right; }

.zoom { position: fixed; inset: 0; z-index: 90; background: var(--bg); cursor: zoom-out; }
.zoom img { width: 100%; height: 100%; object-fit: contain; }
.missing { padding: 80px var(--pad); }

/* Drawer */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(36, 31, 27, .35); }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 41; width: min(420px, 100%);
  background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(104%); transition: transform .35s ease;
}
.drawer.is-open { transform: none; }
.drawer__head, .drawer__foot { padding: 16px 20px; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.drawer__head h2 { margin: 0; font-size: 22px; }
.drawer__body { flex: 1; overflow: auto; padding: 0 20px; }
.drawer__foot { border-top: 1px solid var(--line); }
.line {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.line img { width: 76px; aspect-ratio: 4 / 5; object-fit: cover; background: #e6dfd6; }
.line__name { font-weight: 600; font-size: 14px; }
.line__meta { color: var(--muted); font-size: 13px; }
.line__right { text-align: right; font-variant-numeric: tabular-nums; font-size: 14px; display: flex; flex-direction: column; justify-content: space-between; }
.line__right button { color: var(--muted); font-size: 12px; text-decoration: underline; }
.ship-note { font-size: 13px; margin-bottom: 8px; }
.ship-note .track { height: 3px; background: var(--line); margin-top: 6px; }
.ship-note .fill { height: 100%; background: var(--ink); }
.totals { display: flex; justify-content: space-between; margin: 12px 0; font-variant-numeric: tabular-nums; }
.drawer-empty { padding: 48px 0; }
.drawer-empty h2 { font-size: 36px; margin: 0 0 8px; }

.toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 95;
  background: var(--ink); color: var(--bg); padding: 12px 16px; font-size: 14px;
  transform: translate(-50%, 140%); transition: transform .35s ease;
}
.toast.is-on { transform: translate(-50%, 0); }
body.lock { overflow: hidden; }

/* Checkout */
.checkout { display: grid; grid-template-columns: 1.15fr .85fr; min-height: calc(100vh - var(--bar)); }
.checkout form { padding: 32px var(--pad) 72px; max-width: 680px; justify-self: end; width: 100%; }
.checkout h1 { font-size: clamp(40px, 5vw, 64px); margin: 0 0 22px; }
.checkout__sum { background: var(--paper); border-left: 1px solid var(--line); padding: 32px var(--pad); }
.checkout__sum-inner { position: sticky; top: calc(var(--bar) + 20px); }
fieldset { border: 0; margin: 0 0 26px; padding: 0; }
legend { font-weight: 600; margin-bottom: 10px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field span { font-size: 13px; }
.field input, .field select, .field textarea {
  width: 100%; height: 46px; border: 1px solid var(--line); background: #fff; padding: 0 12px;
}
.field textarea { height: 96px; padding: 10px 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field.err input, .field.err textarea, .field.err select { border-color: var(--accent); }
.ship-choice { border: 1px solid var(--ink); padding: 14px; display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.sum-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; font-size: 14px; }
.sum-item img { width: 56px; aspect-ratio: 4 / 5; object-fit: cover; background: #e6dfd6; }
.sum-rows { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; display: grid; gap: 8px; font-variant-numeric: tabular-nums; }
.sum-rows div { display: flex; justify-content: space-between; }
.sum-rows .grand { font-size: 18px; font-weight: 600; border-top: 1px solid var(--line); padding-top: 10px; }
.done { padding: 100px var(--pad); text-align: center; }
.done h1 { font-size: clamp(42px, 6vw, 72px); }

/* Legal */
.legal { max-width: 74ch; padding: 48px var(--pad) 80px; }
.legal h1 { font-size: clamp(40px, 5vw, 64px); margin: 0 0 8px; }
.legal h2 { font-family: var(--sans); font-size: 16px; letter-spacing: -.02em; font-weight: 600; margin: 28px 0 8px; }
.legal p, .legal li { font-size: 15px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; }
.legal-table th, .legal-table td { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

@media (max-width: 980px) {
  .grid, .rooms, .places { grid-template-columns: repeat(2, 1fr); }
  .rooms { grid-template-columns: repeat(2, 1fr); }
  .footer__grid, .about, .cases .split, .signup, .hero, .pdp, .checkout { grid-template-columns: 1fr; }
  .hero__copy { min-height: 0; padding-bottom: 0; gap: 18px; }
  .hero__photo { order: -1; }
  .hero__photo img { height: 68vw; min-height: 260px; }
  .pdp__info, .checkout__sum-inner { position: static; }
  .checkout__sum { order: -1; border-left: 0; border-bottom: 1px solid var(--line); }
  .nav { display: none; }
  .menu-btn { display: inline; }
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 22px 10px; }
  .packs, .fields { grid-template-columns: 1fr 1fr; }
  .fields .full { grid-column: 1 / -1; }
  .page-head, .toolbar { flex-direction: column; align-items: stretch; }
  .card__name { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
