/* Bundles page (uses the site's own colour variables from style.css) */
.bp { padding: 28px 0 80px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Hero: compact so the products start above the fold */
.bp-hero { position: static; top: auto; z-index: auto; background: linear-gradient(135deg, var(--leaf-pale) 0%, var(--sand) 100%); border: 1px solid var(--line); border-radius: 14px; padding: 36px 40px; margin-bottom: 32px; }
.bp-eyebrow { margin: 0 0 6px; color: var(--gold-deep); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.bp-hero h1 { margin: 0 0 12px; color: var(--ink); font-size: clamp(28px, 4vw, 44px); line-height: 1.1; letter-spacing: -.01em; }
.bp-lead { margin: 0 0 18px; max-width: 620px; color: var(--ink); font-size: 16px; line-height: 1.55; }
.bp-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--ink); }
.bp-trust li::before { content: "✓"; color: var(--leaf); font-weight: 800; margin-right: 7px; }
.bp-trust a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Grid + card */
.bp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; align-items: stretch; }
.bp-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .18s ease, border-color .18s ease; scroll-margin-top: 90px; }
.bp-card:hover, .bp-card:target { box-shadow: var(--shadow-md); border-color: var(--gold); }

.bp-media { position: relative; display: grid; gap: 2px; aspect-ratio: 4 / 3; background: var(--sand); }
.bp-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-media-1 { grid-template-columns: 1fr; }
.bp-media-2 { grid-template-columns: 1fr 1fr; }
.bp-media-3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.bp-media-3 img:first-of-type { grid-row: span 2; }
.bp-media-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.bp-media-empty { display: flex; align-items: center; justify-content: center; font-size: 56px; opacity: .5; }
.bp-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 999px; box-shadow: 0 4px 12px rgba(18,30,46,.18); }

.bp-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.bp-body h2 { margin: 0 0 2px; font-size: 20px; line-height: 1.25; color: var(--ink); }
.bp-count { margin: 0 0 12px; font-size: 13px; color: var(--ink-soft); }

.bp-items { list-style: none; margin: 0 0 16px; padding: 0; border-top: 1px solid var(--line); }
.bp-items li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.bp-items a { color: var(--ink); text-decoration: none; }
.bp-items a:hover { color: var(--gold-deep); text-decoration: underline; }
.bp-items span { color: var(--ink-soft); white-space: nowrap; }

.bp-price { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.bp-now { font-size: 28px; line-height: 1; color: var(--ink); }
.bp-cur { font-size: 12px; color: var(--ink-soft); margin: 0 8px 0 3px; font-weight: 600; }
.bp-was { font-size: 14px; color: var(--ink-soft); }
.bp-save { background: #E6F4EC; color: #1F6B43; font-weight: 700; font-size: 13px; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }

.bp-cta { display: block; width: 100%; background: var(--gold); color: var(--ink); border: 0; border-radius: var(--radius, 2px); padding: 14px 18px; font: 700 15px/1 'Work Sans', sans-serif; cursor: pointer; transition: background .15s ease, color .15s ease; }
.bp-cta:hover:not(:disabled) { background: var(--gold-deep); color: var(--paper); }
.bp-cta:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.bp-cta:disabled { background: var(--line); color: var(--ink-soft); cursor: not-allowed; }
.bp-note { margin: 10px 0 0; font-size: 13px; color: #8A2E2E; text-align: center; }

/* How it works */
.bp-how { margin: 56px 0 0; padding: 40px; background: linear-gradient(135deg, var(--leaf-pale) 0%, var(--sand) 100%); border: 1px solid var(--line); border-radius: 14px; }
.bp-how-head { text-align: center; margin-bottom: 28px; }
.bp-how-head h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); color: var(--ink); }
.bp-steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.bp-steps li { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 26px 22px 22px; text-align: center; box-shadow: var(--shadow-sm); counter-increment: step; }
.bp-steps li::before { content: counter(step); position: absolute; top: -13px; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.bp-step-ico { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--leaf-pale); font-size: 24px; margin-bottom: 10px; }
.bp-steps h3 { margin: 0 0 6px; font-size: 17px; color: var(--ink); }
.bp-steps p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }

.bp-faq { max-width: 760px; margin: 0 auto 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 4px 22px; }
.bp-faq details { padding: 14px 0; border-bottom: 1px solid var(--line); }
.bp-faq details:last-child { border-bottom: 0; }
.bp-faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.bp-faq summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.bp-faq details p { margin: 10px 0 0; color: var(--ink-soft); line-height: 1.6; }
.bp-faq a { color: var(--gold-deep); }

.bp-cta-band { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; background: var(--ink); color: var(--paper); border-radius: 10px; padding: 22px 26px; }
.bp-cta-band strong { display: block; font-size: 17px; }
.bp-cta-band span { font-size: 14px; opacity: .8; }

.bp-empty { text-align: center; padding: 60px 20px; background: var(--paper); border: 1px dashed var(--line); border-radius: 14px; }
.bp-empty p { color: var(--ink-soft); margin-bottom: 20px; }

@media (max-width: 640px) {
  .bp-hero { padding: 26px 20px; }
  .bp-how { padding: 28px 16px; }
  .bp-steps { grid-template-columns: 1fr; gap: 24px; }
  .bp-cta-band { text-align: center; justify-content: center; }
  .bp-body { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .bp-card, .bp-cta { transition: none; } }

/* Auto-sliding product photos (when a bundle has no uploaded cover) */
.bp-slider { overflow: hidden; }
.bp-slider .bp-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.bp-slider .bp-slide.is-active { opacity: 1; }
.bp-dots { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.bp-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.7); box-shadow: 0 0 0 1px rgba(18,30,46,.25); }
.bp-dots i.is-active { background: var(--gold); }
@media (prefers-reduced-motion: reduce) { .bp-slider .bp-slide { transition: none; } }

/* fixed square picture area: same size on every card, whatever the photo's own size or shape */
.bp-media { display: block; position: relative; overflow: hidden; aspect-ratio: 1 / 1; height: auto; background: var(--sage-light, var(--sand)); }
.bp-media img, .bp-media .bp-slide { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; padding: 6%; box-sizing: border-box; }
.bp-media img.bp-cover { object-fit: cover; padding: 0; }
.bp-media .bp-media-empty { position: absolute; inset: 0; }
.bp-slider .bp-slide { opacity: 0; }
.bp-slider .bp-slide.is-active { opacity: 1; }

.bp-rating { margin: 0 0 10px; font-size: 14px; color: var(--ink); }
.bp-rating span { color: var(--gold); }
.bp-rating small { color: var(--ink-soft); font-size: 12.5px; }

.bp-items li { flex-wrap: wrap; }
.bp-opt { flex-basis: 100%; margin-top: 4px; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: var(--radius, 2px); background: var(--paper); font: inherit; font-size: 14px; color: var(--ink); }
.bp-opt-note { margin: -6px 0 12px; font-size: 12.5px; color: var(--ink-soft); }
.bp-cta { text-decoration: none; }
