/* ============================================================
   YORVANTA — "The Autumn Ledger"
   ------------------------------------------------------------
   Visual decisions
   - A printed wholesale catalogue, not a boutique: numbered index
     rows, hairline rules, bone paper, one rust accent.
   - Display: Fraunces at large sizes with tight leading, used as
     the structural voice (headlines, prices in large blocks).
   - Text: Archivo, 15px, generous measure; micro-labels are 10–11px
     uppercase with .16em tracking.
   - Grid: 12 columns, 1360px wrap, 28px gutters; images square,
     unframed, hard edges, no radius anywhere.
   - Density is high: the index and shop grid carry many items per
     screen, separated by rules rather than cards.
   - Colour: white #FFFFFF / ink #191712 / rust #9C3D22 / moss
     #3E4A35. No gradients, no shadows except a hard 1px border.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --paper: #FFFFFF;
  --paper-2: #FFFFFF;
  --field: #FFFFFF;
  --ink: #191712;
  --ink-soft: #5B5549;
  --ink-mute: #8C8576;
  --rust: #9C3D22;
  --moss: #3E4A35;
  --blue: #2C4E7A;
  --amber: #8A5A12;
  --line: #CFC7B6;
  --line-dark: #A79E8C;

  --display: "Fraunces", "Times New Roman", serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1360px;
  --gut: clamp(18px, 3.4vw, 40px);
  --gap: 28px;

  --step-mini: 10px;
  --step-small: 12px;
  --step-body: 15px;
  --step-lead: 18px;
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gut);
}

/* ---------- type utilities ---------- */
.eyebrow {
  font-size: var(--step-mini);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.02em;
}
.rule { height: 1px; background: var(--line); border: 0; }

/* ---------- announce ---------- */
.announce {
  background: var(--rust);
  color: #F6EDE2;
  font-size: var(--step-mini);
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 16px;
}

