/* bundle.css — Build Your Own Cheeseboard (Made In England). Exact match to supplied HTML builder + ticket. */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Nunito+Sans:wght@200;300;400;600&display=swap');

#my-custom-bundle {
  --green:#1E453E; --green-deep:#143029; --green-tint:#EFF3F1;
  --parchment:#EDE8DC; --paper:#FFFFFF; --gold:#C9A876; --gold-deep:#9C7C36;
  --ink:#1F1D19; --soft:#63605A; --rule:rgba(30,69,62,.16);
  --serif:"EB Garamond",Georgia,serif; --sans:"Nunito Sans",system-ui,sans-serif;
  --ticket-width:340px;

  box-sizing:border-box;
  max-width:1180px; margin:0 auto; padding:56px 28px 40px;
  background:var(--paper); color:var(--ink);
  font-family:var(--sans); font-weight:300; font-size:14px; line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
#my-custom-bundle *, #my-custom-bundle *::before, #my-custom-bundle *::after { box-sizing:inherit; }
#my-custom-bundle img { display:block; max-width:100%; }
#my-custom-bundle button { font:inherit; color:inherit; }
#my-custom-bundle h2, #my-custom-bundle h3, #my-custom-bundle h4 { margin:0; }
#my-custom-bundle button:focus-visible { outline:2px solid var(--gold); outline-offset:2px; }

/* ── Hero banner ─────────────────────────────────────────── */
#my-custom-bundle .board__hero {
  /* break out of the root's 56px/28px padding to span full width */
  margin:-56px -28px 48px; padding:clamp(52px,9vw,52px) 28px;
  background:var(--green-deep); color:var(--parchment); text-align:center;
}
#my-custom-bundle .board__hero-inner { max-width:720px; margin:0 auto; }
#my-custom-bundle .board__hero-eyebrow {
  margin:0 0 20px; font-size:clamp(10px,1.1vw,12px); letter-spacing:.34em;
  text-transform:uppercase; color:var(--gold); font-weight:400;
}
#my-custom-bundle .board__hero-title {
  margin:0; font-family:var(--serif); font-weight:400; line-height:1.04;
  font-size:clamp(38px,6.4vw,72px); color:var(--parchment);
}
#my-custom-bundle .board__hero-rule {
  display:block; position:relative; width:60px; height:1px; background:var(--gold); margin:24px auto;
}
#my-custom-bundle .board__hero-rule::before,
#my-custom-bundle .board__hero-rule::after {
  content:""; position:absolute; top:-2px; width:5px; height:5px; background:var(--gold); transform:rotate(45deg);
}
#my-custom-bundle .board__hero-rule::before { left:-9px; }
#my-custom-bundle .board__hero-rule::after { right:-9px; }
#my-custom-bundle .board__hero-sub {
  max-width:44ch; margin:0 auto; font-size:clamp(14.5px,1.4vw,17px); font-weight:200; line-height:1.6; opacity:.92;
}

#my-custom-bundle .board__cols {
  display:grid; grid-template-columns:minmax(0,1fr) var(--ticket-width); gap:48px; align-items:start;
}
#my-custom-bundle .board__main { min-width:0; }

/* ── Step blocks ─────────────────────────────────────────── */
#my-custom-bundle .board__steps { display:block; }
#my-custom-bundle .board__step { border-top:1px solid var(--rule); padding:34px 0 6px; }
#my-custom-bundle .board__step--first { border-top:0; padding-top:0; }
#my-custom-bundle .board__step-head {
  display:flex; align-items:baseline; gap:16px; margin-bottom:6px; flex-wrap:wrap;
}
#my-custom-bundle .board__num {
  font-family:var(--serif); font-size:14px; color:var(--gold-deep); letter-spacing:.14em;
}
#my-custom-bundle .board__step-title {
  font-family:var(--serif); font-weight:400; font-size:25px; line-height:1.2; color:var(--ink);
}
#my-custom-bundle .board__hint {
  margin:0 0 18px; color:var(--soft); font-size:14px; max-width:64ch;
}

