/* Bundle offer ticket (views/partials/bundle/bundleTicket.ejs), phones only.
   Founder's design, 2026-11-10: "B2" voucher stub with nothing in the bag,
   "E" tracker with slots, picks and the saving lines once it has started. */
.bt {
  --bt-accent: #ff3f6c; --bt-accent-deep: #e6355f; --bt-ink: #1a1a1a; --bt-muted: #4a4a4f;
  --bt-label: #7a5c66; --bt-bg: #fff6f8; --bt-line: #f4c9d5; --bt-perf: #efb3c3; --bt-page: #fff;
  --bt-ok: #17693b; --bt-ok-line: #8cc5a3; --bt-ok-perf: #a9d3bb;
  margin: 12px 16px; display: flex; flex-direction: column;
}
.bt [hidden], .bt[hidden] { display: none !important; }
.bt-ticket { position: relative; display: flex; background: var(--bt-bg); border: 1px solid var(--bt-line); border-radius: 12px; color: var(--bt-ink); text-decoration: none; }
a.bt-ticket:active { background: #ffeef3; }
a.bt-ticket:focus-visible, .bt-pick a:focus-visible, .bt-pick-add:focus-visible { outline: 2px solid var(--bt-ink); outline-offset: 2px; }
.bt-main { flex: 1; min-width: 0; padding: 16px 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.bt-kicker { margin: 0; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--bt-label); }
.bt-count { white-space: nowrap; }
.bt-saving { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.bt-amount { font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.bt-unit { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--bt-accent-deep); }
.bt-extra { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; }
.bt-short { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.3; }
.bt-goal { margin: 0; font-size: 12px; line-height: 1.4; color: var(--bt-muted); }
.bt-dashes { display: flex; gap: 6px; margin-top: 4px; }
.bt-dashes span { flex: 1; height: 3px; border-radius: 3px; background: #f2d7df; transition: background .3s ease; }
.bt-dashes span.is-on { background: var(--bt-accent); }
.bt-note { margin: 2px 0 0; font-size: 12px; line-height: 1.4; font-weight: 600; color: var(--bt-ink); }
.bt-link { margin-top: 4px; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; min-height: 24px; }
.bt-perf { width: 0; border-left: 1.5px dashed var(--bt-perf); margin: 12px 0; }
/* The notches, cut where the perforation meets the edges. */
.bt-ticket::before, .bt-ticket::after { content: ''; position: absolute; right: 100px; width: 16px; height: 16px; border-radius: 50%; background: var(--bt-page); border: 1px solid var(--bt-line); box-sizing: border-box; }
.bt-ticket::before { top: -8px; }
.bt-ticket::after { bottom: -8px; }
.bt-stub { width: 108px; flex-shrink: 0; padding: 14px 10px; display: flex; align-items: center; justify-content: center; }
.bt-rule { display: flex; flex-direction: column; align-items: center; text-align: center; }
.bt-rule-lead { font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--bt-label); }
.bt-rule-count { font-family: 'Cormorant Garamond', 'Cormorant', Georgia, serif; font-weight: 600; font-size: 48px; line-height: .9; }
.bt-rule-label { margin-top: 4px; font-size: 11.5px; font-weight: 600; line-height: 1.3; }
.bt-rule-note { font-size: 11px; line-height: 1.35; color: var(--bt-muted); }
.bt-slots { display: flex; gap: 6px; }
.bt-slots--many { display: grid; grid-template-rows: repeat(2, auto); grid-auto-flow: column; gap: 4px; }
.bt-slot { position: relative; width: 40px; height: 54px; border-radius: 6px; border: 1.5px dashed var(--bt-accent); box-sizing: border-box; background: #fff; overflow: hidden; }
.bt-slots--many .bt-slot { width: 28px; height: 38px; border-radius: 5px; }
.bt-slot::after { content: '+'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 16px; color: var(--bt-accent); }
.bt-slot:not(.is-filled) { cursor: pointer; }
.bt-slot.is-filled { border: 0; }
.bt-slot.is-filled::after { content: none; }
.bt-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bt-slot.is-new { animation: bt-pop .32s ease-out; }
/* "Complete your bundle" (bag): a white shelf under the ticket. */
.bt-picks { margin-top: -1px; border: 1px solid var(--bt-line); border-top: 1.5px dashed var(--bt-perf); border-radius: 0 0 12px 12px; background: #fff; padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.bt.has-picks .bt-ticket { border-radius: 12px 12px 0 0; border-bottom: 0; }
.bt.has-picks .bt-ticket::after { display: none; }
.bt-picks-title { margin: 0; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--bt-label); }
.bt-picks-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bt-pick { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bt-pick a { color: var(--bt-ink); text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.bt-pick img { width: 100%; aspect-ratio: 3 / 4; border-radius: 8px; object-fit: cover; display: block; background: #f6eef1; }
.bt-pick-name { font-size: 11px; line-height: 1.3; color: var(--bt-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt-pick-price { font-size: 12px; font-weight: 700; }
.bt .bt-pick-add { box-sizing: border-box; height: 36px; min-height: 36px; padding: 0 6px; margin: 0; line-height: 1; white-space: nowrap; -webkit-appearance: none; appearance: none; border-radius: 999px; border: 1px solid var(--bt-ink); background: #fff; color: var(--bt-ink); font: inherit; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; }
.bt .bt-pick-add[disabled] { opacity: .5; cursor: progress; }
.bt-picks-error { margin: 0; font-size: 12px; color: #b3261e; }
/* Unlocked: green ticket and the lines the bundle takes off. */
.bt.is-unlocked .bt-ticket { background: #fff; border-color: var(--bt-ok-line); }
.bt.is-unlocked .bt-ticket::before, .bt.is-unlocked .bt-ticket::after { border-color: var(--bt-ok-line); }
.bt.is-unlocked .bt-perf { border-left-color: var(--bt-ok-perf); }
.bt.is-unlocked .bt-kicker, .bt.is-unlocked .bt-unit { color: var(--bt-ok); }
.bt.has-lines .bt-ticket { border-radius: 12px 12px 0 0; border-bottom: 0; }
.bt.has-lines .bt-ticket::after { display: none; }
.bt-lines { margin-top: -1px; border: 1px solid var(--bt-ok-line); border-top: 1.5px dashed var(--bt-ok-perf); border-radius: 0 0 12px 12px; background: #fff; padding: 10px 16px 14px; display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; }
.bt-line { display: flex; justify-content: space-between; gap: 12px; }
.bt-line span:first-child { color: var(--bt-muted); }
.bt-line span:last-child { font-weight: 700; }
.bt--listing { margin: 4px 12px 12px; }
.bt--bag { margin: 12px 0; }
/* The unlock moment: a short pink pulse around the ticket, once. */
.bt.is-celebrating .bt-ticket { animation: bt-glow 1.1s ease-out; }
@keyframes bt-pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes bt-glow { 0% { box-shadow: 0 0 0 0 rgba(255, 63, 108, .45); } 100% { box-shadow: 0 0 0 14px rgba(255, 63, 108, 0); } }
@media (prefers-reduced-motion: reduce) {
  .bt-slot.is-new, .bt.is-celebrating .bt-ticket { animation: none; }
  .bt-dashes span { transition: none; }
}
/* Product cards and the product page: one slim caption line. */
.bt-caption { margin: 2px 0 0; font-size: 11.5px; line-height: 1.35; color: #b0244a; font-weight: 600; }
/* In the product header's flex column, right under the price (mobileConversion.css orders it). */
.divaa-product-page .bt-pdp { order: 3; }
.bt-pdp { display: block; margin: 8px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff7f9; border: 1px solid #ffd3de; color: #1a1a1a; text-decoration: none; font-size: 13px; line-height: 1.4; }
.bt-pdp strong { font-weight: 700; }
.bt-pdp-cta { display: inline-block; margin-top: 2px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
