/* CoreKnowledge Books shop v4: "the library". Course spines -> reading-room panel (accent glow + cover shelf) -> detail cards.
   Loaded after books.css. CK base leads (white, navy #1B2766, blue #283888, red #D61F1F for actions and ribbons only).
   The programme accent (--ac / --tint / --glow) is an ACCENT only. No yellow. Spacing on an 8 px scale. Heading font = Cabin (site), body = Public Sans (site). */
body.shop{background:#F4F6FC}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:focus-visible{outline-offset:2px}
.sh-find input:focus-visible,.sh-tile:focus-visible,.sh-btn:focus-visible,.sh-sbtn:focus-visible,.sh-seg button:focus-visible,.sh-share:focus-visible,#sh-panel:focus-visible,.sh-looks button:focus-visible,.sh-qx:focus-visible,.sh-cv-btn:focus-visible,.sh-cvr:focus-visible,.sh-view:focus-visible,.sh-gh:focus-visible,.sh-lb button:focus-visible{outline:3px solid #4A68EA}
.sh-hero :focus-visible,.sh-lb :focus-visible,.sh-top :focus-visible,.sh-strip :focus-visible{outline-color:#fff}
/* ---- header band */
.sh-top{background:radial-gradient(60% 140% at 92% 0%,rgba(74,104,234,.35),transparent 60%),linear-gradient(115deg,#12194F,#1B2766 45%,#283888);color:#fff}
.sh-topin{display:flex;gap:16px 40px;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;padding-top:16px;padding-bottom:16px}
.sh-top .bk-kick{display:none}
.sh-tl{flex:1 1 440px;min-width:0}
.sh-top h1{font-family:'Cabin',sans-serif;font-size:clamp(26px,3.2vw,38px);line-height:1.1;margin:8px 0 8px;color:#fff!important;letter-spacing:-.01em}
.sh-top h1 em{font-style:normal;color:#C7D4FF}
.sh-top .lead{margin:0;font-size:15px;line-height:1.5;color:#E4E9FB!important;max-width:620px}
.sh-find{flex:0 1 380px;min-width:min(100%,260px);display:none}
.js .sh-find{display:block}
.sh-find label{font-weight:800;font-size:13px;color:#E4E9FB;display:block;margin:0 0 4px}
.sh-qrow{position:relative}
.sh-find input{width:100%;min-height:48px;border:2px solid transparent;border-radius:14px;padding:8px 44px 8px 16px;font:600 16px 'Public Sans',sans-serif;color:#232A4D;background:#fff;box-shadow:0 8px 24px -12px rgba(0,0,0,.5)}
.sh-qx{position:absolute;right:4px;top:4px;width:40px;height:40px;border:0;background:none;font-size:26px;line-height:1;color:#5A6185;cursor:pointer;border-radius:10px}
.sh-msg{margin:6px 0 0;min-height:18px;font-size:13px;color:#E4E9FB}
/* ---- trust strip: icon-led */
.sh-trust{background:#fff;border-bottom:1px solid #DDE2F2}
.sh-trust .wrap{display:flex;flex-wrap:wrap;gap:8px 24px;align-items:center;justify-content:space-between;padding-top:8px;padding-bottom:8px}
.sh-trust ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 24px}
.sh-trust li{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:700;color:#232A4D}
.sh-trust li i{width:28px;height:28px;border-radius:10px;background:#EEF1FF;color:#283888;display:grid;place-items:center;flex:none}
.sh-trust p{margin:0;font-size:13px;color:#4A5078}
.sh-trust a,.sh-free a,.sh-next a{color:#283888;font-weight:700}
/* ---- shop frame */
.sh-wrap{max-width:1240px;margin:0 auto;padding:24px 16px 48px}
.sh-shop{background:#fff;border:1px solid #DDE2F2;border-radius:24px;padding:16px 16px 24px;box-shadow:0 1px 2px rgba(27,39,102,.05),0 30px 60px -40px rgba(27,39,102,.55)}
.sh-h{font:800 12px 'Public Sans',sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#4A5078;margin:0 0 8px}
.sh-app{display:none}.js .sh-app{display:block}.js .sh-static{display:none}
.sh-sp{border-left:5px solid var(--ac,#283888);background:var(--tint,#F4F6FC);border-radius:10px;padding:8px 16px;margin:0 0 16px}
.sh-sp h3{margin:0 0 4px;font:700 18px 'Cabin',sans-serif;color:#1B2766}
.sh-sp h3 small{font:800 12px 'Public Sans',sans-serif;color:#3C4470;margin-left:8px}
.sh-sp .cd{background:var(--ac);color:#fff;border-radius:8px;padding:2px 8px;font-size:12px;font-weight:800}
.sh-sl{margin:8px 0 0;padding-left:20px;font-size:14px;color:#232A4D}.sh-sl li{margin:0 0 8px}.sh-sl .st{font-size:12px;font-weight:800;background:#E3E7F5;color:#3C4470;border-radius:999px;padding:1px 8px;text-transform:uppercase}
.sh-sw{margin:0;font-size:13px;color:#4A5078}
/* ---- course spines */
.sh-tabs{display:flex;flex-wrap:wrap;gap:8px 24px;align-items:flex-start;padding-top:4px}
.sh-grp{display:flex;flex-direction:column;gap:8px;min-width:0}
.sh-gl{font:800 12px 'Public Sans',sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#4A5078}
.sh-row{display:flex;gap:8px;flex-wrap:wrap}
.sh-tile{display:grid;grid-template-columns:44px auto;gap:12px;align-items:center;text-align:left;min-height:72px;min-width:208px;background:linear-gradient(180deg,#fff,#F7F8FD);color:#232A4D;border:1px solid #DDE2F2;border-top:4px solid var(--ac);border-radius:14px;padding:8px 16px 8px 8px;cursor:pointer;position:relative;font-family:'Public Sans',sans-serif;box-shadow:0 1px 2px rgba(27,39,102,.06);transition:transform .2s,box-shadow .2s,background .2s}
.sh-tile[hidden],.sh-grp[hidden]{display:none}
.sh-tile:hover{transform:translateY(-2px);box-shadow:0 14px 24px -16px rgba(27,39,102,.55)}
.sh-tile.on{transform:translateY(-4px);background:var(--tint);box-shadow:0 18px 28px -16px var(--ac),inset 0 -4px 0 var(--ac)}
.sh-tile.on::after{content:"";position:absolute;left:50%;bottom:-17px;width:16px;height:16px;background:#1B2766;transform:translateX(-50%) rotate(45deg);z-index:3;border-radius:3px;animation:shpt .35s cubic-bezier(.2,.8,.2,1) both}
@keyframes shpt{from{opacity:0;bottom:-6px}to{opacity:1;bottom:-17px}}
.sh-cv{width:44px;height:54px;border-radius:8px;background:var(--tint);color:var(--ac);display:grid;place-items:center}
.sh-tile.on .sh-cv{background:#fff}
.sh-tx{display:flex;flex-direction:column;gap:2px;min-width:0}
.sh-tx b{font:700 18px/1.1 'Cabin',sans-serif;color:#1B2766}
.sh-nm{font-size:12px;color:#4A5078;line-height:1.2}
.sh-mt{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:4px}
.sh-ct{font-size:12px;font-weight:800;color:#232A4D}
.sh-st{display:inline-block;font:800 12px/1.5 'Public Sans',sans-serif;letter-spacing:.07em;text-transform:uppercase;border-radius:999px;padding:1px 8px;background:#E3E7F5;color:#3C4470}
.sh-st.new,.sh-st.s-available{background:#DDF5EA;color:#065F46}
.sh-st.save{background:#FDE7E7;color:#A81515}
.sh-st.s-preorder{background:#E3E9FF;color:#243384}
.sh-hint{margin:12px 2px 0;font-size:13px;color:#4A5078}
.has-open .sh-hint{display:none}
/* ---- reading-room panel */
.sh-panel{margin-top:24px;border-radius:20px;background:#fff;position:relative;box-shadow:0 1px 2px rgba(27,39,102,.1),0 28px 50px -30px rgba(15,23,69,.7)}
.sh-panel[hidden]{display:none}
.sh-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:24px 32px;align-items:center;padding:32px 40px 24px;color:#fff;border-radius:20px 20px 0 0;overflow:hidden;
 background:radial-gradient(55% 90% at 72% 48%,var(--glow,rgba(74,104,234,.5)),transparent 70%),radial-gradient(40% 60% at 0% 100%,rgba(74,104,234,.25),transparent 70%),linear-gradient(135deg,#0F1745,#1B2766 55%,#283888)}
.sh-panel.nobooks .sh-hero{border-radius:20px}
.sh-hc{min-width:0}
.sh-hc h2{font:700 clamp(24px,2.6vw,32px)/1.12 'Cabin',sans-serif;color:#fff!important;margin:0 0 8px;letter-spacing:-.01em}
.sh-hook{margin:0 0 16px;font:500 17px/1.45 'Public Sans',sans-serif;color:#E4E9FB;max-width:440px}
.sh-hm{margin:0 0 16px;display:flex;gap:8px 16px;align-items:center;flex-wrap:wrap}
.sh-hero .sh-st{background:rgba(255,255,255,.16);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
.sh-pw{font-size:14px;font-weight:700;color:#DCE3FF}
.sh-path{list-style:none;margin:0 0 8px;padding:0;display:flex;flex-wrap:wrap;gap:8px 0;align-items:center}
.sh-path li{display:flex;align-items:center;gap:8px;font-size:14px;color:#fff;position:relative}
.sh-path li+li{margin-left:28px}
.sh-path li+li::before{content:"";position:absolute;left:-28px;top:50%;width:24px;height:2px;background:linear-gradient(90deg,rgba(255,255,255,.2),rgba(255,255,255,.7));border-radius:2px}
.sh-path .n{width:24px;height:24px;border-radius:50%;background:#fff;color:#1B2766;display:grid;place-items:center;font-size:12px;font-weight:800;flex:none}
.sh-path b{font-weight:700}
.sh-same{margin:0 0 16px;font-size:13px;color:#C9D2F5}
.sh-bl{margin:0 0 16px;font-size:16px;color:#E4E9FB;max-width:440px}
.sh-pl{display:flex;gap:8px 16px;align-items:center;flex-wrap:wrap}
.sh-gh{font-weight:800;font-size:14px;color:#fff;text-underline-offset:3px}
.sh-share{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 16px;border:1.5px solid rgba(255,255,255,.45);border-radius:999px;background:rgba(255,255,255,.08);color:#fff;font:800 13px 'Public Sans',sans-serif;cursor:pointer;transition:background .15s}
.sh-share:hover{background:rgba(255,255,255,.2)}
/* shelf: big overlapped covers on a glow */
.sh-shelf{position:relative;display:flex;justify-content:center;align-items:flex-end;padding:8px 0 16px}
.sh-shelf::after{content:"";position:absolute;left:4%;right:4%;bottom:6px;height:14px;border-radius:50%;background:radial-gradient(ellipse at center,rgba(0,0,0,.55),transparent 70%);filter:blur(4px)}
.sh-slot{position:relative;flex:0 1 clamp(120px,15.5vw,196px);margin-left:-36px;z-index:1}
.sh-slot:first-child{margin-left:0}
.sh-slot:nth-child(1){--rot:-6deg;--ty:12px}.sh-slot:nth-child(2){--rot:0deg;--ty:0px;z-index:2}.sh-slot:nth-child(3){--rot:5deg;--ty:12px}.sh-slot:nth-child(4){--rot:8deg;--ty:22px}
.sh-shelf.n1 .sh-slot{--rot:0deg;--ty:0px}
.sh-shelf.n2 .sh-slot:nth-child(1){--rot:-4deg}
.sh-shelf.n2 .sh-slot:nth-child(2){--rot:4deg;--ty:8px}
.sh-cvr,.sh-cv-btn{position:relative;display:block;width:100%;aspect-ratio:800/1131;border:0;padding:0;background:none;cursor:zoom-in;border-radius:3px 8px 8px 3px;font:inherit;color:inherit}
.sh-cvr{transform:translateY(var(--ty,0)) rotate(var(--rot,0deg));transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.sh-cvr:hover,.sh-cvr:focus-visible{transform:translateY(-14px) rotate(0deg) scale(1.05);z-index:6}
.sh-slot:hover,.sh-slot:focus-within{z-index:6}
.sh-cvbox{position:relative;display:block;width:100%;height:100%;border-radius:3px 8px 8px 3px;box-shadow:0 2px 3px rgba(0,0,0,.28),0 18px 28px -10px rgba(0,0,0,.55),0 40px 60px -26px rgba(0,0,0,.5);background:linear-gradient(90deg,#26307A 25%,#3A459A 50%,#26307A 75%) 0 0/200% 100%;animation:shsk 1.4s linear infinite}
.sh-cvbox img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit;opacity:0;transition:opacity .4s;-webkit-user-drag:none;user-select:none}
.sh-cvbox img.ld{opacity:1}
.sh-cvbox::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(100deg,rgba(255,255,255,0) 0,rgba(255,255,255,.32) 2.5%,rgba(0,0,0,.2) 4.5%,rgba(255,255,255,.08) 8%,rgba(255,255,255,0) 30%)}
@keyframes shsk{to{background-position:-200% 0}}
.sh-cvbox.fan{background:none;animation:none;box-shadow:none}
.sh-cvbox.fan::after{display:none}
.sh-cvbox.fan img{position:absolute;width:68%;height:auto;aspect-ratio:800/1131;border-radius:2px 6px 6px 2px;box-shadow:0 14px 24px -8px rgba(0,0,0,.55)}
.sh-cvbox.fan.n2 img:nth-child(1){left:0;top:8%;transform:rotate(-7deg)}.sh-cvbox.fan.n2 img:nth-child(2){left:32%;top:0;transform:rotate(5deg)}
.sh-cvbox.fan.n3 img{width:60%}.sh-cvbox.fan.n3 img:nth-child(1){left:0;top:10%;transform:rotate(-9deg)}.sh-cvbox.fan.n3 img:nth-child(2){left:20%;top:2%}.sh-cvbox.fan.n3 img:nth-child(3){left:40%;top:10%;transform:rotate(9deg)}
.sh-sheen{position:absolute;inset:0;border-radius:inherit;pointer-events:none;overflow:hidden}
.sh-sheen::before{content:"";position:absolute;top:0;bottom:0;left:-60%;width:45%;background:linear-gradient(105deg,transparent,rgba(255,255,255,.4),transparent);transform:skewX(-14deg);transition:left .8s}
.sh-cvr:hover .sh-sheen::before,.sh-cvr:focus-visible .sh-sheen::before,.sh-cv-btn:hover .sh-sheen::before{left:130%}
.sh-rib{position:absolute;top:12px;left:-8px;z-index:4;padding:3px 12px 3px 12px;font:800 12px/1.5 'Public Sans',sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#fff;background:#475569;border-radius:0 6px 6px 0;box-shadow:0 4px 10px -2px rgba(0,0,0,.45)}
.sh-rib::before{content:"";position:absolute;left:0;bottom:-6px;border:4px solid transparent;border-top-color:rgba(0,0,0,.5);border-right-color:rgba(0,0,0,.5)}
.sh-rib.k-new{background:#047857}.sh-rib.k-save{background:#D61F1F}.sh-rib.k-pre{background:#283888}.sh-rib.k-soon,.sh-rib.k-plain{background:#475569}
.sh-zi{position:absolute;right:8px;bottom:8px;width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.96);color:#1B2766;display:grid;place-items:center;opacity:0;transition:opacity .2s;box-shadow:0 4px 10px rgba(0,0,0,.3);z-index:4}
.sh-cvr:hover .sh-zi,.sh-cvr:focus-visible .sh-zi,.sh-cv-btn:hover .sh-zi,.sh-cv-btn:focus-visible .sh-zi{opacity:1}
@media (hover:none){.sh-zi{opacity:1}}
.sh-panel.in .sh-slot{animation:shrise .65s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i,0)*100ms + 60ms)}
.sh-panel.in .sh-hc{animation:shfade .4s ease-out both}
@keyframes shrise{from{opacity:0;transform:translateY(32px) scale(.94)}to{opacity:1;transform:none}}
@keyframes shfade{from{opacity:0}to{opacity:1}}
/* ---- detail cards */
.sh-sheet{padding:24px;background:linear-gradient(180deg,#F7F8FD,#fff 30%);border-radius:0 0 20px 20px}
.sh-books{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:16px}
.sh-books.c4{grid-template-columns:repeat(2,minmax(0,1fr))}
.sh-book{display:grid;grid-template-columns:128px minmax(0,1fr);gap:24px;background:#fff;border:1px solid #DDE2F2;border-radius:18px;padding:24px;min-width:0;box-shadow:0 1px 2px rgba(27,39,102,.05),0 16px 32px -24px rgba(27,39,102,.5);transition:opacity .15s,box-shadow .2s,border-color .2s}
.sh-book:hover{border-color:var(--ac);box-shadow:0 1px 2px rgba(27,39,102,.05),0 22px 40px -22px var(--ac)}
.sh-book.dim{opacity:.4}
.sh-cv-btn{width:128px;align-self:start;transition:transform .25s}
.sh-cv-btn:hover{transform:translateY(-4px) rotate(-1.5deg)}
.sh-cv-btn .sh-cvbox{box-shadow:0 2px 3px rgba(27,39,102,.25),0 14px 22px -10px rgba(27,39,102,.6)}
.sh-cv-btn .sh-rib{top:8px;left:-6px;font-size:12px;padding:2px 8px 2px 9px}
.sh-bb{min-width:0;display:flex;flex-direction:column;gap:8px}
.sh-fam{display:inline-flex;align-items:center;gap:8px;font:800 12px 'Public Sans',sans-serif;letter-spacing:.04em;color:var(--ac)}
.sh-book h3{font:700 20px/1.2 'Cabin',sans-serif;margin:0;color:#1B2766}
.sh-book h3 a{color:inherit;text-decoration:none}.sh-book h3 a:hover{text-decoration:underline}
.sh-win{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;font-weight:700;color:#3C4470}
.sh-ed{margin:0;font-size:13px;color:#4A5078}
.sh-pr{margin:8px 0 0}
.sh-pr.nop b{font-size:16px;letter-spacing:0}
.sh-pr b{font:700 28px/1 'Cabin',sans-serif;color:#1B2766;letter-spacing:-.01em}
.sh-seg{display:flex;border:1.5px solid #C9D2F5;border-radius:12px;overflow:hidden;background:#fff;max-width:100%}
.sh-seg button{flex:1 1 0;min-width:0;min-height:44px;padding:4px 8px;border:0;border-left:1px solid #C9D2F5;background:#fff;color:#243384;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;font:700 12px/1.25 'Public Sans',sans-serif;transition:background .15s,color .15s}
.sh-seg button:first-child{border-left:0}
.sh-seg button small{font:800 12px 'Public Sans',sans-serif;opacity:.9}
.sh-seg button:hover:not(:disabled){background:var(--tint)}
.sh-seg button[aria-pressed=true]{background:var(--ac);color:#fff}
.sh-seg button.off{color:#5A6185;background:#F4F6FC;cursor:default}
.sh-acc{margin:0;display:flex;gap:8px;align-items:flex-start;font-size:12px;color:#4A5078;line-height:1.4}
.sh-acc svg{flex:none;margin-top:2px}
.sh-act{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;margin-top:8px}
.sh-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 24px;border-radius:14px;border:1.5px solid #C9D2F5;background:#fff;color:#283888;font:800 15px 'Public Sans',sans-serif;text-decoration:none;cursor:pointer;transition:transform .15s,box-shadow .15s,background .15s}
.sh-btn:hover{background:#EEF1FF;transform:translateY(-1px)}
.sh-btn.pri{background:linear-gradient(180deg,#E02A2A,#D61F1F);border-color:#D61F1F;color:#fff;box-shadow:0 10px 20px -10px rgba(214,31,31,.8)}
.sh-btn.pri:hover{background:#B91919;box-shadow:0 14px 24px -10px rgba(214,31,31,.85)}
.sh-btn.sec{min-height:44px;padding:0 16px;font-size:14px}
.sh-looks{font-size:13px;font-weight:700;color:#3C4470}
.sh-looks button,.sh-view{background:none;border:0;padding:8px 2px;min-height:32px;font:800 14px 'Public Sans',sans-serif;color:#283888;cursor:pointer;text-decoration:none}
.sh-view:hover,.sh-looks button:hover{text-decoration:underline}
.sh-more{display:flex;flex-wrap:wrap;gap:0 16px;align-items:center}
.sh-sbtn{background:none;border:0;padding:8px 2px;min-height:32px;font:700 13px 'Public Sans',sans-serif;color:#3C4470;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.sh-sbtn[aria-pressed=true]{color:#065F46;text-decoration:none;font-weight:800}
/* ---- below the shop */
.sh-free{margin:16px 8px 0;display:flex;flex-wrap:wrap;gap:8px 24px;align-items:center;font-size:14px;color:#232A4D}
.sh-aids{display:grid;grid-template-columns:1fr 1.3fr;gap:16px;margin:24px 0}
.sh-aid{background:#fff;border:1px solid #DDE2F2;border-radius:18px;padding:24px;box-shadow:0 1px 2px rgba(27,39,102,.05),0 16px 32px -26px rgba(27,39,102,.5)}
.sh-aid h2,.sh-next h2{font:700 20px 'Cabin',sans-serif;color:#1B2766;margin:0 0 16px}
.sh-aid ol{margin:0;padding-left:20px;font-size:14px;line-height:1.55;color:#232A4D}.sh-aid li{margin:0 0 8px}
.sh-cmp{border:1px solid #DDE2F2;border-radius:14px;overflow:hidden}
.sh-cr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.sh-ch div{background:#EEF1FF;color:#1B2766;font-weight:800;font-size:14px;padding:8px 16px}
.sh-cr>div+div{border-left:1px solid #DDE2F2}
.sh-cr ul{margin:0;padding:8px 16px 8px 32px;font-size:13px;color:#232A4D;line-height:1.5}
.sh-cl{display:none;padding:8px 16px 0;color:#1B2766;font-size:14px}
.sh-cn{margin:16px 0 0;font-size:13px;color:#4A5078}
.sh-next{margin:0 0 24px}
.sh-nin{background:#fff;border:1px solid #DDE2F2;border-radius:18px;padding:24px;box-shadow:0 1px 2px rgba(27,39,102,.05),0 16px 32px -26px rgba(27,39,102,.5)}
.sh-next ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.sh-next li{display:flex;flex-direction:column;gap:8px;font-size:14px;color:#232A4D;position:relative}
.sh-next li .n{width:32px;height:32px;border-radius:50%;background:#1B2766;color:#fff;display:grid;place-items:center;font-weight:800;position:relative;z-index:1}
.sh-next li:nth-child(2) .n{background:#283888}.sh-next li:nth-child(3) .n{background:#3B50B8}
.sh-next li:not(:last-child)::after{content:"";position:absolute;left:44px;right:-12px;top:15px;height:3px;border-radius:2px;background:linear-gradient(90deg,#283888,#C9D2F5)}
.sh-next li b{color:#1B2766;font-size:15px}
.sh-next p{margin:16px 0 0;font-size:13px;font-weight:700;color:#3C4470}
.sh-faq h2{font:700 22px 'Cabin',sans-serif}
/* ---- shortlist strip (no payment) */
.sh-strip{position:fixed;left:0;right:0;bottom:0;z-index:60;background:#1B2766;color:#fff;box-shadow:0 -12px 30px rgba(0,0,0,.28)}
.sh-strip[hidden]{display:none}
.sh-sl-in{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;justify-content:space-between;padding-top:8px;padding-bottom:8px}
.sh-sl-t{margin:0;display:flex;flex-direction:column;min-width:0;flex:1 1 280px;font-size:13px;color:#E4E9FB}
.sh-sl-t b{color:#fff;font-size:14px}.sh-sl-t span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sh-sl-a{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.sh-strip .sh-btn.sec{background:#fff}.sh-strip .sh-sbtn{color:#fff}
body.shop:has(.sh-strip:not([hidden])){padding-bottom:80px}
/* ---- cover lightbox */
.sh-lock{overflow:hidden}
.sh-lb{position:fixed;inset:0;z-index:250;background:rgba(10,15,48,.95);display:flex;animation:shfade .2s ease-out}
.sh-lb[hidden]{display:none}
.sh-lb-in{margin:auto;display:grid;grid-template-columns:56px minmax(0,auto) 56px;align-items:center;gap:8px;max-width:96vw;max-height:96vh}
.sh-lb-f{margin:0;display:flex;flex-direction:column;align-items:center;gap:16px;min-width:0}
.sh-lb-st img{display:block;max-height:68vh;max-width:min(78vw,520px);width:auto;height:auto;border-radius:3px 8px 8px 3px;box-shadow:0 40px 80px -20px rgba(0,0,0,.8);-webkit-user-drag:none;user-select:none}
.sh-lb-c{display:flex;flex-direction:column;align-items:center;gap:4px;color:#fff;text-align:center;font-size:14px}
.sh-lb-c b{font:700 20px/1.2 'Cabin',sans-serif}.sh-lb-c span{color:#DCE3FF}
.sh-lb-a{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap;justify-content:center}
.sh-lb-n{width:48px;height:48px;border-radius:50%;border:0;background:#fff;color:#1B2766;font-size:28px;line-height:1;cursor:pointer;box-shadow:0 8px 20px rgba(0,0,0,.4)}
.sh-lb-n[hidden]{display:none}
.sh-lb-x{position:fixed;top:16px;right:16px;width:48px;height:48px;border-radius:50%;border:0;background:#fff;color:#1B2766;font-size:28px;line-height:1;cursor:pointer;z-index:2}
/* ---- responsive: mobile-first */
@media (max-width:1000px){.sh-hero{grid-template-columns:1fr;padding:24px}.sh-shelf{order:-1}.sh-slot{flex-basis:clamp(100px,24vw,170px)}.sh-books.c4{grid-template-columns:1fr}}
@media (max-width:900px){.sh-aids{grid-template-columns:1fr}.sh-next ol{grid-template-columns:1fr}.sh-next li:not(:last-child)::after{display:none}.sh-cr ul{padding-left:24px}}
@media (max-width:700px){
 .sh-topin{padding-top:12px;padding-bottom:12px;gap:8px}.sh-top .lead,.sh-top .bk-kick{display:none}.sh-top h1{font-size:22px;margin:0 0 4px}
 .sh-find label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);margin:0}
 .sh-find input{min-height:44px}.sh-msg:empty{display:none}.sh-msg{margin:4px 0 0}
 .sh-trust .wrap{padding-top:8px;padding-bottom:8px}
 .sh-trust ul{flex-wrap:nowrap;overflow-x:auto;gap:8px 16px;white-space:nowrap;-webkit-overflow-scrolling:touch;padding-bottom:2px}.sh-trust p{display:none}.sh-trust li i{width:24px;height:24px;border-radius:8px}
 .sh-h{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);margin:0}
 .sh-wrap{padding:8px 8px 32px}
 .sh-shop{padding:8px 8px 16px;border-radius:18px}
 .sh-tabs{flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;gap:16px;padding:8px 2px 24px;margin:0 -2px;-webkit-overflow-scrolling:touch}
 .sh-grp{flex:none}.sh-row{flex-wrap:nowrap}
 .sh-tile{min-width:168px;scroll-snap-align:center;grid-template-columns:36px auto;min-height:64px}
 .sh-cv{width:36px;height:46px}.sh-cv svg{width:30px;height:32px}
 .sh-panel{margin-top:0;border-radius:16px}
 .sh-hero{padding:16px;border-radius:16px 16px 0 0;gap:8px}
 .sh-slot{flex-basis:30vw;margin-left:-8vw}.sh-slot:first-child{margin-left:0}
 .sh-hc h2{font-size:20px}.sh-hook{font-size:14px;margin-bottom:8px}.sh-hm{margin-bottom:8px}.sh-same{display:none}
 .sh-path{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.sh-path li{flex:none}
 .sh-sheet{padding:16px 8px 8px}
 .sh-books{grid-template-columns:1fr;gap:8px}
 .sh-book{grid-template-columns:104px minmax(0,1fr);gap:16px;padding:16px}
 .sh-cv-btn{width:104px}
 .sh-seg button{padding:4px;font-size:12px}
 .sh-cr{grid-template-columns:1fr}.sh-cr>div+div{border-left:0;border-top:1px solid #DDE2F2}
 .sh-ch{display:none}.sh-cl{display:block}
 .sh-sl-t span{display:none}
 .sh-lb-in{grid-template-columns:minmax(0,1fr)}
 .sh-lb-n{position:fixed;top:45%;width:40px;height:40px;z-index:2}.sh-lb-n.prev{left:8px}.sh-lb-n.next{right:8px}
}
@media (prefers-reduced-motion:reduce){
 .sh-panel.in .sh-slot,.sh-panel.in .sh-hc,.sh-tile.on::after,.sh-lb{animation:none}
 .sh-cvbox{animation:none}.sh-tile,.sh-cvr,.sh-cv-btn,.sh-btn,.sh-sheen::before,.sh-cvbox img{transition:none}
 .sh-cvr:hover,.sh-cvr:focus-visible{transform:translateY(var(--ty,0)) rotate(var(--rot,0deg))}
}
/* ---- site dark mode (the Aa panel sets data-theme) */
html[data-theme="dark"] body.shop{background:#0C1233}
html[data-theme="dark"] .sh-shop,html[data-theme="dark"] .sh-book,html[data-theme="dark"] .sh-aid,html[data-theme="dark"] .sh-nin,html[data-theme="dark"] .sh-trust{background:#161B3A;border-color:#2C3366;color:#E7EBFB}
html[data-theme="dark"] .sh-sheet{background:linear-gradient(180deg,#121735,#161B3A 30%)}
html[data-theme="dark"] .sh-tile{background:#1B2150;border-color:#2C3366;color:#E7EBFB}
html[data-theme="dark"] .sh-tile.on{background:#222966}
html[data-theme="dark"] .sh-tx b,html[data-theme="dark"] .sh-book h3,html[data-theme="dark"] .sh-pr b,html[data-theme="dark"] .sh-aid h2,html[data-theme="dark"] .sh-next h2,html[data-theme="dark"] .sh-next li b,html[data-theme="dark"] .sh-sp h3{color:#fff}
html[data-theme="dark"] .sh-nm,html[data-theme="dark"] .sh-ed,html[data-theme="dark"] .sh-win,html[data-theme="dark"] .sh-gl,html[data-theme="dark"] .sh-h,html[data-theme="dark"] .sh-ct,html[data-theme="dark"] .sh-trust li,html[data-theme="dark"] .sh-trust p,html[data-theme="dark"] .sh-aid li,html[data-theme="dark"] .sh-next li,html[data-theme="dark"] .sh-acc,html[data-theme="dark"] .sh-cn,html[data-theme="dark"] .sh-hint,html[data-theme="dark"] .sh-free{color:#C9D2F5}
html[data-theme="dark"] .sh-fam{color:#A5B4FC}
html[data-theme="dark"] .sh-seg{background:#161B3A;border-color:#3A4380}
html[data-theme="dark"] .sh-seg button{background:#161B3A;color:#E7EBFB;border-color:#3A4380}
html[data-theme="dark"] .sh-seg button.off{background:#1B2150;color:#9AA3CF}
html[data-theme="dark"] .sh-seg button[aria-pressed=true]{background:#4A68EA;color:#fff}
html[data-theme="dark"] .sh-btn{background:#1B2150;color:#C9D2F5;border-color:#3A4380}
html[data-theme="dark"] .sh-btn.pri{background:#D61F1F;color:#fff;border-color:#D61F1F}
html[data-theme="dark"] .sh-view,html[data-theme="dark"] .sh-looks button,html[data-theme="dark"] .sh-trust a,html[data-theme="dark"] .sh-free a,html[data-theme="dark"] .sh-next a{color:#A5B4FC}
html[data-theme="dark"] .sh-looks,html[data-theme="dark"] .sh-sbtn{color:#C9D2F5}
html[data-theme="dark"] .sh-cr ul,html[data-theme="dark"] .sh-cl{color:#E7EBFB}html[data-theme="dark"] .sh-ch div{background:#222966;color:#fff}
html[data-theme="dark"] .sh-trust li i{background:#222966;color:#A5B4FC}
/* ---- print: simple list of everything */
@media print{
 .sh-app,.sh-find,.sh-strip,.sh-share,.sh-top .lead,.bk-modal,.sh-free,.sh-lb{display:none!important}
 .sh-static{display:block!important}
 .sh-top{background:#fff;color:#000}.sh-top h1,.sh-top h1 em{color:#000!important}
 .sh-shop,.sh-aid,.sh-nin{box-shadow:none;border:1px solid #999}
 body.shop{background:#fff}
}

/* retire the old yellow label colour inside the shop page only */
body.shop .bk-sys li b{color:#fff!important}
/* ribbons of the overlapped covers sit on the free (right) edge so they stay readable */
.sh-slot:nth-child(n+3) .sh-rib{left:auto;right:-8px;border-radius:6px 0 0 6px;padding:3px 12px}
.sh-slot:nth-child(n+3) .sh-rib::before{left:auto;right:0;border-right-color:transparent;border-left-color:rgba(0,0,0,.5)}
@media (hover:none){.sh-cvr .sh-zi{display:none}}
.sh-top .lead{max-width:none}

/* ===== v5: slim banner, selector first, covers high, trust row below the panel ===== */
.sh-top{background:linear-gradient(115deg,#12194F,#1B2766 50%,#283888)}
.sh-topin{align-items:center;flex-wrap:nowrap;gap:16px 32px;padding-top:8px;padding-bottom:8px}
.sh-top h1{font-size:22px;margin:0;line-height:1.15;flex:1 1 auto;white-space:nowrap}
.sh-find{flex:0 1 360px;position:relative}
.sh-find input{min-height:40px;padding:4px 40px 4px 14px;border-radius:12px;font-size:15px}
.sh-qx{top:0;width:40px;height:40px}
.sh-msg{position:absolute;right:0;top:100%;z-index:30;margin:4px 0 0;min-height:0;font-size:12px;background:#1B2766;color:#fff;border-radius:8px;padding:4px 10px;white-space:nowrap}
.sh-msg:empty{display:none}
.sh-wrap{padding-top:8px}
.sh-shop{padding:8px 16px 16px}
.sh-h{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);margin:0}
.sh-tabs{padding-top:0;gap:0 24px}
.sh-tile{min-height:64px}
.sh-panel{margin-top:16px}
.sh-hero{padding:16px 32px 8px;gap:16px 24px;grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr)}
.sh-hc h2{font-size:clamp(22px,2.2vw,28px);margin-bottom:4px}
.sh-hook{font-size:16px;margin-bottom:8px}
.sh-hm{margin-bottom:8px}
.sh-path{margin-bottom:8px}
.sh-same{display:none}
.sh-bl{margin-bottom:8px}
.sh-shelf{padding:4px 0 12px}
.sh-slot{flex-basis:clamp(120px,15.5vw,196px)}
/* trust row: quiet, below the opened panel */
.sh-trust{background:none;border:0;margin:16px 0 0}
.sh-tr-in{display:flex;flex-wrap:wrap;gap:8px 24px;align-items:center;justify-content:space-between;padding:8px 8px 0;border-top:1px solid #DDE2F2}
.sh-trust li i{width:24px;height:24px;border-radius:8px}
.sh-trust li{font-size:13px}
.sh-trust ul{gap:8px 20px}
html[data-theme="dark"] .sh-tr-in{border-color:#2C3366}
.sh-free{margin-top:8px}
@media (max-width:1000px){.sh-hero{grid-template-columns:1fr;padding:12px 16px 8px}.sh-shelf{order:-1}}
@media (max-width:700px){
 .sh-topin{flex-wrap:nowrap;gap:8px;padding-top:6px;padding-bottom:6px}
 .sh-top h1{font-size:16px;flex:0 0 auto;margin:0!important}
 .sh-top h1 em{color:#C7D4FF}
 .sh-find{flex:1 1 120px;min-width:0}
 .sh-find input{min-height:40px;font-size:14px;padding-left:10px}
 .sh-wrap{padding:6px 6px 32px}
 .sh-shop{padding:6px 6px 12px}
 .sh-tabs{position:sticky;top:var(--sh-top,0px);z-index:19;background:#fff;padding:6px 2px 22px;margin:0 -2px;box-shadow:0 8px 12px -12px rgba(27,39,102,.5)}
 .sh-tile.on::after{bottom:-14px}
 .sh-panel{margin-top:0}
 .sh-hero{padding:8px 12px 8px;gap:4px}
 .sh-slot{flex-basis:31vw;margin-left:-9vw}.sh-slot:first-child{margin-left:0}
 .sh-shelf{padding:2px 0 8px}
 .sh-tr-in{padding-top:8px}
 .sh-trust ul{flex-wrap:wrap;overflow:visible;white-space:normal}
 .sh-trust p{display:block}
}
html[data-theme="dark"] .sh-tabs{background:#161B3A}

/* P1 books: full copy on request (no price, no order box) */
.sh-pr.free b{color:#0B6F3F}
.sh-st.s-free{background:#E3F7EC;color:#0B6F3F}

/* FA books: included with plan */
.sh-st.s-included{background:#FFEDE5;color:#9A3412}
