
/* THE WISH BOOK / CHRISTMAS EDITION / SEASONAL OVERRIDE (V26)
   Remove this single stylesheet link to restore the original blue-themed V25 look.
   No previous CSS or birthday assets were overwritten. */
:root{--twb-christmas-cream:#faf6ee;--twb-christmas-pine:#334d3e;--twb-christmas-red:#a52523;--twb-christmas-gold:#c8a164}
body[data-page="home"] .v7-hero{
 background:radial-gradient(ellipse at 50% 23%,rgba(255,255,255,.92) 0%,rgba(255,255,255,0) 58%),linear-gradient(155deg,#f5eee4 0%,#f9f4eb 55%,#edf3ec 100%)!important;
 position:relative;overflow:hidden;
}
body[data-page="home"] .v7-hero::before,
body[data-page="home"] .v7-hero::after{
 content:"";position:absolute;pointer-events:none;width:29vw;max-width:148px;height:29vw;max-height:148px;opacity:.17;
 background:repeating-conic-gradient(from -22deg at 8% 8%,transparent 0 19deg,var(--twb-christmas-pine) 20deg 21deg,transparent 22deg 28deg);
 border-radius:100% 0 100% 0;filter:blur(.5px);
}
body[data-page="home"] .v7-hero::before{top:-42px;left:-35px;transform:rotate(32deg)}
body[data-page="home"] .v7-hero::after{bottom:5%;right:-37px;transform:rotate(200deg)}
body[data-page="home"] .v7-hero-content h1 i{color:#9b2622!important}
body[data-page="home"] .v7-hero .v7-scribble{color:#b79656!important}
body[data-page="home"] .v7-hero-product-label{color:var(--twb-christmas-pine)!important;letter-spacing:.18em}
body[data-page="home"] .hero-physical{filter:drop-shadow(0 12px 26px rgba(78,71,48,.15))}
body[data-page="home"] .v7-hero-book-link .physical-page{background:#f9f2e7!important}
body[data-page="templates"] .v7-inner-hero,body[data-page="book"] .v7-inside{background:linear-gradient(165deg,#f9f4ec,#f0f5ef)!important}
body[data-page="book"] .v7-section-head .eyebrow{color:#a32623}
.seasonal-paper-note{border:1px solid #d8d4c7;background:#fbf8f0;padding:16px 18px;border-radius:18px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;color:#253b2d}
.seasonal-paper-note strong{font-size:15px}.seasonal-paper-note small{display:block;color:#67746b;font-size:12px;margin-top:4px}.seasonal-paper-note .paper-fixed-price{font-family:'DM Serif Display',serif;font-size:26px;color:#1c241d}
.catalog-product.sold-out{position:relative;cursor:not-allowed;opacity:.64;filter:saturate(.7);pointer-events:none}
.catalog-product.sold-out .catalog-cover::after{content:"";position:absolute;inset:0;background:rgba(255,255,255,.23);pointer-events:none}
.catalog-product.sold-out .catalog-tag{background:#fcfaf7;color:#736e69;border:1px solid #d6d0c8}
.catalog-product.sold-out .catalog-meta small{color:#8b8882}
.catalog-product.christmas-feature .catalog-cover{background:#f6eee3;border:1px solid #e9d7c6}
.catalog-product.christmas-feature .catalog-tag{background:#eaf1e7;color:#426344;border:1px solid #c5d6c4}
.christmas-availability{display:inline-flex;gap:7px;align-items:center;margin-top:8px;font-weight:650;font-size:12px;color:#536b56}
.christmas-availability::before{content:"";width:6px;height:6px;border-radius:50%;background:#507b51}
body[data-page="templates"] .catalog-cover .physical-page{background:#f8efe1}
.unavailable-main{min-height:64svh;display:flex;align-items:center;justify-content:center;padding:64px 22px;background:#faf7f0;text-align:center}
.unavailable-content{max-width:560px}
.unavailable-content .eyebrow{color:#a32623}
.unavailable-content h1{font:normal clamp(38px,8vw,64px)/1.05 'DM Serif Display',serif;color:#20231f;margin:22px 0}
.unavailable-content p{line-height:1.6;color:#5d615a;font-size:15px;margin-bottom:26px}
@media(max-width:430px){body[data-page="home"] .v7-hero::before,body[data-page="home"] .v7-hero::after{opacity:.12}.seasonal-paper-note{padding:14px}.seasonal-paper-note strong{font-size:13px}}


/* V27 — restore true A5 landscape booklet proportions for the Christmas edition.
   The supplied artwork is landscape A5 (~1.414), so keep the full page visible
   instead of trimming it to the older, squarer mockup ratio. */
:root{
  --twb-a5-page-ratio: 210 / 148;
  --twb-a5-book-ratio: 1.559; /* printed page ~91% of entire book including spiral */
}
body[data-page="home"] .v7-hero-book-link .physical-book,
body[data-page="book"] .reader-physical,
body[data-page="book"] .product-physical,
body[data-page="templates"] .catalog-product.christmas-feature .catalog-physical,
body[data-page="checkout"] .summary-item img{
  max-width:100%;
}
body[data-page="home"] .v7-hero-book-link .physical-book,
body[data-page="book"] .reader-physical,
body[data-page="book"] .product-physical,
body[data-page="templates"] .catalog-product.christmas-feature .catalog-physical,
body[data-page="book"] .v21-open.reader-physical,
body[data-page="book"] .v7-reader-frame.is-fullscreen .reader-physical,
body[data-page="book"] .v7-reader-frame.is-fullscreen .reader-physical.v21-open{
  aspect-ratio:var(--twb-a5-book-ratio)!important;
}
body[data-page="home"] .v7-hero-book-link .physical-page>img,
body[data-page="book"] .reader-physical .physical-page>img,
body[data-page="book"] .product-physical .physical-page>img,
body[data-page="templates"] .catalog-product.christmas-feature .physical-page>img{
  object-fit:contain!important;
  object-position:center!important;
  background:transparent!important;
}
body[data-page="home"] .v7-hero-book-link .physical-page,
body[data-page="book"] .reader-physical .physical-page,
body[data-page="book"] .product-physical .physical-page,
body[data-page="templates"] .catalog-product.christmas-feature .physical-page{
  background:#fbf5ea!important;
  border-radius:1px 3px 3px 1px;
}
body[data-page="book"] .v7-reader-stage{
  max-width:650px;
}
body[data-page="book"] .v7-reader-frame.is-fullscreen .v7-reader-stage{
  width:min(100%, min(76dvh * 1.56, 760px));
  max-width:760px;
}
body[data-page="book"] .v7-reader-frame.is-fullscreen .reader-physical,
body[data-page="book"] .v7-reader-frame.is-fullscreen .reader-physical.v21-open{
  max-width:100%!important;
}


/* V28: The source reference pages are full A5 landscapes with envelope artwork.
   Exactly preserve all pixels for still pages AND both sides of the page-turn animation. */
body[data-page="book"] .v20-printed img,
body[data-page="book"] .reader-physical .concept-flip-front img,
body[data-page="book"] .reader-physical .concept-flip-back img {
  object-fit:contain!important; object-position:center!important;
}
/* Remove accidental visual gaps at the paper edge; retain the left spiral. */
body[data-page="book"] .physical-page>img {display:block!important;}
