/* Moved out of products/product_view_gallery.twig on 2026-11-16 (Semrush text/HTML ratio). */
  /* Make indicators look like neat thumbnails */
  .carousel-indicators.thumbs {
    position: static;
    margin: .75rem 0 0;
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
  }
  .carousel-indicators.thumbs li {
    width: auto;
    height: auto;
    text-indent: 0;
    border: none;
    background: transparent;
    cursor: pointer;
  }
  .carousel-indicators.thumbs img {
    width: 64px; height: 64px; object-fit: cover;
    border-radius: .5rem;
  }
  .carousel-indicators.thumbs .active img {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
  }

  /* --- ARROW BACKGROUNDS --- */
  .carousel-control-prev-icon,
  .carousel-control-next-icon{
    /* keep Bootstrap's SVG arrow, just style the box behind it */
    background-color: #0d6efd;      /* change this to your color */
    border-radius: 50%;
    width: 44px; height: 44px;      /* larger clickable target */
    background-size: 50% 50%;
    background-position: center;
    background-repeat: no-repeat;
    filter: invert(1);              /* make arrow visible on colored bg */
  }
  /* optional: pull controls a bit away from edges */
  .carousel-control-prev{ left: .25rem; }
  .carousel-control-next{ right: .25rem; }
/* --- IMAGE ANIMATION ---
   "slide" is Bootstrap's carousel class, but app.css also has a scroll-reveal
   .slide rule (fade in from 70% below over 1s) that made the photo fly up on every
   page load and colour change. Cancel it; fade the photo in and crossfade between
   images instead. */
#qvCarousel.slide { animation: none; visibility: visible; }
#qvCarousel .carousel-inner { animation: qv-img-in .4s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes qv-img-in {
  from { opacity: 0; transform: scale(.985); }
  to   { opacity: 1; transform: none; }
}
#qvCarousel.carousel-fade .carousel-item,
#qvCarousel.carousel-fade .active.carousel-item-left,
#qvCarousel.carousel-fade .active.carousel-item-right { transition: opacity .35s ease; }
@media (prefers-reduced-motion: reduce) {
  #qvCarousel .carousel-inner { animation: none; }
  #qvCarousel.carousel-fade .carousel-item,
  #qvCarousel.carousel-fade .active.carousel-item-left,
  #qvCarousel.carousel-fade .active.carousel-item-right { transition: none; }
}
