/* The bundle product page (/product/<slug>/). Class names are page-local (`bp-`);
   every colour, radius and face is one of the site's own tokens. */
.bp { max-width: 1180px; margin: 0 auto; padding: 1.25rem 16px 4rem; font-family: var(--font--body, inter), system-ui, sans-serif; color: var(--text-body, #6b6b6b); }
.bp *, .bp *::before, .bp *::after { box-sizing: border-box; }
.bp a { color: var(--primary-d-2, #7a6a3a); }
.bp-crumbs { font-size: .85rem; margin-bottom: 1rem; }
.bp-crumbs a { text-decoration: none; }
.bp-top { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: start; }
.bp-stage { background: var(--bg-surface, #fff); border: 1px solid var(--border-primary, rgba(128,128,128,.25)); border-radius: var(--radius-m, 1.1rem); overflow: hidden; aspect-ratio: 1 / 1; }
.bp-stage img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bp-thumbs { display: flex; gap: .6rem; margin-top: .75rem; overflow-x: auto; padding-bottom: 4px; }
.bp-thumb { flex: 0 0 72px; width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: var(--radius-s, .7rem); background: var(--bg-surface, #fff); overflow: hidden; cursor: pointer; opacity: .75; }
.bp-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bp-thumb:hover { opacity: 1; }
.bp-thumb[aria-pressed="true"] { border-color: var(--primary, #c9a961); opacity: 1; }
.bp-thumb:focus-visible { outline: 3px solid var(--primary-d-1, #a88c47); outline-offset: 2px; }
.bp-buy { background: var(--bg-surface, #fff); border: 1px solid var(--border-primary, rgba(128,128,128,.25)); border-radius: var(--radius-m, 1.1rem); padding: 1.4rem; box-shadow: 0 2px 6px var(--shadow-primary, rgba(0,0,0,.15)); }
.bp-eyebrow { margin: 0 0 .4rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-d-2, #7a6a3a); font-weight: 600; }
.bp-title { margin: 0 0 .6rem; font-family: var(--font-headings, cormorant), Georgia, serif; font-weight: 600; font-size: clamp(2rem, 5vw, 2.7rem); line-height: 1.1; color: var(--text-title, #000); }
.bp-price { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin: 0 0 .35rem; font-size: 1.9rem; color: var(--text-title, #000); }
.bp-price del { font-size: 1.2rem; color: var(--dark-60, rgba(0,0,0,.6)); }
.bp-price ins { text-decoration: none; font-weight: 700; }
.bp-badge { background: var(--primary-d-2, #7a6a3a); color: var(--light, #fff); font-size: .85rem; font-weight: 600; padding: .25rem .65rem; border-radius: var(--radius-full, 999rem); }
.bp-ends { margin: 0 0 1rem; font-weight: 600; color: var(--primary-d-3, #4f4425); }
.bp-owned { margin: 0 0 1rem; padding: .7rem .9rem; background: var(--primary-10, rgba(201,169,97,.1)); border-radius: var(--radius-s, .7rem); font-size: .95rem; }
.bp-included-line { margin: 0 0 1.2rem; line-height: 1.5; }
.bp-add.button { display: block; width: 100%; text-align: center; padding: .95rem 1.2rem; border-radius: var(--radius-full, 999rem); background: var(--primary, #c9a961); color: var(--primary-d-4, #251f10); font-weight: 700; font-size: 1.05rem; text-decoration: none; border: 0; }
.bp-add.button:hover { background: var(--primary-d-1, #a88c47); color: var(--light, #fff); }
.bp-add.button:focus-visible { outline: 3px solid var(--primary-d-3, #4f4425); outline-offset: 2px; }
.bp-assure { list-style: none; margin: 1rem 0 0; padding: 0; font-size: .88rem; }
.bp-assure li { padding-left: 1.4rem; position: relative; margin: .25rem 0; }
.bp-assure li::before { content: "\2713"; position: absolute; left: 0; color: var(--primary-d-1, #a88c47); font-weight: 700; }
.bp-section { margin-top: 3rem; }
.bp-h2 { font-family: var(--font-headings, cormorant), Georgia, serif; font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--text-title, #000); margin: 0 0 1.2rem; font-weight: 600; }
.bp-courses { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.bp-course { display: flex; gap: 1rem; height: 100%; background: var(--bg-surface, #fff); border: 1px solid var(--border-primary, rgba(128,128,128,.25)); border-radius: var(--radius-m, 1.1rem); padding: .9rem; align-items: flex-start; }
.bp-course__poster { flex: 0 0 96px; }
.bp-course__poster img { display: block; width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius-s, .7rem); }
.bp-course__body { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.bp-course__title { margin: 0 0 .3rem; font-family: var(--font-headings, cormorant), Georgia, serif; font-size: 1.5rem; line-height: 1.15; }
.bp-course__title a { color: var(--text-title, #000); text-decoration: none; }
.bp-course__summary { margin: 0 0 14px; font-size: 15px; line-height: 1.5; font-weight: 400; color: var(--text-body, #6b6b6b); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.bp-course__price { margin: 0 0 .6rem; font-weight: 700; color: var(--text-title, #000); }
.bp-course__cta { display: block; margin-top: auto; padding: 11px 20px; text-align: center; border-radius: var(--radius-full, 999rem); border: 2px solid var(--primary-d-2, #7a6a3a); background: transparent; color: var(--primary-d-3, #4f4425) !important; font-weight: 700; font-size: 16px; text-decoration: none; }
.bp-course__cta:hover { background: var(--primary, #c9a961); border-color: var(--primary, #c9a961); color: var(--primary-d-4, #251f10) !important; }
.bp-course__cta:focus-visible { outline: 3px solid var(--primary-d-3, #4f4425); outline-offset: 2px; }
.bp-course__owned { display: inline-block; margin-bottom: .4rem; font-size: .8rem; font-weight: 600; background: var(--primary-10, rgba(201,169,97,.1)); padding: .15rem .55rem; border-radius: var(--radius-full, 999rem); color: var(--primary-d-3, #4f4425); }
.bp-about { margin: 1.2rem 0 0; border-top: 1px solid var(--border-primary, rgba(128,128,128,.25)); padding-top: .9rem; }
.bp-about__summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem; cursor: pointer; list-style: none; font-family: var(--font-headings, cormorant), Georgia, serif; font-size: 24px; font-weight: 600; color: var(--text-title, #000); }
.bp-about__summary::-webkit-details-marker { display: none; }
.bp-about__summary:focus-visible { outline: 3px solid var(--primary-d-1, #a88c47); outline-offset: 3px; border-radius: var(--radius-s, .7rem); }
.bp-about__chev { flex: none; color: var(--primary-d-2, #7a6a3a); transition: transform .2s ease; }
.bp-about[open] .bp-about__chev { transform: rotate(180deg); }
.bp-about:not([open])::details-content { content-visibility: visible; block-size: 4.9em; overflow: hidden; }
.bp-about:not([open]) .bp-description { -webkit-mask-image: linear-gradient(#000 35%, transparent); mask-image: linear-gradient(#000 35%, transparent); }
.bp-description { font-size: 15px; line-height: 1.6; margin-top: 10px; }
.bp-description p { margin: 0 0 .8rem; }
.bp-description ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.bp-description li { margin: .5rem 0; }
.bp-description strong { color: var(--text-title, #000); }
.bp-ended__intro { max-width: 44rem; margin: 1rem 0 0; }
.bp-ended__lead { font-size: 1.1rem; line-height: 1.6; }
@media (min-width: 900px) {
  .bp { padding-top: 2rem; }
  .bp-top { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2.5rem; }
  .bp-buy { position: sticky; top: 6rem; padding: 1.8rem; max-height: calc(100vh - 7rem); overflow-y: auto; }
  .bp-courses { grid-template-columns: repeat(3, 1fr); }
  .bp-course { flex-direction: column; align-items: stretch; }
  .bp-course__poster { flex-basis: auto; width: 100%; }
  .bp-course__poster img { width: 100%; height: auto; aspect-ratio: 1 / 1; }
}
@media (prefers-reduced-motion: reduce) { .bp-about__chev { transition: none; } }
@media (prefers-reduced-motion: no-preference) { .bp-thumb, .bp-add.button { transition: opacity .15s, background .15s; } }
