/* Appily-Seven — Terra Root Cellar vegetable market */
:root {
  --terracotta: #C4622D;
  --terracotta-deep: #9A4A22;
  --wheat: #E8D4A8;
  --wheat-pale: #F5EDD8;
  --slate: #3A4A5C;
  --slate-deep: #2A3542;
  --moss: #5A7D5C;
  --moss-pale: #E4EDE4;
  --chalk: #F7F3EB;
  --chalk-2: #EDE8DC;
  --soil: #2A2118;
  --ink: #1E1812;
  --muted: #7A6F62;
  --white: #ffffff;
  --line: rgba(58, 74, 92, 0.14);
  --radius: 10px;
  --radius-lg: 18px;
  --radius-round: 999px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Public Sans', system-ui, sans-serif;
  --shadow: 0 18px 48px rgba(42, 33, 24, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { height: 100%; }
body.appily-store {
  font-family: var(--font-body);
  background: var(--chalk);
  color: var(--ink);
  line-height: 1.65;
  min-height: 100%;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0);
}

.page-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.page-main { flex: 1 0 auto; }
body.drawer-open { overflow: hidden; }

/* ── Cellar header ── */
.cellar-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--chalk);
}
.cellar-header.is-scrolled .cellar-beam {
  box-shadow: 0 8px 28px rgba(42, 33, 24, 0.15);
}

.harvest-stripe {
  background: var(--soil);
  color: var(--chalk);
  border-bottom: 3px solid var(--terracotta);
}
.stripe-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}
.stripe-mark {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wheat);
}
.stripe-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.stripe-chip {
  font-size: .66rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-round);
  background: rgba(196, 98, 45, 0.2);
  color: rgba(247, 243, 235, 0.92);
  white-space: nowrap;
}

.cellar-beam {
  position: relative;
  background: linear-gradient(125deg, var(--slate) 0%, var(--slate-deep) 40%, var(--terracotta-deep) 100%);
  color: var(--chalk);
  padding: 16px 0 26px;
  transition: box-shadow .25s ease;
}
.beam-layout {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 16px 20px;
}
.row-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(255,255,255,.28);
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  color: var(--chalk);
  padding: 9px 13px;
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.12);
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.row-toggle:hover {
  background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.1));
  border-color: rgba(255,255,255,.42);
}
.row-toggle.is-open {
  background: linear-gradient(180deg, rgba(196,98,45,.42), rgba(196,98,45,.24));
  border-color: rgba(232,212,168,.55);
}
.row-bars { display: flex; flex-direction: column; gap: 4px; }
.row-bars span { display: block; width: 18px; height: 2px; background: var(--chalk); border-radius: 2px; }

.cellar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  flex-shrink: 0;
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(42, 33, 24, 0.18);
}
.brand-text { display: flex; flex-direction: column; }
.brand-kicker {
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .75;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}
.brand-seven { color: var(--wheat); font-style: italic; }
.brand-tag { font-size: .62rem; opacity: .7; letter-spacing: .04em; }

.beam-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
  min-width: 0;
}
.beam-link {
  padding: 7px 13px;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(247,243,235,.78);
  border-radius: var(--radius);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.beam-link:hover,
.beam-link.is-active {
  color: var(--chalk);
  border-bottom-color: var(--wheat);
  background: rgba(255,255,255,.08);
}

.cellar-search {
  display: flex;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(30,24,18,.18);
  min-width: min(220px, 100%);
}
.cellar-search input {
  flex: 1;
  border: 0;
  padding: 9px 14px;
  font: inherit;
  font-size: .84rem;
  outline: none;
  min-width: 0;
  color: var(--ink);
}
.search-harvest {
  border: 0;
  background: var(--moss);
  color: var(--white);
  padding: 9px 16px;
  font-weight: 700;
  font-size: .78rem;
  cursor: pointer;
}

.beam-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.tool-account {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
  font-weight: 700;
  color: rgba(247,243,235,.92);
  padding: 7px 14px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(247,243,235,.22);
  background: rgba(255,255,255,.06);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.tool-account svg { flex: none; opacity: .92; }
.tool-account:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(247,243,235,.42);
  transform: translateY(-1px);
}
.tool-account--signin {
  border-color: rgba(196,98,45,.55);
  background: linear-gradient(180deg, rgba(196,98,45,.24), rgba(196,98,45,.12));
  box-shadow: 0 4px 14px rgba(196,98,45,.2), inset 0 1px 0 rgba(255,255,255,.1);
}
.tool-account--signin:hover {
  background: linear-gradient(180deg, rgba(196,98,45,.34), rgba(196,98,45,.2));
  border-color: var(--terracotta);
  box-shadow: 0 6px 18px rgba(196,98,45,.3), inset 0 1px 0 rgba(255,255,255,.12);
}
.tool-account.is-active {
  color: var(--wheat);
  border-color: rgba(247,243,235,.45);
  background: rgba(255,255,255,.14);
}
.tool-crate {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--terracotta);
  color: var(--chalk);
  padding: 7px 14px;
  border-radius: var(--radius);
  font-size: .8rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(196,98,45,.35);
}
.crate-count {
  background: var(--soil);
  color: var(--wheat);
  min-width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: .72rem;
}

.beam-diagonal {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 16px;
  background: var(--chalk);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.field-row-shelf {
  background: var(--chalk-2);
  border-bottom: 1px solid var(--line);
  padding: 10px 0 12px;
}
.row-nav { position: relative; }
.row-drawer-head {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 12px;
}
.drawer-kicker {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--terracotta);
}
.row-close {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 6px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
}
.row-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.row-tab {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .03em;
  border: 2px solid var(--line);
  background: var(--white);
  color: var(--muted);
  transition: .2s;
}
.row-marker {
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 700;
  color: var(--terracotta);
  min-width: 16px;
}
.row-night { border-left: 4px solid #C0392B; }
.row-root { border-left: 4px solid #8B6914; }
.row-squash { border-left: 4px solid #D4A017; }
.row-green { border-left: 4px solid var(--moss); }
.row-onion { border-left: 4px solid #9B59B6; }
.row-bean { border-left: 4px solid #27AE60; }
.row-herb { border-left: 4px solid #16A085; }
.row-tab:hover,
.row-tab.is-active {
  background: var(--slate);
  border-color: var(--slate);
  color: var(--chalk);
}
.row-tab.is-active .row-marker { color: var(--wheat); }

.shelf-ridge {
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--terracotta) 0 12px,
    transparent 12px 20px
  );
  opacity: .35;
  margin-top: 8px;
}

.row-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}
.row-drawer.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}
.drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(30, 24, 18, .58);
  backdrop-filter: blur(3px);
}
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100%;
  max-height: 100dvh;
  background: linear-gradient(180deg, var(--chalk) 0%, var(--chalk-2) 100%);
  padding: 0;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
  overflow: hidden;
  box-shadow: -18px 0 48px rgba(42, 33, 24, .18);
  display: flex;
  flex-direction: column;
}
.row-drawer.is-open .drawer-panel { transform: translateX(0); }

.drawer-body {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 8px;
}

.drawer-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 16px;
  background: linear-gradient(125deg, var(--slate-deep) 0%, var(--slate) 55%, var(--terracotta-deep) 100%);
  color: var(--chalk);
  flex-shrink: 0;
}
.drawer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.drawer-brand-mark {
  flex-shrink: 0;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,.2);
}
.drawer-brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.drawer-brand-copy strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.1;
}
.drawer-brand-copy span {
  font-size: .72rem;
  color: rgba(247, 243, 235, .72);
}
.drawer-close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  color: var(--chalk);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .18s ease, transform .18s ease;
}
.drawer-close:hover { background: rgba(255,255,255,.18); transform: scale(1.04); }

.drawer-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 18px 10px;
  padding: 4px 4px 4px 12px;
  border-radius: 12px;
  border: 1px solid rgba(122, 111, 98, .18);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(42, 33, 24, .06);
}
.drawer-search-icon { flex: none; color: var(--muted); }
.drawer-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 10px 0;
  font: inherit;
  font-size: .84rem;
  color: var(--ink);
  outline: none;
}
.drawer-search-btn {
  flex: none;
  border: 0;
  border-radius: 9px;
  background: var(--moss);
  color: var(--white);
  padding: 10px 14px;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
}

