
/* ==========================================================================
   RANDVELO · randvelo.com — a wardrobe read as an index.
   DNA: nav=top-bar+drawer · hero=two-50-50 (ing=image+title · h1=medium · h=600 · area=50 · align=left · block=side)
        index=card-grid-4 (3:4) · card=image-name-price · shop=card-grid-3 (4:5)
        grid=12-col · type=system-sans · color=wine-on-white · image=raw
        footer=two-part · voice=field-notes · icon=plaid-texture/wine-cream
   ========================================================================== */

:root {
  --paper: #ffffff;
  --ink: #191919;
  --ink-2: #464646;
  --muted: #7c7c7c;
  --line: #e4e4e4;
  --line-2: #cfcfcf;
  --wash: #f5f5f5;
  --wine: #5e2333;
  --wine-deep: #471a27;
  --wine-wash: #f7f1f2;
  --sans: "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --wrap: 1280px;
  --pad: clamp(16px, 3.6vw, 44px);
  --r: 2px;
  --t-fast: .18s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.is-nav-open { overflow: hidden; }
h1, h2, h3, h4, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.kicker {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 26px;
  border: 1px solid var(--ink);
  border-radius: var(--r);
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  letter-spacing: .05em;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn:hover { background: var(--ink); color: #fff; }
.btn--primary { background: var(--wine); border-color: var(--wine); color: #fff; }
.btn--primary:hover { background: var(--wine-deep); border-color: var(--wine-deep); color: #fff; }
.btn--full { width: 100%; }
.link-u {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  font-size: 13px;
  color: var(--wine);
}
.link-u:hover { color: var(--wine-deep); }

/* ---------- site head ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.head-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 64px;
}
.brand {
  grid-column: 2;
  font-size: 17px;
  letter-spacing: .38em;
  text-transform: uppercase;
  font-weight: 500;
  padding-left: .38em;
}
.head-nav { grid-column: 1; grid-row: 1; display: flex; align-items: center; gap: 22px; }
.head-nav a {
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--ink-2);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.head-nav a:hover, .head-nav a.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.head-side { grid-column: 3; grid-row: 1; display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.bag-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  letter-spacing: .06em;
}
.bag-link svg { width: 18px; height: 18px; }
.bag-link b { font-weight: 500; }
.nav-toggle {
  display: none;
  width: 34px; height: 34px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--paper);
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 15px; height: 1px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute; left: 0;
  width: 15px; height: 1px;
  background: var(--ink);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
.nav-drawer {
  display: none;
  position: fixed;
  inset: 64px 0 0;
  z-index: 39;
  background: var(--paper);
  padding: 24px var(--pad) 40px;
  border-top: 1px solid var(--line);
}
.nav-drawer.is-open { display: block; }
.nav-drawer a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}
.drawer-bag { margin-top: 26px; }

/* ---------- site foot ---------- */
.site-foot { margin-top: 96px; border-top: 1px solid var(--ink); }
.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
  padding: 54px 0 46px;
}
.foot-mark { font-size: 15px; letter-spacing: .36em; text-transform: uppercase; }
.foot-line { margin-top: 14px; font-size: 13px; color: var(--ink-2); max-width: 34ch; }
.foot-side h4 {
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 12px;
}
.foot-side a, .foot-side p { display: block; font-size: 13.5px; color: var(--ink-2); padding: 3px 0; }
.foot-side a:hover { color: var(--ink); }
.foot-mail { border-bottom: 1px solid var(--line-2); align-self: flex-start; }
.foot-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); max-width: 32ch; }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 18px 0 26px;
  font-size: 12px;
  color: var(--muted);
}
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-links a:hover { color: var(--ink); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 90;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r);
  font-size: 13px;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- home ---------- */
.hero { border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 600px; }
.hero-media { background: var(--wash); overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero-copy {
  background: var(--wine);
  color: #fff;
  padding: clamp(30px, 4.6vw, 74px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-copy .kicker { color: rgba(255, 255, 255, .68); }
.hero-copy h1 {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -.03em;
  margin: 18px 0 20px;
  max-width: 15ch;
}
.hero-copy p { font-size: 15px; color: rgba(255, 255, 255, .84); max-width: 33ch; }
.hero-link {
  align-self: flex-start;
  margin-top: 34px;
  padding-bottom: 3px;
  font-size: 13px;
  letter-spacing: .04em;
  border-bottom: 1px solid rgba(255, 255, 255, .55);
  transition: border-color var(--t-fast);
}
.hero-link:hover { border-bottom-color: #fff; }

.index-sec { padding: 78px 0 0; }
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 15px;
  margin-bottom: 34px;
}
.sec-head h2 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 500; }
.sec-head .kicker { padding-bottom: 3px; }
.home-index {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 24px;
  counter-reset: idx;
}
.index-row { counter-increment: idx; }
.index-row > a { display: flex; flex-direction: column; gap: 11px; }
.idx-thumb { display: block; background: var(--wash); overflow: hidden; }
.idx-thumb img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform .45s ease;
}
.index-row > a:hover .idx-thumb img { transform: scale(1.025); }
.idx-name { display: flex; flex-direction: column; gap: 3px; }
.idx-name h3 { font-size: 15px; font-weight: 500; }
.idx-name h3::before {
  content: counter(idx, decimal-leading-zero) " — ";
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--muted);
  font-weight: 400;
}
.idx-name span {
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.idx-price { font-size: 13.5px; }

.note-band { margin-top: 84px; background: var(--wine); color: #fff; }
.note-band .wrap {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: end;
  padding-top: 58px;
  padding-bottom: 58px;
}
.note-band h2 { font-size: clamp(24px, 2.9vw, 36px); font-weight: 500; max-width: 19ch; }
.note-band .band-side { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.note-band p { color: rgba(255, 255, 255, .8); font-size: 14px; max-width: 32ch; }
.note-band .link-u { color: #fff; }

/* ---------- page head ---------- */
.page-head { padding: 54px 0 24px; }
.page-head h1 { font-size: clamp(28px, 3.3vw, 44px); margin-top: 12px; font-weight: 500; }
.page-head .lede { margin-top: 14px; color: var(--ink-2); font-size: 14.5px; max-width: 54ch; }

/* ---------- shop ---------- */
.shop-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  margin-bottom: 34px;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line-2);
  background: var(--paper);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 12.5px;
  color: var(--ink-2);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--wine); border-color: var(--wine); color: #fff; }
.shop-meta { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.shop-count { font-size: 12.5px; color: var(--muted); }
.sort-wrap select {
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--paper);
  padding: 7px 10px;
  font-size: 12.5px;
  font-family: var(--sans);
}
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px 26px; }
.p-card { display: block; }
.p-media { background: var(--wash); overflow: hidden; }
.p-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .45s ease;
}
.p-card:hover .p-media img { transform: scale(1.02); }
.p-meta { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; }
.p-meta > div:first-child { display: flex; flex-direction: column-reverse; gap: 2px; }
.p-meta h3 { font-size: 15px; font-weight: 500; }
.p-type { font-size: 10.5px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.p-price { display: flex; align-items: baseline; gap: 9px; font-size: 13.5px; }
.p-price s { font-size: 12px; color: var(--muted); }
.empty-state { padding: 56px 0 20px; }
.empty-state h3 { font-size: 19px; font-weight: 500; }
.empty-state p { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* ---------- product ---------- */
.crumbs { padding: 26px 0 6px; font-size: 12px; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs span { margin: 0 7px; }
.pdp {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding: 16px 0 10px;
}
.pdp-media { position: sticky; top: 92px; }
.pdp-main-wrap { overflow: hidden; background: var(--wash); }
#pdpMain {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: var(--px, 50%) var(--py, 50%);
  transform: scale(var(--pz, 1));
  transition: transform .3s ease;
}
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pdp-thumbs button { width: 74px; padding: 0; border: 1px solid transparent; background: var(--wash); }
.pdp-thumbs button.is-active { border-color: var(--ink); }
.pdp-thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.pdp-info { padding-top: 4px; }
.pdp-cat { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pdp-name { font-size: clamp(24px, 2.8vw, 34px); margin: 12px 0 14px; font-weight: 500; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; font-size: 18px; }
.pdp-price s { font-size: 14px; color: var(--muted); }
.pdp-desc { margin-top: 22px; color: var(--ink-2); font-size: 14.5px; max-width: 52ch; }
.size-block { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 20px; }
.size-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.size-btn {
  min-width: 46px; height: 38px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--paper);
  font-size: 12.5px;
}
.size-btn:hover { border-color: var(--ink); }
.size-btn.is-active { background: var(--wine); border-color: var(--wine); color: #fff; }
.size-note { margin-top: 8px; font-size: 12px; color: var(--muted); }
.qty-row { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r); }
.qty button { width: 38px; height: 42px; border: 0; background: var(--paper); }
.qty button:hover { background: var(--wash); }
.qty span { min-width: 34px; text-align: center; font-size: 14px; }
.pdp-actions { display: flex; flex-direction: column; gap: 10px; max-width: 420px; margin-top: 20px; }
.pdp-actions .btn { min-height: 50px; }
.pdp-foot-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); max-width: 46ch; }
.related { margin-top: 72px; border-top: 1px solid var(--line); padding-top: 26px; }
.related h2 { font-size: 18px; font-weight: 500; margin-bottom: 22px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 20px; }

/* ---------- cart ---------- */
.cart-page { padding-top: 46px; }
.cart-page > h1 { font-size: clamp(26px, 3vw, 38px); font-weight: 500; margin-bottom: 28px; }
.cart-empty { max-width: 520px; padding: 40px 0 70px; }
.cart-empty h2 { font-size: 24px; font-weight: 500; }
.cart-empty p { margin: 12px 0 26px; color: var(--ink-2); }
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: start;
  padding-bottom: 30px;
}
.cart-head, .cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 126px 104px 62px;
  gap: 18px;
  align-items: center;
}
.cart-head {
  padding: 0 0 12px;
  border-bottom: 1px solid var(--ink);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.cart-head span:nth-child(2), .cart-head span:nth-child(3) { text-align: right; }
.cart-row { padding: 24px 0; border-bottom: 1px solid var(--line); }
.cart-prod { display: flex; gap: 16px; align-items: flex-start; min-width: 0; }
.cart-prod img { width: 84px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--wash); }
.cart-prod h3 { font-size: 14.5px; font-weight: 500; line-height: 1.35; }
.cart-prod div span { display: block; margin-top: 5px; font-size: 12px; color: var(--muted); }
.cart-qty { display: flex; align-items: center; justify-content: flex-end; gap: 0; }
.cart-qty button {
  width: 30px; height: 30px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  font-size: 14px;
  line-height: 1;
}
.cart-qty button:hover { border-color: var(--ink); }
.cart-qty span { min-width: 34px; text-align: center; font-size: 13.5px; }
.cart-line { text-align: right; font-size: 14.5px; }
.cart-remove {
  width: auto;
  padding: 0 0 1px;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  background: none;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: .02em;
  justify-self: end;
}
.cart-remove:hover { color: var(--wine); }
.cart-summary {
  position: sticky;
  top: 92px;
  background: var(--wine-wash);
  border: 1px solid #ebdde0;
  padding: 28px 26px 26px;
}
.cart-summary h2 { font-size: 18px; font-weight: 500; margin-bottom: 18px; }
.sum-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  font-size: 14px;
  color: var(--ink-2);
}
.sum-row span:last-child { white-space: nowrap; }
.sum-row.is-total {
  margin-top: 8px;
  padding-top: 15px;
  border-top: 1px solid #dcc9ce;
  font-size: 17px;
  color: var(--ink);
}
.sum-note { margin: 12px 0 18px; font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.cart-summary .btn { margin-bottom: 14px; }
.cart-summary .link-u { display: block; text-align: center; border-bottom: 0; color: var(--ink-2); }
.cart-summary .link-u:hover { color: var(--ink); }

/* ---------- checkout ---------- */
.ck-page { padding-top: 46px; }
.ck-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 60px;
  align-items: start;
}
.ck-form h2, .ck-aside h2 {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.ck-form h2:not(:first-child) { margin-top: 34px; }
.ck-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.ck-grid .span2 { grid-column: 1 / -1; }
.field { display: block; }
.field > span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field select, .field textarea {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--paper);
  outline: none;
}
.field textarea { height: auto; padding: 10px 12px; resize: vertical; }
.field input:focus, .field select:focus { border-color: var(--wine); }
.ship-opts { display: grid; gap: 10px; margin-bottom: 8px; }
.ship-opts > label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 13px 16px;
  cursor: pointer;
}
.ship-opts > label > span:first-of-type { display: flex; flex-direction: column; }
.ship-opts > label b { font-size: 13.5px; font-weight: 500; }
.ship-opts > label small { font-size: 12px; color: var(--muted); margin-top: 2px; }
.ship-opts > label > span:last-of-type { font-size: 13.5px; }
.ship-opts > label.is-active { border-color: var(--wine); background: var(--wine-wash); }
.ck-note { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.form-err { margin-top: 16px; font-size: 13px; color: #a13030; }
.ck-aside {
  position: sticky;
  top: 92px;
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}
.ck-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.ck-item img { width: 54px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--wash); }
.ck-item h4 { font-size: 13px; font-weight: 500; line-height: 1.35; }
.ck-item span { font-size: 11.5px; color: var(--muted); }
.ck-item b { font-size: 13px; font-weight: 500; }
.ck-totals { margin-top: 8px; }
.ck-aside .btn { margin-top: 20px; }
.ck-aside .sum-note { margin-bottom: 0; }

/* ---------- order complete ---------- */
.done-page { padding: 56px 0 0; max-width: 760px; margin: 0 auto; }
.done-head { text-align: center; margin-bottom: 34px; }
.done-head h1 { font-size: clamp(26px, 3vw, 36px); font-weight: 500; margin-top: 10px; }
.done-head p { margin-top: 12px; color: var(--ink-2); font-size: 14px; }
.ticket, #doneTicket {
  background: var(--wine-wash);
  border: 1px solid #ebdde0;
  padding: clamp(22px, 4vw, 40px);
}
.ticket-head {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px dashed #cdb6bc;
}
.ticket-head > div { display: flex; flex-direction: column; gap: 5px; }
.ticket-head span {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.ticket-head strong { font-size: 14px; font-weight: 500; }
.ticket-items { padding: 18px 0 6px; }
.ticket-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
  font-size: 13.5px;
  color: var(--ink-2);
}
.ticket-item span:last-child { white-space: nowrap; }
.ticket .sum-row { border-top: 0; }
.ticket > div:nth-last-child(2) { margin-top: 10px; }
.done-actions { display: flex; justify-content: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* ---------- static pages ---------- */
.page-narrow { max-width: 780px; margin: 0 auto; }
.about-lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.55; color: var(--ink); max-width: 40ch; margin-bottom: 38px; }
.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 48px;
  border-top: 1px solid var(--ink);
  padding-top: 28px;
}
.about-cols h2 { font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.about-cols p { font-size: 14px; color: var(--ink-2); }
.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.about-facts dt {
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-facts dd { margin-top: 6px; font-size: 14px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  border-top: 1px solid var(--ink);
  padding-top: 30px;
}
.contact-grid h2 { font-size: 16px; font-weight: 500; margin-bottom: 10px; }
.contact-grid p { font-size: 14px; color: var(--ink-2); max-width: 36ch; }
.contact-mail {
  display: inline-block;
  margin-top: 10px;
  font-size: 17px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.contact-hours { margin-top: 26px; font-size: 13px; color: var(--muted); }

/* ---------- policy ---------- */
.policy-page { padding-top: 50px; }
.policy-page h1 { font-size: clamp(26px, 3vw, 36px); font-weight: 500; }
.policy-meta { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.prose { max-width: 72ch; margin-top: 34px; }
.prose h2 {
  font-size: 17px;
  font-weight: 500;
  margin: 34px 0 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 14.5px; font-weight: 500; margin: 20px 0 6px; }
.prose p, .prose li { font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.prose ul { list-style: disc; padding-left: 20px; margin-bottom: 12px; }
.prose a { color: var(--wine); border-bottom: 1px solid currentColor; }

/* ---------- admin ---------- */
.ad-body { background: var(--wash); }
.ad-body .wordmark {
  display: block;
  font-size: 13px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ink);
}
.ad-gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--paper);
}
.ad-gate-card {
  width: 100%;
  max-width: 380px;
  border-top: 3px solid var(--wine);
  background: var(--paper);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 32px 34px;
}
.ad-gate-card > p {
  margin: 12px 0 22px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .04em;
}
.ad-gate-card .field { margin-bottom: 16px; }
.ad-err { min-height: 18px; font-size: 12.5px; color: #a13030; margin-bottom: 10px; }
.ad-note { font-size: 12.5px; color: var(--muted); }
.ad-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--wine);
  border-radius: var(--r);
  background: var(--wine);
  color: #fff;
  font-size: 12.5px;
  letter-spacing: .05em;
}
.ad-btn:hover { background: var(--wine-deep); border-color: var(--wine-deep); }
.ad-shell {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  min-height: 100vh;
}
.ad-side {
  background: var(--paper);
  border-right: 1px solid var(--line);
  padding: 28px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.ad-side small { font-size: 11px; color: var(--muted); letter-spacing: .08em; margin: 6px 0 24px; }
.ad-nav { display: flex; flex-direction: column; gap: 2px; }
.ad-nav a, .ad-nav span {
  display: block;
  padding: 9px 12px;
  border-left: 2px solid transparent;
  font-size: 13px;
  color: var(--ink-2);
}
.ad-nav a.is-active {
  border-left-color: var(--wine);
  background: var(--wine-wash);
  color: var(--wine);
  font-weight: 500;
}
.ad-nav .is-static { color: var(--muted); cursor: default; }
.ad-side-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.ad-side-foot button, .ad-side-foot a {
  text-align: left;
  border: 0;
  background: none;
  padding: 0;
  font-size: 12.5px;
  color: var(--ink-2);
}
.ad-side-foot button:hover, .ad-side-foot a:hover { color: var(--wine); }
.ad-main { padding: 30px clamp(18px, 3vw, 42px) 56px; min-width: 0; }
.ad-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.ad-top h1 { font-size: 22px; font-weight: 500; }
.ad-tools { display: flex; align-items: center; gap: 14px; }
.ad-lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.ad-lang button {
  border: 0;
  background: var(--paper);
  padding: 7px 12px;
  font-size: 12px;
  color: var(--ink-2);
}
.ad-lang button + button { border-left: 1px solid var(--line-2); }
.ad-lang button.is-active { background: var(--ink); color: #fff; }
.ad-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 22px 0 24px;
}
.ad-stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--wine);
  padding: 15px 16px;
}
.ad-stat span {
  display: block;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.ad-stat strong { display: block; margin-top: 6px; font-size: 22px; font-weight: 500; }
.ad-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.ad-search { flex: 1 1 260px; max-width: 340px; }
.ad-search input {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--paper);
  outline: none;
}
.ad-search input:focus { border-color: var(--wine); }
.ad-panel { background: var(--paper); border: 1px solid var(--line); overflow: visible; }
.ad-table { width: 100%; border-collapse: collapse; }
.ad-table th {
  text-align: left;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.ad-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  vertical-align: middle;
}
.ad-table tr:last-child td { border-bottom: 0; }
.ad-table tbody tr:hover { background: #fafafa; }
.o-no { color: var(--wine); border-bottom: 1px solid currentColor; font-size: 12.5px; }
.o-cust { font-size: 13px; }
.o-cust span { display: block; font-size: 11.5px; color: var(--muted); }
.o-actions { text-align: right; white-space: nowrap; }
.ad-more-btn {
  border: 1px solid var(--line-2);
  background: var(--paper);
  border-radius: var(--r);
  padding: 5px 10px;
  font-size: 12px;
  color: var(--ink-2);
}
.ad-more-btn:hover { border-color: var(--ink); color: var(--ink); }
.ad-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.st-pending { background: #fdf3d9; color: #8a6414; }
.st-paid { background: #e4effa; color: #1e5289; }
.st-shipped { background: #e8e2f6; color: #4b3585; }
.st-delivered { background: #e2f1e6; color: #28643a; }
.st-cancelled { background: #f7e3e3; color: #8f2f2f; }
.ad-empty { padding: 46px 20px; text-align: center; }
.ad-empty p { color: var(--muted); font-size: 13.5px; margin-bottom: 16px; }
.ad-empty .ad-btn { margin: 0 5px; }
.ad-menu {
  position: absolute;
  z-index: 60;
  min-width: 168px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  box-shadow: 0 10px 26px rgba(25, 25, 25, .12);
  padding: 6px 0;
}
.ad-menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--ink-2);
}
.ad-menu button:hover { background: var(--wash); color: var(--ink); }
.ad-menu button.is-danger { color: #8f2f2f; }
.ad-menu button.is-danger:hover { background: #f7e3e3; }
.ad-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(25, 25, 25, .42);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6vh 18px 30px;
  overflow: auto;
}
.ad-modal-card {
  width: 100%;
  max-width: 460px;
  background: var(--paper);
  border-top: 3px solid var(--wine);
}
.ad-modal-card--wide { max-width: 680px; }
.ad-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.ad-modal-head h2 { font-size: 16px; font-weight: 500; }
.ad-close {
  border: 0;
  background: none;
  font-size: 20px;
  line-height: 1;
  color: var(--muted);
}
.ad-close:hover { color: var(--ink); }
.ad-modal-body { padding: 18px 20px; }
.ad-modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px 20px;
  border-top: 1px solid var(--line);
}
.ad-modal-foot .right { margin-left: auto; display: flex; gap: 10px; }
.ad-kv { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 9px 16px; }
.ad-kv dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.ad-kv dd { font-size: 13.5px; }
.ad-items { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 14px; }
.ad-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 7px 0;
  font-size: 13px;
  color: var(--ink-2);
}
.ad-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 5px 0;
  font-size: 13px;
  color: var(--ink-2);
}
.ad-line.is-total {
  margin-top: 6px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink);
}
.ad-form-row { display: grid; gap: 14px; }
.ad-form-row--3 { grid-template-columns: repeat(3, 1fr); }
.ad-modal-body .field { margin-bottom: 14px; }
.ad-modal-body .field:last-child { margin-bottom: 0; }
.ad-modal-body .ad-note { margin-top: 6px; }

/* ---------- checkout head / policy extras ---------- */
.ck-head { margin-bottom: 34px; }
.ck-head h1 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; margin-top: 8px; }
.eyebrow {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--wine);
}
.page-head > p {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 14.5px;
  max-width: 54ch;
}
.prose { padding-bottom: 24px; }
.about-facts a, .contact-grid a { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cart-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; }
  .ck-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; }
  .home-index { gap: 32px 18px; }
}
@media (max-width: 960px) {
  .head-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .head-row { grid-template-columns: auto 1fr auto; }
  .brand { grid-column: 2; justify-self: center; font-size: 15px; letter-spacing: .3em; }
  .head-side { grid-column: 3; }
  .hero-grid { min-height: 0; }
  .note-band .wrap { grid-template-columns: 1fr; align-items: start; }
  .home-index { grid-template-columns: repeat(3, 1fr); }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .pdp { grid-template-columns: 1fr; gap: 26px; }
  .pdp-media { position: static; }
  .cart-layout, .ck-layout { grid-template-columns: 1fr; }
  .cart-summary, .ck-aside { position: static; }
  .ad-shell { grid-template-columns: 1fr; }
  .ad-side {
    position: static;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 16px var(--pad);
  }
  .ad-side small { margin: 0; }
  .ad-nav { flex-direction: row; flex-wrap: wrap; }
  .ad-nav a, .ad-nav span { padding: 6px 10px; border-left: 0; border-bottom: 2px solid transparent; }
  .ad-nav a.is-active { border-bottom-color: var(--wine); }
  .ad-side-foot { margin-left: auto; padding-top: 0; border-top: 0; flex-direction: row; gap: 14px; }
  .ad-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .home-index { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 34px; }
  .hero-copy h1 { max-width: none; }
  .page-head { padding: 38px 0 18px; }
  .shop-tools { gap: 10px; }
  .shop-meta { margin-left: 0; width: 100%; justify-content: space-between; }
  .cart-head { display: none; }
  .cart-row {
    grid-template-columns: 92px minmax(0, 1fr) 34px;
    grid-template-areas: "img prod remove" "img qty line";
    gap: 8px 14px;
    padding: 20px 0;
  }
  .cart-prod { display: contents; }
  .cart-prod img { grid-area: img; width: 92px; align-self: start; }
  .cart-prod > div { grid-area: prod; }
  .cart-qty { grid-area: qty; justify-content: flex-start; }
  .cart-line { grid-area: line; align-self: center; }
  .cart-remove { grid-area: remove; justify-self: end; }
  .ticket-head { grid-template-columns: 1fr; gap: 12px; padding-bottom: 18px; }
  .about-cols, .contact-grid { grid-template-columns: 1fr; gap: 22px; }
  .about-facts { grid-template-columns: 1fr 1fr; }
  .ck-grid { grid-template-columns: 1fr; }
  .done-actions .btn { width: 100%; }
  .ad-table thead { display: none; }
  .ad-table, .ad-table tbody, .ad-table tr, .ad-table td { display: block; width: 100%; }
  .ad-table tr {
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }
  .ad-table td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 0;
    padding: 6px 14px;
    text-align: right;
  }
  .ad-table td::before {
    content: attr(data-th);
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: left;
    flex: 0 0 auto;
  }
  .ad-table td.o-actions { padding-top: 8px; }
  .ad-table td.o-actions::before { content: ""; }
  .ad-more-btn { width: 100%; }
  .ad-modal-card { max-width: none; }
  .ad-form-row--3 { grid-template-columns: 1fr; }
  .ad-kv { grid-template-columns: 1fr; gap: 2px 0; }
  .ad-kv dd { margin-bottom: 10px; }
}
@media (max-width: 560px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 4 / 5; }
  .shop-grid, .related-grid { grid-template-columns: 1fr 1fr; gap: 30px 14px; }
  .home-index { gap: 26px 14px; }
  .idx-name h3 { font-size: 13.5px; }
  .ad-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ad-stat strong { font-size: 18px; }
  .ad-side { padding: 14px 16px; }
  .ad-nav { display: none; }
  .ad-tools { width: 100%; justify-content: space-between; }
  .ad-tools .ad-btn { flex: 1 1 auto; }
}
