.item-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
  }
  
  .item-actions .btn {
    background: transparent;
    color: #aaa;
    border: none;
    font-size: 1rem;
    width: 22px;
    height: 22px;
  }
  
  .quantity-badge {
    font-size: 1.3rem;
    color: #fff;
    min-width: 30px;
  }
  
  .fancy-btn {
    --translate-offset: -10%;
    transform: translateY(var(--translate-offset));
    backdrop-filter: blur(8px);
    background: linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.02)
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px; /* ⬅️ Coins très subtils */
    color: #fff;
    bottom: 0 !important;
    width: 48%;
    height: 100%;
    z-index: 1;
    padding: 0;
    overflow: visible;
    position: absolute;
    transition: all 0.2s ease;
  }
  
  .fancy-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
  }
  
  .fancy-btn:active {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
  }
  
  
  .btn-label {
    font-size: 0.65rem;
    padding: 1px 2px;
    color: #fff;
    z-index: 2;
  }

  @media (min-width: 768px) {
    .fancy-btn {
        --translate-offset: -10%;
        transform: translateY(var(--translate-offset));
        backdrop-filter: blur(8px);
        background: linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.02)
        );
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 4px; /* ⬅️ Coins très subtils */
      width: 48%;
      height: 100%;
      transform: translateY(-5%);
      border-radius: 4px;
      bottom: 0 !important;
      z-index: 1;
      padding: 0;
      overflow: visible;
      position: absolute;
      transition: all 0.2s ease;
    }
  
    .btn-label {
      font-size: 0.6rem;
      padding: 1px 3px;
    }
  }
  

  @keyframes slide-out-right {
    0%   { opacity: 1; transform: translateX(0); }
    100% { opacity: 0; transform: translateX(60px); }
  }
  
  @keyframes slide-in-from-right-to-center {
    0%   { opacity: 0; transform: translateX(60px); }
    100% { opacity: 1; transform: translateX(0); }
  }
  
  .slide-out-right {
    animation: slide-out-right 0.2s ease forwards;
  }
  
  .slide-in-from-right {
    animation: slide-in-from-right-to-center 0.3s ease forwards;
  }
  
  .btn-page {
    min-width: 40px;
    text-align: center;
  }
  
  .zebradex-pagination {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: center;
    gap: 0.25rem;
    padding-bottom: 0.25rem;
  }
  
  .zebradex-pagination .btn-page {
    flex-shrink: 0;
    padding: 0.25rem 0.6rem;
    min-width: 2.2rem;
    text-align: center;
    white-space: nowrap;
    border: 1px solid white;
    background-color: black;
    color: white;
    border-radius: 0.25rem;
    transition: all 0.2s;
  }
  
  .zebradex-pagination .btn-page.active {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
  }
  
  .zebradex-pagination .btn-page:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }
  
  .card-missing {
  filter: grayscale(95%);
}


/* 📱 Responsive mobile */
@media (max-width: 480px) {
  .item-price {
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
  }
}

/* ❤️🔁 Boutons overlay wishlist / tradelist */
.overlay-action-btn {
  position: absolute;
  bottom: 4px;
  z-index: 8;
  width: 28px;
  height: 28px;
  padding: 0;
  font-size: 1rem;
  line-height: 1;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.overlay-action-btn:hover {
  background: rgba(0, 0, 0, 0.85);
}

.overlay-action-btn.wishlist-btn {
  left: 4px;
}

.overlay-action-btn.tradelist-btn {
  right: 4px;
}

.overlay-action-btn.active.wishlist-btn {
  background-color: #dc3545; /* rouge */
}

.overlay-action-btn.active.tradelist-btn {
  background-color: #0dcaf0; /* bleu clair */
}

.item-quantity {
  background: none !important;  /* ⛔ supprime le fond sombre */
  font-size: 1rem !important;
  font-weight: bold;
  color: #fff;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
  padding: 0.1rem 0.4rem;
}

/* 📱 Responsive mobile */
@media (max-width: 480px) {
.item-quantity {
  background: none !important;  /* ⛔ supprime le fond sombre */
  font-size: 0.7rem !important;
  font-weight: bold;
  color: #fff;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
  padding: 0.1rem 0.4rem;
}
}

.overlay-action-btn {
  position: absolute;
  bottom: 4px;
  z-index: 10;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: white;

  /* 💡 Centrage safe */
  display: grid;
  place-items: center;

  /* 🔒 Fix tout comportement Bootstrap parasite */
  line-height: 1 !important;
  font-size: 16px !important;
}

.overlay-action-btn i {
  line-height: 1 !important;
  font-size: 16px !important;
  display: block;
  padding: 0;
  margin: 0;
}

img {
  touch-action: manipulation;
}

.zebradex-price-btn {
  position: relative;
  font-size: 0.60rem;
  max-width: 75px;
  top: 50%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0.2rem 0.8rem 0.2rem 0.4rem; /* ⬅️ padding-end élargi pour flèche */
}

@media (min-width: 576px) {
  .zebradex-price-btn {
    font-size: 0.85rem;
    max-width: none;
    padding: 0.35rem 1rem 0.35rem 0.75rem;
  }
}

.chevron-absolute {
  position: absolute;
  top: 50%;
  right: 0.1rem;
  transform: translateY(-50%);
  height: 1em;
  width: auto;
  pointer-events: none;
  transition: transform 0.15s ease;
}

.zebradex-price-btn:hover .chevron-absolute {
  transform: translateY(-50%) translateX(2px);
}