.drawer-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 18px 12px;
}
.drawer-quick-btn {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 13px 12px;
  border-radius: 14px;
  border: 1px solid rgba(122, 111, 98, .16);
  background: var(--white);
  box-shadow: 0 8px 18px rgba(42, 33, 24, .06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.drawer-quick-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(42, 33, 24, .1);
  border-color: rgba(196, 98, 45, .24);
}
.drawer-quick-btn.is-active {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 2px rgba(196, 98, 45, .14);
}
.drawer-quick-signin {
  border-color: rgba(196, 98, 45, .28);
  background: linear-gradient(180deg, rgba(196, 98, 45, .08), rgba(255,255,255,.98));
}
.drawer-quick-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--chalk);
}
.drawer-quick-crate .drawer-quick-icon { background: linear-gradient(135deg, var(--terracotta), var(--terracotta-deep)); }
.drawer-quick-account .drawer-quick-icon { background: linear-gradient(135deg, var(--slate), var(--slate-deep)); }
.drawer-quick-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.drawer-quick-copy strong {
  font-size: .82rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drawer-quick-copy span {
  font-size: .68rem;
  color: var(--muted);
}
.drawer-quick-arrow {
  font-size: .95rem;
  font-weight: 700;
  color: var(--terracotta);
  opacity: .75;
}

.drawer-section-label {
  margin: 0 0 10px;
  padding: 0 18px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.drawer-primary { padding: 8px 0 4px; }
.drawer-main-grid {
  display: grid;
  gap: 8px;
  padding: 0 18px;
}
.drawer-main-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgba(122, 111, 98, .14);
  box-shadow: 0 4px 14px rgba(42, 33, 24, .05);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.drawer-main-link:hover {
  transform: translateX(3px);
  border-color: rgba(196, 98, 45, .28);
  box-shadow: 0 10px 20px rgba(42, 33, 24, .08);
}
.drawer-main-link.is-active {
  background: linear-gradient(135deg, var(--slate), var(--slate-deep));
  border-color: var(--slate);
  color: var(--chalk);
  box-shadow: 0 10px 24px rgba(42, 33, 24, .16);
}
.drawer-main-mark {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  background: var(--chalk-2);
  color: var(--terracotta-deep);
}
.drawer-main-home .drawer-main-mark { background: rgba(196, 98, 45, .12); color: var(--terracotta-deep); }
.drawer-main-all .drawer-main-mark { background: rgba(90, 125, 92, .14); color: var(--moss); }
.drawer-main-meta .drawer-main-mark { background: rgba(58, 74, 92, .12); color: var(--slate); }
.drawer-main-link.is-active .drawer-main-mark {
  background: rgba(255,255,255,.14);
  color: var(--wheat);
}
.drawer-main-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.drawer-main-label {
  font-weight: 700;
  font-size: .9rem;
  line-height: 1.2;
}
.drawer-main-desc {
  font-size: .72rem;
  color: var(--muted);
  line-height: 1.35;
}
.drawer-main-link.is-active .drawer-main-desc { color: rgba(247, 243, 235, .72); }
.drawer-main-arrow {
  font-size: 1rem;
  font-weight: 700;
  color: var(--terracotta);
  opacity: .7;
}
.drawer-main-link.is-active .drawer-main-arrow { color: var(--wheat); opacity: .85; }

.drawer-rows-section { padding: 14px 0 10px; }
.drawer-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 18px;
}
.drawer-field-link {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 10px 12px 10px 10px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgba(122, 111, 98, .14);
  box-shadow: 0 4px 14px rgba(42, 33, 24, .05);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.drawer-field-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(42, 33, 24, .1);
  border-color: rgba(196, 98, 45, .22);
}
.drawer-field-link.is-active {
  background: linear-gradient(135deg, var(--slate), var(--slate-deep));
  border-color: var(--slate);
  color: var(--chalk);
}
.drawer-field-tone {
  width: 5px;
  align-self: stretch;
  border-radius: 999px;
  margin-left: 2px;
}
.drawer-field-night .drawer-field-tone { background: #b84a32; }
.drawer-field-root .drawer-field-tone { background: #8a6238; }
.drawer-field-squash .drawer-field-tone { background: #d4881d; }
.drawer-field-green .drawer-field-tone { background: var(--moss); }
.drawer-field-onion .drawer-field-tone { background: #c4a24a; }
.drawer-field-bean .drawer-field-tone { background: #6d9468; }
.drawer-field-herb .drawer-field-tone { background: #5f9a72; }
.drawer-field-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.drawer-field-label {
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.25;
}
.drawer-field-hint {
  font-size: .64rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.drawer-field-link.is-active .drawer-field-hint { color: rgba(247, 243, 235, .68); }
.drawer-field-arrow {
  font-size: .92rem;
  font-weight: 700;
  color: var(--terracotta);
  opacity: .65;
}
.drawer-field-link.is-active .drawer-field-arrow { color: var(--wheat); opacity: .85; }

.drawer-foot {
  margin-top: auto;
  padding: 16px 18px 22px;
  border-top: 1px dashed rgba(122, 111, 98, .22);
  display: grid;
  gap: 8px;
}
.drawer-foot-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--chalk);
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-deep));
  box-shadow: 0 8px 20px rgba(196, 98, 45, .24);
  transition: transform .18s ease, box-shadow .18s ease;
}
.drawer-foot-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(196, 98, 45, .32);
}
.drawer-foot-note {
  font-size: .72rem;
  color: var(--muted);
  word-break: break-all;
  text-align: center;
}

.row-toggle.is-open .row-bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.row-toggle.is-open .row-bars span:nth-child(2) {
  opacity: 0;
}
.row-toggle.is-open .row-bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.row-bars span {
  transition: transform .22s ease, opacity .22s ease;
}

/* Typography */
.eyebrow {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 700;
  margin: 0 0 10px;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; font-weight: 600; }
h1 em { font-style: italic; color: var(--slate); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: var(--radius);
  font-weight: 700; font-size: .9rem; border: 2px solid transparent;
  cursor: pointer; transition: .2s;
}
.btn-primary { background: var(--terracotta); color: var(--chalk); border-color: var(--terracotta); }
.btn-primary:hover { background: var(--terracotta-deep); }
.btn-outline { background: transparent; border-color: var(--slate); color: var(--slate); }
.btn-outline:hover { background: var(--wheat-pale); }
.btn-soft { background: var(--chalk-2); color: var(--slate); border-color: var(--line); }
.btn-light { background: var(--white); color: var(--slate); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-sm { padding: 8px 16px; font-size: .82rem; }
.link-arrow { font-weight: 700; color: var(--terracotta); font-size: .88rem; }

/* Hero — cellar mosaic */
.hero-cellar {
  padding: 48px 0 56px;
  background:
    linear-gradient(135deg, var(--chalk) 0%, var(--chalk) 48%, var(--moss-pale) 48%, var(--moss-pale) 100%);
}
.hero-cellar-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: center;
}
.hero-text-block h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin: 0 0 16px;
}
.hero-lede { color: var(--muted); max-width: 44ch; margin: 0 0 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-stats {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 28px; flex-wrap: wrap;
}
.hero-stats strong {
  display: block;
  font-size: 1.4rem;
  color: var(--terracotta);
  font-family: var(--font-display);
}
.hero-stats span {
  font-size: .72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.hero-visual-mosaic {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  align-items: stretch;
}
.hero-feature {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-feature img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.feature-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(30,24,18,.88));
  color: var(--chalk);
}
.cap-label {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--wheat);
  font-weight: 700;
}
.feature-cap h2 { margin: 6px 0; font-size: 1.2rem; color: var(--chalk); }
.feature-cap .price { font-weight: 700; color: var(--wheat); }

.hero-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hero-mini-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  font-size: .72rem;
  font-weight: 600;
  text-align: center;
}
.hero-mini-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

/* Row showcase */
.row-showcase { padding: 48px 0 24px; }
.row-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.row-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.row-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.row-card-1 { border-left: 5px solid var(--terracotta); }
.row-card-2 { border-left: 5px solid var(--moss); }
.row-card-3 { border-left: 5px solid var(--slate); }
.row-card-4 { border-left: 5px solid var(--wheat); }
.row-card-img { aspect-ratio: 16/10; overflow: hidden; }
.row-card-img img { width: 100%; height: 100%; object-fit: cover; }
.row-card-body { padding: 14px 16px 18px; }
.row-num {
  font-size: .65rem;
  font-weight: 700;
  color: var(--terracotta);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.row-card-body h3 { margin: 4px 0; font-size: 1rem; }
.row-count { font-size: .78rem; color: var(--muted); }

/* Sections */
.section { padding: 56px 0; }
.section-muted { background: var(--chalk-2); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.section-head h2 { margin: 0; font-size: 1.85rem; }
.section-head p { margin: 0; color: var(--muted); }
.section-head-split { align-items: flex-start; }
.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.benefit-list li {
  font-size: .78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-round);
  background: var(--moss-pale);
  color: var(--moss);
}

/* Product grid — diamond frames */
.product-diamond-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 22px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  text-align: center;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-img {
  display: block;
  position: relative;
  padding: 16px;
  background: var(--chalk-2);
}
.product-img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  margin: 0 auto;
  max-width: 180px;
}
.product-badge {
  position: absolute;
  top: 10px; right: 10px;
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 8px;
  border-radius: var(--radius-round);
  background: var(--terracotta);
  color: var(--chalk);
}
.product-body { padding: 14px 16px 18px; }
.product-cat {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--moss);
}
.product-body h3 { margin: 6px 0; font-size: .98rem; }
.product-variant { font-size: .78rem; color: var(--muted); margin: 0 0 10px; }
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.price {
  font-weight: 700;
  font-size: 1rem;
  color: var(--terracotta);
  font-family: var(--font-display);
}

/* Promo */
.promo-split { padding: 0 0 56px; }
.promo-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.promo-block { padding: 36px 32px; }
.promo-left {
  background: var(--slate);
  color: var(--chalk);
}
.promo-right {
  background: var(--terracotta);
  color: var(--chalk);
}
.promo-block h2 { margin: 0 0 12px; font-size: 1.5rem; color: inherit; }
.promo-block p { margin: 0 0 20px; opacity: .9; max-width: 36ch; }

/* Showcase lane */
.showcase-lane {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.showcase-tile {
  flex: 0 0 min(260px, 80vw);
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 12px;
}
.showcase-tile-img img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius);
}
.showcase-tile-info h3 { margin: 4px 0; font-size: .92rem; }

/* Page hero & catalog */
.page-hero {
  padding: 36px 0 28px;
  background: var(--slate);
  color: var(--chalk);
}
.page-hero h1 { margin: 0 0 8px; color: var(--chalk); }
.page-hero .eyebrow { color: var(--wheat); }
.page-hero .hero-lede { color: rgba(247,243,235,.8); margin: 0; }

.catalog-page { padding: 36px 0 56px; }
.catalog-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
}
.filter-panel {
  position: sticky;
  top: 200px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.filter-panel h2 {
  margin: 0 0 14px;
  font-size: 1rem;
  color: var(--terracotta);
}
.filter-nav { display: flex; flex-direction: column; gap: 4px; }
.filter-nav a {
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: .84rem;
  font-weight: 600;
  color: var(--muted);
}
.filter-nav a:hover,
.filter-nav a.active {
  background: var(--moss-pale);
  color: var(--slate);
}
.result-meta { font-size: .84rem; color: var(--muted); margin: 0 0 16px; }

/* Product detail */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.product-gallery img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.product-info h1 { margin: 0 0 8px; }
.product-meta { color: var(--muted); font-size: .88rem; margin-bottom: 16px; }
.product-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--terracotta);
  font-family: var(--font-display);
  margin-bottom: 20px;
}

/* Cart / checkout */
.dual {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th,
.cart-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: .88rem;
}
.summary-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: sticky;
  top: 200px;
}

/* Pagination */
.catalog-pagination { margin-top: 32px; }
.pagination-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.pagination-btn,
.pagination-num {
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font-size: .84rem;
  font-weight: 600;
}
.pagination-num.is-active {
  background: var(--slate);
  color: var(--chalk);
  border-color: var(--slate);
}
.pagination-btn.is-disabled { opacity: .4; pointer-events: none; }
.pagination-pages { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination-ellipsis { padding: 8px 4px; color: var(--muted); }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
}
.empty-state .sub { color: var(--muted); font-size: .88rem; }

/* Terrace footer */
.terrace-footer {
  background: var(--soil);
  color: var(--chalk);
  margin-top: auto;
  position: relative;
}
.terrace-steps {
  display: flex;
  height: 12px;
}
.step { flex: 1; }
.step-1 { background: var(--terracotta); }
.step-2 { background: var(--moss); margin-top: 4px; }
.step-3 { background: var(--slate); margin-top: 8px; }
.terrace-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(5, 1fr);
  gap: 24px;
  padding: 40px 0 28px;
}
.terrace-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.terrace-brand p { margin: 0 0 8px; font-size: .86rem; opacity: .85; }
.terrace-legal { font-size: .76rem; opacity: .6; }
.terrace-mark {
  margin-bottom: 12px;
}
.terrace-mark img {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 10px;
}
.terrace-col h4 {
  margin: 0 0 12px;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wheat);
}
.terrace-col a,
.terrace-col p {
  display: block;
  font-size: .84rem;
  margin: 0 0 8px;
  opacity: .82;
}
.terrace-col a:hover { opacity: 1; color: var(--wheat); }
.terrace-base {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 0 24px;
  font-size: .76rem;
  opacity: .65;
}

