.study-gallery{position:relative}
.study-gallery .card-photo:not(.scrollable) img:not(:first-child){display:none}
.card-photo.scrollable{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none}
.card-photo.scrollable::-webkit-scrollbar{display:none}
.card-photo.scrollable img{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;transform:none;user-select:none}
.card-photo:focus-visible{outline:3px solid #97552d;outline-offset:3px}
.gallery-controls{position:absolute;right:10px;bottom:10px;display:flex;align-items:center;background:#faf8f1f2;color:#253c32;border-radius:30px;box-shadow:0 1px 6px #0002}
.gallery-controls button,.slideshow-switch,.product-loop{color:inherit;border:0;background:none}
.gallery-controls button{width:44px;height:44px;border-radius:50%;font-size:18px}
.gallery-controls button:hover{background:#253c321a}
.frame-no{font:11px Arial,sans-serif;letter-spacing:.06em;font-variant-numeric:tabular-nums}
.slideshow-switch,.product-loop{border:1px solid currentColor;border-radius:22px;min-height:40px;padding:8px 18px;font-size:12px}
.slideshow-switch{display:block;margin:20px auto 0}
.slideshow-switch[aria-pressed=true]{background:#253c32;color:#faf8f1}
.product-player{min-width:0}.product-loop{margin-top:12px;color:#f8f4e7}
.intro-actions{position:absolute;z-index:4;bottom:16px;right:clamp(16px,3vw,50px);display:flex;gap:7px}
.intro-actions .film-toggle,.intro-loop{position:static;min-height:40px;padding:10px 15px;border:1px solid #fff8;border-radius:30px;color:white;background:#18231dd9;font-size:12px}
.intro-loop[aria-pressed=true]{background:#f8f4e7;color:#253c32}
.gallery-controls[hidden],.slideshow-switch[hidden],.intro-actions button[hidden],.product-loop[hidden]{display:none}
