/* ═══════════════════════════════════════════════
   YES COCKTAIL CO. — BUNDLE BUILDER
   /bundles/ page styles
   ═══════════════════════════════════════════════ */

/* ── Tokens (inherit from theme, override as needed) ── */
:root {
  --bb-cream:      #FFFBE7;
  --bb-cream-dk:   #F5EFC8;
  --bb-ink:        #030712;
  --bb-ink-lt:     #3A3A44;
  --bb-ink-faint:  #8A8880;
  --bb-yellow:     #F1DE30;
  --bb-yellow-hv:  #E8D020;
  --bb-blue:       #CFECF9;
  --bb-blue-hv:    #B8E2F2;
  --bb-coral:      #F3735A;
  --bb-coral-hv:   #E45F45;
  --bb-peach:      #F7B093;
  --bb-peach-hv:   #F09B7A;
  --bb-mint:       #9ED59F;
  --bb-mint-hv:    #84C586;
  --bb-border:     #030712;
  --bb-border-lt:  #C8C4A8;
  --bb-club-bg:    #FFF8C2;
  --bb-club-border:#C8B800;
  --bb-green:      #2D6B2A;
  --bb-green-bg:   #E8F5E8;
  --bb-r-pill:     100px;
  --bb-r-sm:       6px;
}


/* ── Page layout ─────────────────────────────── */
.bundles-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 120px 32px 80px;
}


/* ── Hero ─────────────────────────────────────── */
.bb-hero {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--bb-border);
}

.bb-hero .bb-eyebrow {
  font-family: 'Dancing Script', cursive;
  font-size: 18px;
  color: var(--bb-ink-lt);
  margin-bottom: 4px;
  display: block;
}

.bb-hero h1 {
  font-family: 'Zilla Slab', Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--bb-ink);
  margin-bottom: 8px;
  line-height: 1.1;
}

.bb-hero p {
  color: var(--bb-ink-lt);
  font-size: 15px;
  line-height: 1.65;
  max-width: 560px;
}


/* ── Section labels ──────────────────────────── */
.bb-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  color: var(--bb-ink-faint);
  margin-bottom: 8px;
}


/* ── Tier selector (segmented pill) ──────────── */
.bb-tier-selector {
  display: inline-flex;
  gap: 0;
  margin-bottom: 20px;
  border: 1.5px solid var(--bb-ink);
  border-radius: var(--bb-r-pill);
  overflow: hidden;
}

.bb-tier-btn {
  flex: 1;
  padding: 10px 22px;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
  background: transparent;
  border: none;
  border-right: 1.5px solid var(--bb-ink);
  font-family: inherit;
  min-width: 130px;
}

.bb-tier-btn:last-child { border-right: none; }

.bb-tier-btn .bb-tier-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
}

.bb-tier-btn .bb-tier-sub {
  font-size: 11px;
  color: var(--bb-ink-faint);
  margin-top: 1px;
}

.bb-tier-btn.active {
  background: var(--bb-blue);
}

.bb-tier-btn.active .bb-tier-name { color: var(--bb-ink); }
.bb-tier-btn.active .bb-tier-sub  { color: var(--bb-ink-lt); }
.bb-tier-btn:hover:not(.active) { background: var(--bb-cream-dk); }


/* ── Purchase toggle ─────────────────────────── */
.bb-purchase-toggle {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border: 1.5px solid var(--bb-ink);
  border-radius: var(--bb-r-pill);
  overflow: hidden;
}

.bb-pt-opt {
  flex: 1;
  padding: 12px 20px;
  cursor: pointer;
  transition: all .2s;
  border: none;
  background: transparent;
  border-right: 1.5px solid var(--bb-ink);
  font-family: inherit;
}

.bb-pt-opt:last-child { border-right: none; }

.bb-pt-label {
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bb-pt-radio {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--bb-ink);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
}

.bb-pt-radio-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bb-ink);
  display: none;
}

.bb-pt-opt.active-onetime { background: var(--bb-cream-dk); }
.bb-pt-opt.active-onetime .bb-pt-radio-dot { display: block; }

.bb-pt-opt.active-club { background: var(--bb-club-bg); }
.bb-pt-opt.active-club .bb-pt-radio-dot { display: block; }

.bb-pt-detail {
  font-size: 12px;
  color: var(--bb-ink-lt);
  margin-top: 3px;
  padding-left: 22px;
}