/* ── Harvest floor shop (shop.php) ── */
.page-harvest-floor .harvest-floor-desk {
  position: relative;
  padding: 34px 0 0;
  background:
    linear-gradient(180deg, var(--slate-deep) 0%, var(--slate) 58%, #46586a 100%);
  color: var(--chalk);
  overflow: hidden;
}
.harvest-desk-soil {
  position: absolute;
  inset: auto 0 0;
  height: 42px;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.04) 0 18px, transparent 18px 36px),
    linear-gradient(180deg, #8b6f47 0%, #6f5435 38%, #5a452c 100%);
  opacity: .92;
}
.harvest-desk-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr minmax(240px, 360px);
  gap: 28px;
  align-items: end;
  padding-bottom: 54px;
}
.harvest-desk-stamp {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 12px;
  border: 2px solid rgba(232, 212, 168, .55);
  border-radius: 4px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--wheat);
  transform: rotate(-2deg);
}
.harvest-desk-kicker {
  margin: 0 0 8px;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(232, 212, 168, .78);
}
.harvest-desk-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.08;
  color: var(--chalk);
}
.harvest-desk-title em { color: var(--wheat); font-style: italic; }
.harvest-desk-note {
  margin: 0;
  max-width: 46ch;
  font-size: .88rem;
  color: rgba(247, 243, 235, .78);
}
.harvest-desk-search label {
  display: block;
  margin-bottom: 8px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(232, 212, 168, .8);
}
.harvest-search-shell {
  display: flex;
  background: var(--chalk);
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(232, 212, 168, .35);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
}
.harvest-search-shell input {
  flex: 1;
  border: 0;
  padding: 14px 16px;
  font: inherit;
  font-size: .92rem;
  color: var(--ink);
  background: transparent;
}
.harvest-search-shell button {
  border: 0;
  padding: 0 18px;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--terracotta);
  color: var(--chalk);
  cursor: pointer;
}
.harvest-desk-ridge {
  position: relative;
  z-index: 2;
  height: 10px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.12), transparent),
    repeating-linear-gradient(90deg, #7a6140 0 24px, #6b5437 24px 48px);
}

.harvest-floor-body {
  padding: 28px 0 64px;
  background:
    radial-gradient(circle at 12% 0%, rgba(90, 125, 92, .08), transparent 34%),
    linear-gradient(180deg, var(--chalk) 0%, var(--chalk-2) 100%);
}

.row-pegboard {
  position: relative;
  margin-bottom: 28px;
  padding: 18px 14px 14px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, #6b4f35 0%, #523c28 100%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.08), 0 12px 28px rgba(42, 33, 24, .12);
}
.pegboard-slat {
  position: absolute;
  inset: 10px 12px auto;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,.08);
}
.pegboard-tags {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 4px 4px;
  scrollbar-width: thin;
}
.peg-tag {
  flex: 0 0 min(168px, 72vw);
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: auto auto auto;
  gap: 2px 10px;
  padding: 12px 12px 10px;
  border-radius: 10px;
  background: var(--chalk);
  border: 1px solid rgba(58, 74, 92, .12);
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
  transition: transform .18s, box-shadow .18s;
}
.peg-tag:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,0,0,.16); }
.peg-tag.is-active {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 2px rgba(196, 98, 45, .18), 0 12px 24px rgba(0,0,0,.14);
}
.peg-nail {
  position: absolute;
  top: -7px;
  left: 50%;
  width: 10px;
  height: 10px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #d8d2c8, #7a7268);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.25);
}
.peg-all { grid-template-columns: 1fr; text-align: center; }
.peg-all .peg-row,
.peg-all .peg-name,
.peg-all .peg-count { grid-column: 1; }
.peg-thumb {
  grid-row: 1 / span 3;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.peg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.peg-row {
  grid-column: 2;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.peg-name {
  grid-column: 2;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--slate);
}
.peg-count {
  grid-column: 2;
  justify-self: start;
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-round);
  background: var(--moss-pale);
  color: var(--moss);
}
.peg-night .peg-count { background: #fde8e4; color: #b84a32; }
.peg-root .peg-count { background: #efe6d8; color: #8a6238; }
.peg-squash .peg-count { background: #fff0d8; color: #b87318; }
.peg-green .peg-count { background: var(--moss-pale); color: var(--moss); }
.peg-onion .peg-count { background: #f3ead8; color: #9a7b3c; }
.peg-bean .peg-count { background: #e8f0e4; color: #4a7348; }
.peg-herb .peg-count { background: #e7f2ea; color: #3d7250; }

.harvest-shelf-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  align-items: end;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 2px dashed rgba(58, 74, 92, .18);
}
.harvest-range {
  margin: 0 0 4px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--slate);
}
.harvest-clear {
  font-size: .78rem;
  font-weight: 700;
  color: var(--terracotta);
}
.harvest-shelf-hint {
  margin: 0;
  max-width: 34ch;
  font-size: .78rem;
  color: var(--muted);
  text-align: right;
}

.harvest-empty {
  text-align: center;
  padding: 56px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 2px dashed rgba(58, 74, 92, .16);
}
.harvest-empty-stamp {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 16px;
  border: 3px double var(--terracotta);
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terracotta);
  transform: rotate(-4deg);
}
.harvest-empty p { margin: 0 0 8px; font-size: 1.05rem; font-weight: 700; }
.harvest-empty .sub { color: var(--muted); font-weight: 400; margin-bottom: 18px; }

.harvest-bin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 26px 22px;
  align-items: start;
}
.harvest-bin {
  position: relative;
  background:
    linear-gradient(180deg, #f8f4ec 0%, #ebe3d4 100%);
  border: 1px solid rgba(122, 111, 98, .22);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 16px 34px rgba(42, 33, 24, .1);
  transition: transform .2s, box-shadow .2s;
}
.harvest-bin:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(42, 33, 24, .14);
}
.harvest-bin.bin-offset { transform: translateY(14px); }
.harvest-bin.bin-offset:hover { transform: translateY(10px); }
.bin-lip {
  height: 10px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #8b7355, #6f5a42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.bin-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px 0;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bin-sku { color: var(--terracotta); }
.bin-row {
  color: var(--muted);
  text-align: right;
  line-height: 1.3;
}
.bin-photo {
  display: block;
  position: relative;
  margin: 10px 14px 0;
  padding: 10px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--line);
}
.bin-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}
.bin-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 4px 8px;
  border-radius: var(--radius-round);
  background: var(--slate);
  color: var(--chalk);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bin-tag {
  position: relative;
  margin: -8px 14px 16px;
  padding: 16px 14px 14px;
  background: var(--white);
  border: 1px solid rgba(58, 74, 92, .12);
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(42, 33, 24, .08);
}
.bin-tag-string {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 2px;
  height: 12px;
  transform: translateX(-50%);
  background: #b8aea0;
}
.bin-tag-string::before,
.bin-tag-string::after {
  content: '';
  position: absolute;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9bfb0;
}
.bin-tag-string::before { left: -10px; }
.bin-tag-string::after { right: -10px; }
.bin-tag h2 {
  margin: 0 0 6px;
  font-size: .98rem;
  line-height: 1.25;
}
.bin-pack {
  margin: 0 0 12px;
  font-size: .76rem;
  color: var(--muted);
}
.bin-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.bin-price {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--terracotta);
}
.bin-pick {
  padding: 7px 12px;
  border-radius: var(--radius-round);
  background: var(--moss);
  color: var(--chalk);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.bin-pick:hover { background: var(--slate); }
.bin-night .bin-lip { background: linear-gradient(180deg, #b84a32, #8f3a28); }
.bin-root .bin-lip { background: linear-gradient(180deg, #8a6238, #6d4d2d); }
.bin-squash .bin-lip { background: linear-gradient(180deg, #d4881d, #b87318); }
.bin-green .bin-lip { background: linear-gradient(180deg, #6b9268, var(--moss)); }
.bin-onion .bin-lip { background: linear-gradient(180deg, #c4a24a, #9a7b3c); }
.bin-bean .bin-lip { background: linear-gradient(180deg, #6d9468, #4a7348); }
.bin-herb .bin-lip { background: linear-gradient(180deg, #5f9a72, #3d7250); }

.harvest-floor-pages { margin-top: 36px; }
.page-harvest-floor .catalog-pagination { margin-top: 0; }
.page-harvest-floor .pagination-btn,
.page-harvest-floor .pagination-num {
  background: var(--white);
  color: var(--slate);
}
.page-harvest-floor .pagination-num.is-active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--chalk);
}

/* ── Cellar track & support (track-support.php) ── */
.page-cellar-track .cellar-track-vault {
  position: relative;
  padding: 38px 0 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(232, 212, 168, .12), transparent 34%),
    linear-gradient(180deg, #241c16 0%, var(--soil) 52%, #3d3026 100%);
  color: var(--chalk);
  overflow: hidden;
}
.vault-arch {
  position: absolute;
  top: 18px;
  left: 50%;
  width: min(420px, 72vw);
  height: 210px;
  transform: translateX(-50%);
  border: 3px solid rgba(196, 98, 45, .35);
  border-bottom: 0;
  border-radius: 210px 210px 0 0;
  opacity: .28;
}
.vault-lantern {
  position: absolute;
  top: 28px;
  left: 50%;
  width: 18px;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 4px 4px 8px 8px;
  background: linear-gradient(180deg, #f0c96a, #c4622d);
  box-shadow: 0 0 28px rgba(240, 201, 106, .45);
}
.vault-lantern::after {
  content: '';
  position: absolute;
  inset: auto -24px -40px;
  height: 40px;
  background: radial-gradient(circle, rgba(240, 201, 106, .28), transparent 70%);
}
.vault-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding-bottom: 52px;
  text-align: center;
}
.vault-kicker {
  margin: 0 0 10px;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(232, 212, 168, .75);
}
.vault-banner-inner h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.08;
}
.vault-banner-inner h1 em { color: var(--wheat); font-style: italic; }
.vault-lede {
  margin: 0 auto;
  max-width: 48ch;
  font-size: .92rem;
  color: rgba(247, 243, 235, .78);
}
.vault-stone-ridge {
  position: relative;
  z-index: 2;
  height: 12px;
  background:
    repeating-linear-gradient(90deg, #6f5a48 0 28px, #5c4a3b 28px 56px),
    linear-gradient(180deg, rgba(0,0,0,.15), transparent);
}

.cellar-track-floor {
  padding: 32px 0 64px;
  background:
    radial-gradient(circle at 88% 0%, rgba(90, 125, 92, .08), transparent 28%),
    linear-gradient(180deg, var(--chalk) 0%, var(--chalk-2) 100%);
}
.cellar-track-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 320px);
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
}

.ledger-clipboard-wrap { position: relative; }
.ledger-clipboard {
  position: relative;
  padding: 28px 26px 24px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, #fffdf8 0%, #f3ebdc 100%);
  border: 1px solid rgba(122, 111, 98, .22);
  box-shadow:
    0 18px 40px rgba(42, 33, 24, .12),
    inset 0 1px 0 rgba(255,255,255,.8);
}
.clipboard-clamp {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 88px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 6px;
  background: linear-gradient(180deg, #8b8f94, #5f6368);
  box-shadow: 0 4px 10px rgba(0,0,0,.18);
}
.clipboard-clamp::before {
  content: '';
  position: absolute;
  inset: 5px 14px;
  border-radius: 3px;
  background: rgba(255,255,255,.12);
}
.clipboard-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.clipboard-wax {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #d4753a, #9a4a22);
  color: var(--wheat);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.18);
}
.clipboard-label {
  margin: 0 0 4px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.clipboard-head h2 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--slate);
}
.clipboard-note {
  margin: 0 0 18px;
  font-size: .86rem;
  color: var(--muted);
}
.clipboard-form { display: grid; gap: 14px; }
.clipboard-field label {
  display: block;
  margin-bottom: 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate);
}
.clipboard-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(58, 74, 92, .18);
  border-radius: var(--radius);
  font: inherit;
  font-size: .92rem;
  background: rgba(255,255,255,.72);
  color: var(--ink);
}
.clipboard-field input:focus {
  outline: 2px solid rgba(196, 98, 45, .25);
  border-color: var(--terracotta);
}
.clipboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.cellar-help-wall {
  padding: 18px 16px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, #4a3d32 0%, #3a3028 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 12px 28px rgba(42, 33, 24, .12);
}
.help-wall-title {
  margin: 0 0 14px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(232, 212, 168, .72);
}
.help-hooks { display: grid; gap: 10px; }
.help-hook {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 18px;
  border-radius: 10px;
  background: var(--chalk);
  border: 1px solid rgba(58, 74, 92, .1);
  transition: transform .16s;
}
.help-hook:hover { transform: translateX(4px); }
.hook-nail {
  position: absolute;
  top: -5px;
  left: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #d8d2c8, #7a7268);
}
.hook-label { display: grid; gap: 2px; }
.hook-label strong { font-size: .82rem; color: var(--slate); }
.hook-label span { font-size: .72rem; color: var(--muted); }
.help-wall-foot {
  margin: 14px 0 0;
  font-size: .74rem;
  color: rgba(232, 212, 168, .65);
  word-break: break-all;
}

.waybill-reveal { max-width: 760px; }
.crate-waybill {
  position: relative;
  padding: 28px 26px 24px;
  border-radius: 12px;
  background:
    repeating-linear-gradient(0deg, rgba(122, 111, 98, .03) 0 12px, transparent 12px 24px),
    linear-gradient(180deg, #f6f0e4 0%, #ebe1cf 100%);
  border: 1px dashed rgba(122, 111, 98, .35);
  box-shadow: 0 16px 36px rgba(42, 33, 24, .1);
}
.waybill-twine {
  position: absolute;
  top: -8px;
  left: 32px;
  width: 2px;
  height: 18px;
  background: #b8aea0;
}
.waybill-twine::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c9bfb0;
}
.waybill-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
.waybill-stamp {
  display: inline-block;
  padding: 6px 12px;
  border: 2px solid currentColor;
  border-radius: 6px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}
.waybill-stamp-ok { color: var(--moss); border-color: var(--moss); }
.waybill-stamp-warn { color: var(--terracotta); border-color: var(--terracotta); margin-bottom: 12px; }
.waybill-status {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate);
}
.waybill-order-id {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--ink);
}
.waybill-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}
.waybill-stats div {
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(58, 74, 92, .08);
}
.waybill-stats dt {
  margin: 0 0 4px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.waybill-stats dd {
  margin: 0;
  font-size: .96rem;
  font-weight: 700;
  color: var(--slate);
}
.waybill-miss-note {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: .9rem;
}

.root-path {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin: 0 0 22px;
  padding: 16px 8px;
  border-radius: var(--radius);
  background: rgba(42, 33, 24, .04);
  overflow-x: auto;
}
.root-path-node {
  flex: 1 0 88px;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}
.root-path-dot {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid rgba(58, 74, 92, .14);
  color: var(--muted);
}
.root-path-depth {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.root-path-label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.25;
}
.root-path-line {
  flex: 0 0 18px;
  align-self: center;
  height: 2px;
  margin-top: -18px;
  background: rgba(58, 74, 92, .14);
}
.root-path-node.is-done .root-path-dot {
  background: var(--moss-pale);
  border-color: var(--moss);
  color: var(--moss);
}
.root-path-node.is-done .root-path-label { color: var(--moss); }
.root-path-node.is-current .root-path-dot {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--chalk);
  box-shadow: 0 0 0 4px rgba(196, 98, 45, .16);
}
.root-path-node.is-current .root-path-label { color: var(--terracotta); }

.waybill-idle {
  text-align: center;
  padding: 42px 24px;
  border-radius: var(--radius-lg);
  border: 2px dashed rgba(58, 74, 92, .16);
  background: rgba(255,255,255,.55);
}
.waybill-idle-crate {
  display: inline-block;
  width: 72px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, #8b7355, #6f5a42);
  box-shadow: inset 0 8px 0 rgba(255,255,255,.08);
  opacity: .45;
}
.waybill-idle p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

/* ── Cellar loading cart (cart.php) ── */
.page-cellar-cart .cellar-load-dock {
  position: relative;
  padding: 34px 0 0;
  background:
    linear-gradient(180deg, #5c4a38 0%, #4a3b2d 55%, #3d3026 100%);
  color: var(--chalk);
  overflow: hidden;
}
.load-dock-bench {
  position: absolute;
  inset: auto 0 28px;
  height: 18px;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 22px, transparent 22px 44px),
    linear-gradient(180deg, #9a7b52, #7a6140);
  opacity: .55;
}
.load-dock-head {
  position: relative;
  z-index: 1;
  padding-bottom: 46px;
}
.load-dock-kicker {
  margin: 0 0 8px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(232, 212, 168, .75);
}
.load-dock-head h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.08;
}
.load-dock-head h1 em { color: var(--wheat); font-style: italic; }
.load-dock-lede {
  margin: 0;
  max-width: 52ch;
  font-size: .92rem;
  color: rgba(247, 243, 235, .78);
}
.load-dock-ridge {
  position: relative;
  z-index: 2;
  height: 10px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.12), transparent),
    repeating-linear-gradient(90deg, #6f5435 0 24px, #5a452c 24px 48px);
}

.cellar-load-body {
  padding: 28px 0 64px;
  background:
    radial-gradient(circle at 10% 0%, rgba(90, 125, 92, .07), transparent 30%),
    linear-gradient(180deg, var(--chalk) 0%, var(--chalk-2) 100%);
}

.load-empty {
  text-align: center;
  padding: 48px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 2px dashed rgba(58, 74, 92, .14);
}
.load-empty-crate {
  position: relative;
  width: min(220px, 70vw);
  height: 120px;
  margin: 0 auto 18px;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(180deg, #ebe1cf 0%, #d8ccb8 100%);
  border: 1px solid rgba(122, 111, 98, .25);
  box-shadow: inset 0 10px 0 rgba(255,255,255,.35);
}
.empty-crate-lip {
  display: block;
  height: 12px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #8b7355, #6f5a42);
}
.empty-crate-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  transform: rotate(-3deg);
}
.load-empty h2 { margin: 0 0 8px; font-size: 1.2rem; color: var(--slate); }
.load-empty p { margin: 0 0 18px; color: var(--muted); }

.load-bench-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 24px;
  align-items: start;
}
.load-bench-meta {
  margin: 0 0 14px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.load-bench-lots {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.load-lot {
  position: relative;
  display: grid;
  grid-template-columns: auto 72px minmax(0, 1fr) 88px 92px;
  gap: 14px;
  align-items: center;
  padding: 14px 16px 14px 18px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, #fffdf8 0%, #f3ebdc 100%);
  border: 1px solid rgba(122, 111, 98, .2);
  box-shadow: 0 10px 24px rgba(42, 33, 24, .08);
}
.load-lot-rail {
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 0 2px 2px 0;
  background: var(--terracotta);
}
.load-lot-num {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--terracotta);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  justify-self: center;
}
.load-lot-thumb {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}
.load-lot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.load-lot-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--terracotta);
  background: var(--moss-pale);
}
.load-lot-copy { min-width: 0; }
.load-lot-sku {
  display: inline-block;
  margin-bottom: 4px;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--moss);
}
.load-lot-copy h2 {
  margin: 0 0 4px;
  font-size: .98rem;
  line-height: 1.25;
}
.load-lot-pack {
  margin: 0 0 4px;
  font-size: .76rem;
  color: var(--muted);
}
.load-lot-unit {
  font-size: .74rem;
  font-weight: 700;
  color: var(--slate);
}
.load-lot-qty label {
  display: block;
  margin-bottom: 4px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.load-lot-qty input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(58, 74, 92, .16);
  border-radius: var(--radius);
  font: inherit;
  font-size: .9rem;
  background: var(--white);
}
.load-lot-total {
  text-align: right;
}
.load-lot-total-label {
  display: block;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.load-lot-total strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--terracotta);
}
.load-bench-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.load-chalk-tally {
  position: relative;
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--slate) 0%, var(--slate-deep) 100%);
  color: var(--chalk);
  box-shadow: 0 18px 40px rgba(42, 33, 24, .18);
  overflow: hidden;
}
.chalk-tally-frame {
  position: absolute;
  inset: 10px;
  border: 2px dashed rgba(232, 212, 168, .18);
  border-radius: 10px;
  pointer-events: none;
}
.chalk-tally-store {
  margin: 0 0 4px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(232, 212, 168, .7);
}
.chalk-tally-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--wheat);
}
.chalk-tally-date {
  margin: 0 0 18px;
  font-size: .72rem;
  color: rgba(247, 243, 235, .55);
}
.chalk-tally-rows {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}
.chalk-tally-rows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255,255,255,.12);
}
.chalk-tally-rows dt {
  font-size: .76rem;
  color: rgba(247, 243, 235, .72);
}
.chalk-tally-rows dd {
  margin: 0;
  font-weight: 700;
  color: var(--chalk);
}
.chalk-tally-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
  padding-top: 4px;
}
.chalk-tally-total span {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--wheat);
}
.chalk-tally-total strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--chalk);
}
.chalk-tally-notes {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 6px;
}
.chalk-tally-notes li {
  font-size: .72rem;
  color: rgba(247, 243, 235, .62);
  padding-left: 14px;
  position: relative;
}
.chalk-tally-notes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--moss);
  font-size: .68rem;
}
.load-checkout-btn { margin-top: 4px; }
.chalk-tally-smudge {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 42px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  transform: rotate(-8deg);
}