/* ---------- header ---------- */
.site-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 20px var(--gut);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.wordmark {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: .16em;
  line-height: 1;
}
.site-head .wordmark { grid-column: 1; justify-self: start; }
.nav-main {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-main a,
.nav-contact {
  font-size: var(--step-mini);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-main a:hover,
.nav-contact:hover { color: var(--ink); border-bottom-color: var(--ink); }
.nav-side {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 24px;
}
.bag-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: var(--step-mini);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.bag-link [data-bag-count] {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0;
  color: var(--rust);
  border: 1px solid var(--rust);
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  padding: 0 4px;
  transform: translateY(2px);
}
.nav-toggle {
  display: none;
  width: 38px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line-dark);
  padding: 0 8px;
}
.nav-toggle span { display: block; height: 1px; background: var(--ink); }
.nav-drawer { display: none; }

body.is-nav-open .nav-drawer {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  color: var(--paper);
  padding: 96px var(--gut) 40px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.nav-drawer a {
  font-family: var(--display);
  font-size: clamp(30px, 8vw, 44px);
  line-height: 1.25;
  border-bottom: 1px solid #3A362D;
  padding: 10px 0;
}
.nav-drawer a:last-child { border-bottom: 0; }
body.is-nav-open .site-head { position: relative; z-index: 100; }

/* ---------- footer ---------- */
.site-foot {
  margin-top: 96px;
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 28px;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.foot-brand .wordmark { font-size: 26px; color: var(--paper); }
.foot-brand p {
  margin-top: 16px;
  max-width: 30ch;
  color: #B4AC9C;
  font-size: 13px;
  line-height: 1.7;
}
.foot-col h4 {
  font-family: var(--body);
  font-weight: 500;
  font-size: var(--step-mini);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #8F8776;
  margin-bottom: 18px;
}
.foot-col a {
  display: block;
  font-size: 13px;
  color: #DCD4C5;
  padding: 5px 0;
  transition: color .2s;
}
.foot-col a:hover { color: #fff; }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  border-top: 1px solid #3A362D;
  padding-top: 22px;
  font-size: 11px;
  letter-spacing: .06em;
  color: #8F8776;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 15px 26px;
  border-radius: 0;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--primary { background: var(--rust); border-color: var(--rust); color: #F8F0E5; }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--full { width: 100%; }
.link-u {
  font-size: 13px;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 2px;
  transition: border-color .2s, color .2s;
}
.link-u:hover { border-color: var(--rust); color: var(--rust); }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 12px);
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: .04em;
  padding: 13px 22px;
  max-width: calc(100vw - 32px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s, transform .22s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- generic fields ---------- */
.field { display: block; }
.field > span,
.field-label {
  display: block;
  font-size: var(--step-mini);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  padding: 10px 0;
  font-size: 15px;
  border-radius: 0;
  outline: none;
  transition: border-color .2s;
}
.field input:focus,
input:focus,
select:focus { border-bottom-color: var(--rust); }
input::placeholder { color: var(--ink-mute); }
select { cursor: pointer; }

/* ---------- shared bits ---------- */
.page-head {
  padding: 56px 0 28px;
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 6vw, 82px);
  line-height: .96;
  letter-spacing: -.02em;
  margin: 14px 0 0;
}
.page-head p {
  margin-top: 16px;
  max-width: 56ch;
  color: var(--ink-soft);
}
.empty-state { padding: 80px 0; text-align: center; }
.empty-state h3 { font-family: var(--display); font-weight: 400; font-size: 30px; margin-bottom: 10px; }
.empty-state p { color: var(--ink-soft); }

/* ============================================================
   HOME — hero, premise, index, categories, field notes, closing
   ============================================================ */

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  border-bottom: 1px solid var(--line);
  min-height: 600px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  padding: 52px 0 44px var(--gut);
  padding-right: clamp(24px, 4vw, 64px);
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: var(--step-mini);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.hero h1 {
  font-size: clamp(46px, 6.6vw, 104px);
  margin-top: 34px;
  max-width: 12ch;
}
.hero h1 em { font-style: italic; color: var(--rust); }
.hero-lede {
  margin-top: 26px;
  max-width: 46ch;
  font-size: 15.5px;
  color: var(--ink-soft);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 34px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 24px;
  margin-top: auto;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}
.hero-stats dt {
  font-size: var(--step-mini);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 5px;
}
.hero-stats dd { font-size: 13px; color: var(--ink-soft); }
.hero-figure {
  border-left: 1px solid var(--line);
  background: var(--paper-2);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.hero-figure img {
  width: 100%;
  flex: 1 1 auto;
  height: 100%;
  max-height: 720px;
  object-fit: cover;
  object-position: 50% 18%;
}
.hero-figure figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 15px var(--gut);
  border-top: 1px solid var(--line);
  font-size: 11px;
}
.fig-no {
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.hero-figure figcaption a {
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 1px;
  text-align: right;
}
.hero-figure figcaption a:hover { border-color: var(--rust); color: var(--rust); }

/* ---------- premise ---------- */
.manifesto {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding: 38px 0 42px;
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.manifesto-line {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(23px, 2.9vw, 38px);
  line-height: 1.28;
  max-width: 36ch;
  letter-spacing: -.01em;
}

/* ---------- section heads ---------- */
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding: 74px 0 26px;
  border-bottom: 1px solid var(--line);
}
.sec-head h2 {
  font-size: clamp(36px, 4.4vw, 64px);
  margin-top: 8px;
}
.sec-note { max-width: 36ch; padding-bottom: 4px; }
.sec-note p { font-size: 13px; color: var(--ink-soft); }
.sec-note .link-u { display: inline-block; margin-top: 12px; }

/* ---------- index ---------- */
.index-list { border-bottom: 1px solid var(--line); }
.index-row { border-top: 1px solid var(--line); }
.index-row:first-child { border-top: 0; }
.index-row a {
  display: grid;
  grid-template-columns: 46px 78px minmax(0, 1fr) 170px 100px 32px;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  padding: 13px 8px;
  transition: background .18s;
}
.index-row a:hover { background: var(--paper-2); }
.idx-no {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--rust);
}
.idx-thumb {
  width: 78px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-2);
}
.idx-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  transition: transform .55s ease;
}
.index-row a:hover .idx-thumb img { transform: scale(1.06); }
.idx-name h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.22;
}
.idx-name > span {
  display: block;
  margin-top: 4px;
  font-size: var(--step-mini);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.idx-cat {
  font-size: var(--step-mini);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.idx-price {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  justify-self: end;
}
.idx-arrow {
  font-size: 15px;
  color: var(--rust);
  justify-self: end;
  opacity: 0;
  transform: translate(-3px, 3px);
  transition: opacity .2s, transform .2s;
}
.index-row a:hover .idx-arrow { opacity: 1; transform: translate(0, 0); }

/* ---------- category mosaic ---------- */
.cat-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 24px;
  padding-top: 30px;
}
.cat-tile { display: block; }
.cat-tile img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
  background: var(--paper-2);
  transition: opacity .25s;
}
.cat-tile:hover img { opacity: .86; }
.cat-tile span {
  display: block;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.2;
}
.cat-tile:hover span { color: var(--rust); }

/* ---------- field notes ---------- */
.notes {
  margin-top: 92px;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 66px;
}
.notes-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-dark);
}
.notes-head h2 { font-size: clamp(34px, 4.2vw, 58px); }
.notes-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.notes-list li {
  padding: 26px 30px 0 0;
  border-right: 1px solid var(--line-dark);
}
.notes-list li + li { padding-left: 30px; }
.notes-list li:last-child { border-right: 0; padding-right: 0; }
.note-no {
  font-family: var(--display);
  font-size: 13px;
  color: var(--rust);
}
.notes-list h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  margin: 10px 0 9px;
}
.notes-list p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- closing ---------- */
.closing {
  background: var(--rust);
  color: #F7EDE1;
  padding: 76px 0;
}
.closing-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 40px;
  align-items: end;
}
.closing .eyebrow { color: #EDCDBB; }
.closing h2 {
  font-size: clamp(40px, 5.8vw, 84px);
  margin-top: 16px;
}
.closing-side p {
  font-size: 13.5px;
  color: #F0D8C9;
  max-width: 32ch;
}
.closing .btn {
  margin-top: 22px;
  border-color: #F7EDE1;
  color: #F7EDE1;
}
.closing .btn:hover { background: #FFFFFF; color: var(--rust); }
body[data-page="home"] .site-foot { margin-top: 0; }

/* ============================================================
   SHOP — header, filter rail, catalogue grid
   ============================================================ */
.shop-head { padding: 46px 0 0; }
.shop-head .eyebrow { display: block; }
.shop-head h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 86px);
  line-height: .96;
  letter-spacing: -.02em;
  margin: 12px 0 0;
}
.shop-head p {
  margin-top: 16px;
  max-width: 54ch;
  color: var(--ink-soft);
  font-size: 14px;
}
.shop-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 26px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding: 18px 0 16px;
}
#filterBar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.chip {
  border: 1px solid var(--line-dark);
  padding: 8px 14px;
  font-size: var(--step-mini);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: background .18s, color .18s, border-color .18s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.shop-tools {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}
