/* ==========================================================================
   Dabba Cartel — ordering, packages and Supper Club
   --------------------------------------------------------------------------
   Loaded after site.css and built on its tokens, so there is one design
   system, not two. Nothing here redefines a colour.

   Mobile first throughout: nine in ten visitors are on a phone, so every
   component is laid out for a 360px screen and then widened, every tap
   target is at least 44px, and the order bar lives at the bottom of the
   screen where a thumb is.
   ========================================================================== */

/* ---------- 0. Full-bleed wrap ------------------------------------------
   site.css caps .wrap at 1280px. This runs a section edge to edge, keeping
   only the page gutter, for blocks that want the whole screen on a wide
   monitor.
   -------------------------------------------------------------------- */
.wrap--full{ width:calc(100% - var(--gutter)*2); max-width:none; }

/* ---------- 1. Shared bits ---------------------------------------------- */
.dc-linkbtn{
  background:none; border:0; padding:0; cursor:pointer;
  font:inherit; color:var(--brand-600); text-decoration:underline;
  text-underline-offset:2px;
}
.dc-notice{
  display:flex; gap:.75rem; align-items:flex-start;
  padding:1rem 1.15rem; border-radius:var(--radius);
  background:var(--brand-100); color:var(--forest-800);
  font-size:var(--step--1); line-height:1.5;
}
.dc-notice svg{ flex:none; width:20px; height:20px; margin-top:1px; }
.dc-notice--warn{ background:#FBEEDC; color:#6B4214; }

.dc-sr{
  position:absolute; width:1px; height:1px; overflow:hidden;
  clip:rect(0 0 0 0); white-space:nowrap;
}

/* ---------- 2. Toast ----------------------------------------------------- */
.dc-toast{
  position:fixed; left:50%; bottom:calc(env(safe-area-inset-bottom) + 96px);
  transform:translate(-50%, 1.5rem); z-index:400;
  max-width:min(30rem, calc(100% - 2rem));
  padding:.8rem 1.15rem; border-radius:999px;
  background:var(--forest-900); color:var(--on-dark);
  font-size:var(--step--1); font-weight:500; line-height:1.4;
  box-shadow:var(--shadow); text-align:center;
  opacity:0; pointer-events:none;
  transition:opacity .24s var(--ease), transform .24s var(--ease);
}
.dc-toast.is-on{ opacity:1; transform:translate(-50%,0); }
.dc-toast--warn{ background:var(--copper); }
@media (min-width:1040px){
  .dc-toast{ bottom:2rem; }
}

/* ---------- 3. Modal ----------------------------------------------------- */
.dc-modal{
  position:fixed; inset:0; z-index:500;
  display:flex; align-items:flex-end; justify-content:center;
  padding:0;
  background:rgba(14,21,16,.58);
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  opacity:0; transition:opacity .26s var(--ease);
  overflow-y:auto; overscroll-behavior:contain;
}
.dc-modal.is-on{ opacity:1; }

.dc-modal__box{
  position:relative;
  width:100%; max-width:34rem;
  background:var(--paper);
  border-radius:var(--radius-l) var(--radius-l) 0 0;
  padding:clamp(1.5rem,5vw,2.25rem);
  padding-bottom:calc(env(safe-area-inset-bottom) + clamp(1.5rem,5vw,2.25rem));
  box-shadow:var(--shadow-l);
  transform:translateY(2rem); transition:transform .3s var(--ease-out);
  max-height:100dvh;
}
.dc-modal.is-on .dc-modal__box{ transform:translateY(0); }
.dc-modal__box--wide{ max-width:52rem; }

@media (min-width:640px){
  .dc-modal{ align-items:center; padding:2rem 1rem; }
  .dc-modal__box{ border-radius:var(--radius-l); padding-bottom:clamp(1.5rem,5vw,2.25rem); max-height:calc(100dvh - 4rem); overflow-y:auto; }
}

.dc-modal__x{
  position:absolute; top:.85rem; right:.85rem; z-index:2;
  width:40px; height:40px; display:grid; place-items:center;
  border:0; border-radius:50%; cursor:pointer;
  background:rgba(23,32,26,.06); color:var(--text-soft);
  transition:background .2s var(--ease), color .2s var(--ease);
}
.dc-modal__x:hover{ background:rgba(23,32,26,.12); color:var(--text); }
.dc-modal__x svg{ width:18px; height:18px; }

/* ---------- 4. The date gate -------------------------------------------- */
.dc-gate__title{ font-size:var(--step-3); margin-top:.35rem; }
.dc-gate__lede{
  margin-top:.65rem; color:var(--text-soft);
  font-size:var(--step--1); line-height:1.6; max-width:42ch;
}
.dc-gate__field{ display:block; margin-top:1.4rem; }
.dc-gate__legend{
  display:block; font-size:var(--step--1); font-weight:600;
  letter-spacing:.01em; margin-bottom:.5rem;
}
.dc-gate__row{ display:grid; gap:1rem; }
@media (min-width:520px){ .dc-gate__row{ grid-template-columns:1fr 1fr; } }
.dc-gate__field--half{ margin-top:1.4rem; }
@media (min-width:520px){ .dc-gate__field--half{ margin-top:1.4rem; } }

.dc-gate input[type="number"],
.dc-gate input[type="date"],
.dc-gate select{
  width:100%; min-height:48px;
  padding:.7rem .85rem; border:1px solid var(--line);
  border-radius:var(--radius-s); background:var(--surface);
  font-size:var(--step-0);
}
.dc-gate select{ appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234C5B50' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right .7rem center; background-size:18px; padding-right:2.4rem; }

.dc-datechips{
  display:grid; grid-template-columns:repeat(4,1fr); gap:.5rem;
}
@media (min-width:520px){ .dc-datechips{ grid-template-columns:repeat(8,1fr); } }

.dc-datechip{
  display:flex; flex-direction:column; align-items:center; gap:1px;
  min-height:62px; padding:.5rem .25rem;
  border:1.5px solid var(--line); border-radius:var(--radius-s);
  background:var(--surface); cursor:pointer; line-height:1.1;
  transition:border-color .18s var(--ease), background .18s var(--ease), transform .18s var(--ease);
}
.dc-datechip:hover{ border-color:var(--brand-300); }
.dc-datechip__dow{ font-size:.66rem; text-transform:uppercase; letter-spacing:.07em; color:var(--text-faint); font-weight:600; }
.dc-datechip__day{ font-family:var(--display); font-size:1.2rem; font-weight:500; }
.dc-datechip__mon{ font-size:.66rem; text-transform:uppercase; letter-spacing:.06em; color:var(--text-faint); }
.dc-datechip[aria-pressed="true"]{
  border-color:var(--brand); background:var(--brand); color:#fff;
}
.dc-datechip[aria-pressed="true"] .dc-datechip__dow,
.dc-datechip[aria-pressed="true"] .dc-datechip__mon{ color:rgba(255,255,255,.82); }

.dc-gate__other{
  display:flex; align-items:center; gap:.75rem; margin-top:.75rem;
  font-size:var(--step--1); color:var(--text-soft);
}
.dc-gate__other span{ flex:none; font-weight:500; }
.dc-gate__note{ margin-top:.6rem; font-size:var(--step--1); min-height:1.3em; }
.dc-gate__note.is-ok{ color:var(--brand-600); font-weight:500; }
.dc-gate__note.is-bad{ color:var(--copper); font-weight:500; }
.dc-gate__hint{ margin-top:.6rem; font-size:var(--step--1); color:var(--text-faint); }
.dc-gate .btn{ margin-top:1.5rem; }
/* site.css has no disabled state for .btn, and a live-looking green button
   that does nothing is worse than no button. */
.btn:disabled,
.btn[disabled]{ opacity:.42; cursor:not-allowed; pointer-events:none; }
.dc-gate__small{
  margin-top:1rem; font-size:.78rem; line-height:1.5;
  color:var(--text-faint); text-align:center;
}

/* ---------- 5. Order page shell -----------------------------------------
   These pages have no hero, so the content starts below the header rather
   than under it. The header's scroll-away behaviour is switched off here:
   the date strip is sticky directly beneath it, and a header that slides
   out from above it would leave a gap with the page scrolling through.
   Room is left at the bottom for the order bar.
   -------------------------------------------------------------------- */
.dc-page{ padding-top:calc(var(--header-h) + 1rem); }

body.has-order-ui .site-header.is-hidden{ transform:none; }
body.has-order-ui main{ padding-bottom:7.5rem; }

.dc-head{ padding-block:clamp(1.75rem,5vw,3rem) clamp(1rem,2vw,1.5rem); }
.dc-head__title{ font-size:var(--step-4); }
.dc-head__lede{ margin-top:.85rem; color:var(--text-soft); max-width:58ch; }

/* The date/guests strip. Sticks under the header on every screen. */
.dc-context{
  position:sticky; top:calc(var(--header-h) - 1px); z-index:60;
  background:var(--paper); border-block:1px solid var(--line);
  margin-bottom:1.5rem;
}
.dc-context__inner{
  display:flex; align-items:center; gap:.65rem;
  padding-block:.7rem; overflow-x:auto; scrollbar-width:none;
}
.dc-context__inner::-webkit-scrollbar{ display:none; }
.dc-ctx{
  display:inline-flex; align-items:center; gap:.45rem; flex:none;
  min-height:40px; padding:.35rem .8rem;
  border:1px solid var(--line); border-radius:999px;
  background:var(--surface); cursor:pointer;
  font-size:var(--step--1); font-weight:500; white-space:nowrap;
  transition:border-color .18s var(--ease), background .18s var(--ease);
}
.dc-ctx:hover{ border-color:var(--brand-300); background:var(--brand-100); }
.dc-ctx svg{ width:15px; height:15px; flex:none; color:var(--brand-600); }
.dc-ctx__label{ color:var(--text-faint); font-weight:400; }
.dc-ctx--warn{ border-color:var(--copper); color:var(--copper); }

/* ---------- 6. Category nav --------------------------------------------- */
.dc-cats{
  display:flex; gap:.5rem; padding-block:.25rem 1.25rem;
  overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch;
}
.dc-cats::-webkit-scrollbar{ display:none; }
.dc-cat{
  flex:none; min-height:42px; padding:.5rem 1rem;
  border:1px solid var(--line); border-radius:999px;
  background:var(--surface); cursor:pointer;
  font-size:var(--step--1); font-weight:500; white-space:nowrap;
  transition:all .18s var(--ease);
}
.dc-cat:hover{ border-color:var(--brand-300); }
.dc-cat[aria-pressed="true"]{ background:var(--forest-900); border-color:var(--forest-900); color:var(--on-dark); }
.dc-cat__n{ opacity:.55; font-variant-numeric:tabular-nums; }

/* ---------- 7. Item cards ----------------------------------------------- */
.dc-section + .dc-section{ margin-top:clamp(2rem,5vw,3.25rem); }
.dc-section__head{
  display:flex; flex-wrap:wrap; align-items:baseline; gap:.5rem .9rem;
  padding-bottom:1rem; border-bottom:1px solid var(--line); margin-bottom:1.25rem;
}
.dc-section__title{ font-size:var(--step-2); }
.dc-section__per{ font-size:var(--step--1); color:var(--text-faint); }

.dc-grid{ display:grid; gap:.75rem; }
@media (min-width:720px){ .dc-grid{ grid-template-columns:repeat(2,1fr); gap:1rem; } }
@media (min-width:1180px){ .dc-grid{ grid-template-columns:repeat(3,1fr); } }

.dc-card{
  display:flex; flex-direction:column; gap:.6rem;
  padding:1rem 1.05rem 1.05rem;
  background:var(--surface); border:1px solid var(--line-soft);
  border-radius:var(--radius); box-shadow:var(--shadow-s);
  transition:border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.dc-card.is-in{ border-color:var(--brand); box-shadow:0 0 0 1px var(--brand), var(--shadow-s); }

.dc-card__top{ display:flex; align-items:flex-start; gap:.75rem; }
.dc-card__name{
  flex:1; font-family:var(--display); font-size:var(--step-1);
  font-weight:500; line-height:1.18; letter-spacing:-.015em;
}
.dc-card__price{
  flex:none; font-weight:600; font-variant-numeric:tabular-nums;
  font-size:var(--step-0);
}
.dc-card__desc{
  font-size:var(--step--1); color:var(--text-soft); line-height:1.5;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}
.dc-card__meta{ display:flex; flex-wrap:wrap; gap:.3rem; align-items:center; }
.dc-card__foot{
  display:flex; align-items:center; justify-content:space-between;
  gap:.75rem; margin-top:auto; padding-top:.35rem;
}
.dc-card__line{
  font-size:var(--step--1); color:var(--brand-600); font-weight:600;
  font-variant-numeric:tabular-nums;
}

.dc-badge{
  display:inline-flex; align-items:center; gap:.3rem;
  padding:.18rem .5rem; border-radius:999px;
  font-size:.68rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase;
}
.dc-badge--best{ background:var(--saffron); color:#2A1A05; }
.dc-badge--pop{ background:var(--brand-100); color:var(--brand-600); }
.dc-badge--seasonal{ background:var(--sand); color:#5A4420; }

/* ---------- 8. Stepper --------------------------------------------------- */
.dc-stepper{
  display:inline-flex; align-items:center;
  border:1px solid var(--line); border-radius:999px;
  background:var(--surface); overflow:hidden;
}
.dc-stepper button{
  width:44px; height:44px; display:grid; place-items:center;
  border:0; background:none; cursor:pointer; color:var(--text);
  transition:background .15s var(--ease);
}
.dc-stepper button:hover{ background:var(--brand-100); }
.dc-stepper button:disabled{ opacity:.3; cursor:not-allowed; }
.dc-stepper svg{ width:16px; height:16px; }
.dc-stepper__n{
  min-width:2.4rem; text-align:center; font-weight:600;
  font-variant-numeric:tabular-nums; font-size:var(--step-0);
}

.dc-add{
  min-height:44px; padding:.5rem 1.1rem;
  border:1.5px solid var(--forest-900); border-radius:999px;
  background:var(--forest-900); color:var(--on-dark);
  font-size:var(--step--1); font-weight:600; cursor:pointer; white-space:nowrap;
  transition:background .18s var(--ease), transform .18s var(--ease);
}
.dc-add:hover{ background:var(--brand); border-color:var(--brand); }
.dc-add:active{ transform:scale(.97); }
.dc-add--locked{ background:transparent; color:var(--text-soft); border-color:var(--line); }
.dc-add--locked:hover{ background:var(--brand-100); color:var(--brand-600); border-color:var(--brand-300); }

/* ---------- 9. Suggestions ---------------------------------------------- */
.dc-sugg{
  margin:1.5rem 0; padding:clamp(1.1rem,3vw,1.6rem);
  background:var(--cream); border-radius:var(--radius-l);
  border:1px solid var(--sand);
}
.dc-sugg__head{ display:flex; flex-wrap:wrap; align-items:baseline; gap:.4rem .8rem; }
.dc-sugg__title{ font-size:var(--step-1); }
.dc-sugg__sub{ font-size:var(--step--1); color:var(--text-faint); }
.dc-sugg__list{ display:grid; gap:.65rem; margin-top:1rem; }
@media (min-width:860px){ .dc-sugg__list{ grid-template-columns:repeat(3,1fr); } }

.dc-pick{
  display:flex; flex-direction:column; gap:.5rem;
  padding:.9rem 1rem; background:var(--surface);
  border:1px solid var(--line-soft); border-radius:var(--radius);
  text-align:left;
}
.dc-pick__why{
  display:flex; gap:.4rem; align-items:flex-start;
  font-size:.78rem; font-weight:600; line-height:1.35;
  color:var(--brand-600); letter-spacing:.005em;
}
.dc-pick__why svg{ width:14px; height:14px; flex:none; margin-top:2px; }
.dc-pick__name{ font-family:var(--display); font-size:var(--step-1); font-weight:500; line-height:1.2; }
.dc-pick__meta{
  display:flex; align-items:center; justify-content:space-between; gap:.6rem;
  margin-top:auto; padding-top:.3rem;
}
.dc-pick__price{ font-size:var(--step--1); font-weight:600; font-variant-numeric:tabular-nums; }
.dc-pick__add{
  min-height:38px; padding:.35rem .85rem;
  border:1.5px solid var(--brand); border-radius:999px;
  background:transparent; color:var(--brand-600);
  font-size:.8rem; font-weight:700; cursor:pointer; white-space:nowrap;
  transition:background .18s var(--ease), color .18s var(--ease);
}
.dc-pick__add:hover{ background:var(--brand); color:#fff; }

.dc-sugg--clear{ background:var(--brand-100); border-color:var(--brand-300); }
.dc-sugg__done{
  display:flex; gap:.6rem; align-items:flex-start;
  font-size:var(--step--1); color:var(--forest-800); line-height:1.55;
}
.dc-sugg__done svg{ width:20px; height:20px; flex:none; color:var(--brand-600); }

/* ---------- 10. Order bar + tray ---------------------------------------- */
.dc-bar{
  position:fixed; left:0; right:0; bottom:0; z-index:120;
  background:var(--forest-900); color:var(--on-dark);
  padding:.7rem var(--gutter);
  padding-bottom:calc(env(safe-area-inset-bottom) + .7rem);
  box-shadow:0 -10px 34px -18px rgba(14,21,16,.7);
  transform:translateY(110%); transition:transform .3s var(--ease-out);
}
.dc-bar.is-on{ transform:translateY(0); }
.dc-bar__inner{
  width:min(var(--maxw),100%); margin-inline:auto;
  display:flex; align-items:center; gap:.9rem;
}
.dc-bar__sum{ flex:1; min-width:0; }
.dc-bar__total{
  font-family:var(--display); font-size:var(--step-2);
  font-weight:500; line-height:1; font-variant-numeric:tabular-nums;
}
.dc-bar__note{
  font-size:.76rem; color:var(--on-dark-soft); margin-top:.2rem;
  display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.dc-bar__note.is-warn{ color:#F0C27A; }
.dc-bar .btn{ flex:none; }

/* The tray itself — a sheet on phones, a panel on desktop. */
.dc-tray__list{ display:grid; gap:.1rem; margin-top:1.25rem; }
.dc-trayline{
  display:grid; grid-template-columns:1fr auto; gap:.3rem .9rem;
  align-items:center; padding:.8rem 0; border-bottom:1px solid var(--line-soft);
}
.dc-trayline__name{ font-weight:500; line-height:1.3; }
.dc-trayline__sub{ font-size:.78rem; color:var(--text-faint); margin-top:.15rem; }
.dc-trayline__right{ display:flex; align-items:center; gap:.75rem; }
.dc-trayline__total{ font-weight:600; font-variant-numeric:tabular-nums; min-width:4.2rem; text-align:right; }
.dc-trayline__x{
  width:34px; height:34px; display:grid; place-items:center; flex:none;
  border:0; border-radius:50%; background:rgba(23,32,26,.06);
  color:var(--text-soft); cursor:pointer;
}
.dc-trayline__x:hover{ background:#F6DAD2; color:var(--copper); }
.dc-trayline__x svg{ width:15px; height:15px; }

.dc-totals{ margin-top:1.25rem; padding-top:1rem; border-top:1.5px solid var(--line); }
.dc-totals__row{
  display:flex; justify-content:space-between; gap:1rem;
  padding:.3rem 0; font-size:var(--step--1);
}
.dc-totals__row--big{
  font-size:var(--step-1); font-weight:600; padding-top:.7rem;
  font-family:var(--display);
}
.dc-totals__row span:last-child{ font-variant-numeric:tabular-nums; }

/* ---------- 11. Budget builder ------------------------------------------ */
.dc-budgetform{
  display:grid; gap:1rem; padding:clamp(1.25rem,3.5vw,2rem);
  background:var(--surface); border:1px solid var(--line-soft);
  border-radius:var(--radius-l); box-shadow:var(--shadow-s);
}
@media (min-width:760px){
  .dc-budgetform{ grid-template-columns:1.2fr .8fr .8fr auto; align-items:end; gap:1.1rem; }
}
.dc-bf__field{ display:block; }
.dc-bf__field > span{
  display:block; font-size:var(--step--1); font-weight:600; margin-bottom:.45rem;
}
.dc-bf__money{ position:relative; }
.dc-bf__money::before{
  content:"$"; position:absolute; left:.85rem; top:50%; transform:translateY(-50%);
  color:var(--text-faint); font-weight:600; pointer-events:none;
}
.dc-bf__money input{ padding-left:2rem !important; }
.dc-budgetform input,
.dc-budgetform select{
  width:100%; min-height:50px; padding:.7rem .85rem;
  border:1px solid var(--line); border-radius:var(--radius-s);
  background:var(--surface); font-size:var(--step-0);
}
.dc-budgetform select{ appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234C5B50' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right .7rem center; background-size:18px; padding-right:2.4rem; }

.dc-quick{ display:flex; flex-wrap:wrap; gap:.4rem; margin-top:.85rem; }
.dc-quick button{
  min-height:38px; padding:.35rem .85rem;
  border:1px solid var(--line); border-radius:999px; background:var(--surface);
  font-size:var(--step--1); cursor:pointer;
}
.dc-quick button:hover{ border-color:var(--brand-300); background:var(--brand-100); }

/* ---------- 11. Packages -------------------------------------------------
   A package card is thin on purpose: the name, what it is for, the total
   and the per-head figure. The dish list, the leftover and the fit are
   behind "View package", because three cards side by side only stay
   readable while they are short.
   -------------------------------------------------------------------- */
.dc-bundle{
  display:flex; flex-direction:column;
  background:var(--surface); border:1px solid var(--line-soft);
  border-radius:var(--radius-l); overflow:hidden; box-shadow:var(--shadow-s);
  transition:border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.dc-bundle--match{ border-color:var(--brand); box-shadow:0 0 0 1px var(--brand), var(--shadow-s); }
.dc-bundle.is-open{ box-shadow:var(--shadow-m, var(--shadow-s)); }

.dc-bundle__top{ padding:clamp(1.1rem,2.6vw,1.4rem) clamp(1.1rem,2.6vw,1.4rem) 0; }
.dc-bundle__flag{
  display:inline-block; margin-bottom:.6rem; padding:.2rem .6rem;
  border-radius:999px; background:var(--brand); color:#fff;
  font-size:.68rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase;
}
.dc-bundle__name{ font-size:var(--step-1); line-height:1.15; }
.dc-bundle__blurb{
  margin-top:.5rem; font-size:var(--step--1); color:var(--text-soft); line-height:1.55;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}

.dc-bundle__figs{
  display:flex; flex-wrap:wrap; gap:.6rem 1.8rem; margin:1rem 0 0;
  padding:.9rem clamp(1.1rem,2.6vw,1.4rem) 0;
  border-top:1px dashed var(--line);
}
.dc-bundle__fig dt{ font-size:.7rem; text-transform:uppercase; letter-spacing:.07em; color:var(--text-faint); font-weight:600; }
.dc-bundle__fig dd{
  margin:.2rem 0 0; font-family:var(--display); font-size:var(--step-2);
  font-weight:500; font-variant-numeric:tabular-nums; line-height:1;
}
.dc-bundle__count{
  padding:.7rem clamp(1.1rem,2.6vw,1.4rem) 1rem;
  font-size:var(--step--1); color:var(--text-faint);
}

/* The detail, once it is asked for. */
.dc-bundle__more{ border-top:1px solid var(--line-soft); display:grid; gap:.75rem;
  padding:clamp(.9rem,2.4vw,1.2rem) clamp(1.1rem,2.6vw,1.4rem); }
.dc-bundle__more[hidden]{ display:none; }
.dc-bundle__lines{ display:grid; }
.dc-bundle__line{
  display:flex; justify-content:space-between; gap:1rem;
  padding:.35rem 0; font-size:var(--step--1);
}
.dc-bundle__line span:first-child{ color:var(--text); }
.dc-bundle__line span:last-child{ color:var(--text-faint); font-variant-numeric:tabular-nums; flex:none; }
.dc-bundle__covers{ display:flex; flex-wrap:wrap; gap:.3rem; margin-top:.7rem; }
.dc-bundle__portion{ font-size:var(--step--1); color:var(--text-soft); }

.dc-bundle__foot{
  margin-top:auto; display:flex; gap:.5rem;
  padding:clamp(.85rem,2.2vw,1.05rem) clamp(1.1rem,2.6vw,1.4rem);
  background:var(--cream); border-top:1px solid var(--line-soft);
}
.dc-bundle__foot .btn{ flex:1 1 0; min-width:0; }
/* On a phone the card is about 300px wide, which is not enough for two
   buttons side by side without the labels breaking. */
@media (max-width:520px){
  .dc-bundle__foot{ flex-wrap:wrap; }
  .dc-bundle__foot .btn{ flex:1 1 100%; }
}

.dc-fit{ display:flex; align-items:center; gap:.5rem; font-size:var(--step--1); color:var(--text-faint); }
.dc-fit__bar{
  flex:1; height:6px; border-radius:999px; background:var(--sand); overflow:hidden;
}
.dc-fit__bar i{ display:block; height:100%; background:var(--brand); border-radius:999px; }

/* Items marked over budget in the free-choice grid. */
.dc-card.is-over{ opacity:.52; }
.dc-card.is-over .dc-card__price::after{
  content:" · over budget"; font-size:.7rem; font-weight:500; color:var(--copper);
}

/* ---------- 11b. The package carousel -----------------------------------
   One row, three cards wide on a desktop and one at a time on a phone,
   swiped or driven by the arrows and the dots. The track is a flex row:
   the cards never shrink, so four of them overflow and scroll, while two
   grow to fill the row rather than leaving a hole on the right.
   -------------------------------------------------------------------- */
.dc-carousel{ margin-top:clamp(1.75rem,4vw,2.5rem); }

.dc-carousel__head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:1rem; margin-bottom:1.1rem;
}
.dc-carousel__title{ font-family:var(--display); font-size:var(--step-2); line-height:1.1; margin-top:.3rem; }

.dc-carousel__nav{ display:none; gap:.4rem; flex:none; }
@media (min-width:900px){ .dc-carousel__nav{ display:flex; } }
.dc-carousel.is-static .dc-carousel__nav,
.dc-carousel.is-static .dc-carousel__dots{ display:none; }

.dc-arrow{
  width:42px; height:42px; display:grid; place-items:center; padding:0;
  border:1px solid var(--line); border-radius:999px; background:var(--surface);
  color:var(--text); cursor:pointer; transition:border-color .2s, opacity .2s;
}
.dc-arrow svg{ width:20px; height:20px; }
.dc-arrow:hover:not(:disabled){ border-color:var(--brand); color:var(--brand); }
.dc-arrow:disabled{ opacity:.3; cursor:default; }

.dc-carousel__track{
  position:relative;                 /* so a card's offsetLeft is the track's */
  display:flex; gap:1rem; align-items:stretch;
  overflow-x:auto; overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;
  padding-bottom:.35rem;
  scrollbar-width:none; -ms-overflow-style:none;
}
.dc-carousel__track::-webkit-scrollbar{ display:none; }
.dc-carousel__track:focus-visible{ outline:2px solid var(--brand); outline-offset:4px; border-radius:var(--radius); }
.dc-carousel__track > .dc-bundle{ flex:1 0 86%; scroll-snap-align:start; }
/* While one card is open the others keep their own height rather than
   stretching to match it and showing a column of nothing. */
.dc-carousel:has(.dc-bundle.is-open) .dc-carousel__track{ align-items:flex-start; }
@media (min-width:640px){ .dc-carousel__track > .dc-bundle{ flex:1 0 calc(50% - .5rem); } }
@media (min-width:1000px){ .dc-carousel__track > .dc-bundle{ flex:1 0 calc(33.333% - .67rem); } }

/* Dots are how you know where you are when the cards come one or two at a
   time. Once three fit at once the arrows do that job and the dots are
   just decoration, so they go. */
.dc-carousel__dots{ display:flex; justify-content:center; gap:.15rem; margin-top:.9rem; }
@media (min-width:1000px){ .dc-carousel__dots{ display:none; } }
.dc-dot{
  width:26px; height:26px; padding:0; border:0; background:none;
  display:grid; place-items:center; cursor:pointer;
}
.dc-dot::before{
  content:""; display:block; width:8px; height:8px; border-radius:999px;
  background:var(--sand); transition:width .25s var(--ease-out), background .25s;
}
.dc-dot:hover::before{ background:var(--brand-300); }
.dc-dot[aria-current]::before{ width:22px; background:var(--brand); }

/* Nothing to show yet, or nothing we can do with the number. */
.dc-empty{
  margin-top:clamp(1.75rem,4vw,2.5rem);
  padding:clamp(1.4rem,3.5vw,2rem);
  border:1px dashed var(--line); border-radius:var(--radius-l); background:var(--cream);
}
.dc-empty__title{ font-family:var(--display); font-size:var(--step-1); }
.dc-empty__text{ margin-top:.6rem; font-size:var(--step--1); color:var(--text-soft); max-width:62ch; line-height:1.6; }

/* ---------- 11c. The menu gate -------------------------------------------
   The full catalogue goes out by email, so a visitor sees a sample and a
   way to ask for the rest. Two shapes: a card that takes the place of the
   dishes at the end of a section, and a wide strip for the top of a page.
   -------------------------------------------------------------------- */
.dc-lock{
  border:1px dashed var(--brand-300); background:var(--brand-100);
  border-radius:var(--radius); color:var(--text);
}
.dc-lock__ic{ display:grid; place-items:center; width:38px; height:38px; flex:none;
  border-radius:999px; background:var(--surface); color:var(--brand-600, var(--brand)); }
.dc-lock__ic svg{ width:19px; height:19px; }
.dc-lock__title{ font-family:var(--display); font-size:var(--step-0); line-height:1.25; }
.dc-lock__text{ margin-top:.4rem; font-size:var(--step--1); color:var(--text-soft); line-height:1.6; }

.dc-lock--card{
  display:flex; flex-direction:column; align-items:flex-start; gap:.6rem;
  justify-content:center; padding:1.15rem 1.1rem 1.25rem;
}
.dc-lock--card .btn{ margin-top:.2rem; padding:.7rem 1.1rem; font-size:var(--step--1); }

.dc-lock--panel{
  display:flex; align-items:center; gap:clamp(.9rem,2.5vw,1.4rem); flex-wrap:wrap;
  padding:clamp(1.1rem,3vw,1.5rem); margin:clamp(1.25rem,3vw,1.75rem) 0;
}
.dc-lock--panel .dc-lock__body{ flex:1 1 20rem; min-width:0; }
.dc-lock--panel .dc-lock__text{ max-width:62ch; }
.dc-lock--panel .btn{ flex:none; }
:is(.section--dark,.hero,.cta-band) .dc-lock{ background:rgba(143,181,145,.12); border-color:rgba(143,181,145,.4); color:var(--on-dark); }
:is(.section--dark,.hero,.cta-band) .dc-lock__text{ color:var(--on-dark-soft); }
:is(.section--dark,.hero,.cta-band) .dc-lock__ic{ background:rgba(255,255,255,.1); color:var(--brand-300); }

/* The request form, inside the modal. */
.dc-reqform{ margin-top:1.25rem; }
.dc-reqform .field{ margin-bottom:.9rem; }
.dc-reqform .dc-notice{ margin-top:.5rem; }

/* The dish-by-dish half of the budget page, under the packages. */
.dc-build{ margin-top:clamp(2.5rem,6vw,4rem); padding-top:clamp(2rem,5vw,3rem); border-top:1px solid var(--line-soft); }

/* ---------- 11d. The private catering catalogue --------------------------
   247 dishes with no prices against them — this menu is quoted per event.
   Locked, each group shows its first few and its real count.
   -------------------------------------------------------------------- */
.dc-cat-head{ margin:1.5rem 0 1.25rem; }
.dc-cat-head__title{ font-family:var(--display); font-size:var(--step-2); }
.dc-cat-head__note{ margin-top:.3rem; font-size:var(--step--1); color:var(--text-soft); }

.dc-cat-cols{
  display:grid; gap:1.5rem 2rem;
  grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));
}
.dc-cat-group__name{
  display:flex; align-items:baseline; gap:.5rem;
  font-size:.72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  font-family:var(--sans); color:var(--text-faint);
  padding-bottom:.5rem; border-bottom:1px solid var(--line-soft);
}
.dc-cat-group__n{ margin-left:auto; font-weight:600; letter-spacing:0; color:var(--brand); }
.dc-cat-group__note{ margin-top:.45rem; font-size:var(--step--1); color:var(--text-faint); font-style:italic; }
.dc-cat-list{ list-style:none; margin:.55rem 0 0; padding:0; display:grid; gap:.3rem; }
.dc-cat-list li{ font-size:var(--step--1); color:var(--text-soft); line-height:1.45; }
.dc-cat-list__more{ color:var(--brand) !important; font-weight:600; }

/* ---------- 12. Supper Club hero ---------------------------------------- */
.sc{ display:grid; grid-template-columns:1fr; }
@media (min-width:1040px){
  .sc{ grid-template-columns:1fr 1fr; align-items:start; }
}

.sc__media{
  position:relative; overflow:hidden;
  aspect-ratio:4/5; background:var(--forest-900);
}
@media (min-width:1040px){
  .sc__media{
    position:sticky; top:0; aspect-ratio:auto;
    height:100vh; height:100dvh;
  }
}

.sc-car{ position:absolute; inset:0; }
.sc-car__slide{
  position:absolute; inset:0; opacity:0;
  transition:opacity .9s var(--ease);
}
.sc-car__slide.is-on{ opacity:1; }
.sc-car__slide img{
  width:100%; height:100%; object-fit:cover;
  transform:scale(1.04);
  transition:transform 7s linear;
}
.sc-car__slide.is-on img{ transform:scale(1.12); }
.sc-car__scrim{
  position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg, rgba(14,21,16,.5) 0%, rgba(14,21,16,.08) 38%, rgba(14,21,16,.72) 100%);
}

.sc-car__cap{
  position:absolute; left:0; right:0; bottom:0; z-index:2;
  padding:clamp(1.25rem,4vw,2.5rem);
  display:flex; flex-direction:column; gap:.9rem;
  color:var(--on-dark);
}
/* the caption line and the play controls share one row under the dots */
.sc-car__row{
  display:flex; align-items:flex-end; justify-content:space-between; gap:1rem;
}
.sc-car__label{ font-size:var(--step--1); color:rgba(242,238,227,.78); max-width:28ch; line-height:1.45; }
.sc-car__ctrls{ display:flex; align-items:center; gap:.5rem; flex:none; }
.sc-car__btn{
  width:44px; height:44px; display:grid; place-items:center;
  border:1px solid rgba(242,238,227,.3); border-radius:50%;
  background:rgba(14,21,16,.35); color:var(--on-dark); cursor:pointer;
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  transition:background .2s var(--ease), border-color .2s var(--ease);
}
.sc-car__btn:hover{ background:rgba(242,238,227,.2); border-color:rgba(242,238,227,.6); }
.sc-car__btn svg{ width:18px; height:18px; }

/* Dots sit bottom-centre, directly above the caption and controls. */
.sc-car__dots{
  display:flex; justify-content:center; gap:.4rem;
}
.sc-car__dot{
  width:28px; height:4px; border:0; border-radius:999px; padding:0; cursor:pointer;
  background:rgba(242,238,227,.35); transition:background .25s var(--ease);
}
.sc-car__dot[aria-current="true"]{ background:var(--on-dark); }

/* The booking column */
.sc__panel{
  background:var(--paper);
  padding:clamp(1.75rem,5vw,3.5rem) var(--gutter);
}
@media (min-width:1040px){
  .sc__panel{
    min-height:100vh; min-height:100dvh;
    display:flex; flex-direction:column; justify-content:center;
    padding-inline:clamp(2rem,4vw,4rem);
    padding-top:calc(var(--header-h) + 2rem);
  }
}
.sc__panel-inner{ width:100%; max-width:34rem; margin-inline:auto; }

.sc-seats{
  display:flex; align-items:center; gap:.75rem;
  padding:.7rem 1rem; border-radius:999px;
  background:var(--brand-100); color:var(--forest-800);
  font-size:var(--step--1); font-weight:600; width:fit-content;
}
.sc-seats__dots{ display:flex; gap:3px; }
.sc-seats__dot{ width:8px; height:8px; border-radius:50%; background:var(--brand); }
.sc-seats__dot.is-taken{ background:rgba(23,32,26,.18); }
.sc-seats--low{ background:#FBEEDC; color:#6B4214; }
.sc-seats--low .sc-seats__dot{ background:var(--copper); }
.sc-seats--out{ background:rgba(23,32,26,.07); color:var(--text-faint); }
.sc-seats--out .sc-seats__dot{ background:rgba(23,32,26,.2); }
/* A night that is simply not running — no seat count to show at all. */
.sc-seats--off{
  background:rgba(23,32,26,.07); color:var(--text-faint); font-weight:500;
  font-style:italic;
}

.sc-next{ margin-top:1.25rem; }
.sc-next__when{
  font-family:var(--display); font-size:var(--step-3);
  font-weight:500; line-height:1.08; letter-spacing:-.02em;
}
.sc-next__theme{
  display:block; font-size:var(--step-1); color:var(--brand-600);
  margin-top:.3rem; font-family:var(--display);
}
.sc-next__blurb{ margin-top:.8rem; color:var(--text-soft); font-size:var(--step--1); line-height:1.6; }

.sc-menu{ margin-top:1.5rem; border-top:1px solid var(--line); }
.sc-menu__row{
  display:grid; grid-template-columns:auto 1fr; gap:.35rem .9rem;
  padding:.7rem 0; border-bottom:1px solid var(--line-soft);
  align-items:baseline;
}
.sc-menu__course{
  font-size:.68rem; text-transform:uppercase; letter-spacing:.08em;
  font-weight:700; color:var(--text-faint); min-width:4.2rem;
}
.sc-menu__dish{ font-size:var(--step-0); line-height:1.4; }
.sc-menu__note{ display:block; font-size:.78rem; color:var(--text-faint); margin-top:.15rem; }
/* Course names line up in one column, long ones ("Sharing is Caring
   Sides") wrap inside it; a second dish under the same course joins the
   row above without a rule between them. */
.sc-menu__row{ grid-template-columns:6.4rem 1fr; }
.sc-menu__row--cont{ margin-top:-.7rem; border-top:0; }
.sc-menu__row:has(+ .sc-menu__row--cont){ border-bottom-color:transparent; }

/* Non-veg / vegetarian switch above the menu. */
.sc-menu-tabs{
  display:inline-flex; gap:3px; margin-top:1.4rem; padding:3px;
  border:1px solid var(--line); border-radius:999px; background:var(--surface);
}
.sc-menu-tabs button{
  padding:.5rem 1rem; border-radius:999px; border:0; background:transparent;
  font-size:var(--step--1); font-weight:600; color:var(--text-soft); cursor:pointer;
  transition:background .18s var(--ease), color .18s var(--ease);
}
.sc-menu-tabs button:hover{ color:var(--text); }
.sc-menu-tabs button[aria-selected="true"]{ background:var(--brand); color:#fff; }
.sc-menu--tabbed{ margin-top:.9rem; }

.sc-pickers{ margin-top:1.75rem; }
.sc-events{ display:grid; gap:.5rem; }
.sc-event{
  display:grid; grid-template-columns:auto 1fr auto; gap:.3rem .9rem;
  align-items:center; text-align:left;
  padding:.8rem .95rem; border:1.5px solid var(--line);
  border-radius:var(--radius); background:var(--surface); cursor:pointer;
  transition:border-color .18s var(--ease), background .18s var(--ease);
}
.sc-event:hover{ border-color:var(--brand-300); }
.sc-event[aria-pressed="true"]{ border-color:var(--brand); background:var(--brand-100); }
.sc-event:disabled{ opacity:.5; cursor:not-allowed; }
/* Not running: readable, obviously inert, and struck through where the
   theme would have been. A full night still shows its menu; this one has
   none to show. */
.sc-event.is-off{ background:transparent; border-style:dashed; }
.sc-event.is-off .sc-event__theme{ font-weight:500; font-style:italic; color:var(--text-faint); }
.sc-menu--tba{ text-align:center; padding-block:1.4rem; }
.sc-menu__tba{ font-size:.78rem; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--brand); }
.sc-menu__tbanote{ margin-top:.45rem; font-size:var(--step--1); color:var(--text-soft); }

/* The whole club is between seasons: dc-supper.js marks the page and the
   schedule drops out of it. */
[data-supper-off] [data-when-running]{ display:none; }
.sc-event__date{
  font-family:var(--display); font-size:var(--step-1); font-weight:500;
  line-height:1.1; min-width:3.4rem;
}
.sc-event__theme{ display:block; font-size:var(--step--1); font-weight:600; line-height:1.3; }
.sc-event__seats{ display:block; font-size:.76rem; color:var(--text-faint); margin-top:.15rem; }
.sc-event__tick{ flex:none; width:22px; height:22px; color:var(--brand); opacity:0; }
.sc-event[aria-pressed="true"] .sc-event__tick{ opacity:1; }

.sc-form{ margin-top:1.5rem; display:grid; gap:1rem; }
.sc-form__row{ display:grid; gap:1rem; }
@media (min-width:520px){ .sc-form__row{ grid-template-columns:1fr 1fr; } }
.sc-form label > span{
  display:block; font-size:var(--step--1); font-weight:600; margin-bottom:.45rem;
}
.sc-form input,
.sc-form select,
.sc-form textarea{
  width:100%; min-height:50px; padding:.7rem .85rem;
  border:1px solid var(--line); border-radius:var(--radius-s);
  background:var(--surface); font-size:var(--step-0);
}
.sc-form textarea{ min-height:84px; resize:vertical; }
.sc-form select{ appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234C5B50' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right .7rem center; background-size:18px; padding-right:2.4rem; }

.sc-total{
  display:flex; align-items:baseline; justify-content:space-between; gap:1rem;
  padding:1rem 1.15rem; border-radius:var(--radius);
  background:var(--cream); border:1px solid var(--sand);
}
.sc-total__label{ font-size:var(--step--1); color:var(--text-soft); }
.sc-total__sum{
  font-family:var(--display); font-size:var(--step-2); font-weight:500;
  font-variant-numeric:tabular-nums;
}

/* ---------- 13. Supper Club — lower page -------------------------------- */
.sc-incl{ display:grid; gap:1rem; }
@media (min-width:680px){ .sc-incl{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1040px){ .sc-incl{ grid-template-columns:repeat(3,1fr); } }
.sc-incl__item{
  padding:clamp(1.1rem,2.6vw,1.5rem);
  background:var(--surface); border:1px solid var(--line-soft);
  border-radius:var(--radius); box-shadow:var(--shadow-s);
}
.sc-incl__n{
  font-family:var(--display); font-size:var(--step-1); color:var(--brand-300);
  font-variant-numeric:tabular-nums; display:block; margin-bottom:.5rem;
}
.sc-incl__title{ font-size:var(--step-1); }
.sc-incl__text{ margin-top:.5rem; font-size:var(--step--1); color:var(--text-soft); line-height:1.6; }

.sc-past{ display:grid; gap:1.25rem; }
@media (min-width:780px){ .sc-past{ grid-template-columns:repeat(3,1fr); } }
.sc-pastcard{
  display:flex; flex-direction:column; overflow:hidden;
  background:var(--surface); border:1px solid var(--line-soft);
  border-radius:var(--radius-l); box-shadow:var(--shadow-s);
}
.sc-pastcard__media{ aspect-ratio:4/3; overflow:hidden; background:var(--cream); }
.sc-pastcard__media img{ width:100%; height:100%; object-fit:cover; }
.sc-pastcard__body{ padding:clamp(1.1rem,2.6vw,1.4rem); flex:1; display:flex; flex-direction:column; }
.sc-pastcard__date{
  font-size:.7rem; text-transform:uppercase; letter-spacing:.08em;
  color:var(--text-faint); font-weight:700;
}
.sc-pastcard__theme{ font-size:var(--step-2); margin-top:.4rem; }
.sc-pastcard__blurb{ margin-top:.55rem; font-size:var(--step--1); color:var(--text-soft); line-height:1.55; }
.sc-pastcard__list{ margin-top:.9rem; padding-top:.9rem; border-top:1px dashed var(--line); display:grid; gap:.35rem; }
.sc-pastcard__list li{ font-size:var(--step--1); color:var(--text-soft); padding-left:1rem; position:relative; }
.sc-pastcard__list li::before{
  content:""; position:absolute; left:0; top:.55em;
  width:5px; height:5px; border-radius:50%; background:var(--brand-300);
}

/* ---------- 14. Teaser band (home / corporate) -------------------------- */
.dc-teaser{
  position:relative; overflow:hidden; border-radius:var(--radius-xl);
  background:var(--forest-900); color:var(--on-dark);
  display:grid; grid-template-columns:1fr;
}
@media (min-width:860px){ .dc-teaser{ grid-template-columns:1.05fr .95fr; } }
.dc-teaser__media{ position:relative; aspect-ratio:16/10; }
@media (min-width:860px){ .dc-teaser__media{ aspect-ratio:auto; min-height:26rem; } }
.dc-teaser__media img{ width:100%; height:100%; object-fit:cover; }
.dc-teaser__body{
  padding:clamp(1.6rem,4.5vw,3rem);
  display:flex; flex-direction:column; justify-content:center; gap:1rem;
}
.dc-teaser__title{ font-size:var(--step-3); }
.dc-teaser__text{ color:var(--on-dark-soft); font-size:var(--step-0); line-height:1.6; }
.dc-teaser__facts{ display:flex; flex-wrap:wrap; gap:.5rem; }
.dc-teaser__fact{
  padding:.3rem .75rem; border:1px solid var(--line-dark); border-radius:999px;
  font-size:var(--step--1);
}

/* ---------- 15. Reduced motion ------------------------------------------ */
@media (prefers-reduced-motion: reduce){
  .dc-modal, .dc-modal__box, .dc-bar, .dc-toast,
  .sc-car__slide, .sc-car__slide img{ transition:none !important; }
  .sc-car__slide.is-on img{ transform:scale(1.04); }
  .dc-add:active{ transform:none; }
}

/* ---------- 16. Print --------------------------------------------------- */
@media print{
  .dc-bar, .dc-context, .dc-cats, .dc-sugg, .sc-car__ctrls, .sc-car__dots{ display:none !important; }
  .sc__media{ aspect-ratio:16/9; height:auto; position:static; }
}
