/* Karnas V65: square product photographs and desktop thumbnail gallery. */
html body .card-product.kv34-card .kv34-photo{aspect-ratio:1/1!important;}
html body .card-product.kv34-card .kv34-photo-frame{padding:0!important;}
html body .card-product.kv34-card .kv34-photo-frame img{object-fit:cover!important;object-position:center!important;image-rendering:auto;}
html body .card-product.kv34-card.kn65-keep-whole .kv34-photo-frame img{object-fit:contain!important;}
html body .card-list-product.kv34-list .kv34-list-photo{padding:0!important;aspect-ratio:1/1!important;}
/* The native mobile carousel and its bottom thumbnails retain their layout. */
@media(min-width:768px){
 html body #product-profile-carousel.kn65-gallery{display:grid!important;grid-template-columns:76px minmax(0,1fr);gap:16px;align-items:start;}
 html body #product-profile-carousel.kn65-gallery.kn65-single{grid-template-columns:minmax(0,1fr);}
 #product-profile-carousel.kn65-gallery .kn65-thumbs{display:flex;flex-direction:column;gap:10px;max-height:min(740px,75vh);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:1px 3px 1px 1px;}
 #product-profile-carousel.kn65-gallery .kn65-thumb{display:block;flex:0 0 auto;width:100%;aspect-ratio:1/1;padding:0;border:1px solid #e0e6e1;border-radius:6px;background:#fff;overflow:hidden;cursor:pointer;}
 #product-profile-carousel.kn65-gallery .kn65-thumb[aria-pressed="true"]{border-color:#193c2e;box-shadow:0 0 0 1px #193c2e;}
 #product-profile-carousel.kn65-gallery .kn65-thumb:focus-visible{outline:2px solid #193c2e;outline-offset:3px;}
 #product-profile-carousel.kn65-gallery .kn65-thumb img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;}
 #product-profile-carousel.kn65-gallery .kn65-stage{position:relative!important;min-width:0;aspect-ratio:1/1;width:100%;background:#fff;overflow:hidden!important;}
 #product-profile-carousel.kn65-gallery .kn65-slide{position:absolute;inset:0;margin:0!important;width:100%;height:100%;}
 #product-profile-carousel.kn65-gallery .kn65-slide[hidden]{display:none!important;}
 #product-profile-carousel.kn65-gallery .kn65-slide>a,
 #product-profile-carousel.kn65-gallery .kn65-slide>.video{display:block!important;width:100%!important;height:100%!important;padding:0!important;background:#fff;}
 #product-profile-carousel.kn65-gallery .kn65-slide img,
 #product-profile-carousel.kn65-gallery .kn65-slide video{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:cover!important;object-position:center!important;transform:none!important;image-rendering:auto;}
 #product-profile-carousel.kn65-keep-whole .kn65-slide img,
 #product-profile-carousel.kn65-keep-whole .kn65-slide video{object-fit:contain!important;}
 #product-profile-carousel.kn65-gallery .product-actions{position:absolute;top:12px;right:12px;z-index:4;}
 #product-profile-carousel.kn65-gallery .kn65-step{position:absolute;top:calc(50% - 20px);z-index:3;width:36px;height:40px;border:1px solid #dfe6df;border-radius:6px;background:rgba(255,255,255,.93);color:#193c2e;font:24px/1 Arial;cursor:pointer;}
 #product-profile-carousel.kn65-gallery .kn65-prev{left:10px;}
 #product-profile-carousel.kn65-gallery .kn65-next{right:10px;}
}
@media(min-width:768px) and (max-width:1050px){
 html body #product-profile-carousel.kn65-gallery{grid-template-columns:58px minmax(0,1fr);gap:10px;}
}
