
/* DZIEDZICTWO V10: product page uses the same nav, type scale, colors and footer as the other CMS pages. */
.dz-book-hero,.dz-book-themes,.dz-book-story,.dz-book-closing {position:relative;isolation:isolate}
.dz-book-hero{background:#06171a;overflow:hidden;border-bottom:1px solid #b58b4d66}
.dz-book-hero:before{content:"";position:absolute;inset:0;background:url('home-castle-locked.webp') center right/cover no-repeat;z-index:-2}
.dz-book-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#04111525 0%,#061619b0 51%,#06161950 73%,#07161955),linear-gradient(0deg,#041315dc 0%,transparent 28%,#08121618 68%);z-index:-1}
.dz-book-hero-inner{max-width:1380px;width:calc(100% - 80px);margin:0 auto;min-height:656px;display:grid;grid-template-columns:minmax(0,48%) minmax(0,52%);align-items:center;gap:18px}
.dz-book-stage{position:relative;width:100%;max-width:640px;aspect-ratio:670/582;align-self:center;margin:4px 0 3px;filter:drop-shadow(0 25px 25px #0007)}
.dz-book-stage-photo{display:block;width:100%;height:100%;object-fit:contain}
.dz-book-stage-cover{position:absolute;left:34.8%;top:15.4%;width:43.6%;height:77.0%;object-fit:fill;filter:saturate(.99) brightness(.95);box-shadow:inset 8px 0 11px #0004,3px 2px 6px #0006;clip-path:polygon(0.5% 0,100% 0,100% 100%,0.5% 100%);transform:perspective(920px) rotateY(-2deg)}
.dz-book-volume{position:absolute;bottom:-13px;left:38%;width:52%;text-align:center;text-transform:uppercase;letter-spacing:.19em;font:10px/1.6 var(--sans);color:#e0c18b;text-shadow:0 2px 7px #000;white-space:nowrap}
.dz-book-summary{position:relative;padding:70px 10px 67px 4px;max-width:660px;margin-left:0}
.dz-book-eyebrow{color:#dfae64;font:15px/1.25 var(--serif);letter-spacing:.2em;text-transform:uppercase;margin:0 0 22px}
.dz-book-summary h1{font:normal clamp(57px,6.5vw,104px)/.95 var(--serif);letter-spacing:-.065em;margin:0;color:#f4ede3;text-shadow:2px 4px 15px #0009}
.dz-book-subtitle{font:normal clamp(24px,2.4vw,35px)/1.2 var(--serif);letter-spacing:.15em;color:#dfb873;text-transform:uppercase;margin:13px 0 22px}
.dz-book-flourish{display:flex;align-items:center;gap:12px;width:min(420px,100%);color:#d2a261;margin:0 0 25px}
.dz-book-flourish:before,.dz-book-flourish:after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,#bc914f96)}
.dz-book-flourish:after{transform:rotate(180deg)}
.dz-book-flourish span{font-size:16px}
.dz-book-lead{font:clamp(19px,2vw,25px)/1.49 var(--serif);max-width:590px;color:#eee7dd;text-shadow:0 2px 5px #000;margin:0 0 34px}
.dz-book-facts{display:grid;grid-template-columns:1.45fr .8fr 1.3fr;align-items:center;gap:13px;margin:0 0 28px}
.dz-book-facts>div{display:flex;align-items:center;gap:11px;font:15px/1.28 var(--serif);min-width:0;color:#efe4d3}
.dz-book-facts svg{color:#d7a35a;stroke-width:1.5;width:32px;height:32px;flex-shrink:0}
.dz-book-shop{display:grid;grid-template-columns:175px minmax(0,1fr);align-items:center;gap:12px;background:#031316db;border:1px solid #c29a5891;padding:14px 16px;border-radius:6px;box-shadow:0 14px 40px #0006}
.dz-book-price strong{display:block;font:normal clamp(36px,3vw,51px)/1.08 var(--serif);color:#f7eddd;white-space:nowrap}
.dz-book-price small{display:block;font:12px/1.3 var(--sans);color:#cec5b3;margin-top:7px}
.dz-book-shop .zd-btn{font-size:15px;padding:15px 16px;white-space:nowrap}
.dz-book-excerpt{display:inline-flex;align-items:center;gap:11px;margin:16px 0 0 11px;color:#e8ded0;text-decoration:none;text-transform:uppercase;font:14px var(--serif);letter-spacing:.03em;padding-bottom:6px;border-bottom:1px solid #d9ad6366}
.dz-book-excerpt:hover{color:#f4c683;border-bottom-color:#f4c683}
.dz-book-excerpt svg{width:24px;height:24px;stroke:#d6aa65}
.dz-book-themes{background:#061517;border-bottom:1px solid #ad824a75;background-image:linear-gradient(90deg,#041215e8,#06191bbf,#051315e8),url('features-stone.webp');background-position:center,left center;background-size:cover,auto 100%;padding:33px 16px 38px}
.dz-book-themes-inner{max-width:1260px;margin:0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
.dz-book-motif{min-width:0;text-align:center;padding:8px 26px 6px;border-right:1px solid #b3946566}
.dz-book-motif:last-child{border:0}
.dz-book-motif svg{width:48px;height:48px;stroke:#ddb069;stroke-width:1.15;fill:none;margin:0 auto 13px}
.dz-book-motif h3{color:#f3ece0;text-transform:uppercase;font:normal 18px/1.2 var(--serif);margin:0 auto 11px;max-width:260px;min-height:2.45em}
.dz-book-motif p{color:#e2d9cb;font:15px/1.45 var(--serif);margin:0 auto;max-width:255px}
.dz-book-story{background:#061417;overflow:hidden;padding:65px 34px 75px;background-image:linear-gradient(90deg,#031014d9,#0412157d 45%,#031014d5),url('features-stone.webp');background-size:cover,450px auto;background-position:center,left center;background-repeat:no-repeat}
.dz-book-story:before{content:"";position:absolute;right:-80px;bottom:-50px;opacity:.65;z-index:-1;width:350px;height:390px;background:url('features-stone.webp') left center/cover no-repeat;transform:scaleX(-1)}
.dz-book-story-inner{max-width:1210px;margin:auto;display:grid;grid-template-columns:minmax(0,1.13fr) minmax(0,.87fr);gap:30px;align-items:stretch}
.dz-book-parchment{color:#352416;position:relative;background:#e7ceb0 url('pergamin.webp') center /100% 100% no-repeat;filter:drop-shadow(0 19px 23px #000a);padding:55px 66px 58px;min-height:420px}
.dz-book-ink-eyebrow{color:#835633!important;text-transform:uppercase;font:12px/1.2 var(--sans)!important;letter-spacing:.17em;margin:0 0 21px!important}
.dz-book-parchment h2{font:normal 42px/1.07 var(--serif);margin:0 0 24px;max-width:440px;color:#3b291c}
.dz-book-parchment p{font:18px/1.56 var(--serif);margin:0 0 16px;color:#432c1a}
.dz-book-first-paragraph::first-letter{float:left;font:normal 62px/.85 var(--serif);padding:8px 7px 0 0;color:#412816}
.dz-book-paper-link{display:inline-flex;align-items:center;gap:9px;font:600 13px var(--serif);color:#694524;border-bottom:1px solid #8d6745;margin-top:12px;padding-bottom:5px;text-decoration:none;text-transform:uppercase}
.dz-book-paper-link svg{width:16px;height:16px;stroke-width:2}.dz-book-paper-link:hover{color:#af622f}
.dz-book-review{padding:64px 62px 45px;display:flex;flex-direction:column}
.dz-book-quote-mark{font:italic 65px/.6 var(--serif);color:#92704c;height:55px;margin:0}
.dz-book-review blockquote{font:italic clamp(21px,2vw,28px)/1.42 var(--serif);margin:3px 0 20px;color:#37241a}
.dz-book-review-author{font-style:italic!important;margin:0 0 8px!important}
.dz-book-review-source{font:11px/1.4 var(--sans);color:#7b5b3b;margin:3px 0 13px}
.dz-book-review .dz-book-paper-link{align-self:flex-start;margin-top:auto}
.dz-book-closing{background:#041416;min-height:220px;padding:38px 35px;overflow:hidden;border-top:1px solid #cd9e5b9c;background-image:linear-gradient(90deg,#031417f5,#041417d6 49%,#06171b78),url('home-city.webp');background-size:cover;background-position:center,center 58%}
.dz-book-closing-inner{max-width:1210px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:32px}
.dz-book-closing .dz-book-eyebrow{margin:0 0 12px;font-size:12px}
.dz-book-closing h2{font:normal 42px/1.08 var(--serif);margin:0 0 11px}
.dz-book-closing p:not(.dz-book-eyebrow){font:19px/1.35 var(--serif);margin:0;max-width:580px}
.dz-book-closing-buy{display:grid;grid-template-columns:auto minmax(210px,270px);align-items:center;gap:8px 24px;padding:15px 17px;background:#041215d8;border:1px solid #ad874b90;border-radius:5px}
.dz-book-closing-buy>span{font:normal 42px/1 var(--serif);white-space:nowrap}
.dz-book-closing-buy small{grid-column:1/-1;color:#c6bcae;font:12px var(--sans);text-align:right}
@media(max-width:1100px){.dz-book-hero-inner{width:calc(100% - 35px);grid-template-columns:47% 53%;gap:0;min-height:610px}.dz-book-summary{padding:47px 10px}.dz-book-summary h1{font-size:clamp(47px,6vw,75px)}.dz-book-facts{grid-template-columns:repeat(3,1fr);gap:7px}.dz-book-facts>div{font-size:13px;gap:6px}.dz-book-facts svg{width:28px;height:28px}.dz-book-shop{grid-template-columns:135px minmax(0,1fr);padding:11px}.dz-book-shop .zd-btn{font-size:13px}.dz-book-parchment{padding:45px 47px 49px}}
@media(max-width:900px){.dz-book-hero-inner{display:flex;flex-direction:column;max-width:640px;width:calc(100% - 34px);min-height:0;gap:0;padding-bottom:38px}.dz-book-hero:after{background:linear-gradient(180deg,#07131622 0%,#061619bb 38%,#051519eb 78%)}.dz-book-stage{width:min(100%,510px);margin:10px auto 0}.dz-book-volume{bottom:-8px;font-size:9px}.dz-book-summary{max-width:620px;width:100%;padding:28px 10px 6px;text-align:center}.dz-book-summary h1{font-size:clamp(51px,10vw,76px)}.dz-book-subtitle{font-size:26px}.dz-book-eyebrow{font-size:12px;margin:0 0 17px}.dz-book-flourish{margin:0 auto 20px}.dz-book-lead{font-size:20px;margin:0 auto 23px}.dz-book-facts{gap:10px;margin-bottom:22px}.dz-book-facts>div{flex-direction:column;text-align:center;font-size:13px}.dz-book-shop{grid-template-columns:140px minmax(0,1fr)}.dz-book-excerpt{margin:16px auto 0}.dz-book-themes-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 0}.dz-book-motif:nth-child(2){border-right:0}.dz-book-motif{padding:12px 18px}.dz-book-story{padding:48px 16px}.dz-book-story-inner{max-width:610px;grid-template-columns:1fr;gap:23px}.dz-book-parchment{min-height:0;padding:50px 58px}.dz-book-review{min-height:320px}.dz-book-closing-inner{flex-direction:column;align-items:stretch}.dz-book-closing-buy{align-self:stretch;justify-content:space-between}}
@media(max-width:430px){.dz-book-hero-inner{width:calc(100% - 22px)}.dz-book-stage{width:min(100%,385px);margin-top:0}.dz-book-summary{padding:23px 7px 0}.dz-book-summary h1{font-size:clamp(43px,12vw,55px)}.dz-book-subtitle{font-size:21px;margin:7px 0 14px}.dz-book-flourish{margin-bottom:15px}.dz-book-lead{font-size:17px;line-height:1.49}.dz-book-facts{grid-template-columns:1.3fr .7fr 1fr;gap:5px}.dz-book-facts>div{font-size:11.5px;gap:5px}.dz-book-facts svg{width:29px;height:29px}.dz-book-shop{grid-template-columns:90px 1fr;gap:8px;padding:9px}.dz-book-price strong{font-size:29px}.dz-book-price small{font-size:10px}.dz-book-shop .zd-btn{font-size:11px;padding:12px 6px;gap:6px;min-height:52px}.dz-book-shop .zd-btn svg{height:17px;width:17px}.dz-book-excerpt{font-size:12px}.dz-book-themes{padding:24px 9px 26px}.dz-book-themes-inner{gap:19px 0}.dz-book-motif{padding:8px 11px}.dz-book-motif svg{width:41px;height:41px}.dz-book-motif h3{font-size:15px}.dz-book-motif p{font-size:13px}.dz-book-story{padding:35px 9px 42px}.dz-book-story-inner{gap:14px}.dz-book-parchment{padding:42px 33px 40px}.dz-book-parchment h2{font-size:32px;margin-bottom:19px}.dz-book-parchment p{font-size:16px}.dz-book-first-paragraph::first-letter{font-size:49px}.dz-book-review{min-height:0}.dz-book-review blockquote{font-size:22px}.dz-book-closing{padding:30px 14px}.dz-book-closing h2{font-size:33px}.dz-book-closing p:not(.dz-book-eyebrow){font-size:16px}.dz-book-closing-buy{grid-template-columns:auto 1fr;gap:10px;padding:10px}.dz-book-closing-buy>span{font-size:32px}.dz-book-closing-buy .zd-btn{min-height:49px;font-size:13px;padding:10px 14px}}

.dz-skip{position:absolute;left:-10000px;top:10px}.dz-skip:focus{left:10px;z-index:999;color:#0a1516;background:#ffe3a7;padding:10px}
.dz-book-facts svg,.dz-book-excerpt svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}

.dz-book-wordmark{display:block;width:min(100%,640px);height:auto;max-height:128px;object-fit:contain;object-position:left center;filter:drop-shadow(0 3px 7px #0008)}

.dz-book-ebook-cta{margin-top:8px;padding:12px 16px;font-size:.88rem}.dz-book-shop{flex-wrap:wrap}.dz-ebook-pending{display:inline-flex;padding:10px 0;color:#d2ba85;font-size:.8rem}

/* V19: one line price and buy, full-width digital CTA. Layout remains unchanged.
   Never place the e-book button into the 90/135/175px price column. */
.dz-book-shop{display:grid;grid-template-areas:"price paper" "ebook ebook";grid-template-columns:minmax(90px,175px) minmax(0,1fr);align-items:stretch}
.dz-book-shop .dz-book-price{grid-area:price;align-self:center;min-width:0}
.dz-book-shop .dz-book-buy{grid-area:paper;min-width:0;max-width:100%;white-space:normal!important;line-height:1.25;overflow-wrap:anywhere}
.dz-book-shop .dz-book-ebook-cta,.dz-book-shop .dz-ebook-pending{grid-area:ebook;min-width:0;width:100%;max-width:100%;margin:0}
.dz-book-shop .dz-book-ebook-cta{white-space:normal!important;overflow-wrap:break-word;line-height:1.35;text-align:center;padding:14px 16px;min-height:52px;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px}
.dz-book-shop .dz-book-ebook-cta svg{flex:0 0 20px}
.dz-book-shop .dz-ebook-pending{display:block;text-align:center}
@media(max-width:430px){.dz-book-shop{grid-template-columns:minmax(90px,98px) minmax(0,1fr)}.dz-book-shop .dz-book-ebook-cta{font-size:13px;padding:14px 10px;gap:9px;min-height:52px}}
@media(max-width:355px){.dz-book-shop{grid-template-areas:"price" "paper" "ebook";grid-template-columns:minmax(0,1fr);gap:9px}.dz-book-price{text-align:center}}
