.purchase-nav {
  justify-content: space-between;
}

.purchase-brand-link {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.75rem, 3vw, 1.5rem);
  color: var(--ivory);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.purchase-brand-link:hover,
.purchase-brand-link:focus-visible {
  color: var(--gold-light);
}

.purchase-header-actions {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.purchase-help-link {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(251, 232, 209, 0.72);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.purchase-help-link:hover,
.purchase-help-link:focus-visible {
  color: var(--gold-light);
}

.purchase-help-link:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 5px;
  border-radius: 2px;
}

.purchase-header-cta {
  white-space: nowrap;
}

.help-dialog {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(92vw, 440px);
  max-width: 100%;
  max-height: min(85dvh, 680px);
  overflow-y: auto;
  padding: 0;
  border: 1px solid rgba(245, 183, 101, 0.4);
  border-radius: 1.15rem;
  background: var(--navy);
  color: var(--ivory);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
}

.help-dialog[open] {
  animation: help-dialog-enter 0.2s ease-out;
}

.help-dialog::backdrop {
  background: rgba(2, 8, 18, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body:has(.help-dialog[open]) {
  position: fixed;
  inset: 0;
}

.help-dialog-inner {
  position: relative;
  padding: clamp(1.5rem, 5vw, 2.25rem);
}

.help-dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(251, 232, 209, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ivory);
  font-size: 1.5rem;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.help-dialog-close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.help-dialog-close:focus-visible,
.help-dialog-links a:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.help-dialog-eyebrow {
  margin: 0 0 0.65rem;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.help-dialog h2 {
  margin: 0;
  padding-right: 2rem;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 5vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.help-dialog-lede {
  margin: 0.85rem 0 1.5rem;
  color: rgba(251, 232, 209, 0.78);
  font-size: 0.94rem;
  line-height: 1.6;
}

.help-dialog-links {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.help-dialog-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(251, 232, 209, 0.14);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.035);
  color: var(--ivory);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.help-dialog-links a span:last-child {
  color: var(--gold-light);
  font-size: 1.05rem;
}

.help-dialog-links a:hover {
  transform: translateY(-1px);
  border-color: rgba(245, 183, 101, 0.5);
  background: rgba(205, 145, 61, 0.1);
}

.help-dialog-note {
  margin: 1.25rem 0 0;
  color: rgba(251, 232, 209, 0.6);
  font-size: 0.76rem;
  line-height: 1.6;
}

.help-dialog-fallback {
  margin: 1.1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(251, 232, 209, 0.14);
  color: rgba(251, 232, 209, 0.65);
  font-size: 0.8rem;
  line-height: 1.7;
}

.help-dialog-fallback a {
  color: var(--gold-light);
  text-decoration: underline;
  text-decoration-color: rgba(245, 183, 101, 0.5);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.help-dialog-fallback a:hover {
  color: var(--ivory);
}

.help-dialog-fallback a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

@keyframes help-dialog-enter {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.purchase-hero {
  position: relative;
  background:
    radial-gradient(
      circle at 80% 25%,
      rgba(205, 145, 61, 0.12),
      transparent 45%
    ),
    linear-gradient(135deg, #051325 0%, #0a1e38 55%, #06152b 100%);
  color: var(--ivory);
  padding: var(--page-top-pad) 0 clamp(4rem, 7vw, 6rem);
  overflow: clip;
}

.purchase-hero-inner {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.purchase-copy {
  display: flex;
  flex-direction: column;
}

.purchase-copy .eyebrow {
  margin: 0 0 1rem;
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.purchase-copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.8vw, 4.3rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ivory);
}

.purchase-copy h1 em {
  color: var(--gold-light);
  font-style: normal;
}

.purchase-copy .lede {
  margin: 1.5rem 0 0;
  max-width: 54ch;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.65;
  color: rgba(251, 232, 209, 0.84);
}

.feature-list {
  display: grid;
  gap: 0.95rem;
  max-width: 42rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ivory);
}

.feature-list li::before {
  content: "✓";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: rgba(245, 183, 101, 0.18);
  border: 1px solid rgba(245, 183, 101, 0.4);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.1rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.purchase-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.book-stage {
  position: relative;
  width: min(100%, 460px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.book-cover-wrapper {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(251, 232, 209, 0.14);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.book-cover-wrapper:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 32px 70px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(245, 183, 101, 0.35);
}

.book-stage-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 0.63;
  object-fit: cover;
  display: block;
}

.purchase-card {
  position: absolute;
  right: 0;
  bottom: -1rem;
  width: 245px;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(245, 183, 101, 0.32);
  border-radius: 1.15rem;
  background: rgba(5, 17, 34, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  z-index: 5;
  transition: transform 0.3s ease;
}

.card-label {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(245, 183, 101, 0.16);
  border: 1px solid rgba(245, 183, 101, 0.3);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.price-row strong {
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--ivory);
}

.price-row span:last-child {
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
}

.purchase-card-perks {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  color: rgba(251, 232, 209, 0.8);
  font-size: 0.78rem;
}

.purchase-card-perks li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.purchase-card-perks li::before {
  content: "•";
  color: var(--gold-light);
  font-size: 1.1rem;
  line-height: 1;
}

.trust-bar {
  background: #051325;
  padding: clamp(4rem, 7vw, 6rem) 0;
  border-bottom: 1px solid rgba(251, 232, 209, 0.1);
  color: var(--ivory);
}

.trust-inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.trust-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.trust-stars span {
  color: var(--gold-light);
  font-size: 1.6rem;
  letter-spacing: 0.15em;
}

.trust-rating-text {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(251, 232, 209, 0.7);
  text-transform: uppercase;
}

.trust-quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
  width: 100%;
}

.trust-quote {
  min-width: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.trust-quote p {
  margin: 0 0 1.5rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ivory);
  text-wrap: pretty;
  text-align: center;
}

.trust-quote footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
  margin-top: auto;
  border-top: 1px solid rgba(251, 232, 209, 0.15);
  padding-top: 1rem;
  width: 100%;
}

.trust-quote cite {
  font-style: normal;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ivory);
}

.trust-quote footer span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.value-section {
  background: var(--ivory-soft);
  color: var(--ink);
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  border-top: 1px solid rgba(205, 145, 61, 0.22);
  position: relative;
}

.value-inner,
.checkout-inner {
  width: var(--container);
  margin-inline: auto;
}

.section-heading {
  margin-bottom: 3.5rem;
}

.section-heading.text-center {
  text-align: center;
  max-width: 68ch;
  margin-inline: auto;
}

.section-head {
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.purchase-hero .section-title--dark,
.value-section .section-title--dark,
.more-books-section .section-title--dark,
.cta-section--dark .section-title--dark {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.section-subtitle {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.value-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.25rem 2rem;
  border: 1px solid var(--border-soft-2);
  border-radius: 1.15rem;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(6, 21, 43, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(6, 21, 43, 0.1);
  border-color: rgba(205, 145, 61, 0.4);
}

.value-number {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(205, 145, 61, 0.12);
  border: 1px solid rgba(205, 145, 61, 0.25);
  color: var(--gold-dark-2);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.value-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--navy);
}

.value-card p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text-soft);
}

.checkout-section {
  background: var(--navy);
  color: var(--ivory);
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  border-top: 1px solid rgba(251, 232, 209, 0.14);
  position: relative;
}

.checkout-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 2.5rem;
  align-items: start;
}

.checkout-panel {
  padding: clamp(1.6rem, 3vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.checkout-step {
  margin: 0 0 0.5rem;
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.checkout-header h2 {
  margin: 0 0 2rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--ivory);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
}

.offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 1.5rem 1.4rem;
  border: 2px solid rgba(251, 232, 209, 0.16);
  border-radius: 1.15rem;
  background: rgba(7, 24, 45, 0.65);
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
}

.offer-card:hover {
  border-color: rgba(245, 183, 101, 0.45);
  background: rgba(7, 24, 45, 0.9);
  transform: translateY(-3px);
}

.offer-card:focus-visible {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(245, 183, 101, 0.4);
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.offer-card.is-selected {
  border-color: var(--gold-light);
  background: rgba(13, 36, 68, 0.95);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.4),
    0 0 0 1px var(--gold-light);
}

.offer-badge {
  align-self: flex-start;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(245, 183, 101, 0.18);
  border: 1px solid rgba(245, 183, 101, 0.35);
  color: var(--gold-light);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.offer-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ivory);
}

.offer-card .price {
  font-family: var(--sans);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 1rem;
}

.offer-perks {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.offer-perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.offer-perks li::before {
  content: "✓";
  color: var(--gold-light);
  font-weight: 700;
  flex-shrink: 0;
}

.offer-select-btn {
  margin-top: auto;
  width: 100%;
  border: 1px solid rgba(251, 232, 209, 0.3);
  border-radius: 999px;
  padding: 0.8rem 1rem;
  font: 700 0.82rem/1 var(--sans);
  cursor: pointer;
  background: transparent;
  color: var(--ivory);
  transition: all 0.2s ease;
  pointer-events: none;
}

.offer-card.is-selected .offer-select-btn {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  font-weight: 800;
}

.quantity-picker-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.15rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.quantity-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ivory);
}

.quantity-stepper {
  display: inline-flex;
  align-items: center;
  background: rgba(7, 24, 45, 0.85);
  border: 1px solid rgba(251, 232, 209, 0.28);
  border-radius: 999px;
  padding: 0.25rem 0.35rem;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
}

.btn-qty {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1px solid rgba(251, 232, 209, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ivory);
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-qty:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: scale(1.05);
}

.qty-display {
  min-width: 2.4rem;
  text-align: center;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--gold-light);
}

.quantity-hint {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
}

.checkout-summary {
  position: sticky;
  top: 6rem;
  padding: 1.75rem 1.85rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: rgba(4, 14, 29, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.checkout-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.checkout-summary-header h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.badge-secure {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(251, 232, 209, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(251, 232, 209, 0.15);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.cart-summary-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px dashed rgba(251, 232, 209, 0.12);
  min-width: 0;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-width: 0;
}

.cart-item-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ivory);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-format {
  font-size: 0.76rem;
  color: #c9d1db;
}

.cart-item-stepper {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(251, 232, 209, 0.18);
  border-radius: 999px;
  padding: 0.1rem 0.25rem;
  margin-top: 0.35rem;
  width: max-content;
}

.btn-cart-qty {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--ivory);
  font-size: 0.85rem;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.btn-cart-qty:hover {
  background: var(--gold);
  color: var(--ink);
}

.cart-qty-val {
  min-width: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-light);
}

.cart-item-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cart-item-price {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--gold-light);
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  transition:
    color 0.15s ease,
    background 0.15s ease;
}

.cart-item-remove:hover,
.cart-item-remove:focus-visible {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.12);
}

.summary-details {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.75rem;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--muted);
}

.summary-row--total {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ivory);
}

.summary-total-price {
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--gold-light);
}

