
.woocommerce-product-gallery.hkt-gallery { opacity: 1; }
.hkt-gallery button.hkt-stage { display:block; width:100%; min-height:0; padding:0; border:0; border-radius:0; background:#fff; cursor:zoom-in; }
.hkt-gallery .hkt-main { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:contain; cursor:inherit; }
.hkt-gallery .hkt-thumbs { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.hkt-gallery .hkt-thumb { display:grid; place-items:center; padding:2px; width:60px; height:60px; border:1px solid #d3d9df; border-radius:4px; color:#17191c; background:#fff; }
.hkt-gallery .hkt-thumb[aria-pressed="true"] { border-color:#f06e2b; box-shadow:0 0 0 1px #f06e2b; }
.hkt-gallery .hkt-thumb-image { width:100%; height:100%; min-height:0; object-fit:contain; }
.hkt-gallery button:focus-visible,.hkt-dialog button:focus-visible { outline:2px solid #22679a; outline-offset:3px; }
dialog.hkt-dialog { position:fixed; inset:0; width:max-content; height:max-content; box-sizing:border-box; margin:auto; padding:12px; border:0; border-radius:6px; max-width:calc(100vw - 24px); max-height:calc(100dvh - 24px); background:#fff; overflow:auto; }
.hkt-dialog:not([open]) { display:none; }
.hkt-dialog::backdrop { background:#17191cbb; }
.hkt-dialog .hkt-large { display:block; width:auto; height:auto; max-width:min(82vw,1000px); max-height:calc(100dvh - 80px); object-fit:contain; }
.hkt-dialog button.hkt-close { display:block; min-width:44px; min-height:44px; padding:0; border:0; border-radius:0; background:#fff; cursor:zoom-out; }
.hkt-dialog .hkt-large { cursor:inherit; }
.hkt-preview-note { margin:0 0 12px; padding:5px 10px; border-left:3px solid #f06e2b; background:#faf4ee; color:#34383e; font-size:13px; }
@media (max-width:600px) {
  .hkt-gallery .hkt-thumb { width:48px; height:48px; }
}
