.bundle-offer {
  box-sizing: border-box;
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 32px;
  overflow: auto;
  border: 1px solid var(--glaze);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 20px 64px #17212626;
  font-family: inherit;
}
.bundle-offer:not([open]) { display: none; }
.bundle-offer::backdrop { background: #17212666; }
.bundle-offer .bundle-offer-close {
  position: absolute; top: 8px; right: 8px;
  width: 40px; height: 40px; padding: 0;
  border: 0; background: transparent; color: var(--ink);
  font-size: 28px; line-height: 1;
}
.bundle-offer-heading { text-align: center; }
.bundle-offer-badge {
  display: inline-block; padding: 4px 12px; margin: 4px 0 12px;
  background: var(--lemon); color: #142d2a; border-radius: 4px;
  font-size: 14px; font-weight: 700;
}
.bundle-offer .bundle-offer-heading h2 {
  margin: 0 0 24px; padding: 0; border: 0;
  font-size: 23px; line-height: 1.5; letter-spacing: 0; word-break: keep-all;
}
.bundle-offer-products { list-style: none; padding: 0; margin: 0; }
.bundle-offer-products li {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 0; border-top: 1px solid var(--glaze);
}
.bundle-offer-check { flex: 0 0 20px; color: var(--plaque); font-size: 20px; font-weight: 700; }
.bundle-offer-products img { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 6px; object-fit: cover; }
.bundle-offer-product { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.bundle-offer-product strong { display: block; font-size: 16px; line-height: 1.5; }
.bundle-offer-product span { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }
.bundle-offer-price { flex: 0 0 auto; font-size: 15px; font-weight: 700; }
.bundle-offer-total { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0 0; border-top: 1px solid var(--glaze); }
.bundle-offer-total small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.bundle-offer-amount { text-align: right; }
.bundle-offer-amount del { display: block; color: var(--muted); font-size: 14px; }
.bundle-offer-amount strong { display: block; color: var(--plaque); font-size: 27px; line-height: 1.4; }
.bundle-offer-amount > span { font-size: 13px; font-weight: 700; color: var(--ink); border-bottom: 3px solid var(--coral); }
.bundle-offer .bundle-offer-dates { margin: 18px 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.bundle-offer .bundle-offer-book { display: flex; justify-content: center; align-items: center; min-height: 52px; padding: 12px; box-sizing: border-box; background: var(--aqua); color: var(--accent-ink); border: 0; border-radius: 6px; font-size: 17px; font-weight: 750; text-align: center; }
.bundle-offer .bundle-offer-single { display: block; width: 100%; min-height: 44px; margin: 12px 0 0; padding: 8px; background: transparent; border: 0; color: var(--muted); font: inherit; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.bundle-offer :focus-visible { outline: 3px solid var(--plaque); outline-offset: 3px; }
@media (max-width: 480px) {
  .bundle-offer { padding: 28px 20px 20px; }
  .bundle-offer .bundle-offer-heading h2 { font-size: 20px; }
  .bundle-offer-products li { display: grid; grid-template-columns: 20px 48px minmax(0, 1fr); gap: 8px; }
  .bundle-offer-products img { width: 48px; height: 48px; }
  .bundle-offer-product { grid-column: 3; }
  .bundle-offer-check { grid-column: 1; grid-row: 1; }
  .bundle-offer-price { grid-column: 3; font-size: 14px; }
  .bundle-offer-products li:not(:has(img)) .bundle-offer-product,
  .bundle-offer-products li:not(:has(img)) .bundle-offer-price { grid-column: 2 / -1; }
  .bundle-offer-amount strong { font-size: 24px; }
}