.button--full {
  width: 100%;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
}

.checkout-guarantee {
  margin: 1rem 0 0;
  font-size: 0.74rem;
  line-height: 1.45;
  color: rgba(251, 232, 209, 0.65);
  text-align: center;
}

.more-books-section {
  background: var(--ivory-soft);
  color: var(--ink);
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  border-top: 1px solid rgba(205, 145, 61, 0.22);
}

.more-books-accordion {
  display: grid;
  gap: 1.25rem;
  max-width: 880px;
  margin: 3rem auto 0;
}

.book-dropdown {
  background: var(--surface);
  border: 1px solid var(--border-soft-2);
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(6, 21, 43, 0.04);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.book-dropdown:hover {
  border-color: rgba(205, 145, 61, 0.4);
  box-shadow: 0 14px 35px rgba(6, 21, 43, 0.08);
}

.book-dropdown[open] {
  border-color: var(--gold);
  box-shadow: 0 18px 45px rgba(6, 21, 43, 0.1);
}

.book-dropdown-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 1.75rem;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease;
}

.book-dropdown-summary::-webkit-details-marker {
  display: none;
}

.book-dropdown-summary:hover {
  background: rgba(205, 145, 61, 0.04);
}

.book-dropdown-summary-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
}

.dropdown-thumb {
  width: 48px;
  height: 72px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.dropdown-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.dropdown-category {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark-2);
}

