.antikot-card-media,.antikot-media-slide{position:relative}
.antikot-card-media>.antikot-product-media-link{display:block;width:100%;height:100%;overflow:hidden}
.antikot-video-frame{position:relative;width:100%;height:100%;overflow:hidden;background:#eceff1}
.antikot-video-frame .antikot-video-cover,.antikot-video-frame video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;margin:0;display:block}
.antikot-video-frame .antikot-video-cover{z-index:2;opacity:1;pointer-events:none}
.antikot-video-frame.has-video-frame .antikot-video-cover{opacity:0}
.antikot-video-frame .antikot-product-video{z-index:1}
.antikot-video-toggle{position:absolute;right:12px;bottom:12px;z-index:4;border:1px solid #fff;border-radius:24px;padding:8px 13px;background:#19242de8;color:#fff;font:inherit;font-size:13px;line-height:1.4;cursor:pointer;min-height:40px}
.antikot-video-toggle:hover,.antikot-video-toggle:focus-visible{background:#000;color:#fff;outline:2px solid #fff;outline-offset:2px}
.antikot-video-toggle:disabled{opacity:.85;cursor:default}
.antikot-video-status{position:absolute;left:10px;right:10px;top:10px;z-index:3;font-size:12px;background:#fffffff0;color:#18232c;border-radius:6px;padding:8px;pointer-events:none}
.antikot-video-status:empty{display:none}
.antikot-product-gallery [hidden]{display:none!important}
.antikot-gallery-stage-slot,.antikot-gallery-stage{aspect-ratio:1/1;width:100%;position:relative;background:#f1f3f4;border-radius:12px;overflow:hidden}
.antikot-gallery-stage{height:100%;touch-action:pan-y}
.antikot-media-slide{position:absolute;inset:0;width:100%;height:100%}
.antikot-media-slide>.antikot-gallery-photo{display:block;width:100%;height:100%;object-fit:contain;margin:0}
.antikot-media-slide .antikot-video-cover,.antikot-media-slide video{object-fit:contain;background:#f1f3f4}
.antikot-gallery-navigation{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0}
.antikot-gallery-navigation button,.antikot-lightbox-nav button{border-radius:6px;padding:9px 12px;min-height:44px;font-size:14px;line-height:1.3}
.antikot-media-thumbnails{display:flex;gap:8px;overflow-x:auto;padding:4px 2px 10px;scroll-snap-type:x proximity}
.antikot-media-thumbnails button{position:relative;flex:0 0 76px;width:76px;height:76px;padding:0;border:2px solid transparent;border-radius:7px;background:#f1f3f4;overflow:hidden;scroll-snap-align:start}
.antikot-media-thumbnails button[aria-pressed=true]{border-color:#172c38}
.antikot-media-thumbnails button img{width:100%;height:100%;object-fit:cover;margin:0}
.antikot-media-thumbnails button span{position:absolute;bottom:3px;right:3px;color:#fff;background:#19242deb;border-radius:4px;padding:1px 6px;font-size:14px}
.antikot-product-gallery button:focus-visible{outline:3px solid #2575b9;outline-offset:2px}
.antikot-media-lightbox{position:fixed;inset:0;z-index:999999;background:#111d;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:60px 16px 20px;box-sizing:border-box;isolation:isolate}
.antikot-lightbox-body{width:min(88vw,72vh,900px)}
.antikot-lightbox-body .antikot-gallery-stage{aspect-ratio:1/1;height:auto}
.antikot-lightbox-close{position:absolute;right:16px;top:14px;min-height:44px;padding:9px 16px}
.antikot-lightbox-nav{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:12px;color:#fff}
@media(max-width:600px){.antikot-gallery-navigation{flex-wrap:wrap}.antikot-media-thumbnails button{flex-basis:64px;width:64px;height:64px}.antikot-lightbox-nav{gap:8px;font-size:12px}.antikot-lightbox-nav button{font-size:12px;padding:9px 8px}.antikot-lightbox-body{width:min(92vw,70vh)}}

/* Homepage: original desktop/tablet photographs, tall inline MP4 on phones. */
.antikot-card-photo{display:block;width:100%;height:100%}
.antikot-card-photo img{width:100%;height:100%;object-fit:cover}
@media(min-width:601px){
 .antikot-card-media .antikot-video-frame,.antikot-card-media>[data-antikot-video-toggle]{display:none}
}
@media(max-width:600px){
 .antikot-card-media .antikot-card-photo{display:none}
 .antikot-product-grid{grid-template-columns:minmax(0,1fr);gap:22px}
 .antikot-product-card .antikot-card-media{height:min(calc((100vw - 30px)*1.25),52vh);height:min(calc((100vw - 30px)*1.25),52svh);min-height:280px}
 .antikot-card-media .antikot-video-cover,.antikot-card-media video{object-fit:contain;border-radius:0;box-shadow:none;background:#eceff1}
 .antikot-card-media img,.antikot-card-media:hover img{object-fit:contain;transform:none}
 .antikot-product-card .antikot-product-card-body{padding:16px 18px 18px}
 .antikot-product-card h3{font-size:25px;line-height:1.15;margin:0 0 9px}
 .antikot-product-card p{font-size:15px;line-height:1.4;margin:0 0 10px}
 .antikot-product-card p:last-child{margin-bottom:0}
 .antikot-product-card .antikot-feature-list{margin:10px 0}
 .antikot-product-card .antikot-feature-list li{margin:4px 0}
}
/* Explicit colours prevent Astra's yellow button defaults leaking into gallery. */
.antikot-product-gallery .antikot-gallery-navigation button,
.antikot-product-gallery .antikot-lightbox-nav button,
.antikot-product-gallery .antikot-lightbox-close{background:#eef1f3;color:#19242d;border:1px solid #ccd3d8}
.antikot-product-gallery .antikot-gallery-navigation button:hover,
.antikot-product-gallery .antikot-lightbox-nav button:hover,
.antikot-product-gallery .antikot-lightbox-close:hover{background:#19242d;color:#fff}
.antikot-product-gallery .antikot-media-thumbnails button:hover{background:#e3e8eb}
.antikot-youtube-player,.antikot-youtube-player iframe{width:100%;height:100%;display:block;border:0}
/* The cover and status never overlay a visible YouTube iframe or its controls. */
.antikot-youtube-player{visibility:hidden}
.antikot-video-frame.has-video-frame .antikot-youtube-player{visibility:visible}
.antikot-youtube-frame.has-video-frame .antikot-video-cover{display:none}
.antikot-youtube-slide .antikot-video-frame{height:calc(100% - 48px);overflow:visible}
.antikot-youtube-slide>[data-antikot-video-toggle]{bottom:4px;right:6px;min-height:40px}
.antikot-youtube-slide .antikot-video-status{top:auto;bottom:-44px;left:6px;right:150px;padding:4px;background:transparent;font-size:11px}
.antikot-gallery-caption{margin:10px 0;font-size:14px;color:#19242d;overflow-wrap:anywhere}
.antikot-gallery-caption p{margin:4px 0 0;white-space:pre-line}
/* Match the actual media format, including the enlarged view. Controls sit
   below YouTube; the iframe itself keeps an exact 9:16 or 16:9 rectangle. */
.antikot-gallery-stage-slot.antikot-video-layout{aspect-ratio:auto;width:min(100%,calc((100vh - 200px)*var(--media-ratio)));width:min(100%,calc((100svh - 200px)*var(--media-ratio)));margin-inline:auto}
.antikot-gallery-stage.antikot-video-layout{height:auto;aspect-ratio:var(--media-ratio);box-sizing:content-box}
.antikot-gallery-stage.antikot-youtube-layout{padding-bottom:48px}
.antikot-lightbox-body.antikot-video-layout{width:min(92vw,calc((100vh - 180px)*var(--media-ratio)),1100px);width:min(92vw,calc((100svh - 180px)*var(--media-ratio)),1100px)}
.antikot-lightbox-body .antikot-gallery-stage.antikot-video-layout{aspect-ratio:var(--media-ratio)}
.antikot-gallery-stage.antikot-youtube-layout{min-height:200px}