/* ── Cellar dispatch ledger (orders.php) ── */
.page-cellar-ledger .cellar-ledger-hero {
  position: relative;
  padding: 36px 0 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(90, 125, 92, .14), transparent 34%),
    linear-gradient(180deg, #2f251c 0%, var(--soil) 58%, #453628 100%);
  color: var(--chalk);
  overflow: hidden;
}
.ledger-hero-arch {
  position: absolute;
  top: 14px;
  right: 8%;
  width: min(280px, 42vw);
  height: 160px;
  border: 2px solid rgba(196, 98, 45, .28);
  border-bottom: 0;
  border-radius: 160px 160px 0 0;
  opacity: .35;
}
.ledger-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding-bottom: 48px;
}
.ledger-hero-kicker {
  margin: 0 0 10px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(232, 212, 168, .75);
}
.cellar-ledger-hero h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  line-height: 1.08;
}
.cellar-ledger-hero h1 em { color: var(--wheat); font-style: italic; }
.ledger-hero-lede {
  margin: 0;
  max-width: 50ch;
  font-size: .92rem;
  color: rgba(247, 243, 235, .78);
}
.ledger-hero-ridge {
  position: relative;
  z-index: 2;
  height: 11px;
  background:
    repeating-linear-gradient(90deg, #6f5a48 0 26px, #5c4a3b 26px 52px),
    linear-gradient(180deg, rgba(0,0,0,.12), transparent);
}

.cellar-ledger-stage {
  padding: 30px 0 68px;
  background:
    radial-gradient(circle at 12% 0%, rgba(196, 98, 45, .06), transparent 28%),
    linear-gradient(180deg, var(--chalk) 0%, var(--chalk-2) 100%);
}
.ledger-loading {
  text-align: center;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.72);
  border: 1px dashed rgba(58, 74, 92, .18);
}

