/* === BOUTIQUE MAKABRE === */

/* ═══════════════════════════════════════════════════════
   CORRECTION DÉCALAGE HORIZONTAL - PRIORITÉ ABSOLUE
   ═══════════════════════════════════════════════════════ */

/* Forcer tous les conteneurs à rester dans l'écran */
.container-boutique,
.filtres-boutique,
.grid-produits,
.produit,
.panier-container,
.pagination {
  max-width: 100vw !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}

/* Corriger les paddings qui débordent */
@media (max-width: 768px) {
  .container-boutique {
    padding: 60px 2% 80px !important;
  }
  
  .grid-produits {
    padding: 0 5px !important;
    gap: 15px !important;
  }
  
  .filtres-boutique {
    padding: 20px 10px !important;
    margin: 0 5px 60px !important;
  }
  
  .panier-container {
    right: 5px !important;
    width: calc(100% - 10px) !important;
    max-width: 320px !important;
  }
}

@media (max-width: 480px) {
  .container-boutique {
    padding: 40px 1% 60px !important;
  }
  
  .grid-produits {
    padding: 0 3px !important;
    gap: 10px !important;
  }
  
  .panier-container {
    width: calc(100% - 10px) !important;
  }
}

/* ═══════════════════════════════════════════════════════
   STYLES NORMAUX
   ═══════════════════════════════════════════════════════ */

.container-boutique {
  width: 100%;
  margin: 0;
  padding: 80px 5% 100px;
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  border-top: 2px solid rgba(212,175,55,0.3);
  border-bottom: 2px solid rgba(212,175,55,0.3);
  box-shadow: 
    inset 0 0 50px rgba(212,175,55,0.15),
    inset 0 20px 40px rgba(0,0,0,0.5);
  color: var(--light-color);
  font-family: 'IM Fell English SC', serif;
  text-align: center;
  position: relative;
}

.container-boutique::before {
  content: '✦';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  color: rgba(212,175,55,0.3);
}

/* === FILTRES === */
.filtres-boutique {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 60px;
  padding: 25px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 12px;
  font-family: 'Cinzel Decorative', serif;
  color: var(--primary-color);
  box-shadow: 0 0 20px rgba(212,175,55,0.1);
  position: relative;
}

.filtres-boutique::before,
.filtres-boutique::after {
  content: '✦';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: rgba(212,175,55,0.5);
}

.filtres-boutique::before {
  left: 15px;
}

.filtres-boutique::after {
  right: 15px;
}

.filtres-boutique label {
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.9rem;
  text-shadow: 0 0 10px rgba(212,175,55,0.3);
}

.filtres-boutique select {
  background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
  color: var(--light-color);
  border: 2px solid rgba(212,175,55,0.4);
  border-radius: 8px;
  padding: 10px 16px;
  font-family: 'IM Fell English SC', serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
  min-width: 180px;
}

.filtres-boutique select:hover {
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(212,175,55,0.3);
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
}

.filtres-boutique select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(212,175,55,0.4);
}

/* === GRID PRODUITS === */
.grid-produits {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
  padding: 0 20px;
}

.produit {
  display: flex;
  flex-direction: column;
  text-align: center;
  background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  border: 2px solid rgba(212,175,55,0.2);
  border-radius: 12px;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(212,175,55,0.1);
  padding: 0;
  margin: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}

.produit::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(212,175,55,0.5) 50%, 
    transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.produit:hover {
  transform: translateY(-8px);
  border-color: rgba(212,175,55,0.6);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(212,175,55,0.3);
}

.produit:hover::before {
  opacity: 1;
}

.img-produit {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  border-radius: 10px 10px 0 0;
}

.img-produit::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, 
    transparent 0%, 
    transparent 60%, 
    rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}

.img-produit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.produit:hover .img-produit img {
  transform: scale(1.1);
}

