:root{font-family:Arial,sans-serif;color:#172c3d;background:#f7f8fa;font-size:17px;line-height:1.55}*{box-sizing:border-box}body{margin:0}a{color:#275c65}header,main,footer{max-width:1160px;margin:auto;padding:24px}header{display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:1px solid #dce2e7}.brand{font-weight:700;text-decoration:none}main{padding-top:48px}h1{font-size:clamp(27px,3.2vw,44px);line-height:1.15;margin:12px 0 24px;overflow-wrap:anywhere}h2{font-size:28px;line-height:1.2}.product{display:grid;grid-template-columns:300px 1fr;gap:55px;align-items:start}.cover{width:100%;height:auto;box-shadow:0 10px 25px #172c3d20}.eyebrow{font-size:14px;letter-spacing:.06em;color:#547078;margin:0}.description{max-width:590px}.price{font-size:30px;font-weight:700;margin:25px 0 14px}.primary{display:inline-flex;align-items:center;justify-content:center;padding:13px 30px;background:#275c65;color:white;border-radius:6px;font-weight:700;text-decoration:none;min-height:48px}.preview{margin-top:56px}.gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}.preview-thumb{font:inherit;border:1px solid #d5dde3;border-radius:6px;background:white;padding:9px;cursor:zoom-in;min-width:0;color:inherit}.preview-thumb img{width:100%;height:245px;object-fit:contain;display:block}.preview-thumb span{display:block;font-size:14px;margin-top:10px}.related{margin:50px 0 20px}.related li{margin:12px 0}footer{color:#547078;font-size:14px;margin-top:45px;border-top:1px solid #dce2e7}button:focus-visible,a:focus-visible{outline:3px solid #db9c31;outline-offset:4px}dialog{padding:0;border:0;border-radius:10px;width:min(1100px,96vw);max-width:96vw;height:94dvh;max-height:94dvh;background:#eef1f4}dialog::backdrop{background:#10232ad9}.viewer-toolbar{height:64px;padding:10px;display:flex;gap:12px;align-items:center;justify-content:center;background:white}.viewer-toolbar button{font:inherit;background:#edf2f3;border:0;border-radius:5px;min-width:42px;min-height:42px;cursor:pointer}.viewer-scroll{height:calc(100% - 64px);overflow:auto;padding:16px;text-align:center}.viewer-scroll img{display:block;margin:0 auto;max-width:100%;max-height:100%;width:auto;height:auto}.viewer-scroll img.zoomed{max-width:none;max-height:none;width:1300px;height:auto}.viewer-open{overflow:hidden}@media(max-width:700px){header,main,footer{padding:18px}header{align-items:flex-start;font-size:14px}.brand{max-width:155px}.product{grid-template-columns:1fr;gap:26px}.cover{width:180px;justify-self:center}.primary{width:100%}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.preview-thumb img{height:195px}.preview{margin-top:35px}.viewer-toolbar{gap:5px;padding:6px;font-size:14px}.viewer-toolbar button{min-width:38px}.viewer-scroll{padding:8px}h2{font-size:25px}}

/* Reuse the existing catalog PDF placeholder appearance for unavailable covers. */
.cover.cover-placeholder{position:relative;display:flex;aspect-ratio:800/1132;align-items:center;justify-content:center;border:1px dashed #aeb9c7;border-radius:10px;background:#edf1f6;color:#677587;text-align:center;box-shadow:none}
.cover-placeholder:before{width:58px;height:72px;margin-bottom:18px;border:2px solid #9ba7b6;border-radius:4px;content:""}
.cover-placeholder .file-type{position:absolute;top:18px;left:18px;padding:4px 8px;border:1px solid #8290a2;border-radius:4px;color:#546276;font-size:.7rem}

/* Product shell follows the trainer cards; original PDF pages remain on white. */
:root{font-family:system-ui,sans-serif;color:#14213d;background:#fbf8f1}
a{color:#1856bc}
header{max-width:none;min-height:76px;padding:20px max(20px,calc((100vw - 1112px)/2));background:#0b2857;border-bottom:3px solid #c92e2a;color:#fff3df}
header a{color:#fff3df;text-underline-offset:4px}.brand{font-family:Georgia,serif;font-size:20px}
main{padding-top:32px}
.product{grid-template-columns:minmax(180px,260px) minmax(0,1fr);gap:clamp(24px,4vw,48px);align-items:center;padding:clamp(24px,4vw,40px);border:1px solid #fbe7c9;border-radius:22px;background:radial-gradient(ellipse at 75% 5%,#77574966,transparent 42%),linear-gradient(145deg,#0b2449,#193e70);color:#fff3df;box-shadow:0 10px 24px #16335422}
.product-info{min-width:0}
.product .cover{max-width:260px;border-radius:4px;box-shadow:4px 10px 24px #0005}
.product h1{font-family:Georgia,serif;font-weight:700;color:#fff3df}
.product .eyebrow{display:inline-block;max-width:100%;padding:5px 12px;border-radius:99px;background:#ffedce;color:#0c2c50;letter-spacing:normal;font-size:14px;font-weight:650}
.product .description{color:#f6e9d9}
.product .price{padding-top:18px;border-top:1px solid #e7ddce66;color:#fff3df;font:700 40px/1.2 Georgia,serif}
.product .primary{min-height:48px;padding:12px 30px;border:1px solid #e7463e;border-radius:10px;background:#c92e2a;color:#fff8ed;text-align:center;white-space:normal}
.product .primary:hover{background:#ab201e}.product .primary:focus-visible{outline-color:#ffc675}
h2{color:#0b2857;font-family:Georgia,serif}
.preview-thumb{background:#fff;color:#14213d;border:1px solid #d8e0ed;border-radius:12px;box-shadow:0 4px 12px #1633540a}
.preview-thumb:hover{border-color:#b76536;box-shadow:0 5px 16px #1633541a}
.preview-thumb img{background:#fff;filter:none}
footer{color:#42526b;border-color:#d8e0ed}
dialog{background:#f3f5f8}dialog::backdrop{background:#08244be6}
.viewer-toolbar{background:#fff;color:#14213d}.viewer-toolbar button{background:#eef2f8;color:#14213d}
.viewer-scroll img{background:#fff;filter:none}
@media(max-width:700px){header{padding:16px 18px;gap:16px}.brand{font-size:17px}main{padding-top:22px}.product{grid-template-columns:minmax(0,1fr);gap:22px;padding:22px}.product .cover{width:144px;justify-self:center}.product h1{font-size:clamp(27px,6.8vw,36px);margin-bottom:18px}.product .price{font-size:34px;margin-top:20px}.product .primary{width:100%}.viewer-toolbar{display:grid;grid-template-columns:38px minmax(25px,1fr) 38px auto 38px;gap:4px;padding:6px}.viewer-toolbar button{padding:6px}.viewer-toolbar [data-counter]{text-align:center}}
@media(prefers-reduced-motion:no-preference){.product .primary,.preview-thumb{transition:background-color .15s,border-color .15s,box-shadow .15s}}