.ledger-guest-door {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  padding: 42px 32px 36px;
  text-align: center;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, #fffdf8 0%, #f0e8d8 100%);
  border: 1px solid rgba(122, 111, 98, .22);
  box-shadow: var(--shadow);
}
.ledger-guest-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--chalk);
  background: radial-gradient(circle at 30% 28%, #d47a42, var(--terracotta-deep));
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.25),
    0 8px 18px rgba(154, 74, 34, .35);
}
.ledger-guest-lock {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 22px;
  height: 28px;
  border: 2px solid rgba(58, 74, 92, .35);
  border-radius: 4px 4px 6px 6px;
}
.ledger-guest-lock::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  width: 14px;
  height: 14px;
  transform: translateX(-50%);
  border: 2px solid rgba(58, 74, 92, .35);
  border-radius: 50%;
}
.ledger-guest-door h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.45rem;
}
.ledger-guest-door p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: .92rem;
}
.ledger-guest-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.ledger-clipboard-unit {
  position: relative;
  padding: 34px 24px 28px 42px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, #fffdf8 0%, #f3ebdc 100%);
  border: 1px solid rgba(122, 111, 98, .22);
  box-shadow:
    0 20px 44px rgba(42, 33, 24, .12),
    inset 0 1px 0 rgba(255,255,255,.85);
}
.clipboard-spiral {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 14px;
  width: 18px;
  border-radius: 10px;
  background:
    repeating-linear-gradient(180deg, #8b8f94 0 8px, #5f6368 8px 16px);
  box-shadow: 2px 0 8px rgba(0,0,0,.08);
}
.clipboard-spiral::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #4a4e52;
}
.ledger-shelf-label {
  margin: 0 0 18px;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.ledger-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

.ledger-strip {
  position: relative;
  padding: 18px 18px 22px 22px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, #fffefb 0%, #f7f0e4 100%);
  border: 1px solid rgba(122, 111, 98, .18);
  box-shadow:
    0 8px 22px rgba(42, 33, 24, .08),
    inset 0 1px 0 rgba(255,255,255,.9);
  transition: transform .18s ease, box-shadow .18s ease;
}
.ledger-strip:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(42, 33, 24, .12);
}
.ledger-strip-offset { transform: rotate(-.6deg); }
.ledger-strip-offset:hover { transform: rotate(-.6deg) translateY(-3px); }

.ledger-strip-rail {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 6px;
  border-radius: 0 4px 4px 0;
}
.ledger-strip.tone-night .ledger-strip-rail { background: linear-gradient(180deg, #b84a32, #8f3a28); }
.ledger-strip.tone-root .ledger-strip-rail { background: linear-gradient(180deg, #8a6238, #6d4d2d); }
.ledger-strip.tone-squash .ledger-strip-rail { background: linear-gradient(180deg, #d4881d, #b87318); }
.ledger-strip.tone-green .ledger-strip-rail { background: linear-gradient(180deg, #6b9268, var(--moss)); }
.ledger-strip.tone-onion .ledger-strip-rail { background: linear-gradient(180deg, #c4a24a, #9a7b3c); }
.ledger-strip.tone-bean .ledger-strip-rail { background: linear-gradient(180deg, #6d9468, #4a7348); }
.ledger-strip.tone-herb .ledger-strip-rail { background: linear-gradient(180deg, #5f9a72, #3d7250); }

.ledger-entry-num {
  display: inline-block;
  margin-bottom: 8px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.ledger-status-stamp {
  position: absolute;
  top: 14px;
  right: 14px;
  min-width: 42px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: center;
  transform: rotate(8deg);
  border: 2px solid currentColor;
  opacity: .88;
}
.ledger-status-logged { color: var(--slate); background: rgba(58, 74, 92, .08); }
.ledger-status-packed { color: var(--terracotta-deep); background: rgba(196, 98, 45, .1); }
.ledger-status-shipped { color: #9a7b3c; background: rgba(212, 136, 29, .12); }
.ledger-status-delivered { color: var(--moss); background: rgba(90, 125, 92, .12); }
.ledger-status-cancelled { color: #8b4a42; background: rgba(139, 74, 66, .1); }

.ledger-label {
  display: block;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.ledger-strip-head { margin-bottom: 10px; padding-right: 52px; }
.ledger-strip-id strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  word-break: break-all;
}
.ledger-strip-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 10px;
  font-size: .82rem;
}
.ledger-strip-items {
  margin: 0 0 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(58, 74, 92, .05);
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.45;
}
.ledger-strip-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(122, 111, 98, .22);
}
.ledger-strip-total strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--terracotta-deep);
}
.ledger-status-text {
  margin-left: auto;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ledger-track-btn { flex-shrink: 0; }

.ledger-strip-perf {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 6px;
  background:
    repeating-linear-gradient(90deg, transparent 0 4px, rgba(122, 111, 98, .18) 4px 8px);
  opacity: .55;
}

.ledger-empty {
  text-align: center;
  padding: 36px 24px 32px;
  border-radius: var(--radius);
  border: 2px dashed rgba(58, 74, 92, .14);
  background: rgba(255,255,255,.55);
}
.ledger-empty-slots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}
.ledger-empty-slots span {
  width: 72px;
  height: 88px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(247, 243, 235, .9), rgba(237, 232, 220, .9));
  border: 1px dashed rgba(122, 111, 98, .25);
  transform: rotate(-2deg);
}
.ledger-empty-slots span:nth-child(2) { transform: rotate(1.5deg) translateY(6px); }
.ledger-empty-slots span:nth-child(3) { transform: rotate(-1deg); }
.ledger-empty h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.ledger-empty p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .92rem;
}

/* ── Cellar outbound ramp (checkout.php) ── */
.page-cellar-ramp .ramp-gate-hero {
  position: relative;
  padding: 34px 0 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(90, 125, 92, .18), transparent 38%),
    linear-gradient(175deg, #1f1812 0%, var(--soil) 42%, #4a3828 100%);
  color: var(--chalk);
  overflow: hidden;
}
.ramp-planks {
  position: absolute;
  inset: auto -8% 38px -6%;
  height: 120px;
  display: flex;
  gap: 6px;
  transform: rotate(-4deg);
  opacity: .42;
}
.ramp-planks span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.06) 0 18px, transparent 18px 36px),
    linear-gradient(180deg, #a88458, #7a6140);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.12);
}
.ramp-planks span:nth-child(2) { transform: translateY(-8px); }
.ramp-planks span:nth-child(4) { transform: translateY(-14px); }
.ramp-daylight {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  background: radial-gradient(circle at 88% 18%, rgba(232, 212, 168, .22), transparent 52%);
  pointer-events: none;
}
.ramp-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 44px;
}
.ramp-kicker {
  margin: 0 0 8px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(232, 212, 168, .75);
}
.ramp-gate-hero h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  line-height: 1.08;
}
.ramp-gate-hero h1 em { color: var(--wheat); font-style: italic; }
.ramp-lede {
  margin: 0;
  max-width: 48ch;
  font-size: .92rem;
  color: rgba(247, 243, 235, .78);
}
.ramp-pass-badge {
  display: grid;
  gap: 4px;
  padding: 14px 18px;
  min-width: 148px;
  border-radius: 10px;
  background: rgba(247, 243, 235, .08);
  border: 1px solid rgba(232, 212, 168, .22);
  backdrop-filter: blur(4px);
}
.ramp-pass-label {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(232, 212, 168, .7);
}
.ramp-pass-code {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: .06em;
}
.ramp-pass-qty {
  font-size: .78rem;
  color: rgba(247, 243, 235, .72);
}
.ramp-stone-lip {
  position: relative;
  z-index: 2;
  height: 11px;
  background:
    repeating-linear-gradient(90deg, #6f5a48 0 24px, #5c4a3b 24px 48px),
    linear-gradient(180deg, rgba(0,0,0,.14), transparent);
}

.ramp-gate-stage {
  padding: 28px 0 68px;
  background:
    radial-gradient(circle at 92% 8%, rgba(196, 98, 45, .06), transparent 28%),
    linear-gradient(180deg, var(--chalk) 0%, var(--chalk-2) 100%);
}

.ramp-peg-rail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
}
.ramp-peg {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
}
.ramp-peg:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -28px;
  top: 50%;
  width: 56px;
  height: 2px;
  background: rgba(122, 111, 98, .22);
  transform: translateY(-50%);
}
.ramp-peg.is-active { color: var(--ink); }
.ramp-peg-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: .72rem;
  background: var(--chalk-2);
  border: 2px solid rgba(122, 111, 98, .28);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.7);
}
.ramp-peg.is-active .ramp-peg-num {
  background: var(--terracotta);
  border-color: var(--terracotta-deep);
  color: var(--chalk);
}

.ramp-gate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 360px);
  gap: 24px;
  align-items: start;
}

.dispatch-folio {
  position: relative;
  padding: 28px 26px 24px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, #f8f0e2 0%, #ebe0cc 100%);
  border: 1px solid rgba(122, 111, 98, .24);
  box-shadow:
    0 20px 44px rgba(42, 33, 24, .12),
    inset 0 1px 0 rgba(255,255,255,.75);
}
.folio-brass-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(154, 122, 60, .55);
  opacity: .75;
}
.folio-brass-tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.folio-brass-tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.folio-brass-bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.folio-brass-br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

.folio-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(122, 111, 98, .28);
}
.folio-stencil {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--chalk);
  background: var(--slate);
}
.folio-code {
  margin: 0 0 4px;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.folio-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.ramp-error { margin-bottom: 16px; }

.folio-segment {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}
.folio-segment legend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}
.folio-seg-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: .72rem;
  font-weight: 800;
  color: var(--chalk);
  background: var(--terracotta);
}
.folio-fields {
  display: grid;
  gap: 12px;
}
.folio-fields-duo { grid-template-columns: 1fr 1fr; }
.folio-fields-route { grid-template-columns: 1fr 1fr; }
.folio-field-wide { grid-column: 1 / -1; }
.folio-label {
  display: block;
  margin-bottom: 6px;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.folio-field input,
.folio-field textarea,
.folio-field select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(122, 111, 98, .28);
  background: rgba(255,255,255,.72);
  font: inherit;
  color: var(--ink);
}
.folio-field input:focus,
.folio-field textarea:focus,
.folio-field select:focus {
  outline: 2px solid rgba(196, 98, 45, .35);
  border-color: var(--terracotta);
}
.folio-field input[readonly] {
  background: rgba(58, 74, 92, .06);
  color: var(--muted);
}
.folio-hint {
  display: block;
  margin-top: 4px;
  font-size: .72rem;
  color: var(--muted);
}
.folio-perforation {
  height: 8px;
  margin: 4px 0 18px;
  background:
    repeating-linear-gradient(90deg, transparent 0 5px, rgba(122, 111, 98, .22) 5px 10px);
  opacity: .65;
}

.folio-pay-single {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(122, 111, 98, .18);
  font-weight: 600;
}
.clay-token-grid {
  display: grid;
  gap: 10px;
}
.clay-token-option { cursor: pointer; }
.clay-token-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.clay-token-body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(122, 111, 98, .18);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.clay-token-option input:checked + .clay-token-body {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 2px rgba(196, 98, 45, .16);
}
.clay-token {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #d47a42, var(--terracotta-deep));
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.22),
    0 3px 8px rgba(154, 74, 34, .28);
}
.clay-token-set { opacity: .95; }
.clay-token-name { font-weight: 600; font-size: .88rem; }

.folio-foot {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px dashed rgba(122, 111, 98, .28);
}
.folio-policy {
  margin: 0 0 14px;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.55;
}
.folio-policy a { color: var(--terracotta-deep); font-weight: 600; }
.folio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.ramp-clear-btn { margin-left: auto; }

