@import url("styles-base.css?v=8c1ef10a4b3c");
@import url("site-shell.css?v=8c1ef10a4b3c");
@import url("markdown.css?v=8c1ef10a4b3c");

/* Shared storefront overrides. Version-specific history lives in
   Project Files/Changelog rather than accumulating in this stylesheet. */

.parchment-panel {
  background:
    linear-gradient(rgba(247,224,188,.08), rgba(239,209,166,.10)),
    url("assets/questions/parchment-v4.webp") center / 100% 100% no-repeat;
}

/* Shared disclosure list used by FAQ and membership rules. */
.faq-list details {
  border-top: 1px solid rgba(117, 84, 55, .20);
}

.faq-list details:last-child {
  border-bottom: 1px solid rgba(117, 84, 55, .20);
}

.faq-list summary {
  position: relative;
  cursor: pointer;
  padding: 18px 34px 18px 0;
  font-size: 1.07rem;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-deep);
  font: 500 1.4rem/1 ui-sans-serif, system-ui, sans-serif;
}

.faq-list details[open] summary::after {
  content: "×";
}

.faq-list details p {
  margin: 0;
  padding: 0 38px 21px 0;
  color: var(--muted);
  line-height: 1.68;
}

/* Shared final CTA card geometry. Section spacing stays with the visual system. */
.final-cta {
  position: relative;
  overflow: hidden;
}

.final-cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(29px, 3vw, 38px) clamp(30px, 3.5vw, 44px);
  overflow: hidden;
  border: 1px solid #ddc59d;
  border-radius: 20px;
  background: linear-gradient(135deg, #f0dfbe 0%, #f6ead4 100%);
}

.final-cta-inner::before {
  content: "☾";
  position: absolute;
  right: 210px;
  top: -36px;
  color: rgba(105, 72, 90, .07);
  font-size: 9rem;
  line-height: 1;
}

.final-cta h2 {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.05rem, 4vw, 3.35rem);
}

.final-cta .button {
  position: relative;
  z-index: 2;
}