/* ── Cheese groups (Step 01) ─────────────────────────────── */
#my-custom-bundle .board__grp { margin-bottom:22px; }
#my-custom-bundle .board__grp-label {
  font-size:10.5px; letter-spacing:.2em; text-transform:uppercase; color:var(--soft);
  margin:0 0 12px; display:flex; align-items:center; gap:14px;
}
#my-custom-bundle .board__grp-label::after { content:""; flex:1; height:1px; background:var(--rule); }
#my-custom-bundle .board__opts {
  display:grid; grid-template-columns:repeat(3,1fr); gap:12px;
}

#my-custom-bundle .board__tile {
  background:#fff; border:1px solid var(--rule); position:relative;
  display:flex; flex-direction:column; transition:border-color .16s;
}
#my-custom-bundle .board__tile:hover { border-color:var(--green); }
#my-custom-bundle .board__tile.is-on {
  border:1.5px solid var(--green);
  box-shadow:inset 0 0 0 3px #fff, inset 0 0 0 4px var(--parchment);
}
#my-custom-bundle .board__badge {
  position:absolute; top:9px; left:9px; z-index:2;
  background:var(--green); color:var(--parchment);
  font-size:9.5px; letter-spacing:.12em; text-transform:uppercase; padding:4px 9px;
}
#my-custom-bundle .board__tile-fig { margin:0; aspect-ratio:1/1; background:var(--parchment); overflow:hidden; }
#my-custom-bundle .board__tile-fig img { width:100%; height:100%; object-fit:cover; }
#my-custom-bundle .board__tile-body { padding:12px 13px 13px; display:flex; flex-direction:column; flex:1 1 auto; }
#my-custom-bundle .board__nm { font-size:14px; line-height:1.3; color:var(--ink); }
#my-custom-bundle .board__de {
  font-size:11.5px; color:var(--soft); margin-top:4px; line-height:1.45;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}

/* Price */
#my-custom-bundle .board__price { display:flex; align-items:baseline; gap:6px; font-family:var(--serif); }
#my-custom-bundle .board__tile-price { margin-top:8px; }
#my-custom-bundle .board__price-current { font-size:16px; color:var(--ink); }
#my-custom-bundle .board__price-original { font-size:13px; color:var(--soft); text-decoration:line-through; }

/* Details button */
#my-custom-bundle .board__det {
  border:0; background:transparent; padding:6px 0 0; cursor:pointer;
  font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--gold-deep);
  display:inline-flex; align-items:center; gap:5px; align-self:flex-start;
}
#my-custom-bundle .board__det:hover { color:var(--green); }
#my-custom-bundle .board__ch { font-size:9px; }

/* acts bar (tile) */
#my-custom-bundle .board__acts { display:flex; border-top:1px solid var(--rule); }
#my-custom-bundle .board__act {
  flex:1; border:0; background:transparent; padding:11px 6px; cursor:pointer;
  font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--green);
  transition:background .14s;
}
#my-custom-bundle .board__act:hover:not(:disabled) { background:var(--parchment); }
#my-custom-bundle .board__act.is-disabled, #my-custom-bundle .board__act:disabled { color:var(--soft); opacity:.45; cursor:default; }
#my-custom-bundle .board__acts--on .board__act-minus, #my-custom-bundle .board__acts--on .board__act-plus { flex:0 0 44px; font-size:15px; }
#my-custom-bundle .board__acts--on .board__act-minus { border-right:1px solid var(--rule); }
#my-custom-bundle .board__acts--on .board__act-plus { border-left:1px solid var(--rule); }
#my-custom-bundle .board__act-qty {
  flex:1; display:flex; align-items:center; justify-content:center;
  font-family:var(--serif); font-size:17px; color:var(--ink);
}