.dropdown-title {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--navy);
  line-height: 1.25;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.book-dropdown-summary-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.dropdown-price-badge {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  background: rgba(205, 145, 61, 0.14);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

.dropdown-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.2rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1px solid var(--border-soft-2);
  color: var(--navy);
  font-size: 0;
  transition:
    transform 0.25s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.dropdown-toggle-icon::before {
  content: "+";
  display: block;
  font: 600 1.3rem/1 var(--sans);
  transform: translateY(-1px);
  transition: transform 0.25s ease;
}

.book-dropdown[open] .dropdown-toggle-icon {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
  transform: rotate(45deg);
}

.book-dropdown[open] .dropdown-toggle-icon::before {
  transform: none;
}

.book-dropdown-body {
  border-top: 1px solid var(--border-soft-2);
  padding: 2.25rem 2rem;
  background: #ffffff;
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 2.5rem;
  align-items: start;
}

.dropdown-cover-stage {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 22px 50px rgba(6, 21, 43, 0.28),
    0 0 0 1px rgba(25, 27, 28, 0.08);
}

.dropdown-cover-img {
  width: 100%;
  height: auto;
  aspect-ratio: 0.63;
  object-fit: cover;
  display: block;
}

.dropdown-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dropdown-subtitle {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.45;
  margin: 0;
}

.dropdown-pitch {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text-soft);
}

