.detail-layout.sozler-gallery-detail{display:block}.sozler-gallery-detail>.detail-info{margin:28px 6px 0 194px}.sozler-gallery-detail>.detail-info .book-facts{max-width:100%}.sozler-product-gallery{display:grid;grid-template-columns:170px minmax(0,1fr);gap:24px;width:100%;margin:0;padding:0}.sozler-gallery-thumbs{display:flex;flex-direction:column;gap:12px}.sozler-gallery-thumbs button{display:block;border:2px solid transparent;border-radius:10px;background:#f7f4e9;padding:7px;width:100%;aspect-ratio:1.05;cursor:pointer;overflow:hidden;box-shadow:0 4px 15px #173f3208}.sozler-gallery-thumbs button[aria-pressed=true]{border-color:#a62c36}.sozler-gallery-thumbs img{display:block;width:100%;height:100%;object-fit:contain}.sozler-gallery-main{min-width:0}.sozler-gallery-stage{position:relative;aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;background:#f7f4e9;border-radius:12px;overflow:hidden;touch-action:pan-y pinch-zoom}.sozler-gallery-stage>img{width:100%;height:100%;object-fit:contain;display:block;user-select:none}.sozler-gallery-stage>img.is-cover{padding:24px}.sozler-gallery-loading{color:#173f32;font-size:14px;text-align:center}.sozler-gallery-arrow,.sozler-gallery-expand{position:absolute;display:grid;place-items:center;border:0;border-radius:50%;width:48px;height:48px;background:#fffffff0;color:#173f32;box-shadow:0 4px 24px #00000010;cursor:pointer;padding:0}.sozler-gallery-arrow{top:50%;transform:translateY(-50%);font-size:39px;line-height:1}.sozler-gallery-arrow.is-previous{left:12px}.sozler-gallery-arrow.is-next{right:12px}.sozler-gallery-expand{right:14px;top:14px}.sozler-gallery-caption{display:flex;justify-content:space-between;padding:10px 4px;color:#6b7166;font-size:12px}.sozler-product-gallery button:focus-visible,.sozler-gallery-stage:focus-visible{outline:3px solid #b3934c;outline-offset:3px}.sozler-gallery-dialog{border:0;padding:0;border-radius:12px;width:95vw;max-width:1600px;background:#f7f4e9;color:#173f32}.sozler-gallery-dialog::backdrop{background:#10291fe6}.sozler-gallery-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;background:#fffdf6;font-size:14px}.sozler-gallery-toolbar>div{display:flex;align-items:center;gap:10px}.sozler-gallery-toolbar button{border:1px solid #d7d2bf;background:transparent;color:#173f32;border-radius:5px;padding:8px 12px;font:inherit;cursor:pointer}.sozler-gallery-toolbar button:disabled{opacity:.4}.sozler-gallery-zoom-canvas{height:74vh;overflow:auto;touch-action:pan-x pan-y pinch-zoom;text-align:center}.sozler-gallery-zoom-canvas img{display:block;height:100%;object-fit:contain;max-width:none}.sozler-gallery-zoom-canvas.is-zoomed img{height:auto;object-fit:initial}.sozler-gallery-modal-open{overflow:hidden}
@media(max-width:1000px){.sozler-product-gallery{grid-template-columns:130px minmax(0,1fr);gap:16px}.sozler-gallery-detail>.detail-info{margin-left:146px}}
@media(max-width:700px){.sozler-product-gallery{display:flex;flex-direction:column;gap:10px}.sozler-gallery-main{order:0}.sozler-gallery-thumbs{order:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.sozler-gallery-thumbs button{padding:3px;border-radius:7px;aspect-ratio:1.05}.sozler-gallery-arrow,.sozler-gallery-expand{width:35px;height:35px}.sozler-gallery-arrow{font-size:29px}.sozler-gallery-arrow.is-previous{left:6px}.sozler-gallery-arrow.is-next{right:6px}.sozler-gallery-expand{top:8px;right:8px}.sozler-gallery-expand svg{width:18px;height:18px}.sozler-gallery-caption{font-size:11px}.sozler-gallery-detail>.detail-info{margin:22px 0 0}.sozler-gallery-stage>img.is-cover{padding:12px}.sozler-gallery-dialog{width:96vw}.sozler-gallery-toolbar{padding:10px;flex-wrap:wrap;font-size:12px}.sozler-gallery-toolbar>div{gap:7px}.sozler-gallery-toolbar button{padding:6px 9px}.sozler-gallery-zoom-canvas{height:67vh}}
.sozler-gallery-stage>.demo-discount-badge{left:14px;right:auto;top:14px;transform:none}

/* Local Sözler detail: bounded gallery beside the existing product information. */
.visitor-demo .detail-layout.sozler-gallery-detail{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:start;gap:36px;padding-top:18px}
.sozler-gallery-detail>.detail-info{margin:0;min-width:0}
.sozler-gallery-detail .sozler-product-gallery{grid-template-columns:82px minmax(0,1fr);gap:16px;align-items:start}
.sozler-gallery-detail .sozler-gallery-thumbs{gap:10px}
.sozler-gallery-detail .sozler-gallery-thumbs button{padding:5px;aspect-ratio:1}
.sozler-gallery-detail .sozler-gallery-stage{height:clamp(320px,calc(100svh - 365px),480px);max-height:480px;aspect-ratio:auto}
.sozler-gallery-detail .sozler-gallery-stage>img{min-width:0;min-height:0;object-fit:contain}
.sozler-gallery-detail .detail-info h1{font-size:clamp(28px,2.4vw,38px);line-height:1.2;margin-top:8px;margin-bottom:14px}
.sozler-gallery-detail .demo-detail-note{margin-top:16px;margin-bottom:16px}
@media(min-width:901px) and (max-height:800px){.sozler-gallery-detail .book-facts>div{padding-top:8px;padding-bottom:8px}}
@media(max-width:900px){
 .visitor-demo .detail-layout.sozler-gallery-detail{grid-template-columns:1fr;gap:20px}
 .sozler-gallery-detail>.detail-info{margin:0}
 .sozler-gallery-detail .sozler-product-gallery{display:flex;flex-direction:column;gap:10px}
 .sozler-gallery-detail .sozler-gallery-main{order:0;width:100%}
 .sozler-gallery-detail .sozler-gallery-thumbs{order:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;width:100%}
 .sozler-gallery-detail .sozler-gallery-thumbs button{aspect-ratio:1.1}
 .sozler-gallery-detail .sozler-gallery-stage{height:min(67vw,360px);max-height:360px;min-height:0}
 .sozler-gallery-detail .detail-info h1{font-size:30px}
}

/* Approved warm reference treatment, shared by cover-only and interior galleries. */
.book-reference-detail .sozler-gallery-stage{background:#f7f4e9;border:1px solid #e9dfcd;border-radius:11px;box-shadow:0 10px 28px #65441e08;padding:12px}
.book-reference-detail .sozler-gallery-thumbs button{background:#f7f4e9;border:1px solid #e5dac6;border-radius:9px;box-shadow:none}
.book-reference-detail .sozler-gallery-thumbs button[aria-pressed=true]{border:2px solid #ae2533;padding:4px}
.book-reference-detail .detail-info h1{color:#123b32;font-weight:400;letter-spacing:-.025em}
.book-reference-detail .detail-author{font:18px/1.4 Arial,sans-serif;color:#243b33;margin:12px 0 6px}
.book-reference-detail .detail-publisher{font:13px/1.5 Arial,sans-serif;margin:6px 0 16px;color:#32483e}
.book-reference-detail .detail-code{font-size:11px;margin:10px 0 0;color:#697563}
.book-reference-detail .detail-price{display:flex;align-items:flex-end;gap:24px;flex-wrap:wrap;margin:18px 0}
.book-reference-detail .detail-price>.demo-discount-badge{margin-bottom:8px}
.book-reference-detail .sozler-gallery-arrow,.book-reference-detail .sozler-gallery-expand{background:#fffdf9;box-shadow:0 4px 18px #59451c0b}
.book-reference-detail .sozler-gallery-stage>img.is-cover{padding:20px}
@media(max-height:800px) and (min-width:901px){.book-reference-detail .detail-info h1{font-size:30px;margin-bottom:10px}.book-reference-detail .detail-price{margin-top:14px;margin-bottom:12px}.book-reference-detail .detail-publisher{margin-bottom:10px}}
@media(max-width:900px){.book-reference-detail .sozler-gallery-stage{padding:8px}.book-reference-detail .detail-author{font-size:17px}.book-reference-detail .detail-price{gap:18px}.book-reference-detail .detail-info h1{font-size:29px}}
.book-reference-detail .detail-price>.demo-discount-badge{width:58px!important;min-width:58px!important;max-width:58px!important;height:34px!important;min-height:34px!important;max-height:34px!important;border-radius:11px!important;border:0!important;background:#efbc42!important;margin-bottom:9px;box-shadow:0 3px 8px #bb8d2120!important}
.book-reference-detail .detail-price>.demo-discount-badge b{font-size:17px!important;color:#143c30!important}
.visitor-demo .book-reference-detail .demo-price-detail .demo-customer-price{font-size:42px}
@media(max-width:900px){.visitor-demo .book-reference-detail .demo-price-detail .demo-customer-price{font-size:35px}.book-reference-detail .detail-price>.demo-discount-badge{width:53px!important;min-width:53px!important;max-width:53px!important;height:31px!important;min-height:31px!important;max-height:31px!important}}

.gallery-loading-note{position:absolute;bottom:7px;left:50%;transform:translateX(-50%);background:#fffdf6e8;color:#173f32;border-radius:5px;padding:5px 9px;font:11px/1.3 Arial;white-space:nowrap}
