[hidden]{display:none!important}
.book-header-search{width:230px;height:38px;padding:0 12px;display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:999px;background:var(--milk)}.book-header-search svg{width:16px;fill:none;stroke:#647785;stroke-width:1.8}.book-header-search input{min-width:0;width:100%;border:0;outline:0;background:transparent;font-size:10px}
.breadcrumbs{display:flex;gap:8px;margin-bottom:35px;color:#7d857e;font-size:10px}.breadcrumbs a:hover{color:var(--orange)}
.product-section{padding:38px 0 80px;background:var(--cream)}.product-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:75px;align-items:center}.product-gallery{min-width:0;display:grid;grid-template-columns:76px minmax(0,1fr);gap:18px}.product-thumbnails{display:flex;flex-direction:column;gap:10px}.product-thumb{width:76px;height:96px;padding:0;border:2px solid transparent;border-radius:11px;overflow:hidden;background:#e7e5de;cursor:pointer}.product-thumb.is-active{border-color:var(--green)}.product-thumb img{width:100%;height:100%;object-fit:contain}.product-main-image{min-width:0;height:560px;padding:18px;display:grid;place-items:center;overflow:hidden;border-radius:26px;background:#e9e7df}.product-main-image.has-photo{height:auto;min-height:0;display:block}.product-main-image.has-photo img{display:block;width:100%;height:auto;max-width:100%;max-height:none;object-fit:unset}.product-main-image .cover{width:270px;height:405px;padding:30px 25px}.product-main-image .cover strong{font-size:34px}.product-info{min-width:0;max-width:500px}.product-genre{margin:0 0 13px;color:var(--orange);font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.product-info h1{margin:0 0 13px;font-size:clamp(38px,4.5vw,60px);line-height:1.06;overflow-wrap:anywhere}.product-author{color:#5e685f;border-bottom:1px solid #aeb3ae;font-size:13px}.product-rating{margin:19px 0 22px;display:flex;align-items:center;gap:10px}.product-rating span{color:#d68a31;letter-spacing:2px;font-size:12px}.product-rating small{color:#7d857e;font-size:9px}.product-price{margin:0 0 13px;font-size:27px;font-weight:800}.product-stock{width:fit-content;margin-bottom:22px;padding:7px 10px;border-radius:999px;color:#247044;background:#e1f2e6;font-size:9px;font-weight:750}.product-stock.is-low{color:#9a5b22;background:#ffecd4}.product-stock.is-empty{color:#994040;background:#f8e1e1}.product-short-specs{display:flex;gap:8px;flex-wrap:wrap;padding:18px 0;border-block:1px solid #dcded6}.product-short-specs span{padding:7px 10px;border-radius:8px;background:white;color:#596159;font-size:9px}.product-buy{margin-top:23px;display:flex;gap:10px}.quantity{height:52px;display:flex;align-items:center;border:1px solid #d5d8d2;border-radius:13px;background:white}.quantity button{width:38px;height:100%;border:0;background:none;cursor:pointer;font-size:18px}.quantity output{width:28px;text-align:center;font-size:11px;font-weight:700}.buy-button{min-width:230px;flex:1;padding:0 19px;display:flex;align-items:center;justify-content:space-between;border:0;border-radius:13px;color:white;background:var(--green);cursor:pointer;font-size:12px;font-weight:750}.buy-button:disabled{cursor:not-allowed;background:#89918b}.delivery-note{display:flex;align-items:center;gap:8px;margin:15px 0 0;color:#747c75;font-size:9px}
.book-details{background:white}.details-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:100px}.details-grid article h2{font-size:48px}.book-description{margin:23px 0 0;color:#59625b;font-size:14px;line-height:1.85;white-space:pre-line}.details-grid aside{padding:30px;border-radius:20px;background:#f5f3ec}.details-grid aside h3{margin:0 0 18px;font-size:17px}.details-grid dl{margin:0}.details-grid dl div{padding:11px 0;display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #dedfd8;font-size:10px}.details-grid dl div:last-child{border:0}.details-grid dt{color:#798079}.details-grid dd{margin:0;text-align:right;font-weight:700}.similar{padding-top:35px;background:#faf9f4}.similar-grid{grid-template-columns:repeat(4,1fr)}.similar-grid .book-card__visual{height:300px}.similar-grid .cover{width:140px;height:210px}.book-loading,.book-not-found{min-height:65vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.book-loading span{width:35px;height:35px;border:3px solid #d8dbd5;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}.book-loading p{color:#737b74;font-size:11px}.book-not-found strong{color:var(--orange);font-family:"Prata",serif;font-size:70px}.book-not-found h1{font-size:44px}.book-not-found p{color:var(--muted)}.book-not-found .primary-button{margin-top:15px}.toast{position:fixed;right:25px;bottom:25px;z-index:30;padding:14px 18px;border-radius:12px;color:white;background:var(--green);box-shadow:var(--shadow);transform:translateY(100px);opacity:0;transition:.25s;font-size:13px}.toast.is-visible{transform:none;opacity:1}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:1020px){.book-header-search{display:none}.product-grid{grid-template-columns:1fr;gap:38px}.product-gallery{max-width:720px;width:100%;grid-template-columns:70px minmax(0,1fr)}.product-thumb{width:70px;height:90px}.product-main-image:not(.has-photo){height:min(620px,68vh)}.product-info{max-width:720px}.details-grid{gap:45px}.similar-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.product-section{padding-top:28px}.product-gallery{grid-template-columns:1fr}.product-thumbnails{order:2;flex-direction:row;overflow-x:auto}.product-main-image{padding:12px}.product-main-image:not(.has-photo){height:420px}.product-info{max-width:none}.details-grid{grid-template-columns:1fr;gap:45px}.similar-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:450px){.product-main-image{height:360px}.product-main-image .cover{width:210px;height:315px}.product-info h1{font-size:38px}.product-buy{flex-direction:column}.quantity{width:130px;justify-content:space-between}.buy-button{min-height:52px}.details-grid article h2{font-size:40px}.similar-grid{gap:25px 12px}.similar-grid .book-card__visual{height:255px}.similar-grid .cover{width:120px;height:181px}}

/* SLOVO brand palette and safe product-image framing */
.product-thumb{padding:5px;background:var(--book-blue)}
.product-thumb.is-active{border-color:var(--gold)}
.product-main-image,.product-main-image.has-photo{height:560px;min-height:560px;padding:32px;display:grid;place-items:center;background:var(--book-blue)}
.product-main-image.has-photo img{display:block;width:auto;height:auto;max-width:100%;max-height:496px;object-fit:contain;filter:none}
.product-genre{display:flex;align-items:center;gap:10px;color:var(--graphite);font-size:11px;letter-spacing:.14em}
.product-genre::before{content:"";width:28px;height:2px;flex:0 0 auto;border-radius:999px;background:var(--gold)}
.product-rating span{color:var(--gold)}
.product-info h1{color:var(--graphite)}
.product-author{color:#4d778f;border-bottom-color:var(--gold);font-weight:600}
.product-rating small,.delivery-note{color:#707070}
.product-price{color:var(--graphite);font-size:30px;letter-spacing:-.02em}
.product-price__sale{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.product-price__sale del{color:#8a8279;font-size:17px;font-weight:600}
.product-price__sale strong{color:#98671f;font-size:31px}
.product-stock{padding:8px 12px;color:#3f687f;background:var(--book-blue-deep);box-shadow:inset 0 0 0 1px rgba(143,175,199,.22);font-size:10px}
.product-stock.is-low{color:#8a642a;background:#f7ead1;box-shadow:inset 0 0 0 1px rgba(201,161,91,.28)}
.product-stock.is-empty{color:#8b4c4c;background:#f3dfdc;box-shadow:inset 0 0 0 1px rgba(139,76,76,.18)}
.product-short-specs{border-color:rgba(143,175,199,.38)}
.product-short-specs span{border:1px solid rgba(143,175,199,.22);color:#596b76;background:#fffdfa;font-size:10px}
.quantity{border-color:rgba(143,175,199,.45);box-shadow:0 6px 18px rgba(77,119,143,.06)}
.quantity button{color:var(--graphite);transition:color .2s ease,background .2s ease}
.quantity button:hover{color:#7e5c20;background:rgba(201,161,91,.14)}
.buy-button{min-height:56px;padding:0 23px;border-radius:16px;color:#fff;background:linear-gradient(135deg,#759fbe,#8fafc7);box-shadow:0 12px 26px rgba(77,119,143,.24);font-size:14px;font-weight:800;letter-spacing:.01em;transition:background .2s ease,transform .2s ease,box-shadow .2s ease}
.buy-button span{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;color:#456579;background:rgba(255,255,255,.9);font-size:16px;line-height:1}
.buy-button:hover:not(:disabled){background:linear-gradient(135deg,#678fac,#80a8c4);box-shadow:0 15px 32px rgba(77,119,143,.3);transform:translateY(-2px)}
.buy-button:focus-visible{outline:3px solid rgba(143,175,199,.55);outline-offset:3px}
.buy-button:disabled{color:#68737a;background:#d6e0e6;box-shadow:none}
.restock-contact{margin-top:23px;padding:18px;border:1px solid rgba(143,175,199,.38);border-radius:16px;background:linear-gradient(135deg,#fffdfa,var(--book-blue));box-shadow:0 10px 26px rgba(77,119,143,.09)}
.restock-contact p{margin:0 0 12px;color:#596b76;font-size:12px;line-height:1.55}
.restock-contact a{min-height:46px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;border-radius:12px;color:var(--graphite);background:var(--gold);font-size:12px;font-weight:800;box-shadow:0 8px 20px rgba(201,161,91,.2)}
.restock-contact a:hover{background:#b98f48;transform:translateY(-1px)}
.book-details{border-top:1px solid rgba(143,175,199,.15);background:#fffdfa}
.details-grid{gap:72px;align-items:start}
.details-grid article h2{position:relative;width:fit-content;padding-bottom:14px;color:#6f96b0}
.details-grid article h2::after{content:"";position:absolute;left:0;bottom:0;width:54px;height:3px;border-radius:999px;background:var(--gold)}
.book-description{max-width:760px;margin-top:28px;color:var(--graphite);font-size:15px;line-height:1.9}
.details-grid aside{position:relative;overflow:hidden;padding:38px 30px 30px;border:1px solid rgba(143,175,199,.38);background:linear-gradient(145deg,#fbfdfd 0%,var(--book-blue) 100%);box-shadow:0 18px 44px rgba(77,119,143,.12)}
.details-bookmark{position:absolute;right:30px;top:0;width:48px;height:64px;display:block;clip-path:polygon(0 0,100% 0,100% 100%,50% 78%,0 100%);background:#8fafc7;filter:drop-shadow(0 7px 9px rgba(77,119,143,.2))}
.details-bookmark::before{content:"";position:absolute;z-index:0;inset:2px;clip-path:polygon(0 0,100% 0,100% 100%,50% 78%,0 100%);background:#fffdfa;pointer-events:none}
.details-bookmark__owl{position:absolute;left:9px;top:9px;width:30px;height:34px;display:grid;place-items:center}
.details-bookmark__owl img{position:relative;z-index:1;width:100%;height:100%;display:block;object-fit:contain;filter:none;opacity:1}
.details-grid aside h3{margin-bottom:22px;color:#4d778f;font-size:20px}
.details-grid dl div{padding:13px 0;align-items:flex-start;border-color:rgba(143,175,199,.32);font-size:11.5px;line-height:1.45}
.details-grid dt{color:#65747d;font-weight:600}
.details-grid dd{max-width:62%;color:var(--graphite);line-height:1.45}
.similar{background:var(--cream)}
.recently-viewed{padding-top:35px;background:#fff}
.toast{color:var(--graphite);background:var(--brand-blue)}
@media(max-width:700px){.product-main-image,.product-main-image.has-photo{height:480px;min-height:480px;padding:22px}.product-main-image.has-photo img{max-height:436px}}
@media(max-width:450px){.product-main-image,.product-main-image.has-photo{height:390px;min-height:390px;padding:18px}.product-main-image.has-photo img{max-height:354px}}
@media(max-width:700px){
  .details-grid{gap:38px}
  .details-grid aside{padding:34px 18px 18px;border-radius:24px;box-shadow:0 14px 34px rgba(77,119,143,.11)}
  .details-grid aside h3{margin:0 58px 22px 2px;font-size:21px;line-height:1.2}
  .details-bookmark{right:18px;width:46px;height:62px}
  .details-bookmark__owl{left:8px;top:8px;width:30px;height:34px}
  .details-grid dl{display:grid;gap:8px}
  .details-grid dl div{display:grid;grid-template-columns:minmax(0,42fr) minmax(0,58fr);align-items:center;gap:12px;padding:12px 13px;border:1px solid rgba(143,175,199,.25);border-radius:12px;background:rgba(255,253,250,.76);box-shadow:0 4px 12px rgba(77,119,143,.04);font-size:11.5px}
  .details-grid dl div:last-child{border:1px solid rgba(143,175,199,.25)}
  .details-grid dt{color:#647985;font-weight:700}
  .details-grid dd{max-width:none;min-width:0;text-align:right;overflow-wrap:anywhere}
  .book-description{font-size:14px;line-height:1.82}
}
.product-main-image.has-photo{cursor:zoom-in}
.product-main-image.has-photo:focus-visible{outline:3px solid #c9a15b;outline-offset:4px}
.gallery-lightbox{box-sizing:border-box;width:min(96vw,1100px);height:min(94vh,920px);height:min(94dvh,920px);max-width:96vw;max-height:94vh;max-height:94dvh;padding:42px 24px 24px;border:0;border-radius:22px;background:#e5eff5;box-shadow:0 24px 80px rgba(59,59,59,.28);overflow:hidden;grid-template-rows:minmax(0,1fr)}
.gallery-lightbox::backdrop{background:rgba(29,50,70,.76);backdrop-filter:blur(5px)}
.gallery-lightbox[open]{display:grid;place-items:center}
.gallery-lightbox img{display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain}
.gallery-lightbox__close{position:absolute;right:14px;top:12px;display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(59,59,59,.16);border-radius:50%;background:#f8f3ec;color:#3b3b3b;font-size:28px;line-height:1;cursor:pointer}
.gallery-lightbox__close:hover{background:#fff}
.gallery-lightbox__arrow{position:absolute;z-index:2;top:50%;display:grid;place-items:center;width:46px;height:46px;padding:0;border:1px solid rgba(59,59,59,.16);border-radius:50%;transform:translateY(-50%);color:#3b3b3b;background:rgba(248,243,236,.94);box-shadow:0 8px 24px rgba(59,59,59,.14);font-size:38px;line-height:1;cursor:pointer}
.gallery-lightbox__arrow:hover{background:#fff}
.gallery-lightbox__arrow--prev{left:14px}
.gallery-lightbox__arrow--next{right:14px}
.gallery-lightbox__counter{position:absolute;left:50%;bottom:10px;min-width:54px;padding:5px 10px;border-radius:999px;transform:translateX(-50%);color:#3b3b3b;background:rgba(248,243,236,.94);font-size:12px;font-weight:700;text-align:center}
@media(max-width:600px){.gallery-lightbox{padding-inline:12px}.gallery-lightbox__arrow{width:40px;height:40px;font-size:32px}.gallery-lightbox__arrow--prev{left:8px}.gallery-lightbox__arrow--next{right:8px}}
