/* /bundle (The Trader Bundle). Loaded after styles.css and tdt.css; reuses the TDT look
   (body has .page-tdt) and only adds what the bundle page needs. */

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Top bar: small "All ebooks" link */
.bundle-back {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 2px;
  font-size: .86rem; font-weight: 700; letter-spacing: .02em; text-decoration: none; color: var(--cream-muted);
  transition: color .2s ease;
}
.bundle-back:hover, .bundle-back:focus-visible { color: var(--gold); }
.bundle-back:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; border-radius: 4px; }

/* Hero price row */
.bundle-price { margin-bottom: 14px; }
.page-bundle .hero .price__now { font-size: 2.9rem; }
.bundle-price .price__was { font-size: 1.5rem; }

/* What's inside: two book cards */
.bundle-books { display: grid; gap: 18px; margin-top: 36px; }
.bundle-book { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
/* Equal-height image area for both covers; object-fit: contain so neither is cropped
   (SMF 4:3 fills it, the square TDT cover is centred with dark side bands) */
.bundle-book__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; object-position: center; background: var(--black); }
.bundle-book__body { padding: 22px 22px 26px; }
.bundle-book__tag { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--sand); }
.bundle-book h3 { font-size: 1.7rem; margin-top: 6px; }
.bundle-book__desc { margin-top: 8px; color: var(--cream-muted); }
.bundle-book .ticks { margin-top: 16px; }

/* Value block */
.bundle-value .offer__list { margin-top: 0; }
.bundle-value__total { color: var(--cream); font-weight: 700; border-top: 1px solid var(--sand-line); }
.bundle-value__total .offer__val { color: var(--cream); }
.bundle-value__deal { margin: 4px 0 22px; text-align: center; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--cream); font-variant-numeric: lining-nums; }
.bundle-value__deal span { display: block; font-family: var(--sans); font-size: .9rem; font-weight: 500; color: var(--gold); }

/* Final CTA */
.bundle-final__title { font-size: clamp(1.8rem, 6vw, 2.6rem); margin-bottom: 24px; }

/* Sticky bar: just the button, full width */
.bundle-sticky { justify-content: center; }
.bundle-sticky .btn { width: 100%; }

@media (min-width: 700px) {
  .bundle-books { grid-template-columns: 1fr 1fr; }
}