@media (max-width: 760px) {
  .final-cta-inner {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Shared reading cards. Type sizes stay with the visual system. */
.card-grid {
  display: grid;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.reading-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  padding: 32px 30px 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 252, 246, .92);
  box-shadow: 0 14px 34px rgba(55, 38, 24, .07);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.reading-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(105, 72, 90, .055);
  border-radius: 15px;
  pointer-events: none;
}

.reading-card:hover {
  transform: translateY(-4px);
  border-color: #bda5b0;
  box-shadow: var(--shadow-soft);
}

.reading-card.featured {
  transform: translateY(-8px);
  border-color: #b98542;
  background: linear-gradient(180deg, rgba(246, 235, 240, .92), rgba(255, 253, 249, .82));
  box-shadow: 0 20px 50px rgba(84, 55, 23, .14);
}

.reading-card.featured:hover {
  transform: translateY(-11px);
}

.reading-card.featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

a.reading-card {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

a.reading-card:focus-visible {
  outline: 3px solid rgba(224, 173, 102, .95);
  outline-offset: 4px;
}

.listing-art {
  width: calc(100% + 60px);
  max-width: none;
  aspect-ratio: 3 / 2;
  margin: -30px -30px 24px;
  object-fit: cover;
  border-bottom: 1px solid rgba(139, 92, 37, .26);
}

.reading-emblem {
  display: none;
}

.reading-card .card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.reading-card .pill {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  color: #775020;
  background: #f0dfbe;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.reading-card .reading-cost {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  white-space: nowrap;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

.reading-card .price {
  color: #8b5c25;
  font-weight: 800;
}

.reading-card .cost-divider {
  color: #b59a75;
  font-size: .78rem;
}

.reading-card .credit-price {
  color: #8b5c25;
  font-weight: 750;
  letter-spacing: .01em;
}

.reading-card.featured .credit-price {
  color: var(--accent-deep);
}

.reading-card h3 {
  margin-bottom: 6px;
}

.reading-depth-label {
  margin: 0 0 12px;
  color: #9a672a;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.reading-card > .reading-depth-label {
  color: #9a672a;
}

.reading-card > p {
  color: var(--muted);
  line-height: 1.66;
}

.reading-card .clean-list {
  margin: 12px 0 25px;
  padding-left: 18px;
  color: #514952;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .89rem;
  line-height: 1.55;
}

.reading-card .clean-list li {
  margin: 7px 0;
}

.reading-card .text-link {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 12px;
  color: #8b5c25;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
}

.reading-card .text-link:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .card-grid.three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .reading-card.featured {
    transform: none;
  }

  .listing-art {
    width: calc(100% + 48px);
    margin: -24px -24px 24px;
  }
}

@media (max-width: 560px) {
  .reading-card {
    padding: 24px;
  }
}

@media (max-width: 420px) {
  .reading-card .card-topline {
    align-items: flex-start;
  }

  .reading-card .reading-cost {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px 6px;
  }
}

/* Shared product hero layout and media-card surface. The hero background
   is owned by the imported site-banner-surfaces.css on first paint. */
.product-root {
  min-height: 64vh;
}

/* Before hydration the SEO introduction is the whole visible product page.
   Fill the root's minimum height with the existing dark banner, otherwise
   an untinted strip of wallpaper appears directly above the footer. */
.product-root > .product-seo-fallback {
  min-height: inherit;
}

.product-loading {
  padding: 100px 0;
}

.product-options-loading {
  min-height: 112px;
  margin: 24px 0 0;
  padding: 24px;
  border: 1px solid rgba(214, 160, 90, .3);
  border-radius: 18px;
  color: #eadcc8;
}

.product-configurator-region {
  display: grid;
}

.product-configurator-region > * {
  grid-area: 1 / 1;
}

.product-configurator-region > .shell {
  align-self: start;
}

.product-configurator-region .product-options-loading {
  margin-top: clamp(34px, 4.8vw, 60px);
}

.product-delivery-note {
  font-size: .95rem;
  line-height: 1.55;
}

.product-delivery-note a {
  color: #e0b579;
  text-decoration: underline;
}

#reading-examples {
  scroll-margin-top: 100px;
}

@media (scripting: none) {
  [data-product-options-loading] { display: none; }
}

/* Live product fallback state rendered when a listing id cannot be resolved. */
.product-not-found {
  display: grid;
  min-height: 65vh;
  align-items: center;
  color: #fff4e3;
}

.product-not-found .eyebrow {
  color: #d8a45f;
}

.product-not-found h1 {
  margin-bottom: 18px;
  color: #fff4e3;
  font-size: clamp(2.5rem, 4.5vw, 4.75rem);
}

.product-not-found p:not(.eyebrow) {
  max-width: 720px;
  color: #eadcc8;
  line-height: 1.65;
}

.product-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(64px, 7vw, 104px) 0;
  color: #fff4e3;
  overflow: hidden;
}

.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: center;
}

.product-media-card {
  overflow: hidden;
  border: 1px solid rgba(215, 160, 88, .25);
  border-radius: 20px;
  background: #120d08;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .34);
}

.product-media-card img {
  width: 100%;
  height: auto;
}

.product-summary {
  max-width: 700px;
}

@media (max-width: 900px) {
  .product-hero-grid {
    grid-template-columns: 1fr;
  }

  .product-media-card {
    max-width: 620px;
  }
}

@media (min-width: 1100px) {
  .product-hero-grid {
    grid-template-columns: minmax(330px, .72fr) minmax(0, 1.28fr);
    gap: clamp(46px, 5vw, 76px);
    align-items: center;
  }

  .product-media-card {
    max-width: 520px;
  }

  .product-summary {
    max-width: 760px;
  }
}

/* Product summary copy and desktop heading. The visual system keeps the
   requested reduced mobile product-heading scale authoritative. */
.product-summary .eyebrow {
  color: #d8a45f;
}

.product-summary h1 {
  margin-bottom: 8px;
  color: #fff4e3;
  font-size: clamp(2.5rem, 4.5vw, 4.75rem);
  line-height: .98;
}

.product-summary .reading-depth-label {
  margin-bottom: 14px;
  color: #e0ad66;
}

.product-tagline {
  margin-bottom: 12px;
  color: #f0cf9e;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
}

.product-description {
  max-width: 650px;
  color: rgba(255, 244, 227, .82);
  font-size: 1.05rem;
}

.product-back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: #dcb36f;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}

