/* Responsive Slider - namespaced to avoid conflicts with the OpenCart default theme. */
.ocrs-slider{width:100%;max-width:100%;margin:18px 0 20px;box-sizing:border-box}
.ocrs-slider *, .ocrs-slider *::before, .ocrs-slider *::after{box-sizing:border-box}
.ocrs-slider__stage{position:relative;width:100%;aspect-ratio:var(--ocrs-desktop-ratio,8 / 3);overflow:hidden;background:transparent;touch-action:pan-y}
/* Keep the outgoing slide visible while the next one fades in. */
.ocrs-slider__slide{position:absolute;inset:0;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .9s ease-in-out,visibility 0s linear .9s}
.ocrs-slider__slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:1;transition:opacity .9s ease-in-out,visibility 0s}
.ocrs-slider__panel,.ocrs-slider__picture{display:block;width:100%;height:100%}
.ocrs-slider__image{display:block;width:100%;height:100%;object-fit:contain;border:0;max-width:none;user-select:none;-webkit-user-drag:none}
.ocrs-slider__arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:40px;height:44px;padding:0;border:0;border-radius:4px;background:rgba(0,0,0,.37);color:#fff;cursor:pointer;line-height:1;font-size:36px;text-align:center}
.ocrs-slider__arrow--previous{left:10px}
.ocrs-slider__arrow--next{right:10px}
.ocrs-slider__arrow:hover{background:rgba(0,0,0,.58)}
.ocrs-slider__arrow span{display:block;margin-top:-4px}
.ocrs-slider__dots{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:10px;min-height:16px}
.ocrs-slider__dot{width:10px;height:10px;min-width:10px;padding:0;border:0;border-radius:50%;background:#c5c5c5;cursor:pointer}
.ocrs-slider__dot.is-active{background:#555}
.ocrs-slider__arrow:focus-visible,.ocrs-slider__dot:focus-visible,.ocrs-slider__panel:focus-visible{outline:3px solid #1169bf;outline-offset:3px}
@media (max-width:767px){.ocrs-slider__stage{aspect-ratio:var(--ocrs-mobile-ratio,75 / 68)}.ocrs-slider__arrow{display:none}}
@media (prefers-reduced-motion:reduce){.ocrs-slider__slide{transition:none}}
