/* V44 — continuous chapter cards and connected offers. */
:root{--offer-blue:#3b73a8;--offer-ink:#294c67;--offer-shadow:0 10px 28px -16px rgb(24 35 45 / .35)}
.chapter-item{min-width:0;display:flex;border-radius:14px;overflow:hidden;background:#fff;box-shadow:var(--offer-shadow);transition:box-shadow 180ms ease}
.chapter-item:hover{box-shadow:0 12px 28px -13px rgb(24 35 45 / .38)}
.chapter-grid .chapter-item .chapter-card{width:100%;height:100%;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;scroll-margin-block:90px 110px}
.chapter-item .chapter-card>img{border-radius:0!important;border:0!important;margin:0!important;display:block}
.chapter-item .chapter-card:focus-visible{outline:3px solid #437eaf;outline-offset:-4px}
.chapter-item:has(.chapter-card[aria-expanded=true]){box-shadow:0 12px 28px -15px rgb(24 35 45 / .4)}
.chapter-item .chapter-card[aria-expanded=true]{background:#2d4e6c!important;color:#fff!important}
.chapter-detail .chapter-close{border-radius:8px}
.purchase-panel .checkout-summary{border:0!important;border-radius:14px!important;overflow:hidden;background:#fff!important;box-shadow:var(--offer-shadow);margin-top:16px!important}
.purchase-panel .checkout-summary .selection-summary{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:16px 12px!important;align-items:center;padding:18px!important;margin:0!important;border:0!important;border-radius:0!important;background:#f5f9fc!important}
.purchase-panel .checkout-summary .chosen-editions{grid-column:1/-1!important;grid-row:1!important;display:flex!important;align-items:baseline;justify-content:space-between;gap:12px;min-width:0}
.purchase-panel .chosen-editions>[data-selection-summary]{font:650 14px/1.35 Figtree,system-ui,sans-serif;max-width:none!important;min-width:0}
.purchase-panel .chosen-editions>small{font:400 12px/1.4 Figtree,system-ui,sans-serif;white-space:nowrap;color:#536b7e;background:none!important;padding:0!important}
.purchase-panel .chosen-editions>small b{font-weight:500}
.purchase-panel .checkout-summary .selection-covers{grid-column:1!important;grid-row:2!important;display:flex!important;gap:6px!important;align-items:center;min-width:0;margin:0!important;padding:0!important}
.purchase-panel .checkout-summary .selection-cover{width:32px!important;height:44px!important;margin:0!important;object-fit:cover;transform:none!important;box-shadow:0 3px 7px rgb(0 0 0 / .18)}
.purchase-panel .checkout-summary .selection-price-line{grid-column:2!important;grid-row:2!important;display:grid!important;grid-template-columns:auto auto;align-items:baseline;justify-content:end;gap:6px 7px!important;margin:0!important}
.purchase-panel .checkout-summary .selection-price-line strong{font-size:25px!important;line-height:1.1;font-weight:700}
.purchase-panel .checkout-summary .selection-price-line s{font-size:12px!important}
.purchase-panel .checkout-summary .selection-price-line .sale-chip{grid-column:1/-1;justify-self:end;width:auto!important;font-size:12px!important;padding:4px 7px!important;line-height:1.25}
.purchase-panel .checkout-summary .add-to-cart{border-radius:0!important;margin:0!important;min-height:54px!important;box-shadow:none!important;background:var(--offer-blue)!important}
.purchase-panel .checkout-summary .add-to-cart:hover{background:#2e608d!important}

/* A second, explicit offer; the same two books and computed price as checkout. */
.holiday-bundle-section.holiday-offer{display:block!important;width:min(820px,calc(100% - 48px))!important;padding:0!important;gap:0!important;margin:40px auto 0!important;overflow:hidden;border:0!important;border-radius:16px!important;background:#fff!important;box-shadow:0 16px 40px -20px rgb(22 34 45 / .32)}
.holiday-offer .holiday-offer-heading{padding:30px 32px 26px;text-align:center;background:#2d4e6c;color:#fff}
.holiday-offer .holiday-offer-heading h2{font:400 clamp(30px,3vw,38px)/1.08 Caslon,Georgia,serif!important;color:#fff!important;letter-spacing:-.02em;margin:0!important;text-wrap:balance}
.holiday-offer .holiday-offer-heading p{font:400 14px/1.5 Figtree,system-ui,sans-serif;color:#dceaf4;margin:12px 0 0!important;max-width:none!important;text-align:center!important}
.holiday-offer-body{padding:28px 32px 26px}
.holiday-offer-edition{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:15px;padding:0 0 18px}
.holiday-offer-edition+ .holiday-offer-edition{padding-top:18px;border-top:1px solid #e0e8ee}
.holiday-offer-edition img{display:block;width:42px;height:57px;object-fit:cover;box-shadow:0 4px 9px rgb(0 0 0 / .16)}
.holiday-offer-edition h3{font:650 15px/1.3 Figtree,system-ui,sans-serif;color:#294358;margin:0 0 5px}
.holiday-offer-edition p{font:400 13px/1.45 Figtree,system-ui,sans-serif;color:#596d7e;margin:0!important}
.holiday-offer-edition>strong{font:650 16px/1.3 Figtree,system-ui,sans-serif;color:#294358}
.holiday-offer-features{list-style:none;padding:4px 0 0!important;margin:0!important;border-top:1px solid #e0e8ee}
.holiday-offer-features li{display:flex;gap:11px;align-items:center;padding:13px 0;border-bottom:1px solid #e0e8ee;font:400 14px/1.45 Figtree,system-ui,sans-serif;color:#38556c}
.holiday-offer-features svg{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:#42779f;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.holiday-offer-checkout{padding-top:24px;text-align:center}
.holiday-offer-price{display:flex;justify-content:center;align-items:center;gap:12px;margin-bottom:18px;font-variant-numeric:tabular-nums}
.holiday-offer-price>strong{font:650 34px/1.1 Figtree,system-ui,sans-serif;color:#253e54}
.holiday-offer-price>s{font:400 15px/1.4 Figtree,system-ui,sans-serif;color:#63778b}
.holiday-offer-price .sale-chip{font-size:12px!important;width:auto!important;padding:5px 7px!important}
.holiday-offer-checkout .button{display:flex!important;justify-content:center;align-items:center;width:100%;min-height:54px;background:var(--offer-blue)!important;border-radius:10px!important;font:650 15px/1.3 Figtree,system-ui,sans-serif;box-shadow:0 6px 12px -8px rgb(0 0 0 / .4);margin:0!important}
.holiday-offer-checkout .button:hover{background:#2e608d!important}
.holiday-offer .holiday-offer-note{font:400 12px/1.5 Figtree,system-ui,sans-serif!important;color:#617587;max-width:50ch;margin:12px auto 0!important}
@media(max-width:760px){
 .chapter-item{display:block}
 .chapter-grid .chapter-item .chapter-card{height:auto;min-height:104px!important;grid-template-columns:96px minmax(0,1fr)!important}
 .chapter-grid .chapter-item .chapter-card>img{width:96px!important;min-height:104px!important;height:100%!important;align-self:stretch}
 .chapter-grid .chapter-item .chapter-detail{padding:0 18px 16px!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff}
 .chapter-detail .chapter-recipes article:last-child{border-bottom:0;padding-bottom:8px}
 .chapter-detail .chapter-recipes article{gap:13px;padding:20px 0}
 .chapter-detail .chapter-recipes p{font-size:14px;line-height:1.55}
 .chapter-detail .chapter-recipes h4{font-size:15px;line-height:1.35}
 .chapter-detail .chapter-close{margin-top:10px;background:#edf4fa}
 .holiday-bundle-section.holiday-offer{width:calc(100% - 32px)!important;margin-top:28px!important}
 .holiday-offer .holiday-offer-heading{padding:25px 22px 23px}
 .holiday-offer-body{padding:22px 20px}
 .holiday-offer-edition{grid-template-columns:37px minmax(0,1fr) auto;gap:11px}
 .holiday-offer-edition img{width:36px;height:49px}
 .holiday-offer-edition h3{font-size:14px}
 .holiday-offer-edition p{font-size:12px}
 .holiday-offer-edition>strong{font-size:14px}
}
@media(max-width:360px){
 .chapter-grid .chapter-item .chapter-card{grid-template-columns:82px minmax(0,1fr)!important}
 .chapter-grid .chapter-item .chapter-card>img{width:82px!important}
 .purchase-panel .checkout-summary .selection-summary{padding:14px!important;gap:14px 8px!important}
 .purchase-panel .checkout-summary .selection-cover{width:26px!important;height:36px!important}
 .purchase-panel .checkout-summary .selection-price-line strong{font-size:23px!important}
 .purchase-panel .chosen-editions>[data-selection-summary]{font-size:13px}
 .purchase-panel .chosen-editions>small{font-size:11px}
 .holiday-offer-body{padding:20px 16px}
 .holiday-offer-edition{grid-template-columns:32px minmax(0,1fr);gap:10px}
 .holiday-offer-edition img{grid-row:1/3;width:30px;height:41px}
 .holiday-offer-edition>strong{grid-column:2;margin-top:-6px}
}
@media(prefers-reduced-motion:reduce){.chapter-item{transition:none}}