.burlap-sling {
  position: relative;
  padding-top: 18px;
}
.sling-rope {
  position: absolute;
  top: 0;
  width: 8px;
  height: 42px;
  border-radius: 4px;
  background: linear-gradient(180deg, #8a7355, #6b563f);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.sling-rope-left { left: 22%; transform: rotate(-6deg); }
.sling-rope-right { right: 22%; transform: rotate(6deg); }
.sling-panel {
  position: relative;
  padding: 22px 20px 20px;
  border-radius: 12px;
  background:
    repeating-linear-gradient(45deg, rgba(122, 98, 68, .04) 0 2px, transparent 2px 6px),
    linear-gradient(180deg, #d8c4a8 0%, #c9b08f 100%);
  border: 1px solid rgba(107, 86, 63, .35);
  box-shadow:
    0 16px 36px rgba(42, 33, 24, .12),
    inset 0 1px 0 rgba(255,255,255,.25);
}
.sling-head { margin-bottom: 14px; }
.sling-brand {
  display: block;
  margin-bottom: 4px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(42, 33, 24, .62);
}
.sling-head h2 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.sling-head p {
  margin: 0;
  font-size: .78rem;
  color: rgba(42, 33, 24, .62);
}
.sling-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.sling-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(107, 86, 63, .28);
}
.sling-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,.35);
  border: 1px solid rgba(107, 86, 63, .22);
}
.sling-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sling-thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--terracotta-deep);
}
.sling-info strong {
  display: block;
  font-size: .82rem;
  line-height: 1.3;
}
.sling-info span {
  font-size: .72rem;
  color: rgba(42, 33, 24, .62);
}
.sling-price {
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
}
.sling-totals {
  margin: 0 0 12px;
  display: grid;
  gap: 6px;
}
.sling-totals div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: .8rem;
}
.sling-totals dt { color: rgba(42, 33, 24, .62); }
.sling-totals dd { margin: 0; font-weight: 600; }
.sling-grand {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(107, 86, 63, .28);
  border-bottom: 1px solid rgba(107, 86, 63, .28);
  margin-bottom: 12px;
}
.sling-grand strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--terracotta-deep);
}
.sling-notes {
  margin: 0;
  padding-left: 16px;
  font-size: .72rem;
  color: rgba(42, 33, 24, .62);
  line-height: 1.55;
}
.sling-stamp {
  position: absolute;
  bottom: 18px;
  right: 16px;
  padding: 4px 10px;
  border: 2px solid rgba(90, 125, 92, .55);
  border-radius: 4px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--moss);
  transform: rotate(-12deg);
  opacity: .72;
}

/* ── Cellar stepwell tracker (order-status.php) ── */
.page-cellar-stepwell .stepwell-hero {
  position: relative;
  padding: 36px 0 0;
  background:
    radial-gradient(circle at 50% 120%, rgba(90, 125, 92, .16), transparent 42%),
    linear-gradient(180deg, #1a1410 0%, var(--soil) 55%, #3d3026 100%);
  color: var(--chalk);
  overflow: hidden;
}
.stepwell-rings-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .22;
  pointer-events: none;
}
.stepwell-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(232, 212, 168, .35);
}
.stepwell-ring-1 { width: 120px; height: 120px; }
.stepwell-ring-2 { width: 220px; height: 220px; }
.stepwell-ring-3 { width: 320px; height: 320px; }
.stepwell-ring-4 { width: 420px; height: 420px; }
.stepwell-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 44px;
}
.stepwell-kicker {
  margin: 0 0 8px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(232, 212, 168, .75);
}
.stepwell-hero h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  line-height: 1.08;
}
.stepwell-hero h1 em { color: var(--wheat); font-style: italic; }
.stepwell-lede {
  margin: 0;
  max-width: 50ch;
  font-size: .92rem;
  color: rgba(247, 243, 235, .78);
}
.stepwell-depth-badge {
  display: grid;
  gap: 4px;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(247, 243, 235, .08);
  border: 1px solid rgba(232, 212, 168, .22);
}
.stepwell-depth-label {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(232, 212, 168, .7);
}
.stepwell-depth-code {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: .06em;
}
.stepwell-lip {
  position: relative;
  z-index: 2;
  height: 11px;
  background:
    repeating-linear-gradient(90deg, #6f5a48 0 24px, #5c4a3b 24px 48px),
    linear-gradient(180deg, rgba(0,0,0,.14), transparent);
}

.stepwell-stage {
  padding: 28px 0 68px;
  background:
    radial-gradient(circle at 8% 0%, rgba(196, 98, 45, .06), transparent 28%),
    linear-gradient(180deg, var(--chalk) 0%, var(--chalk-2) 100%);
}

.stepwell-deed {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 24px;
  padding: 22px 24px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, #fffdf8 0%, #f0e8d8 100%);
  border: 1px solid rgba(122, 111, 98, .22);
  box-shadow: 0 16px 36px rgba(42, 33, 24, .1);
}
.stepwell-deed.tone-logged { border-left: 5px solid var(--slate); }
.stepwell-deed.tone-sealed { border-left: 5px solid var(--terracotta); }
.stepwell-deed.tone-rolling { border-left: 5px solid #c4a24a; }
.stepwell-deed.tone-arrived { border-left: 5px solid var(--moss); }
.stepwell-deed.tone-held { border-left: 5px solid #8b4a42; }
.deed-wax {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--chalk);
  background: radial-gradient(circle at 30% 28%, #d47a42, var(--terracotta-deep));
  box-shadow: inset 0 2px 0 rgba(255,255,255,.22);
}
.deed-kicker {
  margin: 0 0 4px;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.deed-order-id {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  word-break: break-all;
}
.deed-status {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: var(--radius-round);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(58, 74, 92, .08);
  color: var(--slate);
}
.stepwell-deed.tone-sealed .deed-status { background: rgba(196, 98, 45, .12); color: var(--terracotta-deep); }
.stepwell-deed.tone-rolling .deed-status { background: rgba(196, 162, 74, .16); color: #8a6b2a; }
.stepwell-deed.tone-arrived .deed-status { background: rgba(90, 125, 92, .14); color: var(--moss); }
.stepwell-deed.tone-held .deed-status { background: rgba(139, 74, 66, .12); color: #8b4a42; }
.deed-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
}
.deed-meta div { display: grid; gap: 2px; }
.deed-meta dt {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.deed-meta dd { margin: 0; font-size: .88rem; font-weight: 600; }

.stepwell-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(260px, 320px);
  gap: 22px;
  align-items: start;
}
.stepwell-panel-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.stepwell-rings-panel,
.stepwell-scroll-panel,
.stepwell-clerk-desk {
  padding: 22px 20px 20px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgba(122, 111, 98, .16);
  box-shadow: 0 10px 28px rgba(42, 33, 24, .06);
}

.stepwell-ascent {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 0;
}
.stepwell-step {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 0 14px 8px;
  border-left: 3px solid rgba(122, 111, 98, .16);
  margin-left: 18px;
}
.stepwell-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: -2px;
  top: 44px;
  bottom: -14px;
  width: 3px;
  background: rgba(122, 111, 98, .12);
}
.stepwell-step.is-done { border-left-color: rgba(90, 125, 92, .45); }
.stepwell-step.is-done:not(:last-child)::after { background: rgba(90, 125, 92, .28); }
.stepwell-step.is-active { border-left-color: var(--terracotta); }
.stepwell-ring-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--chalk-2);
  border: 2px solid rgba(122, 111, 98, .22);
  margin-left: -36px;
}
.stepwell-step.is-done .stepwell-ring-mark {
  background: var(--moss-pale);
  border-color: var(--moss);
  color: var(--moss);
}
.stepwell-step.is-active .stepwell-ring-mark {
  background: var(--terracotta);
  border-color: var(--terracotta-deep);
  color: var(--chalk);
  box-shadow: 0 0 0 4px rgba(196, 98, 45, .16);
}
.stepwell-step-copy strong {
  display: block;
  font-size: .88rem;
  margin-bottom: 2px;
}
.stepwell-step-copy span {
  font-size: .76rem;
  color: var(--muted);
}
.stepwell-moss {
  position: absolute;
  right: 0;
  top: 50%;
  width: 28px;
  height: 12px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: transparent;
  opacity: 0;
}
.stepwell-step.is-done .stepwell-moss,
.stepwell-step.is-active .stepwell-moss {
  opacity: 1;
  background: radial-gradient(circle, rgba(90, 125, 92, .35), transparent 70%);
}

.stepwell-cancelled {
  padding: 18px;
  border-radius: 10px;
  background: rgba(139, 74, 66, .08);
  border: 1px dashed rgba(139, 74, 66, .28);
  margin-bottom: 18px;
}
.stepwell-cancel-stamp {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border: 2px solid #8b4a42;
  border-radius: 4px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: #8b4a42;
  transform: rotate(-8deg);
}
.stepwell-cancelled p {
  margin: 0;
  font-size: .88rem;
  color: var(--muted);
}

.stepwell-route-card {
  padding: 14px;
  border-radius: 10px;
  background: var(--chalk);
  border: 1px dashed rgba(122, 111, 98, .22);
}
.stepwell-route-card h4 {
  margin: 0 0 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.stepwell-route-card p {
  margin: 0 0 4px;
  font-size: .84rem;
  line-height: 1.45;
}
.stepwell-phone {
  margin-top: 8px !important;
  font-weight: 600;
  color: var(--terracotta-deep);
}

.stepwell-scroll-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(122, 111, 98, .2);
}
.scroll-pin {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 2px 0 rgba(0,0,0,.12);
}
.stepwell-scroll-head h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.stepwell-scroll-head p {
  margin: 0;
  font-size: .78rem;
  color: var(--muted);
}
.stepwell-scroll-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.stepwell-scroll-row {
  display: grid;
  grid-template-columns: 40px 28px minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(122, 111, 98, .16);
}
.scroll-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--chalk-2);
  border: 1px solid rgba(122, 111, 98, .16);
}
.scroll-thumb img { width: 100%; height: 100%; object-fit: cover; }
.scroll-thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--terracotta-deep);
  font-size: .85rem;
}
.scroll-num {
  font-size: .68rem;
  font-weight: 700;
  color: var(--muted);
}
.scroll-name {
  font-size: .82rem;
  line-height: 1.3;
}
.scroll-qty {
  font-size: .72rem;
  color: var(--muted);
}
.scroll-amt {
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
}
.stepwell-scroll-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 12px;
  border-top: 1px solid rgba(122, 111, 98, .18);
}
.stepwell-scroll-total strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--terracotta-deep);
}

