.tk-image-trigger{cursor:zoom-in;flex-shrink:0;padding:0;display:inline-flex;align-items:center;justify-content:center}.tk-image-trigger:hover{border-color:#72886e}.tk-product-gallery{margin:20px 0}.tk-gallery-hero{width:100%;height:290px;position:relative;display:flex;align-items:center;justify-content:center;border:1px solid #e1e7e2;border-radius:18px;background:#fafbf9;padding:20px;cursor:zoom-in;overflow:hidden}.tk-gallery-hero img{width:100%;height:100%;object-fit:contain}.tk-gallery-hero span{position:absolute;bottom:10px;right:12px;border-radius:20px;background:#fff;padding:6px 10px;font-size:12px;color:#50605a}.tk-gallery-thumbs{display:flex;gap:8px;margin-top:10px;overflow-x:auto;padding-bottom:5px}.tk-gallery-thumbs button{flex:0 0 70px;height:70px;padding:5px;border:1px solid #dbe3dc;border-radius:10px;background:#fff;cursor:zoom-in}.tk-gallery-thumbs img{width:100%;height:100%;object-fit:contain}
dialog.tk-lightbox{padding:0;border:0;border-radius:20px;background:#10212b;color:#f5f8f6;width:min(1200px,calc(100vw - 32px));max-width:1200px;height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);overflow:hidden}dialog.tk-lightbox::backdrop{background:rgb(5 16 22 / .88)}.tk-lightbox-shell{height:100%;display:flex;flex-direction:column}.tk-lightbox-head{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:14px 20px;flex:none}.tk-lightbox-head strong{font-size:16px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.4}.tk-gallery-counter{display:block;font-size:12px;color:#c6d4d6;margin-top:4px}.tk-lightbox button{background:#233945;border:1px solid #4e6570;color:#fff;cursor:pointer;border-radius:10px;min-height:44px;min-width:44px;padding:8px 12px;line-height:1.2}.tk-lightbox button:focus-visible{outline:3px solid #d9f58a;outline-offset:3px}.tk-lightbox button:disabled{opacity:.35;cursor:default}.tk-lightbox .tk-gv-close{font-size:28px;flex:none;align-self:flex-start}.tk-lightbox-stage{position:relative;flex:1;min-height:80px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#fff;touch-action:none;user-select:none}.tk-lightbox-stage>img{flex:none;max-width:none;max-height:none;object-fit:contain;transform-origin:center;will-change:transform;pointer-events:none}.tk-lightbox-stage.is-zoomed{cursor:grab}.tk-lightbox-stage.is-zoomed:active{cursor:grabbing}.tk-lightbox-stage>img[hidden]{display:none}.tk-lightbox .tk-gv-prev,.tk-lightbox .tk-gv-next{position:absolute;top:calc(50% - 24px);background:rgb(16 33 43 / .88);border:0;font-size:30px;padding:0}.tk-gv-prev{left:12px}.tk-gv-next{right:12px}.tk-gallery-status{position:absolute;color:#40525b;padding:25px;text-align:center}.tk-gallery-status[hidden]{display:none}.tk-lightbox-tools{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px;flex:none}.tk-gallery-zoom{min-width:58px;font-size:13px;text-align:center;font-variant-numeric:tabular-nums}.tk-lightbox-tools>span{font-size:12px;color:#beced0;margin-left:10px}.tk-lightbox-thumbs{display:flex;gap:8px;overflow-x:auto;justify-content:flex-start;margin:0 auto;max-width:100%;padding:0 16px 14px;flex:none}.tk-lightbox-thumbs button{width:58px;height:58px;flex:0 0 58px;padding:4px;background:#fff;opacity:.6;border:3px solid transparent}.tk-lightbox-thumbs button[aria-current=true]{opacity:1;border-color:#c7e77c}.tk-lightbox-thumbs img{width:100%;height:100%;object-fit:contain}
.tk-admin-gallery{border-top:1px solid #dde5df;padding-top:18px}.tk-admin-gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:12px;margin:12px 0 18px}.tk-admin-image{border:1px solid #dce5de;border-radius:12px;padding:8px;background:#fff;min-width:0}.tk-admin-image-preview{display:block;padding:0;width:100%;height:110px;border:0;background:#fafbf9;cursor:zoom-in}.tk-admin-image-preview img{width:100%;height:100%;object-fit:contain}.tk-admin-image>strong{display:block;margin:8px 0;font-size:12px}.tk-admin-image>div{display:flex;gap:4px;flex-wrap:wrap}.tk-admin-image>div button{font-size:11px;padding:6px;min-height:32px}.tk-image-remove{color:#a42b27}.tk-gallery-url{display:flex;gap:10px;align-items:flex-end;margin-top:12px}.tk-gallery-url label{flex:1;min-width:0}.tk-admin-gallery[data-uploading="1"] [data-gallery-edit]{pointer-events:none;opacity:.4}.tk-admin-gallery .tk-upload-status{overflow-wrap:anywhere;min-height:20px}
@media(max-width:600px){dialog.tk-lightbox{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.tk-lightbox-head{padding:12px;gap:8px}.tk-lightbox-head strong{font-size:14px}.tk-lightbox-tools>span{display:none}.tk-lightbox-thumbs{padding-bottom:max(12px,env(safe-area-inset-bottom))}.tk-gallery-hero{height:240px}.tk-gallery-url{align-items:stretch;flex-direction:column}.tk-admin-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

@media(max-width:600px){.cart-line>button.tk-image-trigger{grid-column:1;grid-row:1;justify-self:start}}

/* Covers and thumbnails gracefully survive missing files and interrupted requests. */
.tk-image-unavailable-wrap{position:relative}.tk-image-unavailable-wrap>img[hidden]{display:none}.tk-image-unavailable-wrap>.tk-image-unavailable{position:static;display:block;padding:7px;font-size:10px;line-height:1.4;color:#5d7168;text-align:center;background:transparent;border-radius:0}.tk-gallery-hero.tk-image-unavailable-wrap>.tk-image-unavailable{font-size:14px;padding:20px}.tk-gallery-hero.tk-image-unavailable-wrap>span:not(.tk-image-unavailable){display:none}

.product-image[data-gallery-series],.tk-gallery-hero[data-gallery-series],.lg-product [data-gallery-series]{position:relative}.product-image[data-gallery-series]::after,.tk-gallery-hero[data-gallery-series]::after,.lg-product [data-gallery-series]::after{content:"Seri görseli · 1 adet";position:absolute;top:8px;left:8px;background:#fff;border:1px solid #dce5de;border-radius:6px;padding:4px 7px;color:#53655c;font-size:10px;line-height:1.3}.tk-lightbox-series-note{display:block;color:#d5dfd8;font-size:12px;line-height:1.5;margin-top:5px;max-width:65ch}.tk-lightbox-series-note:empty{display:none}.tk-gallery-series-note{line-height:1.6}