#shopCount {
  font-size: var(--step-mini);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}
.sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 4px;
}
.sort-wrap span {
  font-size: var(--step-mini);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}
#sortSel {
  border: 0;
  background: transparent;
  padding: 0 18px 0 0;
  font-size: 12px;
  letter-spacing: .04em;
  width: auto;
}

#shopGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 46px 24px;
  padding: 34px 0 0;
}
#relatedGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 24px;
}

/* ---------- product card ---------- */
.p-card { display: block; position: relative; }
.p-media {
  position: relative;
  background: var(--paper-2);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.p-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  transition: transform .65s cubic-bezier(.2, .7, .3, 1);
}
.p-card:hover .p-media img { transform: scale(1.04); }
.p-quick {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  font-size: var(--step-mini);
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 11px 0;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity .22s, transform .26s;
}
.p-card:hover .p-quick { opacity: 1; transform: translateY(0); }
.p-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  margin-top: 12px;
}
.p-meta h3 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.005em;
}
.p-type {
  display: block;
  margin-top: 4px;
  font-size: var(--step-mini);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.p-price {
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}
.p-price s {
  display: block;
  font-size: 11px;
  color: var(--ink-mute);
}

/* ============================================================
   PRODUCT — gallery, buy column, related
   ============================================================ */
#crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--ink-mute);
}
#crumbs a { border-bottom: 1px solid transparent; }
#crumbs a:hover { color: var(--ink); border-bottom-color: var(--ink); }
#crumbs span:last-child { color: var(--ink-soft); }

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(28px, 4vw, 62px);
  padding: 44px 0 20px;
  align-items: start;
}
.pdp-gallery { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 14px; }
#pdpThumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#pdpThumbs button {
  display: block;
  padding: 0;
  border: 1px solid transparent;
  background: var(--paper-2);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  transition: border-color .18s, opacity .18s;
  opacity: .62;
}
#pdpThumbs button:hover { opacity: 1; }
#pdpThumbs button.is-active { border-color: var(--ink); opacity: 1; }
#pdpThumbs img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.pdp-frame {
  background: var(--paper-2);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
#pdpMain {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--px, 50%) var(--py, 50%);
  transform: scale(var(--pz, 1));
  transition: transform .5s cubic-bezier(.2, .7, .3, 1), object-position .5s;
  will-change: transform;
}
.pdp-info {
  position: sticky;
  top: 24px;
  padding-top: 6px;
}
.pdp-info #pdpCat {
  display: block;
  font-size: var(--step-mini);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rust);
}
.pdp-info h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.06;
  letter-spacing: -.015em;
  margin-top: 12px;
}
#pdpPrice {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 16px;
  font-family: var(--display);
  font-size: 26px;
  font-variant-numeric: tabular-nums;
}
#pdpPrice s {
  font-family: var(--body);
  font-size: 13px;
  color: var(--ink-mute);
}
.pdp-rule { height: 1px; background: var(--line); margin: 24px 0; border: 0; }
.pdp-block { margin-bottom: 24px; }
.pdp-block-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 10px;
}
.pdp-block-label > span:first-child {
  font-size: var(--step-mini);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
#sizeNote { font-size: 11.5px; color: var(--ink-mute); text-align: right; }
#sizeRow { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn {
  min-width: 52px;
  padding: 10px 14px;
  border: 1px solid var(--line-dark);
  font-size: 12px;
  letter-spacing: .08em;
  transition: background .18s, color .18s, border-color .18s;
}
.size-btn:hover { border-color: var(--ink); }
.size-btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.pdp-buy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-dark);
}
.qty button {
  width: 42px;
  height: 100%;
  min-height: 48px;
  font-size: 16px;
  color: var(--ink-soft);
  transition: color .18s, background .18s;
}
.qty button:hover { background: var(--paper-2); color: var(--ink); }
#qtyVal {
  min-width: 34px;
  text-align: center;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.pdp-buy .btn { padding-left: 12px; padding-right: 12px; }
.pdp-notes {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}
.pdp-notes li {
  display: flex;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
  font-size: 12.5px;
  color: var(--ink-soft);
}
.pdp-notes li b {
  font-weight: 500;
  font-size: var(--step-mini);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  min-width: 84px;
  flex: 0 0 84px;
  padding-top: 2px;
}
#pdpDesc { margin-top: 26px; font-size: 13.5px; color: var(--ink-soft); max-width: 46ch; }

