/* ============================================================
   Bon Gou Peyi — favor customizer
   Builds on style.css; only the builder surfaces live here.
   ============================================================ */

.page-customize { background: var(--paper); }
/* Exactly the height of the bar above it (12 + 54 + 12). A rounder number
   leaves a strip of cream page showing between the fixed nav and the dark
   head, which reads as a seam across the top of the page. */
.page-customize main { padding-top: 78px; }
/* No hero image to sit against on these pages: the bar is solid ink from the
   first pixel, so cream links are never cream-on-cream — and it is the SAME ink
   as the head below it, so there is no seam across the top. It stays compact,
   and only earns a shadow once it is floating over the cream body. */
.page-customize .nav {
  background: var(--ink); box-shadow: none;
  padding: 12px clamp(20px, 4vw, 48px);
}
.page-customize .nav .nav-brand img { height: 54px; }
.page-customize .nav.scrolled { box-shadow: 0 10px 30px -18px #000; }

/* Fixed nav: keep a step's heading clear of it when we scroll to it. */
.cz-step { scroll-margin-top: 110px; }

/* ---------- Page head ---------- */
.cz-head { background: var(--ink); color: var(--cream); padding: 54px 0 60px; }
.cz-head-inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr); gap: 40px; align-items: end; }
.cz-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 14px; }
.cz-head .lead { color: rgba(246, 239, 227, .82); max-width: 46ch; }
.cz-head-note {
  font-size: .9rem; line-height: 1.7; color: rgba(246, 239, 227, .66);
  border-left: 2px solid var(--gold); padding-left: 16px;
}
@media (max-width: 900px) { .cz-head-inner { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- Two-column builder ---------- */
.cz-grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .8fr);
  gap: clamp(28px, 4vw, 64px); padding-top: 54px; padding-bottom: 72px;
}
/* The aside stretches to the row so `position: sticky` has somewhere to travel;
   with align-items:start it would collapse to its content and stop pinning. */
.cz-side { align-self: stretch; }
@media (max-width: 940px) { .cz-grid { grid-template-columns: 1fr; } }

.cz-step { padding: 0 0 40px; margin-bottom: 40px; position: relative; }
.cz-step::after {
  /* the marketing page separates sections with a short gold rule, not a grey line */
  content: ""; position: absolute; left: 0; bottom: 0; width: 60px; height: 2px; background: var(--gold);
}
.cz-step:last-child::after { display: none; }
.cz-step h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem); display: flex; align-items: center; gap: 16px;
  margin-bottom: 18px; line-height: 1.15;
}
.cz-num {
  display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none;
  background: var(--paper-2); border: 1px solid var(--gold); border-radius: 50%;
  color: var(--gold-deep); font-family: var(--sans); font-size: .86rem; font-weight: 500;
}
.cz-loading { color: var(--text-soft); font-style: italic; }

/* ---------- Product cards ---------- */
.cz-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.cz-card {
  display: flex; flex-direction: column; text-align: left; cursor: pointer;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; transition: border-color .2s, transform .2s, box-shadow .2s;
  padding: 0; font-family: inherit; color: inherit;
}
.cz-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.cz-card[aria-checked="true"] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow-sm); }
.cz-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.cz-card-body { padding: 14px 16px 16px; }
.cz-card-body b { display: block; font-family: var(--display); font-size: 1.02rem; margin-bottom: 4px; }
.cz-card-body span { display: block; font-size: .82rem; color: var(--text-soft); line-height: 1.5; }
.cz-card-price { margin-top: 10px; font-size: .84rem; color: var(--gold-deep); font-weight: 500; }