.product-back-link:hover {
  color: #f1cf9c;
}

/* Shared product price card and membership price row. Configurator-specific
   padding and surfaces stay with the higher-specificity configurator rules. */
.product-price-card {
  margin-top: 30px;
  padding: 24px 26px;
  border: 1px solid rgba(214, 160, 90, .24);
  border-radius: 16px;
  background: rgba(20, 15, 10, .72);
}

.product-price-card .mini-label {
  color: #d8a45f;
}

.product-membership-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 14px;
  border: 1px solid rgba(214, 160, 90, .15);
  border-radius: 10px;
  background: rgba(255, 244, 227, .035);
}

.product-membership-price span {
  color: #cfc0aa;
  font-size: .88rem;
}

.product-membership-price strong {
  color: #f1c981;
  font-size: 1.5rem;
}

/* Reading-product starting price badge. */
.product-starting-price {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  margin: 2px 0 14px;
  padding: 8px 12px;
  border: 1px solid rgba(218, 170, 94, .24);
  border-radius: 999px;
  background: rgba(255, 244, 227, .045);
  font-family: ui-sans-serif, system-ui, sans-serif;
}

.product-starting-price span,
.product-starting-price small {
  color: #bca98e;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.product-starting-price strong {
  color: #f0c879;
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1;
}

@media (max-width: 620px) {
  .product-starting-price {
    margin-bottom: 12px;
  }
}

/* Product detail cards shared by dynamically rendered reading products. */
.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.product-detail-card {
  padding: clamp(26px, 3.5vw, 38px);
  border: 1px solid rgba(151, 101, 54, .14);
  border-radius: 18px;
  background: rgba(255, 251, 243, .92);
  box-shadow: 0 16px 34px rgba(60, 38, 23, .06);
}

.product-check-list,
.product-note-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.product-check-list li,
.product-note-list li {
  position: relative;
  padding: 13px 0 13px 28px;
  border-top: 1px solid rgba(117, 84, 55, .14);
}

.product-check-list li::before {
  content: "✦";
  position: absolute;
  left: 2px;
  color: #a36d2b;
}

.product-note-list li::before {
  content: "•";
  position: absolute;
  left: 5px;
  color: #a36d2b;
}

.product-note-card {
  border-color: rgba(184, 130, 60, .22);
  background: rgba(242, 225, 195, .78);
}

.product-detail-grid > .product-note-card {
  grid-column: 1 / -1;
}

.product-note-card .product-note-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 58px);
}

.product-note-card .product-note-list li {
  margin: 0;
}

@media (max-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-grid > .product-note-card {
    grid-column: auto;
  }

  .product-note-card .product-note-list {
    grid-template-columns: 1fr;
  }
}

/* Shared product example gallery composition. Lightbox chrome remains in the
   legacy foundation for the next isolated cascade checkpoint. */
.product-examples-section {
  padding-top: clamp(76px, 6vw, 96px);
  padding-bottom: clamp(80px, 6.5vw, 102px);
  color: #f7ead7;

}

.product-examples-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.product-examples-heading .eyebrow {
  color: #d6a05a;
}

.product-examples-heading h2 {
  color: #fff3df;
}

.product-examples-heading p {
  color: rgba(242, 225, 204, .76);
}

.product-example-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: clamp(28px, 3vw, 42px);
  max-width: 1240px;
}

.product-example-card {
  display: grid;
  grid-template-rows: auto auto;
  align-self: start;
  appearance: none;
  width: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(218, 164, 88, .32);
  border-radius: 16px;
  background: #0d0a08;
  color: #f7ead7;
  text-align: left;
  cursor: zoom-in;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .22);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.product-example-card:hover {
  transform: translateY(-3px);
  border-color: rgba(220, 166, 92, .55);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .30);
}

.product-example-card:focus-visible {
  outline: 3px solid rgba(222, 168, 88, .92);
  outline-offset: 4px;
}

.product-example-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  padding: 0;
  object-fit: contain;
  background: #080604;
}

.product-example-card > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 18px 22px 19px;
  border-top: 1px solid rgba(208, 153, 79, .16);
}

.product-example-card strong {
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 700;
}

.product-example-card small {
  flex: 0 0 auto;
  color: #d5a05c;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-example-card small::after {
  content: " ↗";
}