.related-sec { margin-top: 76px; border-top: 1px solid var(--line); padding-top: 0; }
.related-sec .sec-head { padding-top: 30px; }

/* ============================================================
   BAG — line items and summary
   ============================================================ */
.cart-shell { padding-top: 34px; }
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 372px;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.cart-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 138px 110px 74px;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
  font-size: var(--step-mini);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.cart-head span:nth-child(2),
.cart-head span:nth-child(3) { text-align: right; }
.cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 138px 110px 74px;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-prod { display: flex; align-items: flex-start; gap: 18px; min-width: 0; }
.cart-prod img {
  width: 84px;
  flex: 0 0 84px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
  background: var(--paper-2);
}
.cart-prod h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.24;
}
.cart-prod span {
  display: block;
  margin-top: 6px;
  font-size: var(--step-mini);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.cart-qty {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  border: 1px solid var(--line-dark);
}
.cart-qty button {
  width: 34px;
  height: 38px;
  font-size: 14px;
  color: var(--ink-soft);
  transition: background .16s, color .16s;
}
.cart-qty button:hover { background: var(--paper-2); color: var(--ink); }
.cart-qty span {
  min-width: 30px;
  text-align: center;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.cart-line {
  text-align: right;
  font-size: 14.5px;
  font-variant-numeric: tabular-nums;
}
.cart-remove {
  justify-self: end;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.cart-remove:hover { color: var(--rust); border-bottom-color: var(--rust); }

.cart-summary {
  background: var(--paper-2);
  padding: 26px 26px 30px;
  position: sticky;
  top: 22px;
}
.cart-summary h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 25px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 14px;
}
.sum-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 7px 0;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.sum-row span:first-child { color: var(--ink-soft); }
.sum-row.is-total {
  margin-top: 12px;
  padding-top: 15px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--display);
  font-size: 21px;
  color: var(--ink);
}
.sum-row.is-total span:first-child { color: var(--ink); }
.sum-note {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-top: 14px;
}
.cart-summary .btn { margin-top: 22px; }
.cart-summary .link-u { display: inline-block; margin-top: 16px; font-size: 12px; }

.cart-empty {
  border: 1px solid var(--line-dark);
  padding: 78px 32px;
  text-align: center;
  background: var(--field);
}
.cart-empty h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px);
}
.cart-empty p { margin: 12px auto 26px; color: var(--ink-soft); max-width: 40ch; }

/* ============================================================
   CHECKOUT — form column + sticky summary
   ============================================================ */
.ck-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 392px;
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
  padding-top: 12px;
}
.ck-sec {
  border-top: 1px solid var(--line);
  padding: 26px 0 30px;
}
.ck-sec:first-child { border-top: 0; padding-top: 30px; }
.ck-sec h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -.01em;
}
.ck-sec h2 span {
  font-family: var(--body);
  font-size: var(--step-mini);
  letter-spacing: .18em;
  color: var(--rust);
}
.ck-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
  margin-top: 22px;
}
.field--wide { grid-column: 1 / -1; }
.ck-hint {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--ink-soft);
  max-width: 54ch;
}
#shipOpts { display: grid; gap: 10px; margin-top: 20px; }
#shipOpts label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--line);
  padding: 15px 18px;
  cursor: pointer;
  transition: border-color .18s, background .18s;
}
#shipOpts label:hover { border-color: var(--line-dark); }
#shipOpts label.is-active { border-color: var(--ink); background: var(--field); }
#shipOpts b { display: block; font-weight: 500; font-size: 14px; }
#shipOpts small { display: block; margin-top: 3px; font-size: 11.5px; color: var(--ink-mute); }
#shipOpts label > span:last-of-type {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ck-err {
  font-size: 13px;
  color: var(--rust);
  min-height: 0;
}
.ck-err:empty { display: none; }
.ck-submit {
  display: flex;
  align-items: center;
  gap: 26px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.ck-submit .btn { padding: 17px 40px; }

.ck-side {
  background: var(--paper-2);
  padding: 26px 26px 30px;
  position: sticky;
  top: 22px;
}
.ck-side h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 25px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-dark);
}
.ck-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.ck-item img {
  width: 58px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
  background: var(--paper);
}
.ck-item h4 { font-size: 12.5px; font-weight: 500; line-height: 1.35; }
.ck-item span {
  display: block;
  margin-top: 4px;
  font-size: var(--step-mini);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.ck-item b { font-size: 12.5px; font-weight: 500; font-variant-numeric: tabular-nums; }
#ckTotals { padding-top: 12px; }
.ck-side .btn { margin-top: 20px; }

/* ============================================================
   ORDER COMPLETE — the receipt
   ============================================================ */
.done-wrap { max-width: 940px; padding-top: 48px; }
.done-head { max-width: 52ch; }
.done-head h1 { font-size: clamp(42px, 6vw, 82px); margin-top: 12px; }
.done-head p { margin-top: 16px; font-size: 14px; color: var(--ink-soft); }
.done-ticket {
  margin-top: 38px;
  border: 1px solid var(--line-dark);
  background: var(--field);
}
.ticket-head {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  background: var(--ink);
  color: var(--paper);
  padding: 26px 28px;
}
.ticket-head span {
  display: block;
  font-size: var(--step-mini);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #A9A090;
}
.ticket-head strong {
  display: block;
  margin-top: 6px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 25px;
  letter-spacing: .02em;
  word-break: break-word;
}
.ticket-items { padding: 16px 28px 4px; }
.ticket-item {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.ticket-item span:first-child { color: var(--ink-soft); }
.ticket-item span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
#doneTicket > div:not(.ticket-head):not(.ticket-items) { padding: 0 28px; }
#doneTicket > div:not(.ticket-head):not(.ticket-items) .sum-row { font-size: 12.5px; }
#doneTicket > .sum-note { padding: 0 28px 26px; }
.done-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) 300px;
  gap: clamp(28px, 4vw, 58px);
  padding: 46px 0 66px;
  border-bottom: 1px solid var(--line);
}
.about-lede p {
  font-size: 16px;
  line-height: 1.78;
  color: var(--ink-soft);
  max-width: 60ch;
}
.about-lede p + p { margin-top: 18px; }
.about-facts { border-top: 1px solid var(--ink); align-self: start; }
.about-facts div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}
.about-facts dt {
  font-size: var(--step-mini);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.about-facts dd { font-size: 13px; text-align: right; }

.rule-list li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.rule-list li:first-child { border-top: 1px solid var(--line); }
.rule-no { font-family: var(--display); font-size: 13px; color: var(--rust); padding-top: 6px; }
.rule-list h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.18;
  margin-bottom: 8px;
}
.rule-list p { font-size: 13.5px; color: var(--ink-soft); max-width: 66ch; }