.dropdown-takeaways-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark-text);
  margin: 0.35rem 0 0;
}

.dropdown-takeaways {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.dropdown-takeaways li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  line-height: 1.45;
}

.dropdown-takeaways li::before {
  content: "✓";
  color: var(--gold-dark-2);
  font-weight: 700;
  flex-shrink: 0;
}

.dropdown-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem;
  margin-top: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-soft);
}

.btn-add-dropdown {
  border: none;
  border-radius: 999px;
  background: var(--navy);
  color: var(--ivory);
  padding: 0.85rem 1.75rem;
  font: 700 0.88rem/1 var(--sans);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-add-dropdown:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
}

.btn-add-dropdown.is-added {
  background: #18794e;
  color: #fff;
  cursor: default;
  transform: none;
}

.dropdown-dedicated-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.15s ease;
}

.dropdown-dedicated-link:hover,
.dropdown-dedicated-link:focus-visible {
  color: var(--navy);
  text-decoration: underline;
}

.cta-section--dark {
  position: relative;
  background:
    radial-gradient(circle at 50% 50%, rgba(205, 145, 61, 0.12), transparent 60%),
    #06152b;
  color: var(--ivory);
  padding: clamp(5rem, 9vw, 8rem) 0;
  border-top: 1px solid rgba(251, 232, 209, 0.14);
}

.cta-inner--dark {
  width: var(--container);
  margin-inline: auto;
  text-align: center;
  max-width: 62ch;
}

.cta-inner--dark h2 {
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--ivory);
}

.cta-inner--dark p {
  margin: 0 0 2.25rem;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.65;
  color: rgba(251, 232, 209, 0.82);
}

.order-dialog {
  border: 1px solid rgba(245, 183, 101, 0.4);
  border-radius: 1.25rem;
  background: var(--navy);
  color: var(--ivory);
  padding: 0;
  max-width: min(92vw, 520px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  margin: auto;
}

.order-dialog::backdrop {
  background: rgba(2, 8, 18, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.order-dialog-inner {
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
}

.order-dialog-close {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s ease;
}

.order-dialog-close:hover {
  color: var(--ivory);
}

.order-dialog-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(245, 183, 101, 0.2);
  border: 1px solid rgba(245, 183, 101, 0.4);
  color: var(--gold-light);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-weight: bold;
}

.order-dialog h2 {
  font-family: var(--serif);
  font-size: 1.85rem;
  margin: 0 0 0.5rem;
  color: var(--ivory);
}

.order-dialog-lede {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.order-dialog-summary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 1.25rem;
  text-align: left;
  margin-bottom: 1.75rem;
}

.order-dialog-summary ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.order-dialog-summary li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(251, 232, 209, 0.12);
  padding-bottom: 0.4rem;
}

.order-dialog-summary li:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-top: 0.4rem;
  font-weight: 700;
  color: var(--gold-light);
}

.order-dialog-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

:root {
  --gold-dark-text: #5c3f17;
}

.value-section .section-head,
.more-books-section .section-head {
  color: var(--gold-dark-text);
}

.button--outline-dark:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

@media (max-width: 1090px) {
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 1.75rem) / 2);
    justify-self: center;
  }

  .checkout-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .checkout-summary {
    position: static;
  }
}

@media (max-width: 990px) {
  .purchase-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .purchase-copy {
    align-items: center;
  }

  .purchase-copy .lede {
    margin-inline: auto;
  }

  .feature-list {
    margin-inline: auto;
    text-align: left;
  }

  .cta-row {
    justify-content: center;
  }

  .purchase-card {
    position: static;
    margin-top: 1.5rem;
    width: 100%;
  }

  .trust-inner {
    gap: 2.5rem;
  }

  .trust-quotes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }

  .trust-quote:last-child {
    grid-column: 1 / -1;
    width: min(100%, 32rem);
    justify-self: center;
  }

  .trust-quote p {
    font-size: 1.15rem;
  }
}

