/*
 * FQM Christmas — "the butcher's ledger".
 * Black, bone and silver foil. Archivo Black as a heavy condensed mast against
 * fine letter-spaced marks; hairline rules and ledger rows borrowed from weight
 * tickets and grade stamps. Boldness spent on the mast + seal; ordering stays
 * disciplined.
 */
:root {
  --ink: #08080a;
  --ink-2: #101014;
  --panel: #131317;
  --panel-2: #191920;
  --hair: #2b2b33;
  --hair-fine: #201f26;
  --bone: #f4f2ed;
  --bone-dim: #cfcbc2;
  --steel: #9d9daa;
  --steel-dim: #6f6f7c;
  --foil-1: #fbfbfc;
  --foil-2: #c6c6cf;
  --foil-3: #8e8e99;
  --ok: #86d9a6;
  --danger: #ff9b9b;
  --touch: 52px;
  --maxw: 1080px;
  --foil: linear-gradient(112deg, #fdfdfe 0%, #cdcdd6 26%, #8d8d99 48%, #e6e6ec 70%, #a5a5b1 100%);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Archivo", system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--ink);
  color: var(--bone);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2 { margin: 0; }

/* ============ hero: split, type left, cut right ============ */
.hero {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  min-height: 100svh;
  align-items: stretch;
}
.hero-type {
  padding: clamp(28px, 4vw, 60px) clamp(22px, 3.4vw, 56px) clamp(34px, 4vw, 56px);
  display: flex; flex-direction: column; justify-content: center;
  border-right: 1px solid var(--hair);
}
.rule-top { height: 1px; background: var(--hair); margin-bottom: 22px; }
.est {
  font-family: "Archivo Narrow", sans-serif;
  font-size: .74rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--steel); margin: 0 0 clamp(20px, 3vw, 38px);
}

/* the mast — scale contrast is the whole idea */
.mast { display: block; line-height: .84; margin-bottom: clamp(20px, 2.6vw, 30px); }
.mast-l1, .mast-l2 {
  display: block; font-family: "Archivo Black", sans-serif; font-weight: 400;
  color: var(--bone); letter-spacing: -.022em;
}
.mast-l1 { font-size: clamp(2.5rem, 7.4vw, 5.1rem); }
.mast-l2 {
  font-size: clamp(4.6rem, 14vw, 9.6rem);
  background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-left: -.045em;
}
.mast-l3 {
  display: block; font-family: "Archivo Narrow", sans-serif; font-weight: 500;
  font-size: clamp(1.05rem, 2.3vw, 1.5rem); letter-spacing: .2em; text-transform: uppercase;
  color: var(--steel); margin-top: .5em; padding-left: .16em;
}
.mast-sub {
  font-size: clamp(.98rem, 1.3vw, 1.08rem); color: var(--bone-dim);
  max-width: 40ch; margin: 0 0 clamp(24px, 3vw, 36px);
}

.hero-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px; }
.dates {
  margin: 0; display: grid; grid-template-columns: auto auto; gap: 1px 12px;
  font-family: "Archivo Narrow", sans-serif; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
}
.dates span { color: var(--steel-dim); }
.dates strong { color: var(--bone); font-weight: 600; }

/* the cut — photo full bleed, no smothering scrim */
.hero-cut { position: relative; overflow: hidden; background: var(--ink-2); min-height: 46svh; }
.hero-cut img {
  width: 100%; height: 100%; object-fit: cover; object-position: 58% 46%;
  filter: contrast(1.06) saturate(.94) brightness(.96);
}
.hero-cut::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(255deg, transparent 58%, rgba(8,8,10,.55) 100%);
}