.about-ops {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(28px, 4vw, 58px);
  border-top: 1px solid var(--line);
  margin-top: 72px;
  padding-top: 42px;
}
.about-ops h2 { font-size: clamp(32px, 4vw, 54px); margin-top: 12px; }
.about-ops-copy p { font-size: 13.5px; color: var(--ink-soft); max-width: 60ch; }
.about-ops-copy p + p { margin-top: 16px; }

.about-company {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  margin-top: 72px;
  padding-top: 26px;
}
.about-company-line { font-size: 14px; color: var(--ink-soft); max-width: 62ch; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr);
  gap: clamp(28px, 4vw, 58px);
  padding: 46px 0 58px;
  border-bottom: 1px solid var(--line);
}
.contact-mail {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(26px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -.02em;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
  margin: 14px 0 20px;
  word-break: break-word;
  transition: color .2s, border-color .2s;
}
.contact-mail:hover { color: var(--rust); border-color: var(--rust); }
.contact-primary p { font-size: 13.5px; color: var(--ink-soft); max-width: 46ch; }
.contact-side { display: grid; gap: 26px; align-content: start; }
.contact-block { border-top: 1px solid var(--ink); padding-top: 14px; }
.contact-block h3 {
  font-size: var(--step-mini);
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 10px;
}
.contact-block p { font-size: 13px; line-height: 1.72; color: var(--ink-soft); }
.contact-links li + li { margin-top: 9px; }
.contact-links a { font-size: 13px; }
.contact-strip {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  background: var(--paper-2);
  margin-top: 40px;
  padding: 26px 28px;
}
.contact-strip p:last-child { font-size: 13.5px; color: var(--ink-soft); max-width: 68ch; }
.contact-strip b { font-weight: 600; color: var(--ink); }

/* ============================================================
   POLICY PAGES
   ============================================================ */
.prose { max-width: 780px; padding: 42px 0 8px; }
.prose h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 31px);
  line-height: 1.14;
  letter-spacing: -.01em;
  margin: 38px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose p {
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.prose ul { margin: 0 0 16px; }
.prose li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 9px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.prose li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--rust);
}
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { border-bottom: 1px solid var(--line-dark); }
.prose a:hover { color: var(--rust); border-color: var(--rust); }

/* ============================================================
   ADMIN — gate, shell, ledger table, modals
   ============================================================ */
.ad-body { background: var(--paper-2); min-height: 100vh; }