.clerk-desk-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.clerk-chalk-hook {
  width: 28px;
  height: 8px;
  margin-top: 6px;
  border-radius: 4px;
  background: linear-gradient(180deg, #8a7355, #6b563f);
  position: relative;
}
.clerk-chalk-hook::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 8px;
  width: 2px;
  height: 18px;
  transform: translateX(-50%);
  background: rgba(122, 111, 98, .35);
}
.clerk-desk-head h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.clerk-desk-head p {
  margin: 0;
  font-size: .78rem;
  color: var(--muted);
}
.clerk-field {
  display: block;
  margin-bottom: 12px;
}
.clerk-label {
  display: block;
  margin-bottom: 6px;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.clerk-field input,
.clerk-field select,
.clerk-field textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(122, 111, 98, .24);
  background: var(--chalk);
  font: inherit;
}
.clerk-field input:focus,
.clerk-field select:focus,
.clerk-field textarea:focus {
  outline: 2px solid rgba(196, 98, 45, .3);
  border-color: var(--terracotta);
}
.clerk-submit { width: 100%; margin-top: 4px; }
.clerk-log {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed rgba(122, 111, 98, .2);
}
.clerk-log h4 {
  margin: 0 0 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.clerk-log-item {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(122, 111, 98, .14);
}
.clerk-log-item:last-child { border-bottom: 0; }
.clerk-log-item strong {
  display: block;
  font-size: .82rem;
  margin-bottom: 4px;
}
.clerk-log-item p {
  margin: 0 0 4px;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.45;
}
.clerk-log-item time {
  font-size: .68rem;
  color: var(--muted);
}

.stepwell-foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.page-stepwell-lost .stepwell-lost {
  position: relative;
  min-height: 420px;
  padding: 64px 0;
  background:
    radial-gradient(circle at 50% 80%, rgba(90, 125, 92, .1), transparent 40%),
    linear-gradient(180deg, var(--chalk) 0%, var(--chalk-2) 100%);
  overflow: hidden;
}
.stepwell-lost-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .12;
  pointer-events: none;
}
.stepwell-lost-rings span {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(58, 74, 92, .35);
}
.stepwell-lost-rings span:nth-child(1) { width: 140px; height: 140px; }
.stepwell-lost-rings span:nth-child(2) { width: 260px; height: 260px; }
.stepwell-lost-rings span:nth-child(3) { width: 380px; height: 380px; }
.stepwell-lost-wrap {
  position: relative;
  z-index: 1;
  max-width: 520px;
  text-align: center;
}
.stepwell-lost-lantern {
  display: block;
  width: 22px;
  height: 32px;
  margin: 0 auto 16px;
  border-radius: 4px 4px 8px 8px;
  background: linear-gradient(180deg, #6b563f, #4a3828);
  opacity: .55;
}
.stepwell-lost h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.65rem;
}
.stepwell-lost p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: .92rem;
}
.stepwell-lost-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Cellar lot inspection bench (product.php) ── */
.page-cellar-lot .lot-inspect-hero {
  position: relative;
  padding: 24px 0 0;
  background:
    radial-gradient(circle at 14% 80%, rgba(90, 125, 92, .12), transparent 34%),
    linear-gradient(180deg, #3d3026 0%, var(--soil) 52%, #2a2118 100%);
  color: var(--chalk);
}
.inspect-hero-soil {
  position: absolute;
  inset: auto 0 28px;
  height: 16px;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.06) 0 20px, transparent 20px 40px),
    linear-gradient(180deg, #6b5438, #4a3828);
  opacity: .45;
}
.inspect-hero-inner {
  position: relative;
  z-index: 1;
  padding-bottom: 36px;
}
.inspect-trail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: .78rem;
}
.inspect-trail a {
  color: rgba(232, 212, 168, .82);
  font-weight: 600;
}
.inspect-trail a:hover { color: var(--wheat); }
.inspect-trail-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(232, 212, 168, .45);
}
.inspect-trail-current {
  color: rgba(247, 243, 235, .62);
}
.inspect-kicker {
  margin: 0;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(232, 212, 168, .75);
}
.inspect-hero-ridge {
  position: relative;
  z-index: 2;
  height: 10px;
  background:
    repeating-linear-gradient(90deg, #6f5a48 0 24px, #5c4a3b 24px 48px),
    linear-gradient(180deg, rgba(0,0,0,.12), transparent);
}

.lot-inspect-stage {
  padding: 32px 0 56px;
  background:
    radial-gradient(circle at 88% 0%, rgba(196, 98, 45, .05), transparent 28%),
    linear-gradient(180deg, var(--chalk) 0%, var(--chalk-2) 100%);
}
.lot-inspect-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: start;
}