/* the seal — foil-blocked grade stamp */
.seal {
  position: absolute; right: clamp(16px, 2.2vw, 30px); bottom: clamp(16px, 2.2vw, 30px);
  width: clamp(112px, 13vw, 150px); aspect-ratio: 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  background: rgba(8,8,10,.66); backdrop-filter: blur(3px);
  border: 1px solid rgba(198,198,207,.5);
  box-shadow: 0 0 0 5px rgba(8,8,10,.45), inset 0 0 0 1px rgba(253,253,254,.14);
  text-align: center; font-family: "Archivo Narrow", sans-serif; z-index: 2;
}
.seal-top, .seal-bot { font-size: .56rem; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); }
.seal-bot { max-width: 84%; line-height: 1.25; }
.seal-big {
  font-family: "Archivo Black", sans-serif; font-size: clamp(1.15rem, 2.2vw, 1.55rem); line-height: 1;
  background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.seal-year { font-size: .62rem; letter-spacing: .22em; color: var(--bone-dim); margin-bottom: 2px; }

/* ============ buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--touch); padding: 0 34px; font-family: "Archivo Narrow", sans-serif;
  font-size: .92rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  border: 0; border-radius: 0; cursor: pointer; text-decoration: none;
  transition: filter .16s ease, transform .12s ease;
}
.btn-foil { background: var(--foil); color: #0b0b0e; box-shadow: inset 0 1px 0 rgba(255,255,255,.55); }
.btn-foil:hover { filter: brightness(1.07); }
.btn-foil:active { transform: translateY(1px); }
.btn-block { width: 100%; }
.btn:disabled { filter: grayscale(.7) brightness(.55); cursor: not-allowed; transform: none; }
:focus-visible { outline: 2px solid var(--foil-2); outline-offset: 3px; }

/* ============ marks strip ============ */
.marks { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: #050506; }
.marks-inner {
  max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr);
}
.mark { padding: 26px 24px; display: flex; flex-direction: column; gap: 7px; border-right: 1px solid var(--hair-fine); }
.mark:last-child { border-right: 0; }
.mark-n {
  font-family: "Archivo Black", sans-serif; font-size: 1.75rem; line-height: 1;
  background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -.015em;
}
.mark-u { font-size: .9rem; }
.mark-t {
  font-family: "Archivo Narrow", sans-serif; font-size: .74rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--steel); line-height: 1.45;
}

/* ============ layout ============ */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 3vw, 40px) 20px; }
.sec { padding: clamp(48px, 6vw, 84px) 0; border-bottom: 1px solid var(--hair-fine); }
.sec:last-child { border-bottom: 0; }
.sec-head { display: grid; grid-template-columns: auto 1fr; gap: 22px; margin-bottom: 32px; align-items: start; }
.sec-num {
  font-family: "Archivo Narrow", sans-serif; font-size: .78rem; letter-spacing: .18em;
  color: var(--steel-dim); padding-top: .55em; border-top: 1px solid var(--hair); min-width: 34px;
}
.sec-head h2 {
  font-family: "Archivo Black", sans-serif; font-weight: 400;
  font-size: clamp(1.7rem, 4vw, 2.7rem); letter-spacing: -.02em; line-height: 1; margin-bottom: 12px;
}
.sec-lead { color: var(--steel); max-width: 56ch; margin: 0; font-size: .98rem; }

/* ============ products as ledger entries ============ */
.products { display: flex; flex-direction: column; }
.loading, .summary-empty, .list-state { color: var(--steel-dim); padding: 26px 0; font-family: "Archivo Narrow", sans-serif; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; }
.list-state-error { color: var(--danger); }

