/* Bazooka Shopping Carousel */
.bzkshop-carousel { position: relative; overflow: hidden; }
.bzkshop-carousel .bzkshop-list {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  flex-flow: row nowrap !important;
  overflow-x: scroll !important;
  overflow-y: hidden !important;
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch;
  justify-content: flex-start !important;
  align-items: stretch !important;
  position: relative;
  z-index: 0;
  padding: 0 !important;
  list-style: none !important;
  gap: 0 !important;
}
.bzkshop-carousel .bzkshop-list::-webkit-scrollbar { display: none; }
.bzkshop-carousel .bzkshop-item {
  flex: 0 0 auto !important;
  box-shadow: none !important;
  transition: none !important;
  list-style: none !important;
  float: none !important;
}
.bzkshop-carousel .bzkshop-item:hover,
.bzkshop-carousel .bzkshop-item:focus {
  transform: none !important;
  box-shadow: none !important;
  transition: none !important;
}

/* Box/mini_box : forcer flex horizontal (override display:block de .bzkshop-box et flex-wrap de .mini-bzkshop-box) */
.bzkshop-carousel.bzkshop-box .bzkshop-list,
.bzkshop-carousel.mini-bzkshop-box .bzkshop-list {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  flex-flow: row nowrap !important;
  overflow-x: scroll !important;
  padding: 0 !important;
}
.bzkshop-carousel.bzkshop-box .bzkshop-item,
.bzkshop-carousel.mini-bzkshop-box .bzkshop-item {
  margin: 1em !important;
  flex: 0 0 auto !important;
  float: none !important;
}
/* Box style-4 : border visible en carousel */
.bzkshop-carousel.bzkshop-box.bzkshop--box-style4 .bzkshop-item {
  border: 1px solid #ddd !important;
}

/* Drag cursor */
.bzkshop-carousel .bzkshop-list.bzk-dragging {
  cursor: grabbing;
  scroll-behavior: auto !important;
  user-select: none;
  -webkit-user-select: none;
}
.bzkshop-carousel .bzkshop-list:not(.bzk-dragging) {
  cursor: grab;
  scroll-behavior: smooth;
}

/* Flèches */
.bzkshop-carousel-prev, .bzkshop-carousel-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; background: rgba(0,0,0,.5); color: #fff;
  border: none; border-radius: 50%; width: 36px; height: 36px;
  font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.bzkshop-carousel-prev { left: 4px; }
.bzkshop-carousel-next { right: 4px; }
.bzkshop-carousel-prev:hover, .bzkshop-carousel-next:hover { background: rgba(0,0,0,.75); }
.bzkshop-carousel-prev[disabled], .bzkshop-carousel-next[disabled] { opacity: .3; cursor: default; pointer-events: none; }

/* Mobile : mini_grid style3/4 pas de border-bottom en carousel */
@media screen and (max-width: 768px) {
  .bzkshop-carousel.bzkshop--minigrid-style3 .bzkshop-item,
  .bzkshop-carousel.bzkshop--minigrid-style4 .bzkshop-item {
    border-bottom: none !important;
  }
}