/* ── Frequency row (club only) ───────────────── */
.bb-freq-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 10px 16px;
  background: var(--bb-club-bg);
  border: 1.5px solid var(--bb-club-border);
  border-radius: var(--bb-r-pill);
  font-size: 13px;
  font-weight: 500;
}

.bb-freq-row strong {
  font-weight: 700;
}

.bb-freq-btn {
  padding: 5px 16px;
  border-radius: var(--bb-r-pill);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--bb-ink);
  background: transparent;
  color: var(--bb-ink);
  transition: all .15s;
  font-family: inherit;
  letter-spacing: .04em;
}

.bb-freq-btn.active {
  background: var(--bb-blue);
  color: var(--bb-ink);
}

.bb-freq-note {
  margin-left: auto;
  font-size: 11px;
  color: var(--bb-ink-lt);
}


/* ── Club perks bar ──────────────────────────── */
.bb-perks-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bb-club-bg);
  border: 1.5px solid var(--bb-club-border);
  border-radius: var(--bb-r-sm);
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 500;
}

.bb-perk-item {
  display: flex;
  align-items: center;
  gap: 6px;
}


/* ── Two-column layout ───────────────────────── */
.bb-cols {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}


/* ── Category filter pills ───────────────────── */
.bb-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.bb-filt {
  padding: 6px 16px;
  border-radius: var(--bb-r-pill);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--bb-ink);
  background: transparent;
  color: var(--bb-ink);
  transition: all .15s;
  font-family: inherit;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Per-category pill colors -- each filter always wears its category color.
   Inactive: pastel tone. Hover/active: darker variant. Class names match
   the category slugs emitted by page-bundles.php. */
.bb-filt-all          { background: var(--bb-yellow); }
.bb-filt-mixers       { background: var(--bb-blue); }
.bb-filt-bitters      { background: var(--bb-coral); }
.bb-filt-bitter-cubes { background: var(--bb-peach); }
.bb-filt-syrups       { background: var(--bb-mint); }

.bb-filt-all:hover:not(.active)          { background: var(--bb-yellow-hv); }
.bb-filt-mixers:hover:not(.active)       { background: var(--bb-blue-hv); }
.bb-filt-bitters:hover:not(.active)      { background: var(--bb-coral-hv); }
.bb-filt-bitter-cubes:hover:not(.active) { background: var(--bb-peach-hv); }
.bb-filt-syrups:hover:not(.active)       { background: var(--bb-mint-hv); }

.bb-filt-all.active          { background: var(--bb-yellow-hv); }
.bb-filt-mixers.active       { background: var(--bb-blue-hv); }
.bb-filt-bitters.active      { background: var(--bb-coral-hv); }
.bb-filt-bitter-cubes.active { background: var(--bb-peach-hv); }
.bb-filt-syrups.active       { background: var(--bb-mint-hv); }

/* Active state emphasis -- thicker border so the selected pill reads
   as "selected" beyond just the slight color shift. */
.bb-filt.active {
  border-width: 2.5px;
  font-weight: 700;
}


/* ── Product grid ────────────────────────────── */
.bb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  border-top: 1px solid var(--bb-border);
  border-left: 1px solid var(--bb-border);
}

.bb-card {
  border-right: 1px solid var(--bb-border);
  border-bottom: 1px solid var(--bb-border);
  background: var(--bb-cream);
  transition: background .15s;
  cursor: pointer;
  position: relative;
}

.bb-card:not(.is-oos):hover { background: var(--bb-cream-dk); }
.bb-card.is-added { background: #FFFCD4; }
.bb-card.is-oos { opacity: .5; cursor: default; }

.bb-card-img {
  aspect-ratio: 1;
  background: var(--bb-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--bb-border-lt);
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  text-decoration: none;
}

.bb-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  box-sizing: border-box;
}

.bb-card-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--bb-r-pill);
  text-transform: uppercase;
  letter-spacing: .06em;
  border: 1px solid;
  z-index: 2;
}

.bb-tag-fave { background: var(--bb-yellow); border-color: var(--bb-ink); color: var(--bb-ink); }
.bb-tag-new  { background: var(--bb-green-bg); border-color: var(--bb-green); color: var(--bb-green); }
.bb-tag-oos  { background: var(--bb-cream-dk); border-color: var(--bb-border-lt); color: var(--bb-ink-faint); }