.product {
  border-top: 1px solid var(--hair);
  padding: 30px 0;
  display: grid; grid-template-columns: 1fr auto; gap: 12px 40px; align-items: start;
}
.product:last-child { border-bottom: 1px solid var(--hair); }
.product h3 {
  font-family: "Archivo Black", sans-serif; font-weight: 400; font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  letter-spacing: -.015em; margin: 0 0 8px; line-height: 1.05;
  grid-column: 1; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.badge {
  font-family: "Archivo Narrow", sans-serif; font-size: .6rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: #0b0b0e; background: var(--foil); padding: 4px 9px;
}
.product .muted, .product .blurb { grid-column: 1; color: var(--steel); font-size: .95rem; margin: 0 0 16px; max-width: 44ch; }
.product .small { font-size: .95rem; }

/* tier pricing as a scale chart */
.tiers { grid-column: 1; display: flex; flex-wrap: wrap; gap: 0; border-left: 1px solid var(--hair-fine); }
.tier {
  font-family: "Archivo Narrow", sans-serif; font-size: .82rem; letter-spacing: .06em;
  color: var(--bone-dim); padding: 7px 16px; border-right: 1px solid var(--hair-fine);
  border-top: 1px solid var(--hair-fine); border-bottom: 1px solid var(--hair-fine);
}
.price { grid-column: 1; font-family: "Archivo Black", sans-serif; font-size: 1.35rem; margin: 0 0 4px; }
.price.poa { color: var(--steel); font-family: "Archivo Narrow", sans-serif; letter-spacing: .16em; text-transform: uppercase; font-size: 1rem; }

/* qty — ticket counter */
.qty { grid-column: 2; grid-row: 1 / span 4; display: inline-flex; align-items: stretch; border: 1px solid var(--hair); background: var(--panel); align-self: center; }
.qty .qty-btn {
  width: var(--touch); min-height: var(--touch); border: 0; background: transparent; color: var(--bone);
  font-size: 1.35rem; line-height: 1; cursor: pointer; border-radius: 0; padding: 0; font-weight: 400;
  box-shadow: none; letter-spacing: 0; text-transform: none;
  transition: background .14s ease;
}
.qty .qty-btn:hover { background: var(--panel-2); filter: none; transform: none; }
.qty-input {
  width: 72px; text-align: center; border: 0; border-left: 1px solid var(--hair); border-right: 1px solid var(--hair);
  background: transparent; color: var(--bone); font-family: "Archivo Black", sans-serif; font-size: 1.05rem;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ============ fields ============ */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; }
.field-wide { grid-column: 1 / -1; }
label {
  display: block; font-family: "Archivo Narrow", sans-serif; font-size: .74rem; letter-spacing: .17em;
  text-transform: uppercase; color: var(--steel); margin-bottom: 9px;
}
.opt { color: var(--steel-dim); letter-spacing: .12em; }
input, textarea {
  width: 100%; min-height: var(--touch); padding: 12px 2px; font: inherit; font-size: 1rem;
  color: var(--bone); background: transparent;
  border: 0; border-bottom: 1px solid var(--hair); border-radius: 0;
  transition: border-color .18s ease;
}
input:focus, textarea:focus { outline: none; border-bottom-color: var(--foil-2); }
input::placeholder { color: var(--steel-dim); }
textarea { resize: vertical; border: 1px solid var(--hair); padding: 12px 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ============ summary ledger ============ */
.summary { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); margin-bottom: 28px; }
.sumrow { display: flex; justify-content: space-between; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--hair-fine); }
.sumrow:last-child { border-bottom: 0; }
.sumrow span:first-child { color: var(--steel); font-size: .95rem; }
.sumrow span:last-child { color: var(--bone); font-variant-numeric: tabular-nums; }
.sumrow.total { border-top: 1px solid var(--hair); border-bottom: 0; }
.sumrow.total span { color: var(--bone) !important; font-family: "Archivo Black", sans-serif; font-size: 1.15rem; }
.sumrow.below span:last-child { color: var(--danger); }
.summary .muted { color: var(--steel-dim); font-size: .85rem; padding: 6px 0 14px; margin: 0; }
.summary .warn-text { color: var(--danger); font-size: .88rem; padding: 6px 0 14px; margin: 0; }