.image-vertical {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.details-produit {
  margin-top: 0;
  padding: 15px 15px 20px;
  background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.details-produit h2,
.details-produit h3 {
  font-size: 1rem;
  font-weight: bold;
  margin: 0 0 5px 0;
  color: var(--light-color);
  font-family: 'Cinzel Decorative', serif;
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(212,175,55,0.2);
}

.details-produit .artiste {
  font-size: 0.8rem;
  color: var(--primary-color);
  margin: 0 0 5px 0;
  font-style: italic;
  letter-spacing: 0.3px;
}

.details-produit .prix {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin: 5px 0;
  font-weight: bold;
  font-family: 'Cinzel Decorative', serif;
  text-shadow: 0 0 15px rgba(212,175,55,0.3);
}

.stock-info {
  font-size: 0.8rem;
  margin: 5px 0;
  font-weight: 500;
}

.stock-disponible {
  color: #27ae60;
}

.stock-rupture {
  color: #e74c3c;
}

.description {
  font-size: 0.9em;
  color: #999;
  margin-bottom: 15px;
  height: 50px;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   DESCRIPTION COURTE - VERSION COMPACTE
   ═══════════════════════════════════════════════════════ */
.description-produit-courte {
  font-size: 0.75rem;
  color: #999;
  line-height: 1.3;
  margin: 5px 0;
  padding: 5px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 34px;
  max-height: 34px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ═══════════════════════════════════════════════════════
   BOUTON "VOIR PLUS" - SOUS LA DESCRIPTION
   ═══════════════════════════════════════════════════════ */
.btn-voir-plus {
  width: 100%;
  padding: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: #667eea;
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 5px 0 8px 0;
}

.btn-voir-plus:hover {
  background: rgba(102, 126, 234, 0.1);
  border-color: rgba(102, 126, 234, 0.5);
  color: #8094f7;
}

.btn-voir-plus i {
  font-size: 0.8rem;
}

/* ═══════════════════════════════════════════════════════
   SÉLECTEUR DE QUANTITÉ SUR LA CARTE - COMPACT
   ═══════════════════════════════════════════════════════ */
.quantity-selector-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 0;
}

.quantity-selector-card label {
  font-size: 0.8rem;
  color: #ccc;
  font-weight: 500;
}

.quantity-control-card {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.quantity-control-card button {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 1.1rem;
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.quantity-control-card button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.quantity-control-card input {
  flex: 1;
  background: transparent;
  border: none;
  color: white;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px;
  width: 45px;
}

/* ═══════════════════════════════════════════════════════
   BOUTON "AJOUTER AU PANIER" SUR LA CARTE - COMPACT
   ═══════════════════════════════════════════════════════ */
.btn-ajouter-card {
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 6px;
}

.btn-ajouter-card:hover:not(.btn-disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.btn-ajouter-card.btn-disabled {
  background: #6c757d;
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-ajouter-card i {
  font-size: 0.9rem;
}

/* Ancien bouton ajouter (gardé pour compatibilité) */
.btn-ajouter {
  padding: 10px 15px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #b99426 100%);
  color: #000;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(212,175,55,0.2);
  margin-top: auto;
}

.btn-ajouter:hover {
  background: linear-gradient(135deg, #f3d36d, var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(212,175,55,0.5);
}

.btn-ajouter i {
  margin-right: 6px;
  font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════
   BADGES DE STOCK
   ═══════════════════════════════════════════════════════ */
.badge-rupture,
.badge-limite {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.badge-rupture {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
}

.badge-limite {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: white;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Produit en rupture de stock */
.produit-rupture {
  opacity: 0.6;
  position: relative;
}

.produit-rupture::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

/* Bouton désactivé */
.btn-disabled {
  background: #95a5a6 !important;
  cursor: not-allowed !important;
  opacity: 0.6;
}

.btn-disabled:hover {
  background: #95a5a6 !important;
  transform: none !important;
}

/* ═══════════════════════════════════════════════════════
   MODAL DÉTAILS DU PRODUIT - COMPACT AVEC ZOOM
   ═══════════════════════════════════════════════════════ */
.modal-produit {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  padding: 20px;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: linear-gradient(145deg, #1e1e1e 0%, #2a2a2a 100%);
  border-radius: 20px;
  max-width: 650px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
  position: relative;
  animation: slideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Scrollbar du modal */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(102, 126, 234, 0.5);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(102, 126, 234, 0.7);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: none;
  color: white;
  font-size: 1.8rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  line-height: 1;
}

.modal-close:hover {
  background: rgba(255, 77, 77, 0.8);
  transform: rotate(90deg);
}

.modal-header {
  padding: 35px 35px 20px 35px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
  font-size: 1.8rem;
  color: white;
  margin: 0 0 8px 0;
  font-weight: 700;
}

.modal-artiste {
  font-size: 1rem;
  color: #999;
  margin: 0;
}

.modal-artiste span {
  color: #667eea;
  font-weight: 600;
}

.modal-body {
  padding: 25px 35px 35px 35px;
}

/* Image avec zoom */
.modal-image-compact {
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  cursor: zoom-in;
}

.modal-image-compact.zoom-active {
  cursor: zoom-out;
  overflow: auto;
  height: 450px;
}

.modal-image-compact img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 15px;
  transition: all 0.3s ease;
}

.modal-image-compact img.zoomed {
  width: 200%;
  height: 200%;
  object-fit: contain;
  padding: 0;
  cursor: move;
}

.zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.75rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-image-compact:hover .zoom-hint {
  opacity: 1;
}

.modal-description-full h3 {
  font-size: 1.1rem;
  color: white;
  margin: 0 0 12px 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-description-full h3::before {
  content: "📝";
  font-size: 1.2rem;
}

.modal-description-full p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.7;
  margin: 0;
  white-space: pre-wrap;
  max-height: 180px;
  overflow-y: auto;
  padding-right: 10px;
}

.modal-description-full p::-webkit-scrollbar {
  width: 5px;
}

.modal-description-full p::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.modal-description-full p::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.modal-info-footer {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-prix-stock {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-prix {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.modal-stock {
  font-size: 1rem;
  margin: 0;
}

/* === PAGINATION === */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(212,175,55,0.2);
}

.pagination a {
  padding: 12px 18px;
  margin: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
  border: 2px solid rgba(212,175,55,0.3);
  text-decoration: none;
  color: var(--light-color);
  border-radius: 8px;
  font-family: 'Cinzel Decorative', serif;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 45px;
  text-align: center;
}

.pagination a:hover {
  background: linear-gradient(135deg, var(--primary-color) 0%, #b99426 100%);
  color: #000;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212,175,55,0.4);
}

.pagination a.active {
  background: linear-gradient(135deg, var(--primary-color) 0%, #b99426 100%);
  color: #000;
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(212,175,55,0.4);
}

.page-prev, .page-next {
  padding: 12px 25px !important;
  font-weight: 600;
  letter-spacing: 1px;
}

.page-dots {
  padding: 10px 5px;
  color: var(--primary-color);
  font-size: 1.2rem;
}

/* === PANIER RÉTRACTABLE === */
.panier-container {
  position: fixed;
  right: 20px;
  top: 100px;
  width: 380px;
  background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  border-radius: 15px;
  box-shadow: 
    0 8px 40px rgba(0, 0, 0, 0.7), 
    0 0 25px rgba(212, 175, 55, 0.3);
  z-index: 1000;
  transition: all 0.4s ease;
  border: 2px solid rgba(212, 175, 55, 0.4);
  overflow: hidden;
}

.panier-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--primary-color) 50%, 
    transparent 100%);
}

.panier-container.collapsed {
  width: 200px;
  height: auto;
}

.panier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: linear-gradient(135deg, #2c5f2d 0%, #1e4620 100%);
  color: white;
  border-radius: 13px 13px 0 0;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  position: relative;
}

.panier-header::after {
  content: '✦';
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  font-size: 16px;
  color: rgba(212,175,55,0.3);
}

.panier-container.collapsed .panier-header {
  border-radius: 13px;
  padding: 15px 15px;
}

.panier-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 20px;
}

.panier-icon {
  font-size: 26px;
  position: relative;
  line-height: 1;
  filter: drop-shadow(0 0 5px rgba(212,175,55,0.3));
}

.panier-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
  color: white;
  border-radius: 50%;
  min-width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  padding: 0 6px;
  box-shadow: 0 2px 8px rgba(255, 68, 68, 0.6);
  border: 2px solid #1e4620;
}

.panier-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  font-family: 'Cinzel Decorative', serif;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.panier-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.3s ease;
  padding: 5px;
  line-height: 1;
  margin-left: 10px;
  filter: drop-shadow(0 0 3px rgba(212,175,55,0.5));
}

.panier-container.collapsed .panier-toggle {
  transform: rotate(180deg);
}

.panier-header-price {
  font-size: 16px;
  font-weight: 700;
  margin-left: auto;
  margin-right: 5px;
  display: none;
  white-space: nowrap;
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(212,175,55,0.5);
}

.panier-container.collapsed .panier-header-price {
  display: block;
}

.panier-container.collapsed .panier-title {
  display: none;
}

.panier-content {
  max-height: 450px;
  overflow-y: auto;
  padding: 20px;
  display: block;
  background: #0d0d0d;
}

.panier-container.collapsed .panier-content {
  display: none;
}

.panier-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  align-items: center;
  background: rgba(26, 26, 26, 0.6);
  border-radius: 10px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.panier-item:hover {
  background: rgba(44, 95, 45, 0.15);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 15px rgba(212,175,55,0.1);
}

.panier-item:last-child {
  border-bottom: none;
}

.panier-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.produit-info {
  flex: 1;
}

.produit-info span {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--light-color);
  font-family: 'IM Fell English SC', serif;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.quantity-control button {
  width: 32px;
  height: 32px;
  border: 2px solid var(--primary-color);
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
  color: var(--primary-color);
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(212,175,55,0.1);
}

.quantity-control button:hover {
  background: linear-gradient(135deg, var(--primary-color) 0%, #b99426 100%);
  color: #000;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  transform: scale(1.05);
}

.quantity-control input {
  width: 50px;
  text-align: center;
  border: 2px solid rgba(212, 175, 55, 0.4);
  background: #000;
  color: var(--light-color);
  border-radius: 8px;
  padding: 6px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Cinzel Decorative', serif;
}

#panier-total {
  padding: 20px;
  border-top: 2px solid rgba(212, 175, 55, 0.4);
  background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  border-radius: 0 0 13px 13px;
  display: block;
  box-shadow: inset 0 4px 10px rgba(0,0,0,0.3);
}

.panier-container.collapsed #panier-total {
  display: none;
}

#panier-total p {
  margin: 0 0 18px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--light-color);
  display: flex;
  justify-content: space-between;
  font-family: 'Cinzel Decorative', serif;
  letter-spacing: 1px;
}

#total-price {
  color: var(--primary-color);
  font-size: 22px;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  font-weight: 700;
}

.btn-payer {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #b99426 100%);
  color: #000;
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: 'Cinzel Decorative', serif;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.btn-payer:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6);
  background: linear-gradient(135deg, #f3d36d, var(--primary-color));
}

.btn-payer:disabled {
  background: linear-gradient(135deg, #333 0%, #222 100%);
  cursor: not-allowed;
  opacity: 0.4;
  color: #666;
  border-color: #444;
}

.panier-empty {
  text-align: center;
  padding: 40px 20px;
  color: rgba(212,175,55,0.5);
  font-family: 'IM Fell English SC', serif;
}

.panier-empty i {
  font-size: 60px;
  margin-bottom: 20px;
  opacity: 0.3;
  display: block;
  filter: drop-shadow(0 0 10px rgba(212,175,55,0.2));
}

.panier-empty p {
  font-size: 16px;
  letter-spacing: 0.5px;
}

.panier-content::-webkit-scrollbar {
  width: 8px;
}

.panier-content::-webkit-scrollbar-track {
  background: #0d0d0d;
  border-radius: 10px;
}

.panier-content::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-color) 0%, #b99426 100%);
  border-radius: 10px;
}

.panier-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f3d36d, var(--primary-color));
}

/* Message "Aucun produit" */
.aucun-produit {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: rgba(212,175,55,0.6);
}

.aucun-produit p {
  font-size: 1.4rem;
  margin-bottom: 25px;
  font-family: 'Cinzel Decorative', serif;
  letter-spacing: 1px;
}

.btn-reset {
  display: inline-block;
  padding: 14px 35px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #b99426 100%);
  color: #000;
  text-decoration: none;
  border-radius: 10px;
  font-family: 'Cinzel Decorative', serif;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  letter-spacing: 1px;
  box-shadow: 0 0 20px rgba(212,175,55,0.3);
}

.btn-reset:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
  background: linear-gradient(135deg, #f3d36d, var(--primary-color));
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .container-boutique {
    padding: 60px 3% 80px;
  }

  /* 2 produits par ligne sur tablette */
  .grid-produits {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
    padding: 0 10px;
  }

  .panier-container {
    right: 10px;
    top: 80px;
    width: 320px;
  }
  
  .panier-container.collapsed {
    width: 140px !important;
  }

  .filtres-boutique {
    padding: 20px 10px;
    gap: 15px;
  }

  .filtres-boutique select {
    min-width: 150px;
    font-size: 0.85rem;
  }

  .pagination a {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
  
  .quantity-selector-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  
  .quantity-control-card {
    width: 100%;
  }
  
  .btn-ajouter-card {
    font-size: 0.8rem;
    padding: 9px;
  }
  
  .details-produit h2,
  .details-produit h3 {
    font-size: 0.95rem;
  }
  
  .details-produit .artiste {
    font-size: 0.75rem;
  }
  
  /* Modal responsive */
  .modal-content {
    max-width: 95%;
    max-height: 90vh;
    border-radius: 16px;
  }
  
  .modal-header {
    padding: 25px 20px 15px 20px;
  }
  
  .modal-header h2 {
    font-size: 1.4rem;
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .modal-image-compact {
    height: 220px;
  }
  
  .modal-image-compact.zoom-active {
    height: 350px;
  }
  
  .modal-prix {
    font-size: 1.8rem;
  }
  
  .modal-description-full p {
    max-height: 150px;
  }
}

@media (max-width: 480px) {
  /* 2 produits par ligne même sur petit écran */
  .grid-produits {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }

  .panier-container {
    width: calc(100% - 20px);
    right: 10px;
  }

  .panier-container.collapsed {
    width: 120px !important;
  }
  
  .filtres-boutique {
    padding: 15px 5px;
  }
  
  .filtres-boutique::before,
  .filtres-boutique::after {
    display: none;
  }
  
  .pagination {
    padding: 20px 5px;
  }
  
  .img-produit {
    height: 180px;
  }
  
  .details-produit h2,
  .details-produit h3 {
    font-size: 0.9rem;
  }
  
  .details-produit .prix {
    font-size: 1.1rem;
  }
}