.bb-card-body { padding: 12px; }

.bb-card-cat {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--bb-ink-faint);
  margin-bottom: 3px;
  font-weight: 600;
}

.bb-card-name {
  font-family: 'Zilla Slab', Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 3px;
}

.bb-card-desc {
  font-size: 11px;
  color: var(--bb-ink-lt);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bb-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bb-card-price {
  font-size: 14px;
  font-weight: 700;
}

.bb-add-btn {
  padding: 5px 12px;
  border-radius: var(--bb-r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1.5px solid var(--bb-ink);
  background: transparent;
  color: var(--bb-ink);
  transition: all .15s;
  font-family: inherit;
}

.bb-add-btn:hover { background: var(--bb-yellow); }
.bb-add-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.bb-card.is-added .bb-add-btn { background: var(--bb-yellow); }
.bb-card.is-oos .bb-add-btn {
  border-color: var(--bb-border-lt);
  color: var(--bb-ink-faint);
  cursor: not-allowed;
}

/* Quantity stepper -- replaces the +ADD button once a product has been
   added to the bundle. Same visual footprint as .bb-add-btn (pill shape,
   ink border) so the card layout doesn't shift between states. */
.bb-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--bb-ink);
  border-radius: var(--bb-r-pill);
  background: var(--bb-yellow);
  overflow: hidden;
  font-family: inherit;
}
.bb-step-btn {
  width: 26px;
  height: 26px;
  border: none;
  background: transparent;
  color: var(--bb-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  font-family: inherit;
  padding: 0;
}
.bb-step-btn:hover:not(:disabled) { background: var(--bb-yellow-hv); }
.bb-step-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.bb-step-count {
  min-width: 22px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--bb-ink);
  user-select: none;
}

/* Tracker slot list: small-cap × N qty annotation next to product names */
.bb-slot-qty {
  font-weight: 700;
  color: var(--bb-ink-lt);
  margin-left: 4px;
}


/* ── Tracker sidebar ─────────────────────────── */
.bb-tracker {
  border: 1.5px solid var(--bb-ink);
  border-radius: var(--bb-r-sm);
  overflow: hidden;
  position: sticky;
  top: 112px;
  background: var(--bb-cream);
}

.bb-tracker-head {
  padding: 16px;
  border-bottom: 1px solid var(--bb-ink);
  background: var(--bb-cream-dk);
}

.bb-tracker-title {
  font-family: 'Zilla Slab', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--bb-ink);
  margin-bottom: 2px;
}

.bb-tracker-sub {
  font-size: 12px;
  color: var(--bb-ink-lt);
}

.bb-tracker-body { padding: 16px; }


/* Slot dots */
.bb-slot-dots {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.bb-slot-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--bb-border-lt);
  background: var(--bb-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--bb-ink-faint);
  font-weight: 700;
  transition: all .2s;
}

.bb-slot-dot.filled {
  background: var(--bb-yellow);
  border-color: var(--bb-ink);
  color: var(--bb-ink);
}


/* Slot list */
.bb-slot-list { margin-bottom: 12px; }

.bb-slot-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--bb-cream-dk);
  font-size: 12px;
}

.bb-slot-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bb-yellow);
  border: 1px solid var(--bb-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.bb-slot-item.is-empty .bb-slot-num {
  background: var(--bb-cream-dk);
  border-color: var(--bb-border-lt);
}

.bb-slot-name {
  flex: 1;
  line-height: 1.3;
}

.bb-slot-item.is-empty .bb-slot-name {
  color: var(--bb-ink-faint);
  font-style: italic;
}

.bb-slot-price {
  color: var(--bb-ink-lt);
  font-size: 11px;
  white-space: nowrap;
}

.bb-slot-remove {
  background: none;
  border: none;
  color: var(--bb-ink-faint);
  cursor: pointer;
  font-size: 10px;
  padding: 0 2px;
  transition: color .15s;
  font-family: inherit;
}

.bb-slot-remove:hover { color: #c0392b; }


/* Pricing box */
.bb-pricing {
  background: var(--bb-cream-dk);
  border-radius: var(--bb-r-sm);
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid var(--bb-border-lt);
}

.bb-p-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--bb-ink-lt);
  margin-bottom: 6px;
}

.bb-p-row:last-child { margin-bottom: 0; }