.agree { display: flex; gap: 14px; align-items: flex-start; color: var(--steel); font-size: .95rem; margin-bottom: 24px; cursor: pointer; }
.agree input { width: 20px; height: 20px; min-height: 20px; margin: 3px 0 0; flex: none; accent-color: #c6c6cf; }
.agree a { color: var(--bone); text-underline-offset: 3px; }
.reassure { color: var(--steel-dim); font-size: .87rem; margin: 16px 0 0; max-width: 52ch; }

.result { border: 1px solid #2e4d3b; background: #0b1410; padding: 26px; margin-top: 24px; }
.result h3 { font-family: "Archivo Black", sans-serif; font-weight: 400; color: var(--ok); font-size: 1.4rem; margin: 0 0 10px; }
.result p { color: var(--bone-dim); margin: 0; }

.banner { padding: 15px 18px; border: 1px solid var(--hair); border-left: 3px solid var(--foil-3); background: var(--panel); margin: 28px 0; }

/* ============ terms as a ledger ============ */
.terms-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--hair-fine); }
.terms-list li {
  display: grid; grid-template-columns: 130px 1fr; gap: 20px;
  padding: 14px 0; border-bottom: 1px solid var(--hair-fine); color: var(--bone-dim); font-size: .93rem;
}
.terms-list li span {
  font-family: "Archivo Narrow", sans-serif; font-size: .72rem; letter-spacing: .17em;
  text-transform: uppercase; color: var(--steel-dim); padding-top: .22em;
}

/* ============ footer ============ */
.site-foot { border-top: 1px solid var(--hair); background: #050506; }
.foot-inner {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(38px, 5vw, 64px) clamp(20px, 3vw, 40px);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap;
}
.foot-mark {
  font-family: "Archivo Black", sans-serif; font-size: clamp(1.5rem, 3.6vw, 2.3rem); line-height: .96; margin: 0;
  background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.foot-side { text-align: right; }
.foot-contact { margin: 0 0 8px; color: var(--bone-dim); font-size: .95rem; line-height: 1.7; }
.foot-contact a { text-decoration: none; }
.foot-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-fine { font-family: "Archivo Narrow", sans-serif; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-dim); margin: 0; }

/* toast */
#app-toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(150%);
  max-width: 92%; padding: 14px 24px; background: var(--bone); color: #0b0b0e;
  font-family: "Archivo Narrow", sans-serif; letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; font-weight: 600;
  box-shadow: 0 14px 44px rgba(0,0,0,.7); transition: transform .24s cubic-bezier(.2,.8,.3,1); z-index: 70;
}
#app-toast.show { transform: translateX(-50%) translateY(0); }
#app-toast.error { background: #ffd9d9; color: #57120f; }
#app-toast.ok { background: #cfeedd; color: #103524; }

/* ============ responsive ============ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-type { order: 2; border-right: 0; padding-top: 34px; }
  .hero-cut { order: 1; min-height: 56svh; }
  .hero-cut::after { background: linear-gradient(180deg, transparent 50%, rgba(8,8,10,.9) 100%); }
  .marks-inner { grid-template-columns: 1fr; }
  .mark { border-right: 0; border-bottom: 1px solid var(--hair-fine); padding: 20px 24px; flex-direction: row; align-items: baseline; gap: 16px; }
  .mark:last-child { border-bottom: 0; }
  .mark-n { font-size: 1.4rem; min-width: 52px; }
  .product { grid-template-columns: 1fr; }
  .qty { grid-column: 1; grid-row: auto; align-self: start; margin-top: 6px; }
  .fields { grid-template-columns: 1fr; }
  .terms-list li { grid-template-columns: 1fr; gap: 4px; }
  .foot-inner { flex-direction: column; align-items: flex-start; }
  .foot-side { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* magic-link sign-in message */
.sent-msg { color: var(--bone-dim); font-size: .95rem; line-height: 1.6; margin: 14px 0 18px; padding: 14px 16px; border-left: 2px solid var(--foil-3); background: var(--panel); }