/* ---------- password gate ---------- */
.ad-gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px var(--gut);
  background: var(--ink);
}
.ad-gate-card {
  width: 100%;
  max-width: 388px;
  background: var(--paper);
  padding: 40px 36px 34px;
}
.ad-gate-card .wordmark {
  display: block;
  font-size: 20px;
  letter-spacing: .2em;
  margin-bottom: 14px;
}
.ad-gate-card > p {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.ad-gate-card .field { margin-bottom: 4px; }
.ad-gate-card .ad-btn { margin-top: 12px; }

/* ---------- shell ---------- */
.ad-shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
}
.ad-side {
  background: var(--ink);
  color: var(--paper-2);
  padding: 26px 22px 24px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.ad-side .wordmark { color: var(--paper); font-size: 18px; }
.ad-side > small {
  display: block;
  margin-top: 9px;
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #857E6F;
}
.ad-nav { display: flex; flex-direction: column; margin-top: 32px; }
.ad-nav a,
.ad-nav .is-static {
  display: block;
  padding: 11px 0;
  border-top: 1px solid #332F27;
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #A9A192;
}
.ad-nav a:hover { color: #fff; }
.ad-nav a.is-active { color: var(--paper); }
.ad-nav a.is-active::before { content: "—"; color: #C25B37; margin-right: 7px; }
.ad-nav .is-static { color: #6B6557; }
.ad-side-foot {
  margin-top: auto;
  border-top: 1px solid #332F27;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.ad-side-foot button,
.ad-side-foot a {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #A9A192;
  text-align: left;
}
.ad-side-foot button:hover,
.ad-side-foot a:hover { color: #fff; }

.ad-main { min-width: 0; padding: 34px clamp(20px, 3vw, 46px) 64px; }
.ad-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 18px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 18px;
}
.ad-top h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1;
  letter-spacing: -.02em;
}
.ad-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ad-lang { display: flex; border: 1px solid var(--line-dark); }
.ad-lang button {
  padding: 8px 13px;
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.ad-lang button + button { border-left: 1px solid var(--line-dark); }
.ad-lang button.is-active { background: var(--ink); color: var(--paper); }

/* ---------- stats ---------- */
.ad-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 24px;
}
.ad-stat { background: var(--paper); padding: 18px 20px 20px; }
.ad-stat span {
  display: block;
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.ad-stat strong {
  display: block;
  margin-top: 10px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(23px, 2.5vw, 31px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* ---------- toolbar ---------- */
.ad-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}
.ad-search { flex: 0 1 340px; display: block; }
.ad-search input { font-size: 13px; }
.ad-note { font-size: 11.5px; line-height: 1.6; color: var(--ink-mute); }
.ad-err { font-size: 11.5px; color: var(--rust); }
.ad-err:not(:empty) { margin: 0 0 12px; }

/* ---------- table ---------- */
.ad-panel {
  margin-top: 14px;
  background: var(--paper);
  border-top: 1px solid var(--ink);
  overflow-x: auto;
}
.ad-table { width: 100%; border-collapse: collapse; }
.ad-table th {
  text-align: left;
  font-family: var(--body);
  font-weight: 500;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.ad-table td {
  padding: 15px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
  vertical-align: middle;
}
.ad-table th:first-child,
.ad-table td:first-child { padding-left: 18px; }
.ad-table th:last-child,
.ad-table td:last-child { padding-right: 18px; }
.ad-table tbody tr:hover { background: var(--field); }
.ad-table[hidden],
.ad-empty[hidden] { display: none !important; }

.o-no {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: .02em;
  color: var(--ink);
  border-bottom: 1px solid var(--line-dark);
}
.o-no:hover { color: var(--rust); border-color: var(--rust); }
.o-cust { color: var(--ink); min-width: 150px; }
.o-cust span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--ink-mute);
  word-break: break-word;
}
.o-actions { width: 56px; text-align: right; }
.ad-more-btn {
  width: 30px;
  height: 27px;
  border: 1px solid var(--line-dark);
  font-size: 15px;
  line-height: 1;
  color: var(--ink);
}
.ad-more-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- status badges (five, clearly distinct) ---------- */
.ad-badge {
  display: inline-block;
  padding: 5px 9px;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid;
  white-space: nowrap;
}
.ad-badge.st-pending { background: #F4E8CE; border-color: #D8BF8C; color: #7C5210; }
.ad-badge.st-paid { background: #DFE8F2; border-color: #B2C6DC; color: #28486F; }
.ad-badge.st-shipped { background: #E7E3D8; border-color: #C0B7A2; color: #4A4436; }
.ad-badge.st-delivered { background: #E1E8DA; border-color: #B5C3A8; color: #3A4831; }
.ad-badge.st-cancelled { background: #F4DFD6; border-color: #DCB3A1; color: #8E3519; }

/* ---------- buttons ---------- */
.ad-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--paper);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 12px 20px;
  transition: background .2s, color .2s, border-color .2s;
}
.ad-btn:hover { background: var(--rust); border-color: var(--rust); color: #F8F0E5; }
.ad-btn:disabled { opacity: .4; pointer-events: none; }
.ad-btn--ghost { background: transparent; border-color: var(--line-dark); color: var(--ink); }
.ad-btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.ad-btn--danger { background: transparent; border-color: var(--rust); color: var(--rust); }
.ad-btn--danger:hover { background: var(--rust); color: #F8F0E5; }

/* ---------- row menu ---------- */
.ad-menu {
  display: none;
  position: fixed;
  z-index: 300;
  min-width: 172px;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 5px 0;
}
.ad-menu.is-on { display: block; }
.ad-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.ad-menu button + button { border-top: 1px solid var(--line); }
.ad-menu button:hover { background: var(--paper-2); }
.ad-menu button.is-danger { color: var(--rust); }

/* ---------- modals ---------- */
.ad-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(25, 23, 18, .66);
  padding: 48px 20px;
  overflow-y: auto;
}
.ad-modal.is-on { display: block; }
.ad-modal-card {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--ink);
}
.ad-modal-card--wide { max-width: 880px; }
.ad-modal-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}
.ad-modal-head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.1;
}
.ad-modal-head > span {
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.ad-close {
  margin-left: auto;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-dark);
  font-size: 16px;
  line-height: 1;
  color: var(--ink);
}
.ad-close:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.ad-modal-body { padding: 24px 26px 8px; }
.ad-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 26px 22px;
  border-top: 1px solid var(--line);
}
.ad-modal-foot .right { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }

.ad-kv {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 9px 16px;
  margin-bottom: 20px;
}
.ad-kv dt {
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 4px;
}
.ad-kv dd { margin: 0; font-size: 13px; color: var(--ink); }

.ad-items { border-top: 1px solid var(--line); margin-bottom: 18px; }
.ad-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.ad-item img,
.ad-item > span:first-child {
  display: block;
  width: 48px;
  height: 62px;
  object-fit: cover;
  object-position: 50% 18%;
  background: var(--paper-2);
}
.ad-item h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.25;
}
.ad-item div > span {
  display: block;
  margin-top: 3px;
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.ad-item b { font-size: 13px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }

.ad-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.ad-line.is-total {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--ink);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.ad-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  margin-bottom: 18px;
}
.ad-form-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ad-form-row .field input,
.ad-form-row .field select { font-size: 14px; }

.ad-empty { padding: 62px 24px; text-align: center; }
.ad-empty h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  margin-bottom: 8px;
}
.ad-empty p { font-size: 12.5px; color: var(--ink-mute); margin-bottom: 20px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 44px var(--gut) 38px; }
  .hero h1 { max-width: 16ch; }
  .hero-figure { border-left: 0; border-top: 1px solid var(--line); }
  .hero-figure img { max-height: 520px; aspect-ratio: 4 / 3; height: auto; }
  .cat-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #shopGrid,
  #relatedGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pdp { grid-template-columns: 1fr; }
  .pdp-info { position: static; top: auto; }
  .pdp-gallery { max-width: 640px; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; top: auto; }
  .ck-layout { grid-template-columns: 1fr; }
  .ck-side { position: static; top: auto; }
  .about-intro { grid-template-columns: 1fr; }
  .about-facts { max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; }
  .closing-grid { grid-template-columns: 1fr; align-items: start; gap: 26px; }
  .closing-side p { max-width: 48ch; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ad-shell { grid-template-columns: 210px minmax(0, 1fr); }
  .ad-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .site-head { grid-template-columns: 1fr auto; }
  .site-head .wordmark { grid-column: 1; }
  .nav-main,
  .nav-contact { display: none; }
  .nav-toggle { display: flex; }
  .nav-side { grid-column: 2; gap: 16px; }

  .manifesto-grid { grid-template-columns: 1fr; gap: 12px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 18px; padding: 52px 0 20px; }
  .sec-note { max-width: 46ch; }

  .index-row a { grid-template-columns: 38px 64px minmax(0, 1fr) 88px 26px; gap: 14px; }
  .idx-thumb { width: 64px; }
  .idx-cat { display: none; }

  .notes-list { grid-template-columns: 1fr; }
  .notes-list li {
    border-right: 0;
    border-top: 1px solid var(--line-dark);
    padding: 22px 0 0;
  }
  .notes-list li + li { padding-left: 0; }
  .notes-list li:first-child { border-top: 0; padding-top: 22px; }

  .pdp-gallery { grid-template-columns: 1fr; }
  #pdpThumbs { display: flex; order: 2; gap: 8px; }
  #pdpThumbs button { width: 62px; flex: 0 0 62px; }

  .contact-strip,
  .about-company { grid-template-columns: 1fr; gap: 12px; }

  .ad-shell { display: block; }
  .ad-side {
    position: static;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    padding: 18px 20px;
  }
  .ad-side > small { margin-top: 0; }
  .ad-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 18px;
    width: 100%;
    margin-top: 4px;
  }
  .ad-nav a,
  .ad-nav .is-static { border-top: 0; padding: 4px 0; }
  .ad-nav a.is-active::before { display: none; }
  .ad-side-foot {
    margin-top: 0;
    border-top: 0;
    padding-top: 0;
    flex-direction: row;
    gap: 16px;
  }
  .ad-main { padding: 26px 20px 56px; }
}

@media (max-width: 760px) {
  .page-head { padding: 38px 0 20px; }
  .site-foot { margin-top: 68px; padding: 46px 0 24px; }
  .foot-top { grid-template-columns: 1fr; gap: 30px; padding-bottom: 34px; }

  .hero-copy { padding: 34px var(--gut) 30px; }
  .hero h1 { margin-top: 24px; max-width: 14ch; }
  .hero-lede { font-size: 14.5px; }
  .hero-actions { gap: 14px 18px; margin-top: 26px; }
  .hero-stats { grid-template-columns: 1fr 1fr; padding-top: 28px; gap: 14px; }
  .hero-figure img { aspect-ratio: 4 / 5; max-height: none; }
  .hero-figure figcaption { padding: 12px var(--gut); }

  .manifesto { padding: 30px 0 34px; }
  .index-row a { grid-template-columns: 28px 56px minmax(0, 1fr) auto; gap: 12px; padding: 11px 2px; }
  .idx-thumb { width: 56px; }
  .idx-name h3 { font-size: 16px; }
  .idx-name > span,
  .idx-arrow { display: none; }
  .idx-price { font-size: 13.5px; }

  .cat-mosaic { gap: 22px 14px; }
  .cat-tile span { font-size: 17px; }

  .notes { margin-top: 62px; padding: 42px 0 46px; }
  .notes-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .notes-list h3 { font-size: 21px; }
  .closing { padding: 54px 0; }

  .shop-head { padding: 30px 0 0; }
  .shop-bar { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 24px; }
  .shop-tools { width: 100%; justify-content: space-between; }
  #shopGrid,
  #relatedGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; }

  .pdp-info h1 { font-size: clamp(26px, 7vw, 38px); }
  .pdp-buy { grid-template-columns: 1fr; }
  .pdp-buy .qty { justify-self: start; }

  .cart-shell { padding-top: 24px; }
  .cart-head { display: none; }
  .cart-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 14px;
    padding: 16px 0;
  }
  .cart-prod { grid-column: 1 / -1; gap: 14px; }
  .cart-prod img { width: 72px; flex-basis: 72px; }
  .cart-prod h3 { font-size: 16px; }
  .cart-qty { justify-self: start; }
  .cart-line { justify-self: end; align-self: center; }
  .cart-remove { grid-column: 1 / -1; justify-self: end; }
  .cart-summary { padding: 22px 20px 26px; }

  .ck-fields { grid-template-columns: 1fr; gap: 18px; }
  .ck-submit { flex-direction: column; align-items: stretch; gap: 14px; }
  .ck-submit .btn { padding: 16px 24px; }
  .ck-side { padding: 22px 20px 26px; }

  .done-wrap { padding-top: 32px; }
  .ticket-head { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .ticket-head strong { font-size: 21px; }
  .ticket-items { padding: 12px 20px 2px; }
  .ticket-item { font-size: 12.5px; }
  #doneTicket > div:not(.ticket-head):not(.ticket-items) { padding: 0 20px; }
  #doneTicket > .sum-note { padding: 0 20px 22px; }
  .done-actions { flex-direction: column; align-items: flex-start; gap: 14px; }

  .about-intro { padding: 32px 0 44px; }
  .rule-list li { grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 20px 0; }
  .contact-grid { padding: 32px 0 42px; }
  .contact-mail { font-size: clamp(22px, 7vw, 34px); }
  .contact-strip { padding: 20px; }
  .prose { padding-top: 28px; }

  .ad-top h1 { font-size: 30px; }
  .ad-tools { width: 100%; justify-content: space-between; }
  .ad-stats { grid-template-columns: 1fr 1fr; }
  .ad-stat { padding: 14px 14px 16px; }
  .ad-toolbar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ad-search { flex: 1 1 auto; width: 100%; }
  .ad-panel { overflow-x: visible; }

  .ad-table,
  .ad-table tbody,
  .ad-table tr,
  .ad-table td { display: block; width: 100%; }
  .ad-table thead { display: none; }
  .ad-table tr {
    border-bottom: 1px solid var(--ink);
    padding: 14px 16px;
  }
  .ad-table tbody tr:hover { background: transparent; }
  .ad-table td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    border: 0;
    padding: 5px 0;
    font-size: 12.5px;
  }
  .ad-table td::before {
    content: attr(data-th);
    flex: 0 0 auto;
    font-size: 9px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-mute);
  }
  .ad-table td:first-child,
  .ad-table td:last-child { padding-left: 0; padding-right: 0; }
  .ad-table td:first-child { display: block; padding-bottom: 8px; }
  .ad-table td:first-child::before { display: none; }
  .ad-table td:first-child .o-no { font-size: 15px; }
  .ad-table td.o-cust { display: block; }
  .ad-table td.o-cust::before { display: block; margin-bottom: 2px; }
  .ad-table td.o-actions { justify-content: flex-end; padding-top: 10px; }
  .ad-table td.o-actions::before { content: none; }
  .ad-more-btn { width: 44px; height: 32px; }

  .ad-modal { padding: 16px 12px 40px; }
  .ad-modal-head { padding: 18px 18px; }
  .ad-modal-head h2 { font-size: 22px; }
  .ad-modal-body { padding: 20px 18px 4px; }
  .ad-modal-foot { padding: 16px 18px 20px; }
  .ad-modal-foot .right { margin-left: 0; width: 100%; }
  .ad-modal-foot .right .ad-btn { flex: 1 1 auto; }
  .ad-form-row,
  .ad-form-row--3 { grid-template-columns: 1fr; gap: 16px; }
  .ad-kv { grid-template-columns: 104px minmax(0, 1fr); gap: 8px 12px; }
  .ad-item { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; }
  .ad-item img,
  .ad-item > span:first-child { width: 42px; height: 54px; }
  .ad-item h4 { font-size: 13.5px; }
  .ad-empty { padding: 44px 16px; }
}

@media (max-width: 420px) {
  .hero-stats { grid-template-columns: 1fr; }
  .cat-mosaic { grid-template-columns: 1fr; }
  .cat-tile span { font-size: 19px; }
  #shopGrid,
  #relatedGrid { grid-template-columns: 1fr; gap: 28px; }
  .chip { padding: 7px 11px; font-size: 9px; }
  .ad-stats { grid-template-columns: 1fr; }
  .ad-tools { flex-direction: column; align-items: stretch; }
  .ad-tools .ad-btn { width: 100%; }
  .ad-lang { align-self: flex-start; }
}