.product-example-grid--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(22px, 2.4vw, 34px);
}

.product-example-grid--formats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(18px, 2vw, 28px);
}

.product-example-grid--formats .product-example-card--message {
  grid-column: 1 / -1;
}

.product-example-grid--pair .product-example-card img,
.product-example-grid--formats .product-example-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.product-example-grid--formats .product-example-card--pdf {
  height: 100%;
  grid-template-rows: minmax(0, 1fr) auto;
  align-self: stretch;
  overflow: hidden;
}

.product-example-grid--formats .product-example-card--pdf img {
  width: 100%;
  height: clamp(210px, 17vw, 270px);
  object-fit: cover;
  object-position: center bottom;
  background: #080604;
}

.product-example-grid--formats .product-example-card--pdf > span {
  min-height: 72px;
  height: 72px;
  box-sizing: border-box;
  padding-inline: 16px;
}

@media (min-width: 821px) {
  .product-example-grid--pair {
    align-items: stretch;
  }

  .product-example-grid--pair .product-example-card {
    height: 100%;
    align-self: stretch;
    grid-template-rows: minmax(0, 1fr) 72px;
  }

  .product-example-grid--pair .product-example-card img {
    align-self: stretch;
    justify-self: center;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
  }

  .product-example-grid--pair .product-example-card > span {
    height: 72px;
    min-height: 72px;
    box-sizing: border-box;
    align-items: center;
  }
}

@media (max-width: 820px) {
  .product-example-grid--pair,
  .product-example-grid--formats {
    grid-template-columns: 1fr;
  }

  .product-example-grid--formats .product-example-card--message {
    grid-column: auto;
  }

  .product-example-grid--formats .product-example-card--pdf {
    height: auto;
  }

  .product-example-grid--formats .product-example-card--pdf img {
    height: auto;
    max-height: none;
  }

  .product-example-grid--formats .product-example-card--pdf > span {
    height: auto;
    min-height: 64px;
  }
}

@media (max-width: 760px) {
  .product-example-card > span {
    align-items: center;
  }
}

/* Shared sale ribbon used by catalogue cards and product artwork. */
.on-sale-ribbon {
  position: absolute;
  top: 22px;
  left: -43px;
  z-index: 5;
  width: 172px;
  padding: 9px 12px 8px;
  transform: rotate(-45deg);
  border-bottom: 1px solid rgba(239, 187, 104, .42);
  color: #fff3dc;
  background: linear-gradient(90deg, rgba(111, 33, 23, .97), rgba(163, 72, 34, .96));
  box-shadow: 0 5px 14px rgba(0, 0, 0, .30);
  font: 900 .74rem/1 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .14em;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
}

.question-art-card,
.product-media-card {
  position: relative;
}

@media (max-width: 560px) {
  .on-sale-ribbon {
    top: 19px;
    left: -46px;
  }
}

.checkout-result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Paid and complimentary review copy share the checkout state presentation. */
.checkout-review-copy-complimentary {
  display: none;
}

[data-product-configurator]:has(.checkout-complimentary-actions:not([hidden])) .checkout-review-copy-paid {
  display: none;
}

[data-product-configurator]:has(.checkout-complimentary-actions:not([hidden])) .checkout-review-copy-complimentary {
  display: inline;
}

/* Capacity-aware reading choices. A depth is sold out only when even
   its lightest Message / no Follow Up configuration would exceed capacity. */
.config-choice.is-sold-out,
.config-locked-value.is-sold-out {
  opacity: .46;
  filter: grayscale(.72);
}
.config-choice.is-sold-out { cursor: not-allowed; }
.config-choice.is-sold-out input { cursor: not-allowed; }
.config-choice.is-sold-out > span,
.config-locked-value.is-sold-out { border-color: rgba(125, 112, 102, .38); }
.config-choice-sold-out {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-left: 7px;
  border: 1px solid rgba(176, 156, 141, .42);
  border-radius: 999px;
  padding: 3px 8px;
  color: rgba(242, 229, 216, .78);
  background: rgba(60, 52, 48, .46);
  font: 800 .68rem/1 ui-sans-serif, system-ui, sans-serif;
  font-style: normal;
  letter-spacing: .04em;
  text-transform: uppercase;
  vertical-align: middle;
}
.config-choice-sold-out[hidden] { display: none; }