.inspect-cradle-wrap {
  display: grid;
  gap: 18px;
}
.inspect-cradle {
  position: relative;
  padding: 0 0 18px;
}
.cradle-lip {
  height: 12px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #8b7355, #6f5a42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.inspect-cradle.tone-night .cradle-lip { background: linear-gradient(180deg, #b84a32, #8f3a28); }
.inspect-cradle.tone-root .cradle-lip { background: linear-gradient(180deg, #8a6238, #6d4d2d); }
.inspect-cradle.tone-squash .cradle-lip { background: linear-gradient(180deg, #d4881d, #b87318); }
.inspect-cradle.tone-green .cradle-lip { background: linear-gradient(180deg, #6b9268, var(--moss)); }
.inspect-cradle.tone-onion .cradle-lip { background: linear-gradient(180deg, #c4a24a, #9a7b3c); }
.inspect-cradle.tone-bean .cradle-lip { background: linear-gradient(180deg, #6d9468, #4a7348); }
.inspect-cradle.tone-herb .cradle-lip { background: linear-gradient(180deg, #5f9a72, #3d7250); }

.cradle-frame {
  position: relative;
  padding: 18px 18px 28px;
  background:
    linear-gradient(180deg, #f8f4ec 0%, #ebe3d4 100%);
  border: 1px solid rgba(122, 111, 98, .22);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 18px 40px rgba(42, 33, 24, .12);
}
.cradle-lot-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-round);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--slate);
  color: var(--chalk);
}
.cradle-fresh-stamp {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--moss);
  border: 2px solid var(--moss);
  transform: rotate(8deg);
  background: rgba(255,255,255,.72);
}
.cradle-photo {
  margin: 0;
  padding: 14px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid rgba(58, 74, 92, .12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.cradle-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
}
.cradle-soil-bed {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 8px;
  height: 22px;
  display: flex;
  gap: 4px;
  align-items: flex-end;
  opacity: .55;
  pointer-events: none;
}
.cradle-soil-bed span {
  flex: 1;
  height: 8px;
  border-radius: 50% 50% 0 0;
  background: #5c4a38;
}
.cradle-soil-bed span:nth-child(2) { height: 12px; }
.cradle-soil-bed span:nth-child(3) { height: 16px; }
.cradle-soil-bed span:nth-child(4) { height: 11px; }
.cradle-soil-bed span:nth-child(5) { height: 9px; }
.cradle-nail-tag {
  position: absolute;
  top: 48px;
  left: -8px;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--chalk);
  background: var(--terracotta-deep);
  transform: rotate(-90deg);
  transform-origin: left top;
  box-shadow: 0 4px 10px rgba(154, 74, 34, .28);
}

.inspect-hygro {
  display: grid;
  grid-template-columns: auto 28px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid rgba(122, 111, 98, .16);
}
.hygro-label {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hygro-tube {
  position: relative;
  width: 18px;
  height: 72px;
  border-radius: 10px;
  background: linear-gradient(180deg, #e8eef0, #c8d4d8);
  border: 1px solid rgba(58, 74, 92, .18);
  overflow: hidden;
}
.hygro-fill {
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 2px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, #8ec4d8, #5a9ab8);
}
.hygro-mark {
  position: absolute;
  left: -4px;
  right: -4px;
  height: 1px;
  background: rgba(58, 74, 92, .22);
}
.hygro-mark-high { top: 18%; }
.hygro-mark-mid { top: 50%; }
.hygro-note {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.45;
}

.inspect-promise {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.inspect-promise li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  color: var(--muted);
}
.promise-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--moss);
  flex-shrink: 0;
}

.lot-brief {
  padding: 24px 22px 22px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid rgba(122, 111, 98, .16);
  box-shadow: 0 14px 32px rgba(42, 33, 24, .08);
}
.lot-brief.tone-night { border-top: 4px solid #b84a32; }
.lot-brief.tone-root { border-top: 4px solid #8a6238; }
.lot-brief.tone-squash { border-top: 4px solid #d4881d; }
.lot-brief.tone-green { border-top: 4px solid var(--moss); }
.lot-brief.tone-onion { border-top: 4px solid #c4a24a; }
.lot-brief.tone-bean { border-top: 4px solid #6d9468; }
.lot-brief.tone-herb { border-top: 4px solid #5f9a72; }
.lot-brief.tone-all { border-top: 4px solid var(--terracotta); }

.lot-row-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-round);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--moss-pale);
  color: var(--moss);
}
.lot-brief h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.12;
}
.lot-pack-line {
  margin: 0 0 12px;
  font-size: .88rem;
  color: var(--muted);
}
.lot-desc {
  margin: 0 0 18px;
  font-size: .92rem;
  line-height: 1.65;
  color: var(--ink);
}

.lot-slate-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}
.slate-fact {
  padding: 12px 10px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, #3a4a5c 0%, #2a3542 100%);
  color: var(--chalk);
  text-align: center;
}
.slate-label {
  display: block;
  margin-bottom: 4px;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(247, 243, 235, .62);
}
.slate-fact strong {
  font-family: var(--font-display);
  font-size: .92rem;
  word-break: break-word;
}

.lot-weigh-block {
  padding-top: 18px;
  border-top: 1px dashed rgba(122, 111, 98, .22);
}
.weigh-plate {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--chalk);
  border: 1px solid rgba(122, 111, 98, .16);
}
.weigh-label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.weigh-price {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--terracotta-deep);
  line-height: 1;
}
.weigh-note {
  font-size: .76rem;
  color: var(--muted);
}
.lot-crate-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}
.lot-qty-label {
  grid-column: 1 / -1;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.lot-qty {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(122, 111, 98, .24);
  background: var(--white);
  font: inherit;
}
.lot-crate-btn { white-space: nowrap; }
.lot-fine {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  font-size: .74rem;
  color: var(--muted);
  line-height: 1.5;
}

.lot-row-neighbors {
  padding: 0 0 64px;
  background: var(--chalk-2);
}
.row-neighbors-head {
  margin-bottom: 18px;
}
.row-neighbors-head h2 {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
}
.row-neighbors-pegboard {
  position: relative;
  padding: 22px 16px 18px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, #ebe1cf 0%, #d8ccb8 100%);
  border: 1px solid rgba(122, 111, 98, .22);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.35);
}
.neighbors-slat {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(180deg, #9a7b52, #7a6140);
  opacity: .65;
}
.neighbors-tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
}
.neighbor-tag {
  position: relative;
  display: grid;
  gap: 6px;
  width: min(160px, calc(50% - 6px));
  padding: 12px 10px 10px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid rgba(58, 74, 92, .12);
  box-shadow: 0 8px 18px rgba(42, 33, 24, .08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.neighbor-tag:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(42, 33, 24, .12);
}
.neighbor-nail {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 10px;
  height: 10px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, #d8d0c4, #a89888);
  box-shadow: 0 2px 4px rgba(0,0,0,.12);
}
.neighbor-thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--chalk-2);
}
.neighbor-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.neighbor-sku {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.neighbor-name {
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.3;
}
.neighbor-price {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--terracotta-deep);
}
.neighbor-tag.tag-night { border-top: 3px solid #b84a32; }
.neighbor-tag.tag-root { border-top: 3px solid #8a6238; }
.neighbor-tag.tag-squash { border-top: 3px solid #d4881d; }
.neighbor-tag.tag-green { border-top: 3px solid var(--moss); }
.neighbor-tag.tag-onion { border-top: 3px solid #c4a24a; }
.neighbor-tag.tag-bean { border-top: 3px solid #6d9468; }
.neighbor-tag.tag-herb { border-top: 3px solid #5f9a72; }

.page-lot-lost .lot-inspect-lost {
  padding: 64px 0;
  background:
    radial-gradient(circle at 50% 100%, rgba(90, 125, 92, .08), transparent 40%),
    linear-gradient(180deg, var(--chalk) 0%, var(--chalk-2) 100%);
}
.lot-lost-wrap {
  max-width: 480px;
  text-align: center;
}
.lot-lost-cradle {
  position: relative;
  width: min(200px, 60vw);
  height: 140px;
  margin: 0 auto 18px;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, #ebe1cf, #d8ccb8);
  border: 1px dashed rgba(122, 111, 98, .35);
}
.lost-cradle-lip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #8b7355, #6f5a42);
  opacity: .55;
}
.lost-cradle-mark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--muted);
  opacity: .45;
}
.lot-inspect-lost h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.55rem;
}
.lot-inspect-lost p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .92rem;
}

/* Responsive */
@media (max-width: 1100px) {
  .beam-layout { grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; }
  .beam-nav { display: none; }
  .row-toggle { display: flex; }
  .field-row-shelf { display: none; }
  .cellar-search { grid-column: 1 / -1; order: 10; width: 100%; }
  .cellar-beam { padding: 14px 0 22px; }
  .hero-cellar-grid,
  .hero-visual-mosaic,
  .promo-split-grid,
  .catalog-layout,
  .dual,
  .product-layout,
  .harvest-desk-grid { grid-template-columns: 1fr; }
  .terrace-grid { grid-template-columns: repeat(3, 1fr); }
  .filter-panel { position: static; }
  .stepwell-scroll-row {
    grid-template-columns: 40px minmax(0, 1fr) auto;
  }
  .scroll-num { display: none; }
}

@media (max-width: 900px) {
  .harvest-shelf-head { flex-direction: column; align-items: flex-start; }
  .harvest-shelf-hint { text-align: left; max-width: none; }
  .harvest-bin.bin-offset { transform: none; }
  .harvest-bin.bin-offset:hover { transform: translateY(-4px); }
  .harvest-bin-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .cellar-track-grid { grid-template-columns: 1fr; }
  .ledger-strip-grid { grid-template-columns: 1fr; }
  .ledger-strip-offset { transform: none; }
  .ledger-strip-offset:hover { transform: translateY(-3px); }
  .waybill-stats { grid-template-columns: 1fr; }
  .load-bench-layout { grid-template-columns: 1fr; }
  .load-lot {
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-areas:
      "thumb copy"
      "qty total";
  }
  .load-lot-rail,
  .load-lot-num { display: none; }
  .load-lot-thumb { grid-area: thumb; }
  .load-lot-copy { grid-area: copy; }
  .load-lot-qty { grid-area: qty; }
  .load-lot-total { grid-area: total; text-align: left; }
  .ramp-gate-layout { grid-template-columns: 1fr; }
  .stepwell-grid { grid-template-columns: 1fr; }
  .stepwell-deed { grid-template-columns: 1fr; }
  .deed-meta { grid-template-columns: 1fr 1fr; }
  .lot-inspect-grid { grid-template-columns: 1fr; }
  .lot-slate-facts { grid-template-columns: 1fr; }
  .lot-crate-form { grid-template-columns: 1fr; }
  .lot-crate-btn { width: 100%; }
  .neighbor-tag { width: min(180px, calc(50% - 6px)); }
  .folio-fields-duo,
  .folio-fields-route { grid-template-columns: 1fr; }
  .ramp-clear-btn { margin-left: 0; width: 100%; }
  .folio-actions { flex-direction: column; align-items: stretch; }
  .folio-actions .btn-soft { text-align: center; }
  .hero-mini-grid { grid-template-columns: 1fr 1fr; }
  .terrace-grid { grid-template-columns: 1fr 1fr; }
  .ramp-hero-inner,
  .stepwell-hero-inner,
  .ledger-hero-inner,
  .load-dock-head,
  .inspect-hero-inner,
  .vault-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .ramp-pass-badge,
  .stepwell-depth-badge,
  .ledger-pass-badge { width: 100%; }
  .stepwell-foot-nav,
  .folio-actions,
  .ledger-guest-actions { width: 100%; }
  .stepwell-foot-nav .btn,
  .ledger-guest-actions .btn { flex: 1 1 auto; }
  .cradle-nail-tag { display: none; }
  .inspect-hygro { grid-template-columns: 1fr auto; }
  .hygro-note { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .container { width: min(1180px, calc(100% - 24px)); }
  .hero-cellar { padding: 32px 0 40px; }
  .hero-text-block h1 { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-visual-mosaic { grid-template-columns: 1fr; }
  .hero-feature img { aspect-ratio: 16/10; }
  .row-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 40px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .product-diamond-grid,
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
  .promo-split-grid,
  .catalog-layout { grid-template-columns: 1fr; }
  .showcase-strip { grid-template-columns: 90px 1fr; }
  .harvest-bin-grid { grid-template-columns: 1fr; }
  .pegboard-tags { gap: 10px; }
  .peg-tag { flex-basis: min(156px, 78vw); }
  .harvest-desk-search,
  .harvest-search-shell { width: 100%; }
  .harvest-search-shell { display: flex; }
  .harvest-search-shell input { flex: 1; min-width: 0; }
  .clipboard-form .clipboard-actions { flex-direction: column; align-items: stretch; }
  .clipboard-actions .btn { width: 100%; text-align: center; }
  .waybill-head { flex-direction: column; align-items: flex-start; }
  .root-path { padding-bottom: 8px; }
  .root-path-node { flex-basis: 76px; }
  .ledger-clipboard-unit { padding: 24px 16px 20px 34px; }
  .ledger-strip-grid { gap: 14px; }
  .ledger-clipboard-unit { padding-left: 28px; }
  .clipboard-spiral { left: 10px; width: 14px; }
  .dispatch-folio,
  .lot-brief,
  .stepwell-rings-panel,
  .stepwell-scroll-panel,
  .stepwell-clerk-desk,
  .burlap-sling,
  .inspect-cradle-wrap,
  .lot-brief { margin-bottom: 0; }
  .neighbors-tags { justify-content: center; }
  .neighbor-tag { width: calc(50% - 6px); }
  .stepwell-scroll-row {
    grid-template-columns: 40px minmax(0, 1fr) auto auto;
  }
  .deed-meta { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .buy-form { flex-direction: column; align-items: stretch; }
  .buy-form .btn { width: 100%; }
  .spec-list { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .policy-nav { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
}

@media (max-width: 520px) {
  .container { width: min(1180px, calc(100% - 20px)); }
  .stripe-flex { justify-content: center; text-align: center; }
  .stripe-chips { display: none; }
  .stripe-mark { font-size: .62rem; }
  .brand-kicker,
  .brand-tag { display: none; }
  .brand-name { font-size: 1.08rem; }
  .brand-mark { width: 44px; height: 44px; }
  .beam-layout { gap: 10px 12px; }
  .tool-account span {
    display: inline;
    font-size: .68rem;
    max-width: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .tool-account { padding: 7px 10px; max-width: 118px; }
  .tool-crate { padding: 7px 10px; }
  .crate-label { display: none; }
  .row-toggle { padding: 8px 10px; }
  .row-toggle-text { font-size: .76rem; }
  .cellar-search input { padding: 10px 12px; }
  .search-harvest { padding: 10px 14px; }
  .hero-stats { gap: 12px; width: 100%; }
  .hero-stats li { flex: 1; min-width: 88px; }
  .hero-actions { grid-template-columns: 1fr; }
  .hero-mini-grid { grid-template-columns: 1fr 1fr; }
  .row-grid { grid-template-columns: 1fr; }
  .terrace-grid { grid-template-columns: 1fr; }
  .terrace-base { text-align: center; }
  .ramp-peg-rail { flex-direction: column; gap: 10px; align-items: stretch; }
  .ramp-peg { justify-content: center; padding: 0; }
  .ramp-peg:not(:last-child)::after { display: none; }
  .ramp-peg-rail,
  .stepwell-ascent { margin-bottom: 18px; }
  .drawer-quick { grid-template-columns: 1fr; }
  .drawer-row-grid { grid-template-columns: 1fr; }
  .drawer-panel { width: 100vw; }
  .drawer-search { margin-top: 14px; }
  .drawer-main-link,
  .drawer-field-link,
  .drawer-quick-btn { min-height: 56px; }
  .showcase-strip { grid-template-columns: 1fr; }
  .showcase-thumb { display: none; }
  .product-diamond-grid,
  .product-grid { grid-template-columns: 1fr; }
  .load-bench-actions { flex-direction: column; align-items: stretch; }
  .load-bench-actions .btn { width: 100%; text-align: center; }
  .chalk-tally-frame { display: none; }
  .neighbor-tag { width: 100%; }
  .neighbors-tags { flex-direction: column; align-items: stretch; }
  .lot-weigh-block .lot-crate-form { grid-template-columns: 1fr; }
  .inspect-trail { font-size: .72rem; }
  .stepwell-cancel-stamp,
  .cradle-fresh-stamp { position: static; display: inline-block; margin-bottom: 8px; }
  .cradle-fresh-stamp { position: absolute; top: 12px; right: 12px; }
  .folio-header { flex-direction: column; }
  .sling-stamp { position: static; display: inline-block; margin-top: 10px; transform: none; }
  .ledger-status-stamp { position: static; margin-bottom: 10px; transform: none; display: inline-block; }
  .ledger-strip-head { padding-right: 0; }
  .stepwell-scroll-row { grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: "thumb name" "thumb qty" "amt amt"; }
  .scroll-thumb { grid-area: thumb; }
  .scroll-name { grid-area: name; }
  .scroll-qty { grid-area: qty; }
  .scroll-amt { grid-area: amt; justify-self: end; }
  .btn { padding: 12px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .row-drawer,
  .drawer-panel,
  .row-bars span,
  .drawer-main-link,
  .drawer-field-link,
  .drawer-quick-btn,
  .row-toggle {
    transition: none !important;
  }
}

/* Mobile polish — shared page layouts */
@media (max-width: 768px) {
  .lot-inspect-grid,
  .product-layout,
  .dual,
  .harvest-desk-grid,
  .load-bench-layout,
  .ramp-gate-layout,
  .stepwell-grid,
  .cellar-track-grid,
  .help-wall-grid,
  .policy-layout {
    grid-template-columns: 1fr !important;
  }
  .policy-content,
  .legal-copy,
  .help-desk-card {
    overflow-wrap: anywhere;
  }
  .terrace-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding-top: 28px;
  }
  .terrace-brand { grid-column: 1 / -1; }
  .terrace-base { text-align: center; }
  .member-crate-desk,
  .ledger-sheets,
  .admission-gate,
  .form-card,
  .summary-card,
  .load-bench-card {
    border-radius: 14px;
  }
  .page-main .section { padding-left: 0; padding-right: 0; }
  .page-main .container > .section-head,
  .page-main .container > h1,
  .page-main .container > .eyebrow {
    padding-inline: 0;
  }
}

@media (max-width: 520px) {
  .terrace-grid { grid-template-columns: 1fr; }
  .help-hooks { grid-template-columns: 1fr; }
  .policy-nav a { white-space: nowrap; }
  .member-profile-grid,
  .member-orders-grid,
  .profile-grid,
  .order-row {
    grid-template-columns: 1fr !important;
  }
  .ledger-guest-actions,
  .ledger-guest-actions .btn,
  .ledger-guest-actions .btn-signin {
    width: 100%;
  }
  .ledger-guest-actions {
    display: grid;
    gap: 10px;
  }
}