.bb-p-row.bb-total {
  font-size: 16px;
  font-weight: 700;
  color: var(--bb-ink);
  border-top: 1px solid var(--bb-border-lt);
  margin-top: 8px;
  padding-top: 8px;
}

.bb-p-savings {
  color: var(--bb-green);
  font-weight: 600;
}


/* Perk badges */
.bb-perk-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.bb-pbadge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--bb-r-pill);
  border: 1px solid;
  letter-spacing: .03em;
}

.bb-pb-ship { background: var(--bb-green-bg); border-color: var(--bb-green); color: var(--bb-green); }
.bb-pb-disc { background: var(--bb-yellow); border-color: var(--bb-ink); color: var(--bb-ink); }
.bb-pb-club { background: var(--bb-club-bg); border-color: var(--bb-club-border); color: var(--bb-ink); }

.bb-tracker-note {
  font-size: 11px;
  color: var(--bb-ink-faint);
  text-align: center;
  margin-top: 8px;
  line-height: 1.5;
}


/* ── CTA buttons ─────────────────────────────── */
.bb-btn-primary {
  background: var(--bb-yellow);
  color: var(--bb-ink);
  border: 1.5px solid var(--bb-ink);
  border-radius: var(--bb-r-pill);
  padding: 13px 28px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s;
  display: inline-block;
  width: 100%;
  text-align: center;
}

.bb-btn-primary:hover { background: var(--bb-yellow-hv); }

.bb-btn-primary:disabled,
.bb-btn-primary.is-disabled {
  background: var(--bb-yellow);
  color: var(--bb-ink);
  border-color: var(--bb-ink);
  opacity: 0.7;
  cursor: not-allowed;
}

.bb-btn-club {
  background: var(--bb-blue);
  color: var(--bb-ink);
  border: 1.5px solid var(--bb-ink);
  border-radius: var(--bb-r-pill);
  padding: 13px 28px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .15s;
  display: inline-block;
  width: 100%;
  text-align: center;
}

.bb-btn-club:hover { background: var(--bb-blue-hv); }

.bb-btn-club:disabled,
.bb-btn-club.is-disabled {
  background: var(--bb-yellow);
  color: var(--bb-ink);
  border-color: var(--bb-ink);
  opacity: 0.7;
  cursor: not-allowed;
}

.bb-btn-outline {
  background: transparent;
  color: var(--bb-ink);
  border: 1.5px solid var(--bb-ink);
  border-radius: var(--bb-r-pill);
  padding: 11px 28px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .15s;
  display: inline-block;
  width: 100%;
  margin-top: 8px;
  text-align: center;
}

.bb-btn-outline:hover {
  background: var(--bb-ink);
  color: var(--bb-cream);
}


/* ── Mystery Bundle ──────────────────────────── */
.bb-mystery-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.bb-mystery-img {
  aspect-ratio: 1/1;
  border: 1.5px solid var(--bb-ink);
  border-radius: var(--bb-r-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--bb-cream-dk);
  overflow: hidden;
}

.bb-mystery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bb-mystery-img .bb-mystery-placeholder {
  font-size: 64px;
}

.bb-mystery-img .bb-mystery-sub {
  font-size: 13px;
  color: var(--bb-ink-faint);
  font-style: italic;
}

.bb-mystery-info h2 {
  font-family: 'Zilla Slab', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

.bb-mystery-info p {
  color: var(--bb-ink-lt);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.bb-mystery-includes h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--bb-ink-faint);
  font-weight: 700;
  margin-bottom: 10px;
}

.bb-mystery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}

.bb-m-tag {
  border: 1.5px solid var(--bb-ink);
  border-radius: var(--bb-r-pill);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  background: var(--bb-cream);
}

/* Mystery Bundle "Every box includes" pills -- color-matched to category
   semantics where applicable, and to the rest of the palette for items
   without a direct category mapping. */
.bb-m-tag-mixers  { background: var(--bb-blue); }
.bb-m-tag-bitters { background: var(--bb-coral); }
.bb-m-tag-garnish { background: var(--bb-mint); }
.bb-m-tag-recipe  { background: var(--bb-peach); }
.bb-m-tag-extras  { background: var(--bb-yellow); }

.bb-mystery-card {
  border: 1.5px solid var(--bb-ink);
  border-radius: var(--bb-r-sm);
  padding: 24px;
  position: sticky;
  top: 112px;
  background: var(--bb-cream);
}

