/* One storefront header; artwork surfaces keep their own book palettes. */
html:has(>body.croissant-shell){background:#fff}
body.croissant-shell{margin:0;background:#fff}
body.croissant-welcome{min-height:100svh;display:flex;flex-direction:column}
body.croissant-shell > .croissant-masthead{
 display:flex;position:relative;inset:auto;z-index:5;flex:none;flex-direction:column;align-items:center;justify-content:center;
 gap:.12rem;margin:0;padding:.65rem 1rem .5rem;width:100%;min-height:0;box-sizing:border-box;
 border:0;border-bottom:1px solid #ebdfd8;border-radius:0;background:#fff;color:#272019;text-align:center;box-shadow:none;
}
body.croissant-shell .croissant-masthead a{margin:0;padding:0;color:inherit;text-decoration:none;letter-spacing:normal}
body.croissant-shell .croissant-masthead .croissant-masthead-brand{
 display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:44px;
 font:700 clamp(1.35rem,3vw,1.8rem)/1.2 'Pigeon Publisher',Georgia,serif;letter-spacing:-.045em;white-space:nowrap;
}
.croissant-masthead-brand svg{flex:none;width:31px;height:24px;transform:rotate(-8deg)}
body.croissant-shell .croissant-masthead .croissant-locale{
 display:inline-flex;position:static;align-self:flex-end;margin:0;padding:0;justify-content:flex-end;align-items:center;gap:.15rem;
}
body.croissant-shell .croissant-locale button{
 font:600 .78rem/1.15 system-ui,sans-serif;min-height:30px;padding:.18rem .48rem;border:1px solid transparent;
 border-radius:20px;background:transparent;color:#583b43;cursor:pointer;
}
body.croissant-shell .croissant-locale button[aria-pressed=true]{background:#f8e7eb;border-color:#e6c6cc;color:#4e2d35}
body.croissant-shell .croissant-masthead nav{
 display:flex;position:static;justify-content:center;align-items:center;flex-wrap:wrap;gap:0 clamp(.65rem,3vw,1.5rem);
 margin:0;padding:0;width:auto;text-align:center;
}
body.croissant-shell .croissant-masthead nav a{display:inline-flex;align-items:center;min-height:41px;font:600 .875rem/1.2 system-ui,sans-serif;white-space:nowrap}
body.croissant-shell .croissant-masthead nav>a{padding-inline:.4rem;border-radius:7px;text-decoration:none;transition:background-color .16s ease,box-shadow .16s ease,color .16s ease}
body.croissant-shell .croissant-masthead nav>a::before,body.croissant-shell .croissant-masthead nav>a::after{content:none}
@media(hover:hover){
 body.croissant-shell .croissant-masthead nav>a:hover{color:#703d49;background:#f9eef0;box-shadow:0 3px 12px rgba(115,61,73,.14);text-decoration:none}
}
@media(prefers-reduced-motion:reduce){body.croissant-shell .croissant-masthead nav>a{transition:none}}
.croissant-masthead :is(a,button):focus-visible{outline:2px solid #7d444f;outline-offset:3px}
html[lang=ko] .croissant-shell [data-lang-copy=en],html[lang=en] .croissant-shell [data-lang-copy=ko]{display:none}
HTML[lang] .croissant-shell .croissant-masthead[data-shell-language=ko] [data-lang-copy=ko],
HTML[lang] .croissant-shell .croissant-masthead[data-shell-language=en] [data-lang-copy=en]{display:inline}
HTML[lang] .croissant-shell .croissant-masthead[data-shell-language=ko] [data-lang-copy=en],
HTML[lang] .croissant-shell .croissant-masthead[data-shell-language=en] [data-lang-copy=ko]{display:none}
body.croissant-shell > .croissant-masthead{height:auto;max-width:none;flex-wrap:nowrap}
body.croissant-shell:not(.standalone-book) {--paper:#fff;--line:#e8ded8;--muted:#655b55;--rose:#7b4350}
body.croissant-shell:is(.book-detail,.christine-book,.catalogue-page,.order-page) {background:#fff}
body.croissant-shell .croissant-masthead nav>a[aria-current=page]{color:#703d49;text-decoration:none}
body.croissant-shell :is(.cta,.searching-next a,.order-inline-action){border-radius:8px}
body.croissant-shell.book-detail .book-gallery .image-open{
 isolation:isolate;overflow:hidden;border-radius:8px;background:#514239;
}
body.croissant-shell.book-detail .book-gallery .image-open::before,
body.croissant-shell [style*="--preview-photo"].image-open::before{
 content:"";position:absolute;inset:-12px;background:var(--preview-photo) center/cover no-repeat;filter:blur(12px);transform:scale(1.08);opacity:.75;z-index:-1;
}
body.croissant-shell.book-detail .book-gallery .image-open img{
 display:block;width:100%;height:auto;aspect-ratio:2/3;object-fit:contain;object-position:center;background:transparent;transform:none;
}
body.croissant-shell.book-detail .spread-gallery .image-open img{aspect-ratio:4/3;object-fit:cover}
body.croissant-shell.book-detail #inside-the-book .image-open img{aspect-ratio:3/4}
body.croissant-shell.book-detail .product-cover .image-open{isolation:isolate;overflow:hidden;border-radius:8px}
body.croissant-shell.book-detail .product-cover .image-open img{aspect-ratio:auto;object-fit:contain;height:auto;transform:none}
body.croissant-shell.book-detail .book-gallery .image-open>span{border-radius:6px;font:600 .78rem/1.35 system-ui,sans-serif}
body.croissant-shell.order-page .order-thumbs button{background:#ddd0c9;border-radius:6px}
@media(max-width:600px){body.croissant-shell.book-detail .photo-grid{gap:1.4rem}}
body.croissant-shell.order-page .order-thumbs button[style*="--preview-photo"]{isolation:isolate;position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
body.croissant-shell.order-page .order-thumbs button[style*="--preview-photo"]::before{content:"";position:absolute;inset:-4px;background:var(--preview-photo) center/cover no-repeat;filter:blur(4px);z-index:-1}
body.croissant-shell.order-page .order-thumbs button[style*="--preview-photo"] img{background:transparent;object-fit:contain;min-width:0;min-height:0}
body.croissant-shell .croissant-book-actions{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:1.4rem}
body.croissant-shell .croissant-book-actions .croissant-action{
 display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.6rem .94rem;border-radius:.55rem;border:1px solid #c7b4ad;
 font:650 .9rem/1.25 system-ui,sans-serif;color:#272019;background:#fff;text-align:center;text-decoration:none;
}
body.croissant-shell .croissant-book-actions .croissant-action-primary{background:#982e2b;border-color:#982e2b;color:#fff}
body.croissant-shell .croissant-book-actions .croissant-action:hover{text-decoration:underline;text-underline-offset:.2em}
body.croissant-shell .croissant-sale-status{display:block;margin-top:.55rem;color:#655b55;font:.83rem/1.4 system-ui,sans-serif}
body.croissant-shell #story-of-love-order{scroll-margin-top:16px}
body.croissant-museum{padding-top:0!important}
/* Storefront thumbnail rule: fill the frame; full photos and lightboxes are separate. */
body.croissant-shell.catalogue-page .cover img,
body.croissant-shell.book-detail .book-gallery .image-open img,
body.croissant-shell.order-page #book-gallery-thumbs button img,
body.croissant-shell.order-page .order-product .product-real-photo img,
body.croissant-shell.croissant-exhibitions :is(.event-thumb img,.event-thumb video,.upcoming-cover img){
 object-fit:cover;
}
body.croissant-shell.book-detail .book-gallery .image-open::before,
body.croissant-shell.order-page #book-gallery-thumbs button::before,
body.croissant-shell.croissant-exhibitions :is(.event-thumb,.upcoming-cover)::before{display:none}
body.croissant-shell.order-page #book-gallery-thumbs button:is([data-gallery="0"],[data-gallery="1"],[data-gallery="2"]) img{transform:none}
