
/* MM Mini Cart – Recommendations Carousel Addon */

.mmmc-recs.mmmc-recs-carousel .mmmc-recs__grid{
  display: flex !important;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.mmmc-recs.mmmc-recs-carousel .mmmc-recs__grid::-webkit-scrollbar{
  height: 8px;
}
.mmmc-recs.mmmc-recs-carousel .mmmc-recs__grid::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,0.18);
  border-radius: 10px;
}

.mmmc-recs.mmmc-recs-carousel .mmmc-recs__item{
  flex: 0 0 auto;
  width: var(--mmmc-recs-card-width, 165px);
  scroll-snap-align: start;
  border: 1px solid var(--mmmc-border, #e5e5e5);
  border-radius: 12px;
  padding: 10px;
  background: #fff;
}

.mmmc-recs.mmmc-recs-carousel .mmmc-recs__img img{
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.mmmc-recs-carousel__header{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.mmmc-recs-carousel__arrows{
  display:flex;
  gap: 8px;
  align-items:center;
}

.mmmc-recs-carousel__arrow{
  border: 1px solid rgba(0,0,0,0.18);
  background: #fff;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}

.mmmc-recs-carousel__arrow:disabled{
  opacity: 0.45;
  cursor: not-allowed;
}
