/* Carrousel des magasins (cg_shops_caroussel), chargé par le module */
#cg-shops-caroussel .shops-carousel{ position:relative; }
#cg-shops-caroussel .shops-arrows{
gap:.5rem; margin-top:.75rem;
}
#cg-shops-caroussel .shops-arrow{
  width:52px; height:52px; border:0;background:transparent;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
#cg-shops-caroussel .shops-arrow:hover{ transform:translateX(-1px); }
#cg-shops-caroussel .shops-arrow svg{ width:34px; height:34px; }
#cg-shops-caroussel .shops-arrow svg path{ stroke:#FFF; }

#cg-shops-caroussel .shops-arrow{
  position:absolute; top:32%;
}
#cg-shops-caroussel .shops-prev{ left:-10px; }
#cg-shops-caroussel .shops-next{ right:-10px; }

#cg-shops-caroussel .shop-title{
   height:24px;
   position: relative;
  text-align: center;
   top:-24px;
   color:#FFF;
   background-color: rgba(10, 10, 10, 0.6);
  transition: background-color .25s ease, color .25s ease;
  line-height: 24px;
}
#cg-shops-caroussel .shop-title a{
  text-decoration: none;
}

#cg-shops-caroussel .shop-card{
  display:block;
  width:100%;
  aspect-ratio: 1;
  background-image: var(--bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  filter: sepia(0);
  transition: filter .35s ease;
  will-change: filter;
}

#cg-shops-caroussel .shop-card:hover,
#cg-shops-caroussel .shop-card:focus-visible{
  filter: sepia(40%);
}

#cg-shops-caroussel a.shop-card:hover + .shop-title,
#cg-shops-caroussel a.shop-card:focus-visible + .shop-title{
  background-color: rgba(10, 10, 10, 0.2);
}

/* Valeur de gouttière réglable */
#cg-shops-caroussel{ --gutter:16px; }
/* Compense aux bords pour garder l’alignement */
#cg-shops-caroussel .slick-list{
  margin: 0 calc(var(--gutter) * -0.5);
}
/* Ajoute l’espace entre les items */
#cg-shops-caroussel .slick-slide{
  box-sizing: border-box;
  padding: 0 calc(var(--gutter) * 0.5);
}