/* dashboard sign-in */
.alt-signin { margin-top: 28px; border-top: 1px solid var(--hair-fine); padding-top: 16px; }
.alt-signin summary { cursor: pointer; color: var(--steel); font-family: "Archivo Narrow", sans-serif; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.alt-signin p { margin: 12px 0; }

/* award badges — gold reads warm against the silver palette; silver is cooler */
.badge-gold   { background: linear-gradient(112deg,#f7e7b8 0%,#d9b871 34%,#a8842f 60%,#e8cf95 100%); color: #241a05; }
.badge-silver { background: transparent; color: var(--bone-dim); border: 1px solid var(--hair); }
.product h3 .badge, .product > .badge { vertical-align: middle; }

/* ---- real award medals beside products ---- */
.product { position: relative; }
.medal {
  margin: 0;
  position: absolute; top: 26px; right: 0;
  width: 74px; height: 74px;
  border: 1px solid var(--hair);
  overflow: hidden; background: #0b0b0d;
}
.medal img { width: 100%; height: 100%; object-fit: cover; display: block; }
.medal-gold { border-color: #6b551f; }
.medal-silver { border-color: #43434b; }
/* keep text clear of the medal */
.product h3, .product .muted, .product .blurb, .product .tiers, .product .price { padding-right: 92px; }
@media (max-width: 720px) {
  .medal { position: static; width: 62px; height: 62px; margin: 4px 0 12px; }
  .product h3, .product .muted, .product .blurb, .product .tiers, .product .price { padding-right: 0; }
}

/* ---- awards section ---- */
.awards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.awards-head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--hair); margin-bottom: 14px; }
.awards-medal { width: 58px; height: 58px; object-fit: cover; border: 1px solid var(--hair); display: block; }
.awards-count {
  font-family: "Archivo Black", sans-serif; font-size: 1.25rem; letter-spacing: -.01em;
  background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.awards-list { list-style: none; padding: 0; margin: 0; }
.awards-list li {
  padding: 8px 0; border-bottom: 1px solid var(--hair-fine);
  color: var(--bone-dim); font-size: .93rem;
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
}
.awards-list li:last-child { border-bottom: 0; }
.awards-list li span {
  font-family: "Archivo Narrow", sans-serif; font-size: .68rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--steel-dim); text-align: right; flex: none;
}
@media (max-width: 720px) {
  .awards-grid { grid-template-columns: 1fr; gap: 32px; }
  .awards-list li { flex-direction: column; gap: 2px; }
  .awards-list li span { text-align: left; }
}

/* ===================== customer ordering page ===================== */
.hero-compact { min-height: 62svh; }
@media (max-width: 900px) { .hero-compact { min-height: auto; } }

/* countdown */
.countdown { text-align: center; padding: clamp(30px,6vw,60px) 0; }
.countdown-lead { font-family: "Archivo Narrow",sans-serif; font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; color: var(--steel); margin: 0 0 18px; }
.countdown-row { display: flex; justify-content: center; gap: 10px; margin-bottom: 18px; }
.cd-cell { flex: 1; max-width: 96px; border: 1px solid var(--hair); background: var(--panel); padding: 14px 6px; }
.cd-num { display: block; font-family: "Archivo Black",sans-serif; font-size: clamp(1.7rem,5vw,2.4rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.cd-lab { display: block; font-family: "Archivo Narrow",sans-serif; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--steel-dim); margin-top: 7px; }
.countdown-when { color: var(--steel-dim); font-size: .88rem; margin: 0; }

/* walk-in notice */
.walkin {
  border: 1px solid var(--hair); border-left: 3px solid var(--foil-3);
  background: var(--panel); padding: 16px 18px; margin: 0 0 28px;
  color: var(--bone-dim); font-size: .96rem; line-height: 1.6;
}

/* choices (variants + options) */
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.choice {
  font: inherit; cursor: pointer; text-align: left;
  background: var(--panel-2); color: var(--bone-dim);
  border: 1px solid var(--hair); border-radius: 0;
  padding: 9px 14px; min-height: 46px;
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  transition: border-color .14s ease, background .14s ease;
}
.choice:hover { border-color: var(--steel-dim); }
.choice.active { border-color: var(--foil-2); background: #1f1f26; color: #fff; }
.choice-label { font-weight: 600; }
.choice-price { font-family: "Archivo Narrow",sans-serif; font-size: .74rem; letter-spacing: .06em; color: var(--steel); }
.choice.active .choice-price { color: var(--bone-dim); }
.choices-sm .choice { min-height: 40px; padding: 7px 12px; }

.optionwrap { margin-top: 14px; }
.option-label { font-family: "Archivo Narrow",sans-serif; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); margin: 0 0 6px; }
.option-text { margin-top: 8px; max-width: 340px; }

/* qty line */
.qtyline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.qty-note { font-family: "Archivo Narrow",sans-serif; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-dim); }
.qty-est { font-family: "Archivo Narrow",sans-serif; font-size: .82rem; color: var(--bone-dim); margin-left: auto; }

/* collection days */
.early-toggle { display: flex; align-items: flex-start; gap: 12px; color: var(--bone-dim); font-size: .96rem; margin-bottom: 18px; cursor: pointer; text-transform: none; letter-spacing: 0; }
.early-toggle input { width: 20px; height: 20px; min-height: 20px; margin: 2px 0 0; flex: none; accent-color: #c6c6cf; }
#early-row { margin-bottom: 22px; max-width: 340px; }

.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.day {
  font: inherit; cursor: pointer; background: var(--panel); color: var(--bone-dim);
  border: 1px solid var(--hair); padding: 12px 8px; min-height: 96px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  transition: border-color .14s ease, background .14s ease;
}
.day:hover:not(:disabled) { border-color: var(--steel-dim); }
.day.active { border-color: var(--foil-2); background: #1f1f26; color: #fff; }
.day.full, .day:disabled { opacity: .38; cursor: not-allowed; }
.day-dow { font-family: "Archivo Narrow",sans-serif; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); }
.day-num { font-family: "Archivo Black",sans-serif; font-size: 1.6rem; line-height: 1; color: inherit; }
.day-mon { font-family: "Archivo Narrow",sans-serif; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.day-state { font-family: "Archivo Narrow",sans-serif; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--danger); margin-top: 3px; }
.day-note { font-size: .6rem; color: var(--steel-dim); text-align: center; line-height: 1.3; margin-top: 4px; }

.reassure.needs { color: var(--foil-2); }

/* category groups + dimension tabs */
.catgroup { margin-bottom: 34px; }
.catgroup:last-child { margin-bottom: 0; }
.cathead {
  font-family: "Archivo Narrow", sans-serif; font-size: .78rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--steel);
  margin: 0 0 4px; padding-bottom: 10px; border-bottom: 1px solid var(--hair);
}
.dimwrap { margin-top: 14px; }
.dimwrap .option-label { margin-bottom: 7px; }

/* ===================== collection board ===================== */
.collect-head { display: flex; flex-wrap: wrap; gap: 18px 26px; align-items: flex-end; justify-content: space-between; padding-top: 22px; }
.collect-head label { margin-bottom: 6px; }
.collect-head input[type="date"] { max-width: 200px; }
.collect-stats { display: flex; gap: 10px; }
.cstat { border: 1px solid var(--hair); background: var(--panel); padding: 10px 16px; text-align: center; min-width: 78px; }
.cstat-n { display: block; font-family: "Archivo Black", sans-serif; font-size: 1.3rem; line-height: 1; color: #fff; }
.cstat-l { display: block; font-family: "Archivo Narrow", sans-serif; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel-dim); margin-top: 6px; }

.collect-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 20px 0 16px; }
.collect-controls #search { flex: 1; min-width: 200px; }

.ocard {
  display: grid; grid-template-columns: 62px 1fr auto; gap: 16px; align-items: center;
  border: 1px solid var(--hair); background: var(--panel);
  padding: 14px 16px; margin-bottom: 10px; cursor: pointer;
}
.ocard:focus-visible { outline: 2px solid var(--foil-2); outline-offset: 2px; }
.ocard.unpaid { border-left: 3px solid var(--danger); }
.ocard.status-collected { opacity: .45; }
.oseq { font-family: "Archivo Black", sans-serif; font-size: 1.7rem; line-height: 1; color: var(--foil-2); text-align: center; }
.oname { font-size: 1.05rem; font-weight: 600; color: var(--bone); }
.ometa { font-family: "Archivo Narrow", sans-serif; font-size: .78rem; letter-spacing: .1em; color: var(--steel); margin-top: 2px; }
.oitems { font-size: .86rem; color: var(--steel-dim); margin-top: 5px; line-height: 1.4; }
.oright { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; white-space: nowrap; }
.flag { font-family: "Archivo Narrow", sans-serif; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; }
.flag-owing { background: #3a1414; color: #ffb3b3; }
.ostatus { font-family: "Archivo Narrow", sans-serif; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.ostatus-confirmed { color: var(--ok); }
.ostatus-ready { color: var(--foil-1); }
.ostatus-collected { color: var(--steel-dim); }
.ostatus-cancelled { color: var(--danger); }

@media (max-width: 640px) {
  .ocard { grid-template-columns: 50px 1fr; }
  .oright { grid-column: 2; flex-direction: row; align-items: center; justify-content: flex-start; }
}

/* tick box on collection cards */
.otick { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tickbox {
  width: 40px; height: 40px; flex: none; cursor: pointer;
  border: 2px solid var(--steel-dim); background: transparent;
  color: #0b0b0e; font-size: 1.2rem; line-height: 1; font-weight: 700;
  transition: background .12s ease, border-color .12s ease;
}
.tickbox:hover { border-color: var(--foil-2); }
.tickbox.ticked { background: var(--foil); border-color: var(--foil-2); }
.otick .oseq { font-size: 1.1rem; }

/* uncollected report */
.overdue {
  border: 1px solid var(--danger); border-left: 3px solid var(--danger);
  background: #17100f; padding: 16px 18px; margin: 22px 0 4px;
}
.overdue-head { margin-bottom: 12px; }
.overdue-head strong { display: block; color: var(--danger); font-size: 1.05rem; }
.overdue-head .muted { display: block; margin-top: 2px; }
.overdue-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 0; border-top: 1px solid var(--hair-fine); flex-wrap: wrap;
}
.overdue-row .btn { text-decoration: none; }

/* ===================== counter order entry ===================== */
.counter-top { display:flex; justify-content:space-between; align-items:flex-end; gap:16px; padding-top:22px; flex-wrap:wrap; }
.counter-h { font-family:"Archivo Black",sans-serif; font-weight:400; font-size:1.7rem; margin:0 0 4px; }

.crow { border-bottom:1px solid var(--hair-fine); padding:10px 0; }
.crow.has { background:#141419; border-left:3px solid var(--foil-3); padding-left:10px; }
.crow-top { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.crow-name { font-size:1.02rem; color:var(--bone); }
.crow .qty { flex:none; }
.crow .qty-btn { width:44px; min-height:44px; font-size:1.2rem; }
.crow .qty-input { width:54px; font-size:1rem; }
.crow-opts { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
.crow-opts .choice { min-height:38px; padding:6px 11px; font-size:.86rem; }
.crow-opts .option-text { min-height:38px; max-width:200px; margin-top:0; }

.paywrap { margin:18px 0 20px; }
.paywrap .choice { min-height:48px; padding:0 20px; justify-content:center; }

/* one-tap deposit button on collection cards */
.paid-btn { min-height: 36px; padding: 0 14px; font-size: .74rem; letter-spacing: .12em; }

/* shop-closed days read differently from sold-out days */
.day.shut { opacity: .3; border-style: dashed; cursor: not-allowed; }
.day.shut .day-state { color: var(--steel-dim); }
