.product-media[data-product-carousel]{position:relative}
.product-media[data-product-carousel]>img{width:100%;height:100%;object-fit:contain}
.product-media[data-product-carousel]>[hidden]{display:none}
.product-media .product-carousel-control{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:calc(var(--jyh-footer-space-unit)*8);height:calc(var(--jyh-footer-space-unit)*8);padding:0;border:0;background:transparent;color:var(--jyh-page-accent);cursor:pointer;box-shadow:none}
.product-media .product-carousel-control svg{width:calc(var(--jyh-footer-space-unit)*7);height:calc(var(--jyh-footer-space-unit)*6);fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.product-media .product-carousel-control:hover{color:var(--jyh-page-accent-hover)}
.product-media .product-carousel-control:focus-visible{outline:2px solid var(--jyh-page-accent);outline-offset:2px}
.product-media .product-carousel-prev{left:var(--jyh-footer-space-unit)}
.product-media .product-carousel-next{right:var(--jyh-footer-space-unit)}
.product-media .product-carousel-dots{position:absolute;bottom:calc(var(--jyh-footer-space-unit)*1.5);left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:var(--jyh-footer-space-unit);pointer-events:none}
.product-media .product-carousel-dots span{width:var(--jyh-footer-space-unit);height:var(--jyh-footer-space-unit);border-radius:50%;background:var(--jyh-page-muted);opacity:.45}
.product-media .product-carousel-dots span[aria-current="true"]{background:var(--jyh-panel-surface);box-shadow:0 0 0 1px var(--jyh-page-muted);opacity:1}