.bb-mc-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--bb-ink-lt);
  font-weight: 700;
  margin-bottom: 8px;
}

.bb-mc-price-big {
  font-family: 'Zilla Slab', Georgia, serif;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 2px;
}

.bb-mc-price-big span {
  font-size: 16px;
  font-weight: 400;
  color: var(--bb-ink-lt);
}

.bb-mc-value {
  font-size: 13px;
  color: var(--bb-green);
  font-weight: 700;
  margin-bottom: 16px;
}

.bb-mc-perks {
  list-style: none;
  font-size: 13px;
  line-height: 2.1;
  margin-bottom: 20px;
  border-top: 1px solid var(--bb-border-lt);
  padding-top: 14px;
}

.bb-mc-perks li::before {
  content: '— ';
  color: var(--bb-ink-faint);
}

.bb-mc-sep {
  border: none;
  border-top: 1px solid var(--bb-border-lt);
  margin: 14px 0;
}

.bb-mc-cancel {
  font-size: 11px;
  color: var(--bb-ink-faint);
  text-align: center;
  margin-top: 8px;
}


/* ── Toast notification ──────────────────────── */
#bb-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bb-ink);
  color: var(--bb-cream);
  padding: 13px 28px;
  border-radius: var(--bb-r-pill);
  font-weight: 700;
  font-size: 14px;
  transition: transform .4s ease;
  z-index: 999;
  pointer-events: auto;
  border: 1.5px solid var(--bb-ink);
  white-space: nowrap;
}

#bb-toast.show {
  transform: translateX(-50%) translateY(0);
}


/* ── Responsive ──────────────────────────────── */
@media (max-width: 860px) {
  .bb-cols {
    grid-template-columns: 1fr;
  }

  .bb-tracker {
    position: static;
  }

  .bb-mystery-wrap {
    grid-template-columns: 1fr;
  }

  .bb-mystery-card {
    position: static;
  }

  .bb-tier-selector {
    flex-wrap: wrap;
    border-radius: var(--bb-r-sm);
  }

  .bb-tier-btn {
    min-width: 0;
    flex-basis: calc(50% - 0.5px);
  }

  .bb-tier-btn:nth-child(2) {
    border-right: none;
  }

  .bb-tier-btn:nth-child(1),
  .bb-tier-btn:nth-child(2) {
    border-bottom: 1.5px solid var(--bb-ink);
  }

  .bb-purchase-toggle {
    flex-direction: column;
    border-radius: var(--bb-r-sm);
  }

  .bb-pt-opt {
    border-right: none;
    border-bottom: 1.5px solid var(--bb-ink);
  }

  .bb-pt-opt:last-child {
    border-bottom: none;
  }

  .bb-freq-row {
    flex-wrap: wrap;
    border-radius: var(--bb-r-sm);
  }

  .bb-freq-note {
    margin-left: 0;
    width: 100%;
  }

  .bundles-page {
    padding: 100px 16px 60px;
  }

  .bb-hero h1 {
    font-size: 32px;
  }

  .bb-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}

@media (max-width: 480px) {
  .bb-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bb-card-desc {
    display: none;
  }
}


/* ── Mobile bottom bar ──────────────────────── */
.bb-mobile-bar {
  display: none;
}

@media (max-width: 860px) {
  .bb-mobile-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bb-ink);
    color: var(--bb-cream);
    padding: 12px 16px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 -4px 20px rgba(0,0,0,.15);
    border-top: 1.5px solid var(--bb-yellow);
  }

  .bb-mb-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .bb-mb-count {
    font-size: 13px;
    font-weight: 600;
  }

  .bb-mb-total {
    font-size: 18px;
    font-weight: 700;
    color: var(--bb-yellow);
  }

  .bb-mb-btn {
    background: var(--bb-yellow);
    color: var(--bb-ink);
    border: none;
    border-radius: var(--bb-r-pill);
    padding: 12px 24px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s;
  }

  .bb-mb-btn.bb-mb-ready {
    background: var(--bb-green-bg);
    color: var(--bb-green);
    border: 1.5px solid var(--bb-green);
  }

  .bb-mb-btn:active {
    transform: scale(.97);
  }

  /* Add bottom padding to page so content isn't hidden behind the bar */
  .bundles-page {
    padding-bottom: 100px;
  }
}