/* ---------- Option chips ---------- */
.cz-options { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.cz-chip {
  cursor: pointer; background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 20px; font-family: var(--sans); font-size: .88rem; color: var(--text);
  transition: border-color .2s, background .2s; text-align: left; line-height: 1.35;
}
.cz-chip:hover { border-color: var(--gold-soft); }
.cz-chip[aria-checked="true"] { border-color: var(--gold); background: var(--paper-2); }
.cz-chip small { display: block; color: var(--text-soft); font-size: .76rem; margin-top: 2px; }
.cz-flavor-note { font-size: .86rem; color: var(--text-soft); margin: 6px 0 0; }

/* ---------- Quantity ---------- */
.cz-qty { margin-top: 24px; }
.cz-qty > label { display: block; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
.cz-qty-row { display: flex; align-items: center; gap: 10px; }
.cz-step-btn {
  width: 42px; height: 42px; border: 1px solid var(--line); background: #fdfaf3;
  border-radius: 10px; font-size: 1.2rem; cursor: pointer; color: var(--text); line-height: 1;
}
.cz-step-btn:hover { border-color: var(--gold); }
.cz-qty input {
  width: 110px; height: 42px; text-align: center; border: 1px solid var(--line);
  border-radius: 10px; font-family: var(--sans); font-size: 1rem; background: var(--white); color: var(--text);
}
.cz-unit { color: var(--text-soft); font-size: .9rem; }
.cz-help { font-size: .84rem; color: var(--text-soft); margin-top: 10px; line-height: 1.6; }

/* ---------- Personalization ---------- */
.cz-switch { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.cz-switch input { width: 20px; height: 20px; accent-color: var(--gold-deep); cursor: pointer; }
.cz-switch label { cursor: pointer; font-size: .98rem; }
.cz-personal { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 30px; align-items: start; }
.cz-personal-fields { display: grid; gap: 18px; min-width: 0; }
.cz-personal-preview { position: sticky; top: 110px; }
.cz-personal-preview .cz-side-title { margin-bottom: 12px; }
@media (max-width: 900px) {
  .cz-personal { grid-template-columns: 1fr; }
  .cz-personal-preview { position: static; max-width: 260px; }
}
.cz-field label { display: block; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 8px; }
.cz-field input, .cz-field select, .cz-field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--sans); font-size: .98rem; background: var(--white); color: var(--text);
}
.cz-field textarea { resize: vertical; min-height: 84px; }
.cz-field input:focus, .cz-field select:focus, .cz-field textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(200, 150, 62, .16); }
.cz-counter { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: .8rem; color: var(--text-soft); }
.cz-count { font-variant-numeric: tabular-nums; }
.cz-count.over { color: #a33; font-weight: 600; }
.cz-optional { text-transform: none; letter-spacing: 0; color: var(--text-soft); }

.cz-fonts { border: 0; padding: 0; margin: 0; }
.cz-fonts legend { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; padding: 0; }
.cz-font-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.cz-font {
  cursor: pointer; border: 1px solid var(--line); background: #fdfaf3; border-radius: 10px;
  padding: 14px 12px; text-align: center; color: var(--text); transition: border-color .2s;
}
.cz-font:hover { border-color: var(--gold-soft); }
.cz-font[aria-checked="true"] { border-color: var(--gold); background: #f6ecd9; }
.cz-font-sample { display: block; font-size: 1.06rem; margin-bottom: 6px; color: var(--ink); }
.cz-font-name { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); }

/* ---------- Order form ---------- */
.cz-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 16px; }
.cz-submit { margin-top: 18px; }
.cz-form-status { display: none; padding: 13px 16px; border-radius: 10px; margin-bottom: 16px; font-size: .92rem; }
.cz-form-status.ok  { display: block; background: #edf6ec; border: 1px solid #b9d9b4; color: #2c5c28; }
.cz-form-status.err { display: block; background: #fbeeec; border: 1px solid #e2b6ae; color: #8c3222; }

/* ---------- Sticky preview ---------- */
.cz-sticky {
  position: sticky; top: 104px;
  background: var(--paper-2); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: 2px 2px var(--r) var(--r); padding: 24px 24px 22px; box-shadow: var(--shadow-sm);
}
.cz-side-title {
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-family: var(--sans);
  font-weight: 500; color: var(--gold-deep); margin-bottom: 16px;
}
.cz-preview {
  background: #fdfaf3; border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 16px 16px;
}
.cz-label-shot { border-radius: 8px; overflow: hidden; box-shadow: 0 16px 40px -22px #000; }
.cz-label-shot img { width: 100%; display: block; }
.cz-preview-note { color: var(--text-soft); font-size: .8rem; margin-top: 14px; text-align: center; line-height: 1.6; }

/* The personalization band: what actually gets printed and wrapped. */
.cz-band {
  margin-top: 10px; background: linear-gradient(180deg, #d5a54b 0%, #c8963e 52%, #a9772a 100%);
  border-radius: 4px; padding: 12px 14px; text-align: center; color: #221803;
  box-shadow: 0 8px 20px -14px #000; overflow: hidden;
}
.cz-band-1 { display: block; font-size: clamp(.95rem, 2.4vw, 1.16rem); line-height: 1.25; word-break: break-word; }
.cz-band-2 { display: block; font-size: .82rem; line-height: 1.3; margin-top: 4px; opacity: .86; word-break: break-word; }
.cz-band-2:empty { display: none; }

/* ---------- Cart ---------- */
.cz-cart { list-style: none; margin: 0 0 16px; padding: 0; }
.cz-cart li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(169,119,42,.22); font-size: .9rem; }
.cz-cart-empty { color: var(--text-soft); font-style: italic; border-bottom: 0 !important; }
.cz-cart-main { flex: 1; }
.cz-cart-main b { display: block; font-family: var(--display); font-size: .98rem; font-weight: 600; }
.cz-cart-main span { display: block; color: var(--text-soft); font-size: .82rem; margin-top: 2px; }
.cz-cart-personal { color: var(--gold-deep) !important; }
.cz-cart-price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.cz-remove { background: none; border: 0; cursor: pointer; color: var(--text-soft); font-size: .78rem; text-decoration: underline; padding: 0; align-self: flex-start; }
.cz-remove:hover { color: #8c3222; }
.cz-total { display: flex; justify-content: space-between; font-size: 1.12rem; padding: 10px 0 4px; font-family: var(--display); }
.cz-total b { font-variant-numeric: tabular-nums; }
.cz-quote-note { font-size: .84rem; color: var(--text-soft); line-height: 1.6; }

/* ---------- Standard vs personalized ---------- */
.cz-compare-head { max-width: 60ch; margin-bottom: 34px; }
.cz-compare-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 12px; }
.cz-compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; max-width: 760px; align-items: end; }
.cz-compare figure { margin: 0; }
.cz-compare-art {
  background: linear-gradient(180deg, #fbf8f2 0%, #efe5d4 100%);
  border: 1px solid var(--line); border-radius: var(--r); padding: 18px;
}
.cz-compare-art img { width: 100%; border-radius: 6px; }
.cz-compare figcaption { margin-top: 12px; font-size: .88rem; color: var(--text-soft); }
.cz-compare figcaption b { color: var(--text); font-weight: 600; }
.cz-band-static .cz-band-1 { font-family: var(--display); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.cz-band-static .cz-band-2 { font-family: var(--serif); font-style: italic; letter-spacing: .02em; }

.cz-rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.cz-rules div b { display: block; font-family: var(--display); font-size: 1.2rem; color: var(--ink); }
.cz-rules div span { display: block; font-size: .84rem; color: var(--text-soft); margin-top: 4px; line-height: 1.5; }
.cz-rules-note { margin-top: 24px; font-size: .88rem; color: var(--text-soft); }

/* ---------- Order status page ---------- */
.cz-status-wrap { max-width: 640px; padding-top: 60px; padding-bottom: 80px; }
.cz-status-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; margin-top: 24px; }
.cz-status-badge { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--paper-2); color: var(--gold-deep); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; }
.cz-status-ref { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; font-size: 1.3rem; margin: 12px 0 4px; }
.cz-status-items { list-style: none; padding: 0; margin: 20px 0 0; }
.cz-status-items li { padding: 12px 0; border-top: 1px solid var(--line); font-size: .92rem; }

/* ============================================================
   Contents → presentation → quantity
   ============================================================ */
.cz-step-note { color: var(--text-soft); font-size: .92rem; margin: -10px 0 20px; max-width: 60ch; }

/* ---------- Step 1: what's inside ---------- */
.cz-contents { display: grid; gap: 18px; }
.cz-fill {
  background: #fdfaf3; border: 1px solid var(--line); border-top: 2px solid var(--gold);
  border-radius: 2px 2px var(--r) var(--r); overflow: hidden; box-shadow: var(--shadow-sm);
}
.cz-fill-head { padding: 20px 22px 16px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.cz-fill-head h3 { font-size: 1.42rem; margin-bottom: 3px; }
.cz-fill-head p { font-size: .88rem; color: var(--text-soft); margin: 0; }
.cz-fill-price { margin-top: 6px !important; color: var(--gold-deep) !important; font-weight: 500; }

.cz-flavors { list-style: none; margin: 0; padding: 0; }
.cz-flavors li + li { border-top: 1px solid var(--line); }
.cz-flavor-empty { padding: 16px 20px; color: var(--text-soft); font-size: .9rem; font-style: italic; }

.cz-add {
  display: flex; align-items: flex-start; gap: 14px; width: 100%; text-align: left;
  background: none; border: 0; padding: 15px 20px; cursor: pointer;
  font-family: inherit; color: inherit; transition: background .18s;
}
.cz-add:hover { background: var(--paper); }
.cz-add[aria-pressed="true"] { background: #f6ecd9; }
.cz-add-mark {
  flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--gold-deep); font-size: 1rem; line-height: 1;
  transition: background .18s, color .18s; margin-top: 2px;
}
.cz-add[aria-pressed="true"] .cz-add-mark { background: var(--gold); color: #1c1408; border-color: var(--gold); }
.cz-swatch {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(43, 36, 28, .18); background: var(--paper-2);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .18);
}
.cz-swatch.sm { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-right: 8px; }
.cz-flavor-text { min-width: 0; }
.cz-flavor-text b { display: block; font-family: var(--display); font-size: 1.04rem; font-weight: 600; }
.cz-flavor-text i { display: block; font-family: var(--serif); font-style: italic; color: var(--gold-deep); font-size: .95rem; }
.cz-flavor-text span { display: block; font-size: .86rem; color: var(--text-soft); margin-top: 2px; }

/* ---------- Step 2: presentation ---------- */
.cz-vessels { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.cz-vessel {
  display: flex; flex-direction: column; text-align: left; cursor: pointer; padding: 0;
  background: #fdfaf3; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; font-family: inherit; color: inherit; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.cz-vessel:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.cz-vessel[aria-checked="true"] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow-sm); }
.cz-vessel img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.cz-vessel-body { padding: 14px 16px 16px; }
.cz-vessel-body b { display: block; font-family: var(--display); font-size: 1rem; margin-bottom: 4px; }
.cz-vessel-body span { display: block; font-size: .82rem; color: var(--text-soft); line-height: 1.5; }
.cz-vessel-price { margin-top: 8px !important; color: var(--gold-deep) !important; }
.cz-warn { color: var(--gold-deep); font-weight: 500; }

/* ---------- Preview: what's in the favor ---------- */
.cz-fill-list { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.cz-fill-vessel { display: block; color: var(--ink); font-family: var(--display); font-size: .98rem; margin-bottom: 8px; }
.cz-fill-list ul { list-style: none; margin: 0; padding: 0; }
.cz-fill-list li { color: var(--text-soft); font-size: .86rem; padding: 3px 0; }
.cz-fill-list li i { font-family: var(--serif); font-style: italic; color: var(--gold-deep); }

/* ---------- Cart fill line ---------- */
.cz-cart-fill { color: var(--text-soft) !important; font-size: .82rem !important; }

/* ---------- Transient notice (before the form is on screen) ---------- */
.cz-flash {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 10px);
  max-width: min(520px, 90vw); padding: 13px 20px; border-radius: 10px; z-index: 90;
  font-size: .92rem; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none;
  background: var(--ink); color: var(--cream); box-shadow: var(--shadow);
}
.cz-flash.show { opacity: 1; transform: translate(-50%, 0); }
.cz-flash.err { background: #7d2b1c; }

/* ---------- Quantity, editable in the order panel ---------- */
.cz-cart-qty { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.cz-cart-qty button {
  width: 28px; height: 28px; border: 1px solid var(--line); background: #fdfaf3;
  border-radius: 7px; cursor: pointer; font-size: .95rem; line-height: 1; color: var(--text);
}
.cz-cart-qty button:hover { border-color: var(--gold); }
.cz-cart-qty input {
  width: 58px; height: 28px; text-align: center; border: 1px solid var(--line);
  border-radius: 7px; font-family: var(--sans); font-size: .86rem; background: var(--white); color: var(--text);
}
.cz-cart-qty em { font-style: normal; font-size: .78rem; color: var(--text-soft); }

/* ---------- A flavor row: add by the bottle ---------- */
.cz-flavor-row { display: flex; align-items: stretch; }
.cz-flavor-row .cz-add { flex: 1; min-width: 0; }
.cz-flavor-row.picked { background: var(--paper-2); }
.cz-pick { display: flex; align-items: center; gap: 6px; padding: 0 16px 0 6px; }
.cz-pick button {
  width: 30px; height: 30px; flex: none; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--gold); background: #fdfaf3; color: var(--gold-deep);
  font-size: 1rem; line-height: 1; display: grid; place-items: center; transition: .18s;
}
.cz-pick button:hover:not([disabled]) { background: var(--gold); color: #1c1408; }
.cz-pick button[disabled] { opacity: .3; cursor: default; border-color: var(--line); color: var(--text-soft); }
/* The fill is full: the control still answers, it just no longer invites. */
.cz-pick .cz-plus.full { border-color: var(--line); color: var(--text-soft); }
.cz-pick .cz-plus.full:hover { background: var(--paper-2); color: var(--text); }
.cz-pick-count {
  min-width: 20px; text-align: center; font-family: var(--sans); font-weight: 600;
  font-variant-numeric: tabular-nums; color: var(--ink);
}
@media (max-width: 480px) { .cz-pick { padding-right: 12px; } }

/* ============================================================
   The Kremas bottle and the tag that hangs on its neck
   A black tag needs a light ground to read against, the way it
   does on a table — so this panel is paper, not ink.
   ============================================================ */
.cz-bottle { width: 132px; margin: 6px auto 10px; position: relative; padding-bottom: 30px; }
.cz-bottle-cap {
  display: block; width: 40px; height: 19px; margin: 0 auto;
  background: linear-gradient(180deg, #b8353f, #7d1f28);
  border-radius: 4px 4px 2px 2px;
}
.cz-bottle-neck {
  display: block; width: 30px; height: 34px; margin: 0 auto;
  background: linear-gradient(90deg, #6b4a2a 0%, #b4894f 34%, #d8b075 52%, #8a6338 78%, #5a3c22 100%);
}
.cz-bottle-body {
  height: 150px; border-radius: 14px 14px 18px 18px; position: relative;
  background: linear-gradient(90deg, #7a5730 0%, #c39355 32%, #e5bd80 50%, #a87842 72%, #6b4a26 100%);
  box-shadow: 0 20px 34px -22px rgba(40, 24, 6, .8); display: grid; place-items: end center;
  padding-bottom: 10px;
}
.cz-bottle-flavor {
  font-family: var(--sans); font-size: .54rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(60, 38, 12, .72);
}

/* The tag: a die-cut card over the neck, hanging in front of the bottle,
   fishtail cut at the foot. */
.cz-tag {
  position: absolute; top: 38px; left: 50%; transform: translateX(-50%);
  width: 148px; padding: 22px 12px 30px; text-align: center; z-index: 2;
  background: linear-gradient(180deg, #262019 0%, #14100b 100%);
  color: #f7f2e7; box-shadow: 0 16px 26px -14px rgba(20, 12, 4, .75);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 18px), 0 100%);
}
/* the die-cut hole the neck passes through, and the fold line under it */
.cz-tag-hole {
  display: block; width: 30px; height: 13px; margin: -10px auto 0;
  border-radius: 999px; background: #b4894f;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .7);
}
.cz-tag-hole::after {
  content: ""; display: block; width: 124px; margin: 9px 0 0 -47px;
  border-top: 1px dashed rgba(247, 242, 231, .3);
}
.cz-tag-1 {
  display: block; margin-top: 14px; font-size: 1.06rem; line-height: 1.05;
  word-break: break-word; text-transform: uppercase; letter-spacing: .03em;
}
.cz-tag-2 {
  display: block; font-size: .72rem; line-height: 1.2; margin-top: 9px;
  color: rgba(247, 242, 231, .88); word-break: break-word;
}
.cz-tag-3 { display: block; font-size: .8rem; line-height: 1.15; margin-top: 4px; word-break: break-word; }
.cz-tag-2:empty, .cz-tag-3:empty { display: none; }

/* the coffee bag's own label, shown when coffee is in the fill */
#czCoffeeShot { margin-top: 14px; }
#czCoffeeShot img { border-radius: 6px; }

.cz-note-inline {
  border-left: 2px solid var(--gold); padding: 12px 0 12px 16px; margin: 0 0 34px;
  color: var(--text-soft); font-size: .9rem; line-height: 1.6; max-width: 60ch;
}

/* the sample wording in the comparison uses the same faces the picker offers */
.cz-compare .cz-tag-1 { font-family: var(--display); font-weight: 700; }
.cz-compare .cz-tag-2 { font-family: var(--sans); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.cz-compare .cz-tag-3 { font-family: var(--serif); font-style: italic; font-size: .86rem; }
.cz-compare .cz-compare-art { display: grid; place-items: center; padding: 26px 18px; }
.cz-compare .cz-bottle { margin: 0; }

/* ---------- Reviewing rather than building ---------- */
.cz-build-again {
  padding: 26px 0 30px; border-bottom: 1px solid var(--line); margin-bottom: 34px;
}
.cz-build-again .cz-help { margin-top: 12px; }
.cz-step.solo .cz-num { display: none; }
.cz-step.solo h2 { gap: 0; }

/* ---------- The order page ---------- */
.cz-cart-page {
  display: grid; grid-template-columns: minmax(320px, .85fr) minmax(0, 1.3fr);
  gap: clamp(28px, 4vw, 56px); padding-top: 54px; padding-bottom: 78px; align-items: start;
}
@media (max-width: 940px) { .cz-cart-page { grid-template-columns: 1fr; } }
.cz-cart-panel {
  background: var(--paper-2); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: 2px 2px var(--r) var(--r); padding: 24px 24px 22px; box-shadow: var(--shadow-sm);
  position: sticky; top: 104px;
}
@media (max-width: 940px) { .cz-cart-panel { position: static; } }
.cz-add-more { margin-top: 18px; width: 100%; justify-content: center; }
.btn-ghost-dark { border-color: var(--gold-deep); color: var(--gold-deep); background: none; }
.btn-ghost-dark:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.cz-cart-form .cz-step { padding-bottom: 0; }
.cz-cart-form .cz-step::after { display: none; }
.cz-review-btn { margin-top: 18px; width: 100%; justify-content: center; }
.cz-empty { padding: clamp(60px, 10vw, 120px) 0; text-align: center; }
.cz-empty h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 12px; }
.cz-empty .lead { margin-bottom: 26px; }

/* ---------- Builder with no rail: one column, comfortable measure ----------
   Constrain the column, not the wrap: shrinking the wrap centres it and the
   builder stops lining up with the hero above it. */
.cz-grid { grid-template-columns: minmax(0, 820px); }
.cz-add-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ---------- Slot progress on each fill group ---------- */
.cz-slot-count {
  margin-top: 6px !important; font-family: var(--sans); font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep) !important;
}
.cz-slot-count.done { color: var(--text-soft) !important; }
.cz-slot-count.done::after { content: " ✓"; color: var(--gold-deep); }