/* ── List rows (Steps 02+) ───────────────────────────────── */
#my-custom-bundle .board__grp--rows { margin-bottom:22px; }
#my-custom-bundle .board__rows { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
#my-custom-bundle .board__row {
  display:flex; gap:14px; align-items:flex-start; position:relative;
  background:#fff; border:1px solid var(--rule); padding:12px 14px; transition:border-color .16s;
}
#my-custom-bundle .board__row:hover { border-color:var(--green); }
#my-custom-bundle .board__row.is-on { border:1.5px solid var(--green); }
#my-custom-bundle .board__row-fig {
  margin:3px 0 0; width:66px; height:66px; flex:none; background:var(--parchment);
  overflow:hidden; display:flex; align-items:center; justify-content:center;
}
#my-custom-bundle .board__row-fig img { width:100%; height:100%; object-fit:cover; }
#my-custom-bundle .board__row-fig span {
  font-size:9px; letter-spacing:.1em; text-transform:uppercase; color:var(--soft); text-align:center; padding:4px;
}
#my-custom-bundle .board__row-txt { flex:1; min-width:0; }
#my-custom-bundle .board__row-txt .board__nm { display:block; }
#my-custom-bundle .board__row-txt .board__de { -webkit-line-clamp:2; margin-top:3px; }
#my-custom-bundle .board__pz { margin-top:5px; }
#my-custom-bundle .board__pz .board__price-current { font-size:11.5px; color:var(--green); font-family:var(--sans); }
#my-custom-bundle .board__pz .board__price-original { font-size:11px; }

/* qty control */
#my-custom-bundle .board__qty { display:flex; align-items:center; gap:2px; flex:none; margin-top:3px; }
#my-custom-bundle .board__qty-btn {
  width:30px; height:30px; border:1px solid var(--rule); background:#fff; cursor:pointer;
  font-size:15px; line-height:1; color:var(--green);
}
#my-custom-bundle .board__qty-btn:hover:not(:disabled) { background:var(--parchment); }
#my-custom-bundle .board__qty-btn:disabled, #my-custom-bundle .board__qty-btn.is-disabled { opacity:.3; cursor:not-allowed; }
#my-custom-bundle .board__qty-n { width:32px; text-align:center; font-family:var(--serif); font-size:17px; }

/* ── Ticket ──────────────────────────────────────────────── */
#my-custom-bundle .board__ticket { position:sticky; top:22px; min-width:0; }
#my-custom-bundle .board__ticket-in { background:var(--parchment); border:1px solid var(--rule); }
#my-custom-bundle .board__ticket-top {
  background:var(--green); color:var(--parchment); padding:18px 22px; text-align:center;
}
#my-custom-bundle .board__ticket-title { font-family:var(--serif); font-size:21px; }
#my-custom-bundle .board__ticket-sub {
  font-size:10px; letter-spacing:.22em; text-transform:uppercase; color:var(--gold); margin-top:4px;
}
#my-custom-bundle .board__perf {
  height:8px; opacity:.25;
  background:repeating-linear-gradient(90deg,var(--green) 0 6px,transparent 6px 12px);
}
#my-custom-bundle .board__ticket-body { padding:18px 22px 22px; }

#my-custom-bundle .board__lines { max-height:360px; overflow-y:auto; }
#my-custom-bundle .board__lines-empty { padding:14px 0; text-align:center; color:var(--soft); font-size:13px; }
#my-custom-bundle .board__line {
  display:flex; justify-content:space-between; gap:14px; font-size:13px; padding:5px 0; color:var(--soft);
}
#my-custom-bundle .board__line-left { display:inline-flex; align-items:baseline; gap:6px; min-width:0; }
#my-custom-bundle .board__line-name { min-width:0; }
#my-custom-bundle .board__line b { font-weight:400; color:var(--ink); white-space:nowrap; font-family:var(--serif); font-size:15px; }
#my-custom-bundle .board__line-remove {
  border:0; background:none; color:var(--soft); cursor:pointer; font-size:15px; line-height:1; padding:0 2px;
}
#my-custom-bundle .board__line-remove:hover { color:var(--gold-deep); }

