/* Book styling is isolated to product galleries. No external libraries. */
[data-gallery].book-gallery{perspective:1800px;position:relative;padding:18px;background:#0c1c2e;border:1px solid #36536e;border-radius:16px;box-shadow:0 16px 32px #0003}
.book-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;color:#d8e9f7;font-size:11px;letter-spacing:1px}.book-close{font:inherit;background:#203e57;border:1px solid #54718b;border-radius:20px;color:#e7f4ff;padding:7px 12px;cursor:pointer;min-height:36px}
.book-gallery .capture-stage{overflow:visible;perspective:1600px;border-radius:3px 12px 12px 3px!important;border:0!important;background:#fff!important;box-shadow:4px 4px 0 #e2e7ec,7px 7px 0 #b8c5d0,10px 10px 0 #1c354c!important;isolation:isolate}
.book-gallery .capture-stage:after{content:'';position:absolute;inset:0;pointer-events:none;z-index:3;background:linear-gradient(90deg,#07162544,transparent 3%,transparent 96%,#07162512);border-radius:inherit}.book-gallery .capture-stage img{border-radius:inherit;aspect-ratio:16/10;object-fit:contain;background:#fff}.book-gallery .capture-stage .book-turn{position:absolute;inset:0;width:100%;height:100%;z-index:5;transform-origin:left center;backface-visibility:hidden;pointer-events:none;box-shadow:14px 0 24px #0003;will-change:transform}
.book-cover{position:absolute;inset:0;z-index:8;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:clamp(20px,5vw,70px);background:linear-gradient(115deg,#071728,#143a54 60%,#1d536b);border:1px solid #5e92a4;border-inline-start:12px solid #081421;border-radius:3px 12px 12px 3px;color:#f4fbff;transform-origin:left center;backface-visibility:hidden;cursor:pointer;text-align:start;overflow:hidden}.book-cover:after{content:'';position:absolute;inset:12px;border:1px solid #b3e3ef40;border-radius:2px 7px 7px 2px;pointer-events:none}.book-cover-kicker{font-size:clamp(9px,1.1vw,12px);letter-spacing:3px;color:#91d9e9;margin-bottom:18px}.book-cover strong{font-size:clamp(24px,4vw,54px);line-height:1.12;max-width:700px;letter-spacing:-1px}.book-cover-sub{font-size:clamp(11px,1.4vw,17px);margin:16px 0 25px;color:#bfd6e5}.book-open-label{font-size:13px;padding:10px 18px;border:1px solid #8fd5e3;border-radius:24px;color:#dffaff}.book-cover[hidden]{display:none}.book-gallery.is-closed .capture-zoom{visibility:hidden}.book-gallery .gallery-controls{margin-top:23px}.book-gallery .capture-thumbs button{min-height:38px}.book-gallery .capture-kind{margin-bottom:10px}.book-gallery .capture-note{margin-bottom:0}
[dir=rtl] .book-cover,[dir=rtl] .book-gallery .capture-stage .book-turn{transform-origin:right center}[dir=rtl] .book-gallery .capture-stage:after{background:linear-gradient(270deg,#07162544,transparent 3%,transparent 96%,#07162512)}
@media(max-width:540px){[data-gallery].book-gallery{padding:10px}.book-cover{padding:24px;border-inline-start-width:7px}.book-cover-kicker{margin-bottom:10px;letter-spacing:1px}.book-cover-sub{margin:10px 0 15px}.book-open-label{font-size:11px;padding:7px 12px}.book-topbar{font-size:9px;letter-spacing:0}.book-close{font-size:10px;padding:5px 9px}}
.book-gallery .capture-stage{aspect-ratio:16/10;min-height:190px;display:block}#endpoint .book-gallery .capture-stage img,.book-gallery .capture-stage>img{width:100%;height:100%;aspect-ratio:auto;object-fit:contain}.book-gallery .capture-stage>img:not(.book-turn){position:absolute;inset:0}.book-cover{pointer-events:auto!important}@media(max-width:540px){.book-cover strong{font-size:clamp(20px,6vw,30px)}.book-cover-kicker{font-size:8px}.book-cover-sub{font-size:10px}.book-cover{padding:20px}}
