/* Product-page revision: archival palette, reference hierarchy, honest placeholders. */
.rating-stars { display: inline-flex; align-items: center; gap: 3px; color: #dab76f; }
.rating-stars > svg, .half-star svg { width: 18px; height: 18px; fill: currentColor; stroke: currentColor; }
.half-star { display: inline-block; position: relative; width: 18px; height: 18px; }
.half-star-outline, .half-star-fill { position: absolute; inset: 0; }
.half-star-outline svg { fill: none; }
.half-star-fill { clip-path: inset(0 50% 0 0); }
.product-page .product-grid { grid-template-columns: 44% 56%; align-items: start; }
.product-page .product-gallery { position: sticky; top: 142px; }
.product-page .gallery-zoom { display: block; width: 100%; aspect-ratio: 2/3; overflow: hidden; border-radius: 9px; }
.product-page .gallery-zoom img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 8px; }
.product-gallery-proof { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 14px auto 0; color: var(--paper); font: 600 18px/1.4 var(--body); text-align: center; }
.product-gallery-proof .rating-stars { gap: 3px; color: #dab76f; }
.product-gallery-proof .rating-stars > svg, .product-gallery-proof .half-star, .product-gallery-proof .half-star svg { width: 18px; height: 18px; }
.product-gallery-proof strong { font-weight: 600; }
.product-page .product-info { padding-left: 70px; min-width: 0; }
.product-page .product-info h1 { font-size: 31px; }
.product-page .product-info h1 span { font-size: 20px; }
.product-page .rating-preview { margin-bottom: 23px; }
.rating-line { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 9px; font-size: 17px; }
.rating-line strong { color: var(--paper); font-weight: 600; }
.rating-preview-note { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.access-preview { margin-bottom: 22px; }
.access-preview .product-status { color: #d0ba8d; margin-bottom: 4px; }
.access-preview > p:last-child { font-size: 14px; color: var(--muted); margin-top: 0; }
.product-page .product-help { margin-top: 28px; }
.detail-heading { text-align: center; margin-bottom: 25px; }
.detail-heading h2 { font-size: 33px; }
.detail-heading > p:not(.eyebrow) { margin-top: 15px; font-size: 18px; line-height: 1.55; color: var(--muted); }
.detail-proof, .detail-archive-offer, .detail-review-images { padding-top: 54px; }
.detail-proof .detail-heading h2 { font-size: 30px; }
.product-media { margin: 0; min-width: 0; }
.media-placeholder { background: radial-gradient(ellipse at 50% 35%, #29201455, #080706 70%); border: 1px solid #796440; border-radius: 8px; display: grid; place-items: center; padding: 22px; }
.media-placeholder.landscape { aspect-ratio: 16/9; }
.media-placeholder.collage { aspect-ratio: 1.5; }
.media-placeholder.portrait { aspect-ratio: 2/3; }
.media-placeholder.vertical { aspect-ratio: 9/16; }
.media-placeholder.review-image { min-height: 180px; }
.media-placeholder.archive-image { aspect-ratio: 1.15; }
.media-placeholder-content { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; width: 100%; }
.media-placeholder-content > svg { width: 30px; height: 30px; color: #b49a73; }
.media-placeholder strong { color: #d3bd98; font: 500 clamp(18px, 2.2vw, 34px)/1.35 var(--label); letter-spacing: .055em; }
.media-slot-id { color: var(--bronze); font: 500 11px/1.45 var(--label); overflow-wrap: anywhere; }
.media-placeholder figcaption { color: var(--muted); font: 400 17px/1.45 var(--body); max-width: 33ch; }
.media-upload-label { color: var(--muted); font: 500 9px/1.6 var(--label); letter-spacing: .06em; }
.configured-media img, .configured-media video { width: 100%; height: auto; border: 1px solid #796440; border-radius: 8px; }
.archive-feature-card { position: relative; padding: 22px; border: 1px solid #907042; border-radius: 9px; background: linear-gradient(145deg, #21180d, #0d0b08); }
.archive-card-label { display: inline-block; padding: 7px 12px; margin-bottom: 22px; background: #4a351c; color: #f0dbc0; font: 500 9px/1.5 var(--label); letter-spacing: .08em; }
.archive-feature-content { display: grid; grid-template-columns: .8fr 1.2fr; gap: 22px; align-items: center; }
.archive-feature-content .media-placeholder { padding: 14px; }
.archive-feature-content .media-placeholder strong { font-size: 17px; }
.archive-feature-content .media-placeholder figcaption { font-size: 15px; }
.archive-feature-content .media-slot-id { font-size: 9px; }
.archive-feature-copy { text-align: left; min-width: 0; }
.archive-feature-copy h3 { font-size: 28px; margin-bottom: 16px; }
.archive-feature-copy > p { color: var(--muted); font-size: 17px; margin-bottom: 18px; }
.edition-offer { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; width: 100%; padding: 14px 0; background: none; color: var(--paper); border: 0; border-top: 1px solid #56412a; text-align: left; }
.edition-offer > svg { width: 20px; height: 20px; color: var(--bronze); }
.edition-offer > span { flex: 1; min-width: 60px; }
.edition-offer strong { display: block; font-size: 19px; font-weight: 500; }
.edition-offer small { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); }
.edition-offer b { font-size: 16px; font-weight: 500; }
.edition-offer > svg:last-child { width: 15px; }
.detail-review-images .rating-preview { margin-bottom: 25px; text-align: center; }
.review-image-stack { display: flex; flex-direction: column; gap: 22px; }
.review-image-stack .media-placeholder-content { gap: 10px; }
.review-image-stack .media-placeholder strong { font-size: 23px; }
.review-image-stack .media-placeholder figcaption { font-size: 16px; }
.archive-divider-band { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 24px; padding: 23px; border-block: 1px solid #5c4529; color: var(--bronze); font: 500 11px/1.5 var(--label); letter-spacing: .07em; background: #181208; text-align: center; }
.archive-divider-band i { width: 5px; height: 5px; background: var(--bronze); transform: rotate(45deg); }
.detail-split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.detail-copy h2 { font-size: 43px; margin-bottom: 25px; }
.detail-copy p { color: var(--muted); }
.detail-copy .detail-pullquote { color: var(--bronze); font: italic 500 29px/1.4 var(--display); margin-top: 28px; }
.detail-chapters { background: linear-gradient(90deg, #15100b, #080807); }
.detail-chapters .detail-split { align-items: start; }
.chapter-list-wrapper { margin-top: 30px; }
.detail-chapters .detail-chapter-list .chapter-list-wrapper { margin-top: 0; }
.chapter-list-wrapper > summary, .read-pages-disclosure > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; cursor: pointer; color: var(--bronze); font: 500 11px/1.6 var(--label); letter-spacing: .05em; list-style: none; }
.chapter-list-wrapper > summary::-webkit-details-marker, .read-pages-disclosure > summary::-webkit-details-marker { display: none; }
.detail-chapters .toc-panel { padding: 10px 18px; }
.detail-chapters .chapter-title { font-size: 10px; }
.detail-chapters .chapter-description { font-size: 17px; color: var(--muted); }
.detail-reaction { border-bottom: 1px solid #342817; }
.detail-reaction .detail-media { width: min(100%, 440px); margin: auto; }
.detail-split.reverse .detail-media { order: 2; }
.detail-split.reverse .detail-copy { order: 1; }
.detail-copy .reader-copy-note { font-size: 15px; padding-left: 16px; border-left: 1px solid var(--bronze); margin-top: 27px; }
.detail-copy .button { margin-top: 30px; }
.detail-archive-access { background: radial-gradient(ellipse at 50% 40%, #30210f44, transparent 70%); }
.detail-archive-access .product-media { width: min(100%, 660px); margin: 0 auto 50px; }
.detail-archive-access .detail-heading h2 { font-size: 43px; }
.access-editions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 35px 0; }
.access-edition { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 23px 12px; background: #16110b; border: 1px solid #5c472a; color: var(--paper); border-radius: 5px; }
.access-edition svg { color: var(--bronze); width: 30px; height: 30px; }
.access-edition strong { font: 500 26px/1.3 var(--display); }
.access-edition span { font-size: 18px; color: var(--muted); }
.lower-video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.detail-video-gallery .media-placeholder figcaption { font-size: 17px; }
.detail-video-gallery .media-placeholder strong { font-size: 24px; }
.product-page .product-read { padding-top: 25px; padding-bottom: 55px; }
.read-pages-disclosure { border-top: 1px solid #5c472a; border-bottom: 1px solid #5c472a; }
.purchase-preview-toast { position: fixed; left: 22px; bottom: 65px; z-index: 29; display: grid; grid-template-columns: 52px 1fr; gap: 15px; width: 340px; max-width: calc(100vw - 36px); padding: 17px; background: #17120cf5; border: 1px solid #856638; border-radius: 7px; box-shadow: 0 12px 35px #0009; }
.purchase-preview-toast[hidden], .purchase-preview-toggle[hidden] { display: none; }
.purchase-preview-toast > img { width: 52px; height: 78px; object-fit: contain; align-self: start; }
.toast-demo-label { color: var(--bronze); font: 500 10px/1.45 var(--label); letter-spacing: .06em; }
.purchase-preview-copy p { margin-top: 8px; color: var(--paper); font-size: 18px; line-height: 1.3; }
.purchase-preview-copy small { display: block; margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.toast-controls { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 10px; }
.toast-controls button, .purchase-preview-toggle { color: var(--bronze); background: none; border: 0; border-bottom: 1px solid #7d603b; padding: 4px 0; font: 400 14px/1.4 var(--body); }
.purchase-preview-toggle { position: fixed; left: 22px; bottom: 20px; z-index: 29; padding: 6px 10px; border: 1px solid #7d603b; border-radius: 4px; background: #17120c; }
@media (max-width: 1050px) {
  .product-page .product-info { padding-left: 40px; }
  .archive-feature-content { grid-template-columns: 1fr; }
  .archive-feature-content > .product-media { max-width: 210px; width: 100%; margin: auto; }
  .archive-feature-content .media-placeholder.portrait { aspect-ratio: 1; }
  .detail-split { gap: 40px; }
  .detail-copy h2 { font-size: 38px; }
}
@media (max-width: 800px) {
  .product-page .product-info { padding-left: 28px; }
  .product-page .product-gallery { top: 125px; }
  .product-page .product-info h1 { font-size: 28px; }
  .rating-line { font-size: 16px; }
  .detail-heading h2, .detail-proof .detail-heading h2 { font-size: 28px; }
  .detail-split { gap: 30px; }
  .media-placeholder { padding: 18px; }
  .detail-copy h2 { font-size: 34px; }
  .detail-archive-access .detail-heading h2 { font-size: 36px; }
}
@media (max-width: 600px) {
  .product-page .product-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-page .product-gallery { position: static; }
  .product-page .product-info { padding: 0; }
  .product-page .product-info h1 { font-size: 34px; }
  .product-page .product-info h1 span { font-size: 22px; }
  .detail-proof, .detail-archive-offer, .detail-review-images { padding-top: 55px; }
  .detail-heading h2, .detail-proof .detail-heading h2 { font-size: 32px; }
  .detail-heading > p:not(.eyebrow) { font-size: 19px; }
  .media-placeholder strong { font-size: 24px; }
  .media-placeholder figcaption { font-size: 17px; }
  .media-placeholder.collage { aspect-ratio: 1.1; }
  .archive-feature-content { gap: 24px; }
  .archive-feature-copy h3 { font-size: 30px; }
  .archive-feature-content .media-placeholder.portrait { aspect-ratio: 1.2; }
  .archive-feature-content .media-placeholder strong { font-size: 22px; }
  .archive-feature-content .media-placeholder figcaption { font-size: 16px; }
  .edition-offer strong { font-size: 22px; }
  .edition-offer b { font-size: 19px; }
  .detail-split { grid-template-columns: 1fr; gap: 40px; }
  .detail-split.reverse .detail-media, .detail-split.reverse .detail-copy { order: unset; }
  .detail-copy h2 { font-size: 36px; }
  .detail-copy p { font-size: 20px; }
  .detail-copy .reader-copy-note { font-size: 16px; }
  .archive-divider-band { font-size: 9px; gap: 12px; }
  .archive-divider-band i { display: none; }
  .access-editions { grid-template-columns: 1fr; gap: 14px; }
  .access-edition { padding: 17px; }
  .lower-video-grid { gap: 14px; }
  .detail-video-gallery .media-placeholder { padding: 18px 11px; aspect-ratio: 9/18; }
  .detail-video-gallery .media-placeholder strong { font-size: 17px; }
  .detail-video-gallery .media-placeholder figcaption { font-size: 15px; }
  .detail-video-gallery .media-slot-id { font-size: 10px; }
  .detail-video-gallery .media-upload-label { font-size: 8px; }
  .purchase-preview-toast { left: 18px; bottom: 63px; padding: 13px; width: 325px; grid-template-columns: 44px 1fr; }
  .purchase-preview-toast > img { width: 44px; height: 66px; }
  .purchase-preview-toggle { left: 18px; bottom: 18px; }
}

/* Supplied reader-comment graphics: preserve every pixel and original aspect ratio. */
.product-page .reader-comment { border: 1px solid #4e402d; border-radius: 8px; background: #11100e; overflow: hidden; }
.product-page .reader-comment-open { display: block; color: var(--bronze); text-decoration: none; }
.product-page .reader-comment-open img { display: block; width: 100%; height: auto; object-fit: contain; border: 0; border-radius: 0; }
.product-page .reader-comment-dialog { width: min(1440px, 96vw); max-width: 96vw; max-height: 94dvh; padding: 20px; color: var(--paper); background: #11100e; border: 1px solid #8d754d; border-radius: 8px; }
.product-page .reader-comment-dialog::backdrop { background: #000d; }
.product-page .reader-comment-dialog .dialog-head { gap: 18px; }
.product-page .reader-comment-dialog .dialog-head h2 { font-size: 22px; }
.product-page #reader-comment-help { color: var(--muted); font: 400 17px/1.5 var(--body); margin: 12px 0 16px; }
.product-page .reader-comment-scroll { max-height: 65dvh; overflow: auto; overscroll-behavior: contain; border: 1px solid #4e402d; background: #222; }
.product-page .reader-comment-scroll img { display: block; width: 100%; min-width: 960px; max-width: none; height: auto; }
.product-page .reader-comment-original { display: inline-block; margin-top: 14px; color: var(--bronze); font-size: 17px; }
.product-page .reader-comment-open:focus-visible { outline: 2px solid var(--bronze); outline-offset: -3px; }
@media (max-width: 600px) {
  .product-page .reader-comment-dialog { padding: 14px; }
  .product-page .reader-comment-dialog .dialog-head h2 { font-size: 18px; }
}
@media (max-width: 600px) {
  .product-gallery-proof { gap: 8px; margin-top: 12px; font-size: 16px; }
  .product-gallery-proof .rating-stars > svg, .product-gallery-proof .half-star, .product-gallery-proof .half-star svg { width: 17px; height: 17px; }
}
@media (max-width: 600px) {
  .product-page .product-hero { padding: 16px 0 10px; }
  .product-page .product-grid { gap: 8px; }
  .product-page .product-gallery { width: min(80vw, 300px); max-width: 300px; margin-inline: auto; }
  .product-page .gallery-zoom { width: 100%; aspect-ratio: 1/1; margin-inline: auto; }
  .product-page .gallery-zoom img { width: 100%; height: 100%; max-width: none; aspect-ratio: auto; object-fit: cover; }
  .product-page .product-gallery-proof { margin-top: 8px; }
  .product-page .product-meta { margin-bottom: 8px; font-size: 9px; }
  .product-page .rating-preview { margin-bottom: 10px; }
  .product-page .product-info h1 { font-size: 29px; line-height: 1.12; margin-bottom: 10px; }
  .product-page .product-info h1 span { font-size: 19px; margin-top: 4px; }
  .product-page .product-tagline { font-size: clamp(13px, 3.7vw, 15px); letter-spacing: -.01em; line-height: 1.35; white-space: nowrap; margin-bottom: 12px; }
  .product-page .format-info { margin-top: 14px; margin-bottom: 12px; }
  .product-page .product-price { margin-bottom: 10px; }
  .product-page .payment-preview { margin-bottom: 12px; }
}

/* Natural-ratio product art: the frame wraps the complete edition image instead of cropping it. */
.product-page .gallery-zoom { width: 100%; max-width: 100%; height: auto; aspect-ratio: auto; margin-inline: auto; }
.product-page .gallery-zoom img { display: block; width: 100%; max-width: 100%; height: auto; max-height: none; aspect-ratio: 2/3; object-fit: contain; margin-inline: auto; }
.product-page .gallery-zoom.bundle-gallery img { aspect-ratio: 4/3; }
@media (max-width: 600px) {
  .product-page .gallery-zoom { width: min(202px, 100%); max-width: 100%; }
  .product-page .gallery-zoom.bundle-gallery { width: 100%; }
  .product-page .gallery-zoom img { max-height: none; width: 100%; max-width: 100%; }
  .product-page .product-tagline { font-size: clamp(10px, 3vw, 14px); letter-spacing: -.015em; }
}