@media (max-width: 768px) {
  .purchase-hero {
    background: linear-gradient(135deg, #051325 0%, #0a1e38 55%, #06152b 100%);
  }

  .cta-section--dark {
    background: #06152b;
  }

  .book-dropdown-summary {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
    gap: 1.25rem;
  }

  .book-dropdown-summary-left {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    width: 100%;
  }

  .dropdown-thumb {
    width: 100%;
    max-width: 180px;
    height: auto;
    aspect-ratio: 0.63;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(6, 21, 43, 0.2);
  }

  .dropdown-meta {
    align-items: center;
    width: 100%;
  }

  .dropdown-category {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
  }

  .dropdown-title {
    font-size: 1.35rem;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
  }

  .book-dropdown-summary-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 1rem;
    border-top: 1px solid var(--border-soft-2);
    margin-left: 0;
  }

  .dropdown-price-badge {
    font-size: 0.95rem;
    padding: 0.4rem 1rem;
  }

  .dropdown-toggle-icon {
    flex-basis: 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
  }

  .book-dropdown-body {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 1.25rem;
  }

  .dropdown-cover-stage {
    display: none;
  }

  .dropdown-actions-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-add-dropdown {
    justify-content: center;
  }

  .dropdown-dedicated-link {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .purchase-help-link {
    font-size: 0.78rem;
  }

  .help-dialog {
    width: calc(100% - 2rem);
    max-height: 85dvh;
    border-radius: 1rem;
  }

  .help-dialog-inner {
    padding: 1.5rem;
  }

  .help-dialog-links a {
    min-height: 3rem;
  }

  .purchase-nav {
    flex-wrap: wrap;
    gap: 0.75rem clamp(0.5rem, 2vw, 0.9rem);
    padding-block: 0.75rem;
  }

  .purchase-brand-link {
    gap: clamp(0.5rem, 2vw, 0.75rem);
  }

  .purchase-nav .logo {
    width: 38px;
  }

  .purchase-header-actions {
    gap: 0.75rem;
  }

  .purchase-header-cta {
    min-height: 42px;
    padding-inline: 0.85rem;
    font-size: 0.75rem;
  }

  .purchase-copy h1 {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }

  .purchase-copy .feature-list {
    display: none;
  }

  .cta-row .button {
    width: 100%;
  }

  .checkout-panel,
  .checkout-summary {
    padding: 1.35rem;
  }

  .summary-total-price {
    font-size: 1.7rem;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .value-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: auto;
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }

  .more-books-grid {
    grid-template-columns: 1fr;
  }

  .trust-bar {
    padding-block: 3rem;
  }

  .trust-inner {
    width: 100%;
    gap: 2rem;
  }

  .trust-header {
    padding-inline: var(--container-gutter, 1.25rem);
  }

  .trust-rating-text {
    font-size: 0.75rem;
    line-height: 1.6;
  }

  .trust-quotes {
    --quote-gutter: 1.25rem;

    display: flex;
    gap: 1rem;
    width: 100%;
    padding-inline: var(--quote-gutter);
    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x mandatory;
    scroll-snap-stop: always;
    scroll-padding-inline: var(--quote-gutter);
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .trust-quotes::-webkit-scrollbar {
    display: none;
    height: 3px;
  }

  .trust-quotes::-webkit-scrollbar-track {
    background: transparent;
    margin-inline: var(--quote-gutter);
  }

  .trust-quotes::-webkit-scrollbar-thumb {
    background: rgba(251, 232, 209, 0.4);
    border-radius: 999px;
  }

  .trust-quote,
  .trust-quote:last-child {
    box-sizing: border-box;
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    grid-column: auto;
    justify-self: auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;

    padding: 1.25rem;
    border: 1px solid rgba(251, 232, 209, 0.14);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.025);

    text-align: center;
    scroll-snap-align: start;
  }

  .trust-quote p {
    width: 100%;
    margin: 0 0 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
  }

  .trust-quote footer {
    align-items: center;
    width: 100%;
    max-width: 250px;
    margin-top: auto;
    padding-top: 1rem;
    text-align: center;
  }

  .trust-quote cite {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .trust-quote footer span {
    font-size: 0.7rem;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .help-dialog[open] {
    animation: none;
  }

  .help-dialog-links a,
  .help-dialog-close,
  .purchase-help-link {
    transition: none;
  }

  .help-dialog-links a:hover {
    transform: none;
  }

  .dropdown-toggle-icon,
  .dropdown-toggle-icon::before {
    transition: none;
  }

  .trust-quotes {
    scroll-behavior: auto;
  }
}