/* CLA-540 book surfaces only; other house styles are untouched. */
.bookstore-page .ag-section{padding-block:clamp(2rem,5vw,4rem)}
.bookstore-page .ag-label,.bookstore-home .ag-label{font-size:.8rem;letter-spacing:.12em;text-transform:uppercase}
.bookstore-page .ag-lead{font-size:clamp(1.15rem,2vw,1.5rem);line-height:1.5}
.bookstore-page .ag-paper{background:rgb(255 255 255 / .025)}
.bookstore-page .ag-link{text-decoration:underline;text-underline-offset:.25em}
.bookstore-page button:disabled{opacity:.65;cursor:not-allowed}
.bookstore-page .browse-opening{padding-block:clamp(2rem,5vw,4rem)}
.bookstore-home{padding-block:3rem;border-bottom:1px solid rgb(255 255 255 / .18)}
.bookstore-home .ag-bookstore-cards{gap:2rem}
.bookstore-home .ag-bookstore-cards article{grid-template-columns:minmax(0,.35fr) minmax(0,1fr);gap:2rem}
.bookstore-home .ag-book-cover{max-width:12rem}
@media(max-width:700px){.bookstore-home .ag-bookstore-cards article{grid-template-columns:1fr}.bookstore-home .ag-book-cover{max-width:10rem}}
.bookstore-languages{display:flex;flex-wrap:wrap;gap:.65rem 1rem;margin:1.4rem 0;font-size:.95rem}.bookstore-languages a{text-underline-offset:.3em;text-decoration:underline}.bookstore-languages [aria-current="page"]{font-weight:700}.book-reader-form{max-width:42rem}.book-reader-form form{display:grid;gap:1rem;margin-top:1.5rem}.book-reader-form input[type="email"]{width:100%;min-width:0;background:transparent;border:1px solid currentColor;border-radius:.2rem;padding:.9rem;font:inherit}.book-reader-consent{display:flex;align-items:baseline;gap:.7rem;line-height:1.6}.book-reader-consent input{flex:none}.book-reader-honeypot{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.book-reader-form .button{justify-self:start}.book-reader-form [role="alert"]{color:#ad5541}.book-reader-form [role="status"]{border-left:2px solid currentColor;padding-left:1rem}.paid-book-copy h1{overflow-wrap:anywhere}.bookstore-languages a:focus-visible,.book-reader-form input:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.ag-book-detail{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:start;gap:clamp(2rem,7vw,6rem)}.ag-book-detail h1{font-family:var(--font-display);font-size:clamp(3rem,6vw,6rem);line-height:1.02;font-weight:400;overflow-wrap:anywhere;margin:1rem 0 1.5rem}.ag-book-cover{display:block;margin:0 auto;max-width:25rem;width:100%}.ag-book-cover img{display:block;width:100%;height:auto;box-shadow:0 1.2rem 3rem #0004}.ag-book-about{display:grid;grid-template-columns:1fr 1.3fr;gap:3rem}.ag-bookstore-cards{display:grid;gap:5rem}.ag-bookstore-cards article{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:3rem;align-items:center}.ag-bookstore-cards h2,.ag-book-about h2,.book-reader-form h2{font-family:var(--font-display);font-size:clamp(2rem,4vw,3.5rem);line-height:1.12;font-weight:400}.book-reader-form select{background:transparent;color:inherit;font:inherit;padding:.75rem;border:1px solid currentColor;width:100%}.book-reader-form input[type="checkbox"]{min-width:1rem;accent-color:currentColor}.book-reader-form a{text-decoration:underline;text-underline-offset:.3em}.paid-book-price{font-size:1.5rem}.paid-book-price span{font-size:.9rem;display:block}.ag-bookstore-cards .bookstore-languages{margin-bottom:1.5rem}@media(max-width:720px){.ag-book-detail,.ag-bookstore-cards article,.ag-book-about{grid-template-columns:minmax(0,1fr)}.ag-book-cover{max-width:19rem}.ag-bookstore-cards article{gap:2rem}.ag-book-detail h1{font-size:clamp(2.6rem,11vw,4rem)}}

/* CLA-587: compact bookshop opening, before the existing house hero. */
.bookshop-lead{padding:1.25rem 0 1.5rem;border-bottom:1px solid currentColor}
.bookshop-lead__heading{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:1rem}
.bookshop-lead__heading h2{font:400 1.6rem/1.1 var(--font-display,Georgia,serif);margin:0}
.bookshop-lead__heading>a{font-size:.9rem;text-decoration:underline;text-underline-offset:.25em}
.bookshop-lead__grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem}
.bookshop-lead article{display:grid;grid-template-columns:90px minmax(0,1fr);gap:1.25rem;align-items:start}
.bookshop-lead__cover img{display:block;width:100%;height:auto;box-shadow:4px 8px 18px #0003}
.bookshop-lead h3{font:400 clamp(1.3rem,2vw,1.8rem)/1.13 var(--font-display,Georgia,serif);margin:.3rem 0 .55rem}
.bookshop-lead p{font-size:.9rem;line-height:1.4;margin:0 0 .6rem}
.bookshop-lead .ui-label{font-size:.65rem;text-transform:uppercase;letter-spacing:.12em;margin:0}
.bookshop-purchase{display:flex;gap:.65rem;align-items:center;flex-wrap:wrap;margin-top:.75rem}
.bookshop-purchase .button{font-size:.8rem;min-height:36px;padding:.5rem .8rem}
.bookshop-purchase button:disabled{opacity:.6;cursor:not-allowed}
.bookshop-purchase small{font-size:.7rem;flex-basis:100%}
@media(max-width:650px){.bookshop-lead__grid{grid-template-columns:1fr;gap:1.4rem}.bookshop-lead article{grid-template-columns:70px minmax(0,1fr);gap:1rem}.bookshop-lead h3{font-size:1.4rem}.bookshop-lead{padding-block:1rem}.bookshop-lead p{font-size:.85rem}}

/* CLA-587: two books and their released languages are visible before the reading shelf. */
.bookshop-opening{padding-block:1.5rem .5rem}
.bookshop-opening h1{font:400 clamp(2.5rem,4vw,3.5rem)/1.05 var(--font-display,Georgia,serif);margin:.5rem 0 .75rem}
.bookshop-opening>p:last-child{font-size:1rem;line-height:1.5;max-width:48rem;margin:0}
.bookshop-lead .bookshop-lead__title{font:400 clamp(1.3rem,2vw,1.8rem)/1.13 var(--font-display,Georgia,serif);margin:.3rem 0 .55rem}
.bookshop-lead .bookshop-language-count{font-weight:600;margin:.7rem 0 .25rem}
.bookshop-language-list{display:flex;flex-wrap:wrap;gap:.3rem .8rem;font-size:.85rem;line-height:1.5}
.bookshop-language-list a,.bookshop-preparing a,.bookshop-explore{text-decoration:underline;text-underline-offset:.2em}
.bookshop-language-list a:focus-visible,.bookshop-preparing a:focus-visible,.bookshop-explore:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.bookshop-lead .bookshop-preparing{font-size:.75rem;margin:.4rem 0 0;line-height:1.4}
.bookshop-explore{display:inline-block;font-size:.85rem;margin-top:.75rem}
.bookshop-followups{display:flex;flex-wrap:wrap;gap:0 1rem}
.bookshop-lead--shelf{padding-bottom:2rem}
@media(max-width:650px){.bookshop-opening{padding-top:1rem}.bookshop-lead .bookshop-lead__title{font-size:1.35rem}.bookshop-lead__grid{gap:1.5rem}.bookshop-lead--shelf{padding-bottom:1.5rem}}

/* CLA-587: reviewed excerpts are public to read, outside the newsletter flow. */
.book-receive{margin-top:1.5rem;max-width:38rem;border-top:1px solid currentColor;padding-top:1rem}
.book-receive h2{font:600 1rem/1.4 var(--font-body,Georgia,serif);margin:0 0 .65rem}
.book-receive p{font-size:.9rem;line-height:1.7;margin:0 0 .6rem}
.book-reader-promise{margin-top:1.5rem;max-width:40rem}.book-reader-promise p{font-size:1.05rem;line-height:1.75;margin:0 0 .85rem}
.book-sample{padding-block:clamp(2.5rem,6vw,5rem)}.book-sample__reading{max-width:46rem;margin-inline:auto}
.book-sample h2{font:400 clamp(2rem,4vw,3rem)/1.15 var(--font-display,Georgia,serif);margin:0 0 1rem}
.book-sample__source{font-size:.9rem;margin-bottom:2rem}.book-sample__source cite{font-style:normal}
.book-sample blockquote{margin:0;padding:0;border:0;font:inherit}.book-sample blockquote p{font-size:1.08rem;line-height:1.9;margin:0 0 1.25rem}
.book-sample__gap{margin-block:1.25rem;font-size:1rem}
.book-facts{padding-block:clamp(2.5rem,6vw,5rem)}.book-facts__copy{max-width:46rem;margin-inline:auto}
.book-facts h2.ag-label{font-size:.8rem;line-height:1.4;margin:0 0 1rem}.book-facts__copy p{font-size:1rem;line-height:1.75;margin:0}
.bookshop-lead .bookshop-promise{font-size:.85rem;line-height:1.45;margin:.5rem 0 .65rem}

/* Keep both books actionable on one mobile screen with the added reader promise. */
@media(max-width:650px){
 .bookshop-lead article{display:block}.bookshop-lead article::after{content:"";display:block;clear:both}
 .bookshop-lead article>div{display:contents}
 .bookshop-lead__cover{float:left;display:block;width:60px;margin:0 1rem .5rem 0}
 .bookshop-lead .bookshop-lead__title{font-size:1.3rem;margin:.2rem 0 .5rem}
 .bookshop-lead .bookshop-subtitle{font-size:.8rem;line-height:1.4}
 .bookshop-lead .bookshop-promise{clear:both;margin:.45rem 0;font-size:.82rem;line-height:1.4}
 .bookshop-lead .bookshop-language-count{font-size:.8rem;margin:.5rem 0 .2rem}
 .bookshop-language-list{font-size:.8rem;gap:.2rem .65rem}
 .bookshop-purchase{display:inline-flex;margin-top:.6rem;margin-right:.8rem;gap:.55rem}
 .bookshop-purchase .button{font-size:.75rem;padding:.45rem .65rem}
 .bookshop-explore{font-size:.75rem;margin-top:.6rem}
 .bookshop-lead__grid{gap:1.25rem}
}

/* Native book scripts, self-hosted subsets; no new network origin. */
@font-face{font-family:"Book he";src:url("/beeld/bookstore/fonts/book-he.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
html[lang="he"]{--font-display:"Book he",Literata,Georgia,serif;--font-body:"Book he",Literata,Georgia,serif}
html[lang="he"] body,html[lang="he"] :is(h1,h2,h3,p,a,button,nav,.section-kicker,.ag-label){font-family:"Book he",Literata,Georgia,serif;letter-spacing:normal}
html[lang="he"] :is(h1,h2,h3){font-weight:400;line-height:1.45}
html[lang="he"] :is(cite,blockquote,em){font-style:normal}
@font-face{font-family:"Book ar";src:url("/beeld/bookstore/fonts/book-ar.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
html[lang="ar"]{--font-display:"Book ar",Literata,Georgia,serif;--font-body:"Book ar",Literata,Georgia,serif}
html[lang="ar"] body,html[lang="ar"] :is(h1,h2,h3,p,a,button,nav,.section-kicker,.ag-label){font-family:"Book ar",Literata,Georgia,serif;letter-spacing:normal}
html[lang="ar"] :is(h1,h2,h3){font-weight:400;line-height:1.45}
html[lang="ar"] :is(cite,blockquote,em){font-style:normal}
html[lang="ar"] .button{font-size:1.1rem}
@font-face{font-family:"Book ja";src:url("/beeld/bookstore/fonts/book-ja.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
html[lang="ja"]{--font-display:"Book ja",Georgia,serif;--font-body:"Book ja",Georgia,serif}
html[lang="ja"] body,html[lang="ja"] :is(h1,h2,h3,p,a,button,nav,.section-kicker,.ag-label){font-family:"Book ja",Georgia,serif;letter-spacing:normal}
html[lang="ja"] :is(h1,h2,h3){font-weight:400;line-height:1.45}
html[lang="ja"] :is(cite,blockquote,em){font-style:normal}
@font-face{font-family:"Book ko";src:url("/beeld/bookstore/fonts/book-ko.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
html[lang="ko"]{--font-display:"Book ko",Georgia,serif;--font-body:"Book ko",Georgia,serif}
html[lang="ko"] body,html[lang="ko"] :is(h1,h2,h3,p,a,button,nav,.section-kicker,.ag-label){font-family:"Book ko",Georgia,serif;letter-spacing:normal}
html[lang="ko"] :is(h1,h2,h3){font-weight:400;line-height:1.45}
html[lang="ko"] :is(cite,blockquote,em){font-style:normal}
@font-face{font-family:"Book zh-Hans";src:url("/beeld/bookstore/fonts/book-zh-Hans.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
html[lang="zh-Hans"]{--font-display:"Book zh-Hans",Georgia,serif;--font-body:"Book zh-Hans",Georgia,serif}
html[lang="zh-Hans"] body,html[lang="zh-Hans"] :is(h1,h2,h3,p,a,button,nav,.section-kicker,.ag-label){font-family:"Book zh-Hans",Georgia,serif;letter-spacing:normal}
html[lang="zh-Hans"] :is(h1,h2,h3){font-weight:400;line-height:1.45}
html[lang="zh-Hans"] :is(cite,blockquote,em){font-style:normal}
@font-face{font-family:"Book zh-Hant";src:url("/beeld/bookstore/fonts/book-zh-Hant.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
html[lang="zh-Hant"]{--font-display:"Book zh-Hant",Georgia,serif;--font-body:"Book zh-Hant",Georgia,serif}
html[lang="zh-Hant"] body,html[lang="zh-Hant"] :is(h1,h2,h3,p,a,button,nav,.section-kicker,.ag-label){font-family:"Book zh-Hant",Georgia,serif;letter-spacing:normal}
html[lang="zh-Hant"] :is(h1,h2,h3){font-weight:400;line-height:1.45}
html[lang="zh-Hant"] :is(cite,blockquote,em){font-style:normal}
html[dir="rtl"] :is(.paid-book-price,.bookstore-languages a,.bookshop-language-list a){unicode-bidi:isolate}html[dir="rtl"] .paid-book-price{direction:ltr;text-align:right}html[dir="rtl"] .paid-book-price span{direction:rtl;unicode-bidi:isolate;display:inline-block}
.bookstore-languages a,.bookshop-language-list a{unicode-bidi:isolate}

/* CLA-602: one quiet audio section, after the ebook and retailer routes. */
.book-audio{margin-top:1.5rem;padding:1.2rem 1.25rem;border:1px solid color-mix(in srgb,currentColor 25%,transparent);background:color-mix(in srgb,currentColor 3%,transparent);max-width:38rem}
.book-audio__heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.5rem 1rem;margin-bottom:.75rem}
.book-audio .book-audio__heading h2{font:400 1.7rem/1.15 var(--font-display,Georgia,serif);margin:0}
.book-audio .book-audio__duration{font-size:.85rem}
.book-audio p{font-size:.9rem;line-height:1.55;margin:0 0 .65rem}
.book-audio .book-audio__voice{font-size:.8rem;margin-top:.8rem;opacity:.85}
.book-audio .book-audio__status{font-size:.85rem;margin-bottom:0}
.book-audio audio{display:block;width:100%;max-width:100%;margin:.5rem 0}
.book-audio__links{display:flex;flex-wrap:wrap;gap:.6rem 1rem;margin-top:.8rem}
.book-audio__links a,.book-audio__download{font-size:.85rem;text-decoration:underline;text-underline-offset:.2em;overflow-wrap:anywhere}
.book-audio a:focus-visible,.book-audio audio:focus-visible{outline:2px solid currentColor;outline-offset:4px}
@media(max-width:650px){.book-audio{padding:1rem}.book-audio .book-audio__heading h2{font-size:1.5rem}}

/* The announcement is separate from verified listening availability. */
.book-audio--announcement .ui-label{font-size:.72rem;letter-spacing:.1em;margin-bottom:.45rem}
.book-audio--announcement p:last-child{margin-bottom:0}
.bookshop-lead .bookshop-audio-announcement{font-size:.85rem;line-height:1.45;margin:.75rem 0;color:inherit}
.book-audio-banner{display:flex;align-items:center;justify-content:space-between;gap:1rem 2rem;border-block:1px solid color-mix(in srgb,currentColor 25%,transparent);padding:.85rem 0;margin:0 0 1.4rem}
.book-audio-banner p{display:flex;flex-wrap:wrap;gap:.25rem .75rem;font-size:.85rem;line-height:1.45;margin:0}
.book-audio-banner strong{font-weight:600}
.book-audio-banner a{font-size:.8rem;flex-shrink:0;text-decoration:underline;text-underline-offset:.2em}
.book-audio-banner a:focus-visible{outline:2px solid currentColor;outline-offset:4px}
@media(max-width:650px){.book-audio-banner{display:block}.book-audio-banner a{display:inline-block;margin-top:.5rem}}

/* CLA-608: reading and listening samples beside the purchase route. */
.book-sample-links { display:flex; flex-wrap:wrap; gap:.65rem; margin-block:1rem; }
.book-sample-link { display:inline-flex; align-items:center; justify-content:center; gap:.55rem; min-height:44px; padding:.65rem .9rem; border:1px solid currentColor; border-radius:2px; font:inherit; font-size:.9rem; line-height:1.45; text-decoration:none; text-align:center; }
.book-sample-link:hover { background:color-mix(in srgb,currentColor 7%,transparent); }
.book-sample-link:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
#book-sample-heading, #book-audio-title { scroll-margin-top:6rem; }
/* Ben 17-10 21:59: the direct price is a publisher discount against the bookstore price; say so, quietly. */
.direct-price-note{display:block;margin:8px 0 0;font:12px/1.5 var(--font-ui,system-ui,sans-serif);color:var(--quiet,#8a8f98)}

/* A single topical book on the Afterglow entrance, with its full language choice. */
.bookshop-lead:not(.bookshop-lead--shelf) .bookshop-lead__grid{grid-template-columns:minmax(0,1fr);max-width:58rem}