/* Shared product and checkout polish. */
.product-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
}
.product-summary-actions .button-secondary { display: none; }
.product-summary-actions .button-primary { margin-top: 38px; }
/* Standard payment controls. Keep provider branding familiar and restrained. */
.checkout-payment-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checkout-pay-button {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  min-height: 54px;
  padding: 0 18px !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  cursor: pointer;
  font-family: ui-sans-serif, system-ui, sans-serif;
  box-shadow: none !important;
  transition: background-color .15s ease, border-color .15s ease, opacity .15s ease;
}

.checkout-pay-button:not(:disabled):hover,
.checkout-pay-button:not(:disabled):active {
  transform: none !important;
}

.checkout-pay-copy {
  position: static !important;
  inset: auto !important;
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.checkout-pay-line {
  display: block;
  width: auto;
  min-height: 0;
  padding: 0;
  font-size: .95rem;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
}

.checkout-pay-line--secondary {
  display: none;
}

.checkout-payment-logo {
  position: static !important;
  inset: auto !important;
  order: -1;
  display: block;
  width: auto;
  max-width: none;
  transform: none !important;
  object-fit: contain;
  pointer-events: none;
}

.checkout-payment-logo--stripe {
  height: 18px;
}

.checkout-payment-logo--paypal {
  height: 22px;
}

.checkout-pay-button[data-payment-provider="stripe"]:not(:disabled) {
  color: #fff !important;
  background: #635bff !important;
}

.checkout-pay-button[data-payment-provider="stripe"]:not(:disabled):hover {
  background: #554df0 !important;
}

.checkout-pay-button[data-payment-provider="paypal"]:not(:disabled) {
  color: #111820 !important;
  background: #ffc439 !important;
}

.checkout-pay-button[data-payment-provider="paypal"]:not(:disabled):hover {
  background: #f2ba36 !important;
}

.checkout-pay-button:focus-visible {
  outline: 3px solid rgba(214, 160, 90, .36);
  outline-offset: 3px;
}

.checkout-pay-button:disabled {
  cursor: not-allowed;
  opacity: .58;
  color: rgba(242, 225, 204, .82) !important;
  border-color: rgba(214, 160, 90, .18) !important;
  background: #3a342f !important;
  box-shadow: none !important;
  filter: none;
}

.checkout-pay-button:disabled .checkout-payment-logo {
  opacity: .72;
}

@media (max-width: 700px) {
  .checkout-payment-actions {
    grid-template-columns: 1fr;
  }

  .checkout-pay-button {
    min-height: 52px;
  }
}

/* Optional reading add-ons are part of the shared product configurator. */
.reading-addons-panel {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201, 169, 98, 0.28);
}

.reading-addons-heading {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 0.7rem;
}

.reading-addons-heading > strong {
  color: var(--cream, #f4ead7);
  font-size: 1rem;
}

.reading-addons-list {
  display: grid;
  gap: 0.55rem;
}

.reading-addon-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  padding: 0.72rem;
  border: 1px solid rgba(201, 169, 98, 0.22);
  border-radius: 0.75rem;
  background: rgba(255, 248, 230, 0.045);
  cursor: pointer;
}

.reading-addon-option:has(input:checked) {
  border-color: rgba(201, 169, 98, 0.58);
  background: rgba(201, 169, 98, 0.1);
}

.reading-addon-option.is-unavailable {
  cursor: not-allowed;
  opacity: .62;
  border-color: rgba(201, 169, 98, .12);
  background: rgba(255, 248, 230, .025);
}

.reading-addon-option.is-unavailable .reading-addon-topline em {
  color: rgba(244, 234, 215, .58);
}

.reading-addon-option input {
  margin-top: 0.18rem;
  accent-color: #c9a962;
}

