/* A collection gallery with depth. Details and checkout remain in normal flow. */
.bookshelf-page{--shelf-ink:#f4eee7;--shelf-ground:#261d30;background:#f3efe6}
.shelf-intro{padding:45px 6vw 40px;display:grid;grid-template-columns:1fr 1fr;column-gap:8vw;align-items:end}
.shelf-eyebrow{display:block;font:650 14px/1.6 var(--body);letter-spacing:.04em}
.shelf-intro>.shelf-eyebrow{grid-column:1/-1;margin-bottom:20px;color:#715479}
.shelf-intro h1{font:650 clamp(42px,4.2vw,64px)/1.04 var(--display);letter-spacing:-.04em;margin:0}.shelf-intro h1 em{font:inherit;color:#785688}
.shelf-intro>p{font:450 18px/1.8 var(--body);max-width:38ch;margin:0 0 5px;color:#5d4b64}
.bookshelf{background:var(--shelf-ground);color:var(--shelf-ink);padding:32px 0 26px;overflow:hidden;position:relative;isolation:isolate}
.shelf-topline{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:0 6vw}.shelf-topline .shelf-eyebrow{font-size:14px;color:#cdb7db}.shelf-topline h2{font:600 clamp(22px,2vw,29px)/1.3 var(--display);letter-spacing:-.02em;margin:8px 0 0}.shelf-count{font:500 16px var(--body);color:#c6afd2;white-space:nowrap}.shelf-count b{color:#f6f0e7;font-weight:650;font-size:24px;margin-right:7px}
.shelf-carousel{position:relative;width:100%;height:clamp(330px,39vw,610px);perspective:1400px;touch-action:pan-y;isolation:isolate;outline-offset:-8px}
.shelf-horizon{position:absolute;left:-10%;right:-10%;bottom:-40%;height:70%;border:1px solid #bca2d132;border-radius:50%;background:radial-gradient(ellipse at 50% 10%,#bda1ce1f,transparent 60%);transform:rotateX(65deg);pointer-events:none;z-index:-1}
.shelf-slides{position:absolute;inset:0;transform-style:preserve-3d}
.shelf-card{position:absolute;left:50%;top:50%;width:58%;max-width:1000px;aspect-ratio:16/9;padding:0;border:1px solid #e6d7ec66;background:#e8dbe6;border-radius:3px;overflow:visible;box-shadow:0 30px 65px #0b061a80;transform-style:preserve-3d;transition:transform .85s cubic-bezier(.2,.7,.15,1),opacity .65s,box-shadow .65s;cursor:pointer}
.shelf-card img{display:block;width:100%;height:100%;object-fit:contain;border-radius:2px;pointer-events:none}.shelf-card[data-position=center]{transform:translate(-50%,-50%) translateZ(0) rotateY(0);opacity:1;z-index:3;box-shadow:0 25px 70px #08040d90,0 0 45px #d5c4e80a}
.shelf-card[data-position=left]{transform:translate(-128%,-50%) translateZ(-140px) rotateY(46deg) scale(.88);opacity:.55;z-index:1}.shelf-card[data-position=right]{transform:translate(28%,-50%) translateZ(-140px) rotateY(-46deg) scale(.88);opacity:.55;z-index:1}.shelf-card[data-position=left]:hover,.shelf-card[data-position=right]:hover{opacity:.85}.shelf-card:focus-visible{outline:3px solid #dce7b6;outline-offset:7px}
.shelf-card-edge{position:absolute;inset:3px -5px -5px 4px;border-right:4px solid #9c849f;border-bottom:4px solid #9c849f;transform:translateZ(-2px);border-radius:2px;pointer-events:none}
.shelf-controls{display:flex;align-items:center;justify-content:center;gap:32px;padding:12px 6vw 0}.shelf-arrow{background:transparent;color:#f4eee7;border:1px solid #aa90bc7a;border-radius:50%;width:49px;height:49px;flex-shrink:0;display:grid;place-items:center;transition:background .2s}.shelf-arrow:hover{background:#5c436c}.shelf-arrow svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}
.shelf-selectors{display:flex;align-items:stretch;gap:0;max-width:800px;border-bottom:1px solid #aa90bc66}.shelf-selectors button{background:transparent;color:#d3bfdc;padding:15px 22px;border-bottom:3px solid transparent;font:550 16px/1.5 var(--body);min-height:55px;transition:color .2s,border-color .2s}.shelf-selectors button[aria-pressed=true]{color:#e3edc7;border-color:#dce7b6}.shelf-selectors button:hover{color:#fff}.shelf-hint{text-align:center;max-width:none!important;color:#cbb5d7;font:450 14px/1.6 var(--body);padding:0 24px;margin:19px 0 0}
.shelf-details{padding:70px 6vw 80px;display:grid;grid-template-columns:1fr 1fr;gap:8vw;position:relative;align-items:start}.shelf-book-copy .shelf-eyebrow{color:#72537d}.shelf-book-copy h2{font:650 clamp(31px,3.5vw,54px)/1.08 var(--display);letter-spacing:-.035em;min-height:2.2em;margin:20px 0 25px;max-width:20ch}.shelf-book-copy>p{font:450 18px/1.8 var(--body);color:#604d68;min-height:65px;max-width:42ch;margin:0 0 30px}
.shelf-preview-button{padding:14px 22px;border:1px solid #80618f;background:none;color:#46304f;font:600 16px/1.5 var(--body);border-radius:4px;min-height:52px}.shelf-preview-button:hover{background:#e3d7e9}.shelf-purchase>.shelf-eyebrow{color:#71547d}.shelf-purchase ul{padding-left:21px;margin:21px 0 28px;min-height:140px}.shelf-purchase li{font:450 17px/1.75 var(--body);margin:10px 0;padding-left:3px;color:#54405d}.shelf-purchase li::marker{color:#8b69a0}
.shelf-buy-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.shelf-buy-options>a{display:flex;flex-direction:column;gap:8px;border:1px solid #a58ab2;background:#e4d9eb;padding:18px 20px;border-radius:4px;transition:background .2s}.shelf-buy-options>a:last-child{background:transparent}.shelf-buy-options>a:hover{background:#d4c1e1}.shelf-buy-options span{font:550 14px/1.6 var(--body);color:#563e63}.shelf-buy-options strong{font:650 28px/1.25 var(--display);color:#34203f;white-space:nowrap}.shelf-buy-options small{font:550 14px var(--body);margin-left:4px;color:#664c73}.shelf-purchase .shelf-purchase-note{font:450 14px/1.8 var(--body);color:#644e70;margin:18px 0 0;max-width:65ch}
.shelf-collection-note{display:flex;align-items:center;justify-content:space-between;gap:50px;background:#dce7b6;padding:65px 6vw;color:#304123}.shelf-collection-note h2{font:650 clamp(30px,3.5vw,48px)/1.12 var(--display);letter-spacing:-.035em;margin:20px 0}.shelf-collection-note p{font:450 17px/1.8 var(--body);max-width:50ch}.shelf-collection-link{padding:17px 25px;background:#2d2236;color:#f5efe7;font:600 16px/1.5 var(--body);border-radius:4px;white-space:nowrap}.shelf-collection-link:hover{background:#62466f}
.shelf-dialog{padding:0;border:1px solid #a38ab2;background:#f4efe6;color:#2c1d35;width:min(900px,94vw);max-height:90dvh;overflow:auto;border-radius:8px;box-shadow:0 30px 100px #0005}.shelf-dialog::backdrop{background:#120a1fbb;backdrop-filter:blur(5px)}.shelf-dialog-close{position:sticky;left:calc(100% - 60px);top:12px;z-index:2;display:block;width:44px;height:44px;border-radius:50%;background:#2f2138;color:#f3efe6;font:450 30px/1 var(--body);margin:12px 12px -55px auto}.shelf-dialog-body{padding:45px}.shelf-dialog h2{font:650 clamp(28px,4vw,45px)/1.15 var(--display);letter-spacing:-.03em;max-width:85%;margin:20px 0}.shelf-dialog p{font:450 16px/1.7 var(--body);color:#5d4869;max-width:65ch}.shelf-dialog img{display:block;width:min(100%,650px);height:auto;margin:25px auto;border:1px solid #c7b7ce}.shelf-dialog a{display:inline-block;font:550 16px/1.7 var(--body);text-decoration:underline;text-underline-offset:4px}.shelf-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.shelf-no-script{padding:25px 6vw}.shelf-no-script a{text-decoration:underline}
.motion-off .shelf-card,.motion-off .shelf-arrow{transition:none}
@media(min-width:1700px){.shelf-carousel{height:650px}.shelf-card{width:58%;max-width:1100px}}
@media(max-width:1000px){.shelf-intro{gap:40px}.shelf-intro h1{font-size:55px}.shelf-carousel{height:clamp(320px,44vw,450px)}.shelf-card{width:65%}.shelf-controls{gap:20px}.shelf-selectors button{font-size:15px;padding:13px 17px}.shelf-details{gap:5vw}.shelf-book-copy h2{font-size:38px}.shelf-purchase ul{min-height:180px}.shelf-buy-options>a{padding:16px 13px}.shelf-buy-options span{font-size:14px}}
@media(max-width:700px){.shelf-intro{display:block;padding:45px 24px 40px}.shelf-intro>.shelf-eyebrow{margin-bottom:20px}.shelf-intro h1{font-size:clamp(39px,7vw,52px)}.shelf-intro>p{font-size:17px;max-width:38ch;margin-top:25px}.bookshelf{padding:25px 0}.shelf-topline{padding:0 24px;gap:20px}.shelf-topline h2{font-size:23px;max-width:19ch}.shelf-count{font-size:14px}.shelf-count b{font-size:22px}.shelf-carousel{height:clamp(235px,59vw,410px);margin:12px 0 0}.shelf-card{width:83%;max-width:none}.shelf-card[data-position=left]{transform:translate(-130%,-50%) translateZ(-130px) rotateY(43deg) scale(.84);opacity:.5}.shelf-card[data-position=right]{transform:translate(30%,-50%) translateZ(-130px) rotateY(-43deg) scale(.84);opacity:.5}.shelf-controls{padding:0 20px;gap:13px;justify-content:space-between}.shelf-arrow{width:44px;height:44px}.shelf-selectors{border:0;gap:10px;justify-content:center;align-items:center}.shelf-selectors button{width:12px;height:12px;min-height:0;border:1px solid #b89fca;border-radius:50%;padding:0;font-size:0;background:transparent;overflow:hidden}.shelf-selectors button[aria-pressed=true]{background:#dce7b6;border-color:#dce7b6}.shelf-hint{font-size:14px;margin-top:15px}.shelf-details{grid-template-columns:1fr;gap:40px;padding:45px 24px 55px}.shelf-book-copy h2{font-size:37px;min-height:0;max-width:20ch}.shelf-book-copy>p{font-size:17px;min-height:0;max-width:48ch;margin-bottom:25px}.shelf-purchase ul{min-height:0;margin:20px 0 25px}.shelf-purchase li{font-size:17px}.shelf-buy-options{gap:12px}.shelf-buy-options>a{padding:16px 14px}.shelf-buy-options span{font-size:14px}.shelf-buy-options strong{font-size:27px}.shelf-purchase .shelf-purchase-note{font-size:14px}.shelf-collection-note{display:block;padding:50px 24px}.shelf-collection-note h2{font-size:35px}.shelf-collection-note p{font-size:17px;margin-bottom:30px}.shelf-collection-link{display:inline-flex;font-size:16px;white-space:normal}.shelf-dialog-body{padding:35px 24px}.shelf-dialog h2{font-size:30px}.shelf-dialog p{font-size:16px}.shelf-dialog-close{top:8px;margin-top:8px}}
@media(max-width:360px){.shelf-intro h1{font-size:37px}.shelf-topline h2{font-size:21px}.shelf-topline{padding:0 21px}.shelf-details{padding-left:21px;padding-right:21px}.shelf-book-copy h2{font-size:33px}.shelf-buy-options{grid-template-columns:1fr}.shelf-buy-options>a{flex-direction:row;align-items:center;justify-content:space-between;gap:10px}.shelf-buy-options strong{font-size:25px}.shelf-dialog-body{padding:35px 20px}}
@media(prefers-reduced-motion:reduce){.shelf-card,.shelf-arrow,.shelf-selectors button{transition:none!important}}

.shelf-carousel:focus-visible{outline:2px solid #dce7b6;outline-offset:-8px}

.shelf-purchase .shelf-software{font:450 14px/1.8 var(--body);color:#644e70;margin:0 0 22px;max-width:65ch}