#my-custom-bundle .board__trule { height:1px; background:var(--rule); margin:12px 0; }
#my-custom-bundle .board__total { display:flex; justify-content:space-between; align-items:baseline; }
#my-custom-bundle .board__total-label { font-size:12px; letter-spacing:.18em; text-transform:uppercase; }
#my-custom-bundle .board__total-value { font-family:var(--serif); font-size:34px; }
#my-custom-bundle .board__validation { margin-top:10px; font-size:12px; line-height:1.35; color:#a2412f; text-align:center; }
#my-custom-bundle .board__cta {
  width:100%; margin-top:18px; background:var(--green); color:var(--parchment); border:0; padding:16px;
  font-size:12px; letter-spacing:.18em; text-transform:uppercase; cursor:pointer;
}
#my-custom-bundle .board__cta:hover { background:var(--green-deep); }
#my-custom-bundle .board__cta:disabled { background:#b7bcb5; cursor:not-allowed; }

/* ── Modal ───────────────────────────────────────────────── */
#my-custom-bundle .board__modal[hidden] { display:none; }
#my-custom-bundle .board__modal {
  position:fixed; inset:0; z-index:9999; display:flex; align-items:center; justify-content:center;
  background:rgba(20,48,41,.55); padding:20px;
}
#my-custom-bundle .board__modal-dialog {
  position:relative; background:var(--paper); max-width:520px; width:100%; max-height:88vh; overflow-y:auto;
  box-shadow:0 20px 60px rgba(0,0,0,.3);
}
#my-custom-bundle .board__modal-close {
  position:absolute; top:12px; right:12px; z-index:2; width:34px; height:34px; border:0; border-radius:50%;
  background:rgba(255,255,255,.92); color:var(--ink); cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center;
}
#my-custom-bundle .board__modal-close:hover { background:#fff; }
#my-custom-bundle .board__modal-media { aspect-ratio:16/10; background:var(--parchment); overflow:hidden; }
#my-custom-bundle .board__modal-media img { width:100%; height:100%; object-fit:cover; }
#my-custom-bundle .board__modal-title { font-family:var(--serif); font-weight:600; font-size:26px; padding:22px 24px 0; }
#my-custom-bundle .board__modal-desc { padding:12px 24px 24px; font-size:14px; line-height:1.6; color:var(--ink); }
#my-custom-bundle .board__modal-desc p { margin:0 0 10px; }
#my-custom-bundle .board__modal-desc img { max-width:100%; height:auto; }

/* ── States ──────────────────────────────────────────────── */
#my-custom-bundle .board__empty { padding:24px; text-align:center; color:var(--soft); font-size:13px; }
#my-custom-bundle .board__empty--cat { padding:16px; }
#my-custom-bundle .board__loader {
  display:flex; align-items:center; justify-content:center; min-height:400px; color:var(--soft); font-size:14px;
}
#my-custom-bundle .board__loader::before {
  content:""; width:15px; height:15px; margin-right:10px;
  border:2px solid rgba(30,69,62,.25); border-top-color:var(--green); border-radius:50%;
  animation:board-spin .9s linear infinite;
}
@keyframes board-spin { to { transform:rotate(360deg); } }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width:980px) {
  #my-custom-bundle .board__cols { grid-template-columns:1fr; gap:32px; }
  #my-custom-bundle .board__ticket { position:static; }
}
@media (max-width:640px) {
  #my-custom-bundle .board__opts { grid-template-columns:repeat(2,1fr); }
  #my-custom-bundle .board__rows { grid-template-columns:1fr; }
}
@media (max-width:420px) {
  #my-custom-bundle .board__opts { grid-template-columns:1fr; }
}