.reading-addon-copy {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.reading-addon-topline {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  justify-content: space-between;
}

.reading-addon-topline strong {
  color: var(--cream, #f4ead7);
  font-size: 0.95rem;
}

.reading-addon-topline em {
  color: #d8bc79;
  font-size: 0.88rem;
  font-style: normal;
  white-space: nowrap;
}

.reading-addon-copy small {
  color: rgba(244, 234, 215, 0.78);
  font-size: max(13px, 0.82rem);
  line-height: 1.45;
}

@media (max-width: 720px) {
  .reading-addon-topline {
    align-items: flex-start;
  }
}

/* Shared product example lightbox. These are the final effective legacy values,
   moved later in the cascade without changing lightbox behavior. */
.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: stretch;
  padding: 16px;
  background: rgba(0, 0, 0, .94);
  backdrop-filter: blur(10px);
}

.lightbox-stage {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  height: calc(100vh - 32px);
  max-width: none;
  max-height: none;
  overflow: hidden;
  border: 1px solid rgba(214, 160, 90, .52);
  border-radius: 14px;
  background: #080604;
  box-shadow: 0 28px 100px rgba(0, 0, 0, .72);
}

.lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 8px 10px 8px 18px;
  border-bottom: 1px solid rgba(214, 160, 90, .24);
  background: linear-gradient(180deg, rgba(39, 24, 16, .98), rgba(19, 13, 10, .98));
  color: #f4dfbf;
}

.lightbox-toolbar > strong {
  overflow: hidden;
  font-family: var(--display);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lightbox-controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
}

.lightbox-control,
.lightbox-close {
  position: static;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(214, 160, 90, .42);
  border-radius: 9px;
  background: rgba(12, 8, 6, .88);
  color: #f4dfbf;
  cursor: pointer;
  font: 700 1rem/1 ui-sans-serif, system-ui, sans-serif;
}

.lightbox-close {
  border-radius: 50%;
  font: 300 1.65rem/1 Georgia, serif;
}

.lightbox-fit {
  width: auto;
  min-width: 54px;
  padding-inline: 12px;
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.lightbox-control:hover,
.lightbox-close:hover,
.lightbox-control:focus-visible,
.lightbox-close:focus-visible {
  border-color: rgba(235, 185, 107, .82);
  background: rgba(72, 45, 25, .92);
  outline: none;
}

.lightbox-zoom-label {
  min-width: 54px;
  color: #dfb16d;
  font: 700 .78rem/1 ui-sans-serif, system-ui, sans-serif;
  text-align: center;
}

.lightbox-scroll {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 20%, rgba(95, 55, 113, .08), transparent 34rem),
    #050403;
}

.lightbox-stage img {
  display: block;
  width: auto;
  max-width: none;
  height: auto;
  max-height: none;
  margin: 0 auto;
  transform-origin: top center;
  box-shadow: 0 16px 52px rgba(0, 0, 0, .4);
}

@media (max-width: 760px) {
  .lightbox {
    padding: 8px;
  }

  .lightbox-stage {
    height: calc(100vh - 16px);
    border-radius: 10px;
  }

  .lightbox-toolbar {
    min-height: 54px;
    padding-left: 12px;
  }

  .lightbox-toolbar > strong {
    max-width: 34vw;
  }

  .lightbox-controls {
    gap: 5px;
  }

  .lightbox-control,
  .lightbox-close {
    width: 36px;
    height: 36px;
  }

  .lightbox-fit {
    width: auto;
    min-width: 48px;
    padding-inline: 9px;
  }

  .lightbox-zoom-label {
    min-width: 46px;
  }

  .lightbox-scroll {
    padding: 10px;
  }
}

/* The Multiple Question closing band is dark, but the CTA itself is a
   light card. Keep text legible against that card, like the homepage CTA. */
.product-final-cta.section-dark .final-cta-inner {
  color: var(--text-dark) !important;
}
.product-final-cta.section-dark .final-cta-inner :is(h1, h2, h3) {
  color: var(--text-dark) !important;
}
.product-final-cta.section-dark .final-cta-inner .eyebrow {
  color: var(--accent-on-light) !important;
}
.product-final-cta.section-dark .final-cta-inner p {
  color: var(--text-dark-soft) !important;
}

/* The reading page remains visible while only the configurator finishes booting. */
.product-configurator-shell[data-configurator-boot] {
  transition: opacity .28s ease;
}

.product-configurator-shell[data-configurator-boot="pending"] {
  opacity: 0;
  pointer-events: none;
}

.product-configurator-shell[data-configurator-boot="ready"] {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .product-configurator-shell[data-configurator-boot] {
    transition: none;
  }
}
