/* ============================
   Category Slider — Clean CSS
   ============================ */
.categorie_slider-wrapper{
  --cat-tab-icon: 39px;      /* icon size */
  --cat-gap: 12px;           /* space between tabs */
  --cat-pad-y: 7px;          /* vertical padding inside tab */
  --cat-pad-x: 12px;         /* horizontal padding inside tab */

  position: relative;
  max-width: 100%;
  background: #fff;
  border-radius: 13px;
margin-top: 15px;
}
/* Arrow/gradient overlays */
.categorie_slider-wrapper .categorie_slider-icon {
    position: absolute;
    top: 0;
    height: 100%;
    width: 62px;
    display: flex;
    align-items: center;
    pointer-events: none;
    z-index: 2;
    opacity: 1;
}


.categorie_slider-icon:first-child{
  left: 0;
  /* default hidden; show via JS when scrollable left */
  display: none;
background: linear-gradient(
  90deg,
  rgba(255,255,255,1)   0%,
  rgba(255,255,255,.98) 30%,
  rgba(255,255,255,.90) 50%,
  rgba(255,255,255,.65) 70%,
  rgba(255,255,255,.35) 85%,
  rgba(255,255,255,0)  100%
);
}
.categorie_slider-icon:last-child{
  right: 0;
  justify-content: flex-end;
background: linear-gradient(
  -90deg,
  rgba(255,255,255,1)   0%,
  rgba(255,255,255,.98) 30%,
  rgba(255,255,255,.90) 50%,
  rgba(255,255,255,.65) 70%,
  rgba(255,255,255,.35) 85%,
  rgba(255,255,255,0)  100%
);
}
.categorie_slider-icon i {
    line-height: 30px;
    text-align: center;
    font-size: 16px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    z-index: 3;
    pointer-events: auto;
    width: 30px ! IMPORTANT;
    height: 30px !important;
}


.categorie_slider-icon i:hover{ background: #f8f1e4; }

/* Tabs track */
.categorie_slider-wrapper .categorie_slider-tabs-box{
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;        /* vertical center of items */
  gap: var(--cat-gap);
  list-style: none;
  padding: 0;
  margin: 0;

  overflow-x: auto;           /* allow swipe/drag scroll */
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
/* Hide scrollbar on WebKit */
.categorie_slider-wrapper .categorie_slider-tabs-box::-webkit-scrollbar{ display: none; }
/* When dragging, keep smooth off to avoid rubber-banding effect */
.categorie_slider-tabs-box.dragging{ scroll-behavior: auto; cursor: grab; }

/* Individual tab (the <li>) */
.categorie_slider-tabs-box .categorie_slider-tab {
    display: flex;
    align-items: center;
    white-space: nowrap;
    background: #ffffff;
    border: 1px solid #08203324;
    border-radius: 30px;
    padding: 5px 5px;
    padding-right: 13px;
    margin-bottom: 0px ! IMPORTANT;
    margin-left: 0px ! IMPORTANT;
}



/* Link inside a tab (icon + label in a row) */
.categorie_slider-tab-link{
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

/* Category icon (left) — force visible & square */
.categorie_slider-tab-icon{
  display: block !important;
  width: var(--cat-tab-icon) !important;
  height: var(--cat-tab-icon) !important;
  flex: 0 0 var(--cat-tab-icon) !important;
  border-radius: 50%;
  object-fit: cover;          /* use 'contain' if you prefer full logo in circle */
  opacity: 1 !important;
  visibility: visible !important;
}
.categorie_slider-tabs-box .categorie_slider-tab-icon.is-crop{
  object-fit:cover;
  object-position:center;
}
/* Optional: guard against global img rules */
.categorie_slider-tab-link img{
  max-width: none;
  height: var(--cat-tab-icon) !important;
}

/* Hover / Active states */
.categorie_slider-tabs-box .categorie_slider-tab:hover{
  background: #f8f1e4;
}

/* During drag: avoid disabling clicks permanently.
   If you previously had `.dragging .categorie_slider-tab { pointer-events:none; }`
   remove it; keeping user-select off is enough: */
.categorie_slider-tabs-box.dragging .categorie_slider-tab{
  user-select: none;
}
.categorie_slider-tabs-box.dragging { user-select: none; }
.categorie_slider-tab-link { -webkit-user-drag: none; user-drag: none; }
.categorie_slider-wrapper .categorie_slider-tabs-box {
  touch-action: pan-y; /* allow vertical page scroll, we'll manage horizontal */
}
.categorie_slider-wrapper .categorie_slider-tabs-box { touch-action: pan-y; }

