/* Import des variables globales */
@import url("aromex-variables.css");

/* Masquer les flèches des inputs number */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

/* ===== PAGE PRODUITS AROMEX ===== */

.aromex-products-page {
  font-family: var(--aromex-font-family-primary);
  color: var(--aromex-black);
  line-height: 1.6;
  background-color: #f8f9fa;
}

/* ===== HERO SLIDER CARROUSEL ===== */
.hero-slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* ===== HERO SLIDER SECTION ===== */
.hero-slider {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  height: 473px;
  width: 2282px;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  display: none;
  align-items: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slider.active {
  display: flex;
}

.hero-slider.visible {
  opacity: 1;
}

/* Overlay pour améliorer la lisibilité du texte sur l'image */
.hero-slider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 1;
}

.slider-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.slider-text {
  flex: 1;
  color: white;
  max-width: 600px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.tattoo-logo {
  margin-bottom: 20px;
}

.tattoo-logo img {
  height: 60px;
  width: auto;
}

.slider-title {
  font-family: var(--aromex-font-family-primary);
  font-size: 4rem;
  font-weight: bold;
  margin: 0;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: white;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.slider-subtitle {
  font-family: var(--aromex-font-family-primary);
  font-size: 4rem;
  font-weight: bold;
  margin: 0;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ff6b35;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.slider-description {
  font-family: var(--aromex-font-family-primary);
  font-size: 2rem;
  font-style: italic;
  margin: 10px 0;
  color: #f0f0f0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.slider-tagline {
  font-family: var(--aromex-font-family-primary);
  font-size: 1.2rem;
  margin: 20px 0 30px 0;
  color: #e0e0e0;
  line-height: 1.4;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.btn-discover {
  font-family: var(--aromex-font-family-primary);
  display: inline-block;
  background: #ff6b35;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  text-shadow: none;
}

.btn-discover:hover {
  background: #e55a2b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
  color: white;
  text-decoration: none;
}

.slider-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.products-showcase {
  position: relative;
  width: 500px;
  height: 400px;
}

.product-bottles {
  position: relative;
  width: 100%;
  height: 100%;
}

.bottle {
  position: absolute;
  transition: transform 0.3s ease;
}

.bottle img {
  height: 120px;
  width: auto;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

/* Positionnement des bouteilles en arc */
.bottle-1 {
  top: 20%;
  left: 10%;
  transform: rotate(-15deg);
}
.bottle-2 {
  top: 10%;
  left: 30%;
  transform: rotate(-5deg);
}
.bottle-3 {
  top: 5%;
  left: 50%;
  transform: rotate(5deg);
}
.bottle-4 {
  top: 15%;
  left: 70%;
  transform: rotate(15deg);
}
.bottle-5 {
  top: 60%;
  left: 5%;
  transform: rotate(-10deg);
}
.bottle-6 {
  top: 50%;
  left: 25%;
  transform: rotate(0deg);
}
.bottle-7 {
  top: 45%;
  left: 55%;
  transform: rotate(10deg);
}
.bottle-8 {
  top: 55%;
  left: 75%;
  transform: rotate(20deg);
}

.bottle:hover {
  transform: scale(1.1) rotate(0deg);
  z-index: 10;
}

/* ===== SECTION PRODUITS ===== */
.products-section {
  background-color: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-family: var(--aromex-font-family-primary);
  text-align: left;
  font-size: 2rem;
  margin: 0;
  font-weight: 100;
  color: var(--aromex-black);
  text-transform: uppercase;
}

/* ===== FILTRES EN HAUT ===== */
.products-filters {
  background: white;
  padding: 30px 0;
  margin-bottom: 0;
}

.product-filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #999;
}

.search-container {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-input {
  font-family: var(--aromex-font-family-primary);
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  outline: none;
  width: 300px;
  font-size: 0.9rem;
  background: transparent;
}

.search-btn {
  background: transparent;
  border: none;
  padding: 10px;
  border-radius: 50%;
  color: var(--aromex-black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.search-btn:hover {
  background: #e55a2b;
}

.filter-tabs {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

/* Styles pour les nouveaux filtres groupés */
.filter-group {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-group-title {
  font-family: var(--aromex-font-family-primary);
  font-weight: 700;
  color: #333;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 10px;
}

.filter-tab-link {
  font-family: var(--aromex-font-family-primary);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 8px 16px;
  background: white;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.8rem;
  color: #333;
  margin-bottom: 5px;
}

.filter-tab-link:hover {
  background: #f0f0f0;
  border-color: #333;
  text-decoration: none;
  color: #333;
  transform: translateY(-1px);
}

.filter-tab-link.active {
  background: #333;
  color: white;
  border-color: #333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.filter-tab-link.active:hover {
  background: #222;
  color: white;
}

/* Indicateur de catégorie active dans le titre */
.category-filter-indicator {
  color: var(--aromex-black);
  font-size: 1em;
  font-weight: 500;
}

.filter-tab {
  font-family: var(--aromex-font-family-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  padding: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  color: #333;
}

.filter-tab input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border: 2px solid #999;
  border-radius: 3px;
  background: white;
  cursor: pointer;
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.filter-tab input[type="checkbox"]:checked {
  background: #333;
  border-color: #333;
}

.filter-tab input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.filter-tab:hover {
  color: #000;
}

.filter-tab:hover input[type="checkbox"] {
  border-color: #333;
}

.clear-filters-btn {
  font-family: var(--aromex-font-family-primary);
  background: #ff6b35;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.8rem;
  margin-left: 20px;
  text-decoration: none;
  display: inline-block;
}

.clear-filters-btn:hover {
  background: #e55a2b;
  text-decoration: none;
  color: white;
}

/* ===== LAYOUT PRINCIPAL ===== */
.products-main-content {
  display: flex;
  gap: 5px;
  align-items: flex-start;
  background-color: var(--aromex-white);
}

/* ===== CONTENU PRINCIPAL (PRODUITS À GAUCHE) ===== */
.products-content {
  flex: 1;
  order: 1;
}

/* ===== GRILLE PRODUITS ===== */
.products-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: white;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-card {
  border-bottom: 1px solid #e9ecef;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.product-card:hover {
  background-color: var(--aromex-grey-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Alternance des couleurs des produits */
.product-card:nth-child(odd) {
  background-color: #fff;
}

.product-card:nth-child(even) {
  background-color: var(--aromex-grey-light);
  color: var(--aromex-black);
}

/* Style hover spécifique pour chaque type de carte */
.product-card:nth-child(odd):hover {
  background-color: #f8f9fa;
}

.product-card:nth-child(even):hover {
  background-color: #e9ecef;
}

.product-card:last-child {
  border-bottom: none;
}

.product-image {
  width: 225px;
  height: 140px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.product-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.product-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 80px;
}

.product-main-info {
  flex: 1;
  min-width: 300px;
}

.product-name {
  font-family: var(--aromex-font-family-primary);
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-description {
  font-family: var(--aromex-font-family-primary);
  color: #666;
  margin-bottom: 15px;
  line-height: 1.4;
  font-size: 0.9rem;
}

/* ===== VARIANTS NICOTINE ===== */
.product-variants {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  flex-direction: row;
  position: relative;
  z-index: 3;
}

.product-variants label {
  font-family: var(--aromex-font-family-primary);
  display: block;
  font-weight: 600;
  color: #333;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.variants-options {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-left: 10px;
}

.variant-btn {
  font-family: var(--aromex-font-family-primary);
  background: var(--aromex-grey-light);
  border: 1px solid var(--aromex-grey-dark);
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #333;
}

.variant-btn:hover,
.variant-btn.active {
  background: #333;
  color: white;
  border-color: #333;
}

/* ===== ACTIONS PRODUIT ===== */
.product-actions {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  flex-wrap: nowrap;
  position: relative;
  z-index: 2;
}

.product-price {
  font-family: var(--aromex-font-family-primary);
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
  min-width: 100px;
  text-align: center;
}

.product-price .currency {
  font-size: 1.4rem;
}

.product-price .unit {
  font-size: 0.8rem;
  color: #666;
  font-weight: normal;
  margin-left: 4px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  background: white;
  position: relative;
  z-index: 3;
}

.qty-btn {
  font-family: var(--aromex-font-family-primary);
  background: #f8f9fa;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
  color: #333;
  font-size: 1rem;
}

.qty-btn:hover {
  background: #e9ecef;
}

.qty-input {
  font-family: var(--aromex-font-family-primary);
  border: none;
  padding: 8px 12px;
  width: 50px;
  text-align: center;
  outline: none;
  background: white;
  font-weight: bold;
}

/* Tous les boutons ont le même style de base */
.product-card .btn-add-cart {
  background: transparent;
  color: var(--aromex-black);
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  font-size: 0.8rem;
}

.btn-add-cart-icon {
  display: flex;
  position: absolute;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: transparent;
  transition: all 0.3s ease;
  right: 211px;
}

.btn-add-cart-text {
  font-family: var(--aromex-font-family-primary);
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  padding: 12px;
}

.product-card:nth-child(even) .btn-add-cart-icon {
  background: var(--aromex-white);
  color: var(--aromex-black);
}

.product-card:nth-child(even) .btn-add-cart-text {
  background: var(--aromex-white);
  color: var(--aromex-black);
}

/* ===== DÉTAILS PRODUIT ===== */
.product-details {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-width: 120px;
  margin-top: 10px;
}

.product-min-qty {
  display: flex;
  align-items: center;
  padding: 2px 8px;
  background-color: var(--aromex-blue-hover);
  color: white;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 600;
}

.product-min-qty small {
  margin: 0;
  font-size: 0.7rem;
}

.btn-details {
  font-family: var(--aromex-font-family-primary);
  background: var(--aromex-grey-light);
  color: var(--aromex-black);
  padding: 12px 20px;
  border-radius: 15px;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--aromex-grey-dark);
  white-space: nowrap;
  position: relative;
  z-index: 4;
}

.btn-details:hover {
  background: var(--aromex-black);
  color: var(--aromex-blue-hover);
}

.btn-details:active {
  background: var(--aromex-blue-hover);
  color: var(--aromex-blue-hover);
}

.product-quantity {
  font-family: var(--aromex-font-family-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  color: #666;
  font-size: 0.8rem;
  font-weight: 600;
}

.product-quantity img {
  width: 16px;
  height: 16px;
}

.product-click-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
}

.product-click-hint small {
  font-family: var(--aromex-font-family-primary);
  color: #999;
  font-size: 0.7rem;
  font-weight: 500;
  text-align: center;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.product-card:hover .product-click-hint small {
  color: var(--aromex-blue-hover);
  opacity: 1;
  transform: scale(1.05);
}

/* ===== SIDEBAR DROITE (PANIER) ===== */
.products-sidebar {
  width: 350px;
  flex-shrink: 0;
  order: 2;
  position: sticky;
  top: 70px;
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  background: white;
  padding: 15px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.products-count {
  font-family: var(--aromex-font-family-primary);
  font-size: 0.9rem;
  color: #666;
  font-weight: 600;
}

.cart-toggle {
  font-family: var(--aromex-font-family-primary);
  background: #ff6b35;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-size: 0.8rem;
}

.cart-toggle:hover {
  background: #e55a2b;
}

/* ===== PANIER INTÉGRÉ ===== */
.cart-section {
  background: white;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 200px);
  min-height: 700px;
}

.cart-header {
  padding: 30px 20px 20px 20px;
  border-bottom: 1px solid var(--aromex-black);
  background: white;
}

.cart-title {
  font-family: var(--aromex-font-family-primary);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #333;
  margin: 0;
  text-align: center;
}

.cart-content {
  flex: 1;
  overflow-y: auto;
}

.cart-items {
  padding: 0;
}

.cart-empty {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-style: italic;
}

.cart-empty p {
  font-family: var(--aromex-font-family-primary);
  margin: 0;
  font-size: 0.9rem;
}

.cart-item {
  display: flex;
  align-items: flex-start;
  padding: 0 0 30px 0;
  border-bottom: 1px solid var(--aromex-black);
  margin-bottom: 30px;
  gap: 15px;
}

.cart-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.cart-item-image {
  width: 100px;
  height: 150px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 4px;
  border-radius: 3px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.cart-item-remove:hover {
  background: #ff4444;
  color: white;
}

.cart-item-remove svg {
  width: 14px;
  height: 14px;
}

.cart-item-price {
  font-family: var(--aromex-font-family-primary);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--aromex-grey-dark);
}

.cart-item-name {
  font-family: var(--aromex-font-family-primary);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--aromex-black);
  text-transform: uppercase;
  line-height: 1.2;
}

.cart-item-description {
  font-family: var(--aromex-font-family-primary);
  font-size: 0.85rem;
  color: var(--aromex-black);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2;
}

.cart-item-variant {
  font-family: var(--aromex-font-family-primary);
  font-size: 0.8rem;
  color: var(--aromex-black);
  font-weight: 500;
  font-style: italic;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 3px;
  overflow: hidden;
  background: white;
}

.cart-qty-btn {
  font-family: var(--aromex-font-family-primary);
  background: white;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
  color: #333;
  font-size: 1rem;
  min-width: 35px;
}

.cart-qty-btn:hover {
  background: #f5f5f5;
}

.cart-qty-input {
  font-family: var(--aromex-font-family-primary);
  border: none;
  padding: 8px 5px;
  width: 35px;
  text-align: center;
  outline: none;
  background: white;
  font-weight: bold;
  font-size: 0.9rem;
}

.cart-item-quantity {
  font-family: var(--aromex-font-family-primary);
  font-size: 0.8rem;
  color: #666;
  font-weight: 600;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--aromex-black);
  background: white;
}

.cart-delivery {
  font-family: var(--aromex-font-family-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #333;
  font-weight: 600;
  text-transform: uppercase;
}

.cart-total {
  font-family: var(--aromex-font-family-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-clear-btn {
  font-family: var(--aromex-font-family-primary);
  width: 100%;
  background: transparent;
  color: #ff4444;
  border: 2px solid #ff4444;
  padding: 10px;
  border-radius: 3px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.8rem;
}

.cart-clear-btn:hover {
  background: #ff4444;
  color: white;
}

.cart-checkout-btn {
  font-family: var(--aromex-font-family-primary);
  width: 100%;
  background: white;
  color: #333;
  border: 2px solid #ccc;
  padding: 12px;
  border-radius: 3px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.cart-checkout-btn:hover {
  background: #333;
  color: white;
  border-color: #333;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .aromex-products-page {
    padding: 0;
  }

  /* Hero Slider */
  .hero-slider {
    min-height: 350px;
    padding: 20px 0;
  }

  .slider-content {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 20px;
  }

  .slider-text {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .slider-title,
  .slider-subtitle {
    font-size: 2rem;
    line-height: 1.2;
  }

  .slider-description {
    font-size: 1.5rem;
  }

  .slider-tagline {
    font-size: 1rem;
  }

  .products-showcase {
    width: 250px;
    height: 200px;
  }

  .bottle img {
    height: 60px;
  }

  /* Section produits */
  .products-section {
    padding: 0;
  }

  .container {
    padding: 0 15px;
  }

  /* Filtres */
  .products-filters {
    padding: 20px 0;
  }

  .product-filters-header {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
  }

  .section-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 10px;
  }

  .search-container {
    align-self: stretch;
    max-width: 100%;
  }

  .search-input {
    width: 100%;
    font-size: 16px; /* Évite le zoom sur iOS */
  }

  .filter-tabs {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .filter-group {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .filter-group-title {
    margin-right: 0;
    margin-bottom: 8px;
    text-align: center;
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
  }

  .filter-tab-link {
    justify-content: center;
    padding: 12px;
    margin-bottom: 8px;
  }

  .clear-filters-btn {
    margin-left: 0;
    margin-top: 10px;
    align-self: center;
    padding: 12px 24px;
  }

  /* Layout principal */
  .products-main-content {
    flex-direction: column;
    gap: 0;
  }

  /* MASQUER LA SIDEBAR SUR MOBILE/TABLETTE */
  .products-sidebar {
    display: none;
  }

  .products-content {
    order: 2;
    padding: 0 15px;
  }

  /* Grille produits - GARDER LA DISPOSITION DESKTOP */
  .products-grid {
    gap: 0;
  }

  .product-card {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 15px 10px;
    text-align: left;
  }

  .product-image {
    width: 100px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
  }

  .product-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: auto;
  }

  .product-main-info {
    flex: 1;
    min-width: 180px;
  }

  .product-name {
    font-size: 0.9rem;
    text-align: left;
    margin-bottom: 4px;
    line-height: 1.2;
    font-weight: 600;
  }

  .product-description {
    text-align: left;
    margin-bottom: 8px;
    font-size: 0.75rem;
    line-height: 1.3;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Variants - disposition compacte horizontale */
  .product-variants {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 8px;
  }

  .product-variants label {
    margin-bottom: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #333;
  }

  .variants-options {
    justify-content: flex-start;
    margin-left: 0;
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
  }

  .variant-btn {
    padding: 6px 10px;
    font-size: 0.7rem;
    min-width: 45px;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }

  /* Détails produit - disposition horizontale compacte */
  .product-details {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    text-align: left;
    margin-bottom: 0;
  }

  .btn-details {
    padding: 4px 8px;
    font-size: 0.65rem;
    white-space: nowrap;
    border-radius: 4px;
  }

  .product-quantity {
    justify-content: flex-start;
    font-size: 0.65rem;
    color: #666;
  }

  .product-quantity img {
    width: 10px;
    height: 10px;
  }

  .product-click-hint small {
    font-size: 0.65rem;
  }

  /* Actions produit - disposition verticale compacte à droite */
  .product-actions {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    width: auto;
    text-align: center;
    min-width: 100px;
  }

  .product-price {
    font-size: 1.1rem;
    margin-bottom: 4px;
    font-weight: bold;
    color: #333;
    text-align: center;
  }

  .quantity-selector {
    justify-content: center;
    margin-bottom: 4px;
    transform: scale(0.85);
  }

  .qty-btn {
    padding: 6px 8px;
    font-size: 0.8rem;
    min-width: 28px;
  }

  .qty-input {
    padding: 6px 4px;
    width: 35px;
    font-size: 0.8rem;
    text-align: center;
  }

  /* Bouton ajouter au panier - adaptation mobile optimisée */
  .product-card .btn-add-cart {
    background: var(--aromex-black);
    color: var(--aromex-white);
    border: 2px solid var(--aromex-black);
    padding: 10px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    position: relative;
    min-width: 120px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
  }

  .product-card .btn-add-cart:hover {
    background: var(--aromex-blue-hover);
    border-color: var(--aromex-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  .product-card .btn-add-cart:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }

  .btn-add-cart-icon {
    display: none;
  }

  .btn-add-cart-text {
    font-size: 0.75rem;
    padding: 0;
    margin: 0;
    font-weight: 700;
    text-align: center;
    width: 100%;
  }

  /* Panier mobile */
  .cart-section {
    height: auto;
    min-height: 300px;
    max-height: 400px;
  }

  .cart-header {
    padding: 20px 15px 15px 15px;
  }

  .cart-title {
    font-size: 1rem;
  }

  .cart-content {
    padding: 15px;
    max-height: 250px;
  }

  .cart-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 0;
    gap: 10px;
  }

  .cart-item-image {
    width: 80px;
    height: 100px;
    margin-bottom: 10px;
  }

  .cart-item-details {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .cart-item-header {
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
  }

  .cart-item-remove {
    width: 28px;
    height: 28px;
    padding: 6px;
  }

  .cart-item-remove svg {
    width: 16px;
    height: 16px;
  }

  .cart-item-price {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .cart-item-name {
    font-size: 0.9rem;
    margin-bottom: 5px;
  }

  .cart-item-description {
    font-size: 0.8rem;
    margin-bottom: 8px;
  }

  .cart-item-variant {
    font-size: 0.8rem;
    margin-bottom: 15px;
  }

  .cart-item-controls {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .cart-quantity-selector {
    margin-bottom: 5px;
  }

  .cart-qty-btn {
    padding: 8px 12px;
    min-width: 40px;
  }

  .cart-qty-input {
    width: 50px;
    padding: 8px;
  }

  .cart-footer {
    padding: 15px;
  }

  .cart-delivery,
  .cart-total {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }

  .cart-total {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .cart-checkout-btn {
    padding: 12px;
    font-size: 0.9rem;
  }

  /* Pagination mobile */
  .products-pagination {
    padding: 20px 15px;
    gap: 15px;
  }

  .pagination-info {
    font-size: 0.8rem;
    text-align: center;
  }

  .pagination-controls {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .pagination-btn {
    padding: 12px 20px;
    font-size: 0.8rem;
    justify-content: center;
    min-width: 120px;
  }

  .pagination-numbers {
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }

  .pagination-number {
    width: 35px;
    height: 35px;
    font-size: 0.8rem;
  }
}

/* ===== MASQUER LES ÉLÉMENTS PANIER MOBILE SUR DESKTOP ===== */
.mobile-cart-container,
.floating-cart-btn,
.mobile-cart-popup,
.mobile-cart-overlay {
  display: none;
}

/* ===== BOUTON PANIER FLOTTANT MOBILE ===== */
@media (max-width: 1024px) {
  /* Masquer sidebar sur tablette aussi */
  .products-sidebar {
    display: none;
  }

  /* Afficher les éléments panier mobile */
  .mobile-cart-container,
  .floating-cart-btn,
  .mobile-cart-popup,
  .mobile-cart-overlay {
    display: block;
  }

  .floating-cart-btn {
    display: flex;
  }

  /* Bouton flottant */
  .floating-cart-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--aromex-black);
    color: var(--aromex-white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    font-size: 24px;
  }

  .floating-cart-btn:hover {
    background: var(--aromex-blue-hover);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
  }

  .floating-cart-btn.has-items {
    animation: cartPulse 2s infinite;
  }

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

  /* Compteur de produits */
  .cart-counter {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--aromex-blue-hover);
    color: var(--aromex-white);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
    border: 2px solid var(--aromex-white);
  }

  .cart-counter.visible {
    opacity: 1;
    transform: scale(1);
  }

  /* Menu popup du panier */
  .mobile-cart-popup {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 90%;
    max-width: 400px;
    max-height: 70vh;
    background: var(--aromex-white);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 1001;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .mobile-cart-popup.open {
    transform: translateY(0);
  }

  .mobile-cart-header {
    background: var(--aromex-grey-light);
    padding: 20px;
    border-bottom: 2px solid var(--aromex-black);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
  }

  .mobile-cart-title {
    font-family: var(--aromex-font-family-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--aromex-black);
    margin: 0;
  }

  .mobile-cart-close {
    background: none;
    border: none;
    color: var(--aromex-black);
    cursor: pointer;
    padding: 5px;
    font-size: 24px;
    line-height: 1;
  }

  .mobile-cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
  }

  .mobile-cart-footer {
    background: var(--aromex-white);
    padding: 20px;
    border-top: 2px solid var(--aromex-black);
    flex-shrink: 0;
  }

  /* Overlay - Plus léger pour permettre l'interaction avec la page */
  .mobile-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    pointer-events: none;
  }

  .mobile-cart-overlay.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

/* Responsive pour très petits écrans */
@media (max-width: 480px) {
  .slider-title,
  .slider-subtitle {
    font-size: 1.5rem;
  }

  .slider-description {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .product-name {
    font-size: 1.1rem;
  }

  .product-price {
    font-size: 1.4rem;
  }

  .filter-tabs {
    gap: 15px;
  }

  .filter-tab-link {
    padding: 10px;
    font-size: 0.75rem;
  }

  .filter-group-title {
    font-size: 0.8rem;
  }

  /* Optimisation bouton ajouter au panier pour très petits écrans */
  .product-card .btn-add-cart {
    padding: 12px 20px;
    font-size: 0.8rem;
    min-width: 140px;
    font-weight: 700;
  }

  .btn-add-cart-text {
    font-size: 0.8rem;
  }

  /* Actions produit plus espacées sur très petits écrans */
  .product-actions {
    gap: 8px;
    min-width: 120px;
  }

  .product-price {
    font-size: 1.2rem;
    margin-bottom: 6px;
  }

  .quantity-selector {
    transform: scale(0.9);
    margin-bottom: 6px;
  }

  /* Ajustements pour très petits écrans */
  .floating-cart-btn {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
    font-size: 20px;
  }

  .cart-counter {
    width: 20px;
    height: 20px;
    font-size: 11px;
    top: -6px;
    right: -6px;
  }

  .mobile-cart-popup {
    width: 95%;
    max-height: 75vh;
  }

  .mobile-cart-header {
    padding: 15px;
  }

  .mobile-cart-title {
    font-size: 1rem;
  }

  .mobile-cart-content {
    padding: 15px;
  }

  .mobile-cart-footer {
    padding: 15px;
  }
}

.products-grid .product-card {
  transition: all 0.3s ease;
}

.products-grid .product-card[style*="display: none"] {
  opacity: 0;
  transform: scale(0.95);
}

@media (max-width: 1068px) {
  .btn-add-cart-icon {
    right: 135px;
  }
  .btn-add-cart-text {
    padding: 3px;
  }
}

/* ===== PAGINATION ===== */
.products-pagination {
  background: white;
  padding: 30px 20px;
  margin-top: 20px;
  border-top: 1px solid #e9ecef;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.pagination-info {
  font-family: var(--aromex-font-family-primary);
  color: #666;
  font-size: 0.9rem;
  font-weight: 500;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.pagination-btn {
  font-family: var(--aromex-font-family-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--aromex-grey-light);
  color: var(--aromex-black);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  border: 1px solid var(--aromex-grey-dark);
}

.pagination-btn:hover:not(.disabled) {
  background: var(--aromex-black);
  color: var(--aromex-white);
  border-color: var(--aromex-black);
  text-decoration: none;
}

.pagination-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-number {
  font-family: var(--aromex-font-family-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: white;
  color: var(--aromex-black);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid #ddd;
}

.pagination-number:hover:not(.active) {
  background: var(--aromex-grey-light);
  border-color: var(--aromex-grey-dark);
  text-decoration: none;
}

.pagination-number.active {
  background: var(--aromex-black);
  color: var(--aromex-white);
  border-color: var(--aromex-black);
}

.pagination-dots {
  font-family: var(--aromex-font-family-primary);
  color: #666;
  font-weight: bold;
  padding: 0 5px;
}

/* ===== CONTRÔLES DU CARROUSEL ===== */
.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 10;
  pointer-events: none;
}

.slider-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #e9ecef;
  color: var(--aromex-black);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  color: #666;
}

.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--aromex-white);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 5;
  color: #666;
}

.wishlist-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  color: var(--aromex-blue-hover);
}

.wishlist-btn.active {
  background: var(--aromex-blue-hover);
}

.wishlist-btn.active:hover {
  color: var(--aromex-white);
}

.wishlist-btn.loading {
  opacity: 0.6;
  cursor: not-allowed;
}

.wishlist-btn svg {
  transition: all 0.3s ease;
}

.wishlist-btn.active svg path {
  fill: var(--aromex-white);
}

.wishlist-btn.active svg:hover path {
  fill: var(--aromex-white);
}

/* ===== NOTIFICATIONS ===== */
.aromex-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
  max-width: 300px;
}

.aromex-notification.show {
  opacity: 1;
  transform: translateX(0);
}

.aromex-notification.success {
  background: var(--aromex-blue-hover);
}

.aromex-notification.error {
  background: #dc3545;
}

.aromex-notification.warning {
  background: #ffc107;
  color: #212529;
}

.aromex-notification.info {
  background: #17a2b8;
}

/* ===== RESPONSIVE FAVORIS ===== */
@media (max-width: 768px) {
  .wishlist-btn {
    width: 32px;
    height: 32px;
    top: 8px;
    right: 8px;
  }

  .wishlist-btn svg {
    width: 16px;
    height: 16px;
  }

  .cart-item-price {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .cart-item-name {
    font-size: 0.9rem;
    margin-bottom: 5px;
  }

  .cart-item-description {
    font-size: 0.8rem;
    margin-bottom: 8px;
  }

  .cart-item-variant {
    font-size: 0.8rem;
    margin-bottom: 15px;
  }

  .cart-item-controls {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .cart-quantity-selector {
    margin-bottom: 5px;
  }

  .cart-qty-btn {
    padding: 8px 12px;
    min-width: 40px;
  }

  .cart-qty-input {
    width: 50px;
    padding: 8px;
  }

  .cart-footer {
    padding: 15px;
  }

  .cart-delivery,
  .cart-total {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }

  .cart-total {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .cart-checkout-btn {
    padding: 12px;
    font-size: 0.9rem;
  }

  /* Pagination mobile */
  .products-pagination {
    padding: 20px 15px;
    gap: 15px;
  }

  .pagination-info {
    font-size: 0.8rem;
    text-align: center;
  }

  .pagination-controls {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .pagination-btn {
    padding: 12px 20px;
    font-size: 0.8rem;
    justify-content: center;
    min-width: 120px;
  }

  .pagination-numbers {
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }

  .pagination-number {
    width: 35px;
    height: 35px;
    font-size: 0.8rem;
  }
}

/* Responsive pour très petits écrans */
@media (max-width: 480px) {
  .slider-title,
  .slider-subtitle {
    font-size: 1.5rem;
  }

  .slider-description {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .product-name {
    font-size: 1.1rem;
  }

  .product-price {
    font-size: 1.4rem;
  }

  .filter-tabs {
    gap: 15px;
  }

  .filter-tab-link {
    padding: 10px;
    font-size: 0.75rem;
  }

  .filter-group-title {
    font-size: 0.8rem;
  }

  .cart-section {
    min-height: 250px;
    max-height: 350px;
  }

  .cart-content {
    max-height: 200px;
  }

  /* Modal responsive pour très petits écrans */
  .modal-content {
    border-radius: 8px;
  }

  .modal-header {
    padding: 15px;
    border-radius: 8px 8px 0 0;
  }

  .modal-title {
    font-size: 1rem;
  }

  .modal-body {
    padding: 15px;
    gap: 15px;
  }

  .modal-product-image {
    height: 150px;
  }

  .modal-price {
    font-size: 1.4rem;
    padding: 10px;
  }

  .modal-footer {
    padding: 15px;
    border-radius: 0 0 8px 8px;
  }
}

/* ===== MODAL PRODUIT ===== */
.product-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(87, 87, 86, 0.5);
  z-index: 10000;
}

.modal-content {
  background: var(--aromex-white);
  border-radius: 8px;
  width: 90%;
  max-width: 800px;
  position: relative;
  z-index: 10001;
  box-shadow: 0 4px 20px rgba(87, 87, 86, 0.15);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.modal-header {
  background: var(--aromex-grey-light);
  color: var(--aromex-grey-dark);
  padding: 15px 20px;
  border-radius: 8px 8px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  border-bottom: 1px solid var(--aromex-grey-dark);
}

.modal-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  color: var(--aromex-grey-dark);
  cursor: pointer;
  padding: 5px;
  transition: all 0.2s;
  z-index: 10002;
}

.modal-close:hover {
  color: var(--aromex-blue-hover);
  transform: scale(1.1);
}

.modal-body {
  display: grid;
  background-color: white;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px;
  overflow-y: auto;
}

.modal-product-image {
  background: var(--aromex-grey-light);
  border-radius: 8px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: fit-content;
}

.modal-product-image img {
  max-width: 100%;
  max-height: 300px;
  height: auto;
  border-radius: 4px;
  object-fit: contain;
}

.modal-product-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal-price {
  background: var(--aromex-grey-light);
  color: var(--aromex-grey-dark);
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  border: 1px solid var(--aromex-grey-dark);
}

.modal-reference {
  background: var(--aromex-white);
  padding: 10px 15px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--aromex-grey-light);
}

.modal-description {
  background: var(--aromex-white);
  padding: 15px;
  border-radius: 8px;
  border: 1px solid var(--aromex-grey-light);
}

.modal-description h3 {
  color: var(--aromex-grey-dark);
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 600;
}

.modal-description p {
  color: var(--aromex-grey-dark);
  line-height: 1.4;
  font-size: 0.9rem;
}

.modal-variants {
  background: var(--aromex-white);
  padding: 15px;
  border-radius: 8px;
  border: 1px solid var(--aromex-grey-light);
}

.modal-variants h3 {
  color: var(--aromex-grey-dark);
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 600;
}

.modal-variants-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-variant-tag {
  background: var(--aromex-grey-light);
  color: var(--aromex-grey-dark);
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.modal-variant-tag:hover {
  background: var(--aromex-blue-hover);
  color: var(--aromex-white);
}

.modal-categories {
  background: var(--aromex-white);
  padding: 15px;
  border-radius: 8px;
  border: 1px solid var(--aromex-grey-light);
}

.modal-categories h3 {
  color: var(--aromex-grey-dark);
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 600;
}

.modal-categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-category-tag {
  background: var(--aromex-grey-light);
  color: var(--aromex-grey-dark);
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.modal-category-tag:hover {
  background: var(--aromex-blue-hover);
  color: var(--aromex-white);
}

@media (max-width: 768px) {
  .modal-body {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .modal-content {
    width: 95%;
    max-height: 90vh;
  }

  .modal-product-image img {
    max-height: 250px;
  }
}

/* ===== MESSAGE AUCUN PRODUIT ===== */
.no-products-message {
  width: 100%;
  text-align: center;
  padding: 40px 20px;
  background: var(--aromex-grey-light);
  border-radius: 8px;
  margin: 20px 0;
}

.no-products-message p {
  font-size: 18px;
  color: var(--aromex-grey-dark);
  margin-bottom: 20px;
  font-family: var(--aromex-font-family-primary);
}

.btn-supplier-products {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--aromex-blue-hover);
  color: var(--aromex-white);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-family: var(--aromex-font-family-primary);
  border: 1px solid var(--aromex-blue-hover);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.btn-supplier-products:hover {
  background-color: var(--aromex-black);
  border: 1px solid var(--aromex-black);
  color: var(--aromex-white);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ===== STYLES POUR MES PRODUITS ===== */
.mes-produits-section {
  margin-top: 2rem;
}

.mes-produits-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ===== GROUPEMENT PAR COMMANDE ===== */
.order-group {
  background: var(--aromex-white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--aromex-grey-light);
}

.order-header {
  color: var(--aromex-black);
  padding: 1rem 1.5rem;
  position: relative;
}

.order-header h3 {
  font-family: var(--aromex-font-family-primary);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.3rem 0;
  color: var(--aromex-black);
}

.order-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.order-date {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--aromex-grey-dark);
  background: var(--aromex-white);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  border: 1px solid var(--aromex-grey-dark);
}

.order-status {
  padding: 0.4rem 1rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.order-status.status-completed {
  background: #2e7d32;
  color: #ffffff;
}

.order-status.status-in_progress {
  background: #f57c00;
  color: #ffffff;
}

.order-status.status-pending {
  background: #6c757d;
  color: #ffffff;
}

.order-products {
  padding: 0;
  background: var(--aromex-white);
  display: flex;
  flex-direction: column;
}

/* ===== PRODUITS EN LISTE (1 LIGNE = 1 PRODUIT) ===== */
.custom-product {
  background: #ffffff;
  border-bottom: 2px solid var(--aromex-grey-light);
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: 120px 1fr auto auto;
  align-items: center;
  gap: 2rem;
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 0.5rem;
}

.custom-product:last-child {
  border-bottom: none;
}

.custom-product:hover {
  background: var(--aromex-grey-light);
  border-bottom-color: var(--aromex-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.custom-product .product-image {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--aromex-grey-light);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.custom-product .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.custom-product:hover .product-image {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-color: var(--aromex-blue-hover);
}

.custom-product:hover .product-image img {
  transform: scale(1.05);
}

.custom-product .product-status {
  position: absolute;
  top: -5px;
  right: -5px;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--aromex-white);
  border: 2px solid var(--aromex-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.custom-product .product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.custom-product .product-name {
  font-family: var(--aromex-font-family-primary);
  font-size: 1rem;
  font-weight: 700;
  color: var(--aromex-black);
  margin: 0;
  line-height: 1.2;
}

.custom-product .product-details {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.custom-product .product-details span {
  font-size: 0.85rem;
  color: var(--aromex-black);
  font-weight: 500;
}

.custom-product .product-brand {
  color: var(--aromex-black);
  font-weight: 700;
  font-size: 0.95rem;
}

.custom-product .product-type {
  background: var(--aromex-grey-dark);
  color: var(--aromex-white) !important;
  padding: 0.25rem 0.7rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
}

.custom-product .product-size {
  color: var(--aromex-black);
  font-weight: 700;
  font-size: 0.9rem;
}

.custom-product .product-nicotine {
  background: var(--aromex-blue-hover);
  color: var(--aromex-white) !important;
  padding: 0.25rem 0.7rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.custom-product .product-quantity {
  background: #f8f9fa;
  color: #333333;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  text-align: center;
  border: 1px solid #dee2e6;
  min-width: 110px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.custom-product .product-quantity strong {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
  color: #333333;
  line-height: 1.2;
}

.custom-product .product-quantity small {
  font-size: 0.75rem;
  color: #666666;
  font-weight: 500;
  line-height: 1.1;
}

.custom-product .product-price {
  text-align: center;
  min-width: 90px;
  flex-shrink: 0;
}

.custom-product .price-current {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--aromex-black);
  display: block;
  margin-bottom: 0.2rem;
}

.custom-product .product-price small {
  color: var(--aromex-black);
  font-size: 0.8rem;
  font-weight: 500;
}

.custom-product .product-actions {
  display: none;
}

/* ===== ÉTATS VIDES ===== */
.mes-produits-empty {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--aromex-grey-dark);
}

.mes-produits-empty h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--aromex-black);
}

.mes-produits-empty p {
  font-size: 1rem;
  margin-bottom: 2rem;
}

.mes-produits-empty .btn-primary {
  background: var(--aromex-black);
  color: var(--aromex-white);
  padding: 0.8rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.mes-produits-empty .btn-primary:hover {
  background: var(--aromex-grey-dark);
}

/* ===== RESPONSIVE MES PRODUITS ===== */
@media (max-width: 768px) {
  .order-header {
    padding: 1rem 1.5rem;
  }

  .order-header h3 {
    font-size: 1.2rem;
  }

  .order-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .order-products {
    padding: 1rem;
    gap: 1rem;
  }

  .custom-product {
    grid-template-columns: 100px 1fr auto;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .custom-product .product-image {
    width: 100px;
    height: 100px;
  }

  .custom-product .product-quantity {
    min-width: 90px;
  }
}

/* ===== STYLES POUR LES NOUVELLES INFORMATIONS PRODUITS ===== */
.custom-product .product-pgvg {
  background: var(--aromex-grey-light);
  color: var(--aromex-black);
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-block;
  border: 1px solid var(--aromex-grey-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  font-family: var(--aromex-font-family-primary);
}

.custom-product .product-flavor {
  background: var(--aromex-white);
  color: var(--aromex-grey-dark);
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-block;
  border: 1px solid var(--aromex-grey-dark);
  text-transform: capitalize;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
  font-family: var(--aromex-font-family-primary);
}

.custom-product .product-subflavor {
  background: var(--aromex-grey-light);
  color: var(--aromex-grey-dark);
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-block;
  border: 1px solid var(--aromex-grey-dark);
  text-transform: capitalize;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
  font-family: var(--aromex-font-family-primary);
}

/* CORRECTION : Styles pour le mode Rush */
.custom-product .product-rush-mode {
  background: linear-gradient(135deg, #ff4757 0%, #e74c3c 100%);
  color: var(--aromex-white) !important;
  border: 1px solid #ff4757;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 15px;
  margin: 2px;
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
  animation: rushPulse 2s infinite;
  position: relative;
  overflow: hidden;
  font-family: var(--aromex-font-family-primary);
  cursor: help;
}

.custom-product .product-rush-mode::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: rushShine 3s infinite;
}

/* Effet shadow rouge pour les produits en mode Rush */
.custom-product[data-mode-rush="1"] {
  box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
  border-left: 4px solid #ff4757;
}

.custom-product[data-mode-rush="1"]:hover {
  box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
  transform: translateY(-2px);
}

/* Tooltip pour le mode Rush */
.product-rush-mode-tooltip {
  position: relative;
  display: inline-block;
}

.product-rush-mode-tooltip:hover::after {
  content: "⚡ Livraison express\ATraitement prioritaire sous 24h\A(supplément appliqué)";
  white-space: pre-line;
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.3px;
  z-index: 10000;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 4px 10px rgba(0, 0, 0, 0.1);
  animation: tooltipFadeIn 0.2s ease-out;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  max-width: 220px;
  min-width: 180px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.product-rush-mode-tooltip:hover::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: #2c3e50;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  animation: tooltipFadeIn 0.2s ease-out;
}

.product-rush-mode-tooltip:hover::after,
.product-rush-mode-tooltip:hover::before {
  opacity: 1;
  visibility: visible;
}

/* Animation d'apparition du tooltip */
@keyframes tooltipFadeIn {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(5px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Assurer que le tooltip est visible même avec overflow hidden */
.product-rush-mode-tooltip:hover {
  overflow: visible;
}

.custom-product:hover {
  overflow: visible;
}

.product-details:hover {
  overflow: visible;
}

@keyframes rushPulse {
  0%,
  100% {
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
  }
  50% {
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.5);
  }
}

@keyframes rushShine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Styles responsives pour les nouvelles informations */
@media (max-width: 768px) {
  .custom-product .product-pgvg,
  .custom-product .product-flavor,
  .custom-product .product-subflavor,
  .custom-product .product-rush-mode {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    border-radius: 10px;
  }
}

@media (max-width: 480px) {
  .custom-product .product-details {
    gap: 0.5rem;
  }

  .custom-product .product-pgvg,
  .custom-product .product-flavor,
  .custom-product .product-subflavor,
  .custom-product .product-rush-mode {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    letter-spacing: 0.2px;
  }
}

/* Variables CSS adaptées aux couleurs Aromex officielles */
:root {
  --aromex-border-light: var(--aromex-grey-light);
  --aromex-text-dark: var(--aromex-black);
  --aromex-text-medium: var(--aromex-grey-dark);
  --aromex-text-light: var(--aromex-grey-dark);
  --aromex-primary: var(--aromex-blue-hover);
  --aromex-gray-light: var(--aromex-grey-light);
}

/* Styles pour les filtres "Mes Produits" */
.my-products-filters {
  background: var(--aromex-white);
  border: 1px solid var(--aromex-grey-light);
  border-radius: 12px;
  padding: 24px;
  margin: 20px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filters-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 16px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  min-width: 200px;
  flex: 1;
}

.filter-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--aromex-black);
  margin-bottom: 8px;
  display: block;
}

.filter-select {
  padding: 12px 16px;
  border: 2px solid var(--aromex-grey-light);
  border-radius: 8px;
  font-size: 14px;
  color: var(--aromex-black);
  background: var(--aromex-white);
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 44px;
}

.filter-select:hover {
  border-color: var(--aromex-blue-hover);
}

.filter-select:focus {
  outline: none;
  border-color: var(--aromex-blue-hover);
  box-shadow: 0 0 0 3px rgba(111, 207, 244, 0.1);
}

.filter-actions {
  display: flex;
  align-items: flex-end;
}

.btn-reset-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--aromex-grey-light);
  color: var(--aromex-grey-dark);
  border: 2px solid var(--aromex-grey-light);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 44px;
}

.btn-reset-filters:hover {
  background: var(--aromex-black);
  color: var(--aromex-white);
  border-color: var(--aromex-black);
}

.btn-reset-filters svg {
  width: 16px;
  height: 16px;
}

.filter-results {
  padding-top: 16px;
  border-top: 1px solid var(--aromex-grey-light);
  text-align: center;
}

#filterResultsCount {
  font-size: 14px;
  color: var(--aromex-grey-dark);
  font-weight: 500;
}

/* Responsive pour les filtres */
@media (max-width: 768px) {
  .filters-container {
    flex-direction: column;
    gap: 16px;
  }

  .filter-group {
    min-width: 100%;
  }

  .filter-actions {
    justify-content: center;
    width: 100%;
  }

  .btn-reset-filters {
    width: 100%;
    justify-content: center;
  }
}

/* Animation pour les produits filtrés */
.product-card.filtered-out {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  transition: all 0.3s ease;
}

.order-group.filtered-out {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  transition: all 0.3s ease;
  margin: 0;
  height: 0;
  overflow: hidden;
}

.product-card:not(.filtered-out) {
  opacity: 1;
  transform: scale(1);
  transition: all 0.3s ease;
}

.order-group:not(.filtered-out) {
  opacity: 1;
  transform: scale(1);
  transition: all 0.3s ease;
}

/* Indicateur de résultats vides */
.no-filter-results {
  text-align: center;
  padding: 40px 20px;
  background: var(--aromex-grey-light);
  border-radius: 12px;
  margin: 20px 0;
}

.no-filter-results h3 {
  color: var(--aromex-black);
  font-size: 18px;
  margin-bottom: 8px;
}

.no-filter-results p {
  color: var(--aromex-grey-dark);
  font-size: 14px;
}

/* Amélioration des filtres avec icônes */
.filter-group {
  position: relative;
}

.filter-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

/* Badge de compteur actif */
.filter-active-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--aromex-blue-hover);
  color: var(--aromex-white);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}

.filter-group.has-active-filter .filter-active-badge {
  opacity: 1;
  transform: scale(1);
}

.filter-group.has-active-filter .filter-select {
  border-color: var(--aromex-primary);
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

/* ===== STYLES POUR LES FILTRES ARÔMES POUR FABRICATION ===== */

/* Container principal des filtres arômes */
.aromes-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}

/* Titre des filtres arômes */
.aromes-filters .filters-title h3 {
  font-family: var(--aromex-font-family-primary);
  font-size: 14px;
  font-weight: 600;
  color: var(--aromex-black);
  margin: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Container des boutons filtres */
.aromes-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

/* Boutons de filtre individuels */
.arome-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: var(--aromex-white);
  border: 1px solid var(--aromex-grey-light);
  text-decoration: none !important;
  color: var(--aromex-black) !important;
  font-family: var(--aromex-font-family-primary);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  min-width: 100px;
}

/* Effet hover sur les boutons */
.arome-filter-btn:hover {
  background: var(--aromex-grey-light);
}

/* Bouton actif */
.arome-filter-btn.active {
  background: var(--aromex-blue-hover);
  border-color: var(--aromex-blue-hover);
  color: var(--aromex-black) !important;
}

/* Hover sur bouton actif */
.arome-filter-btn.active:hover {
  opacity: 0.9;
}

/* Responsive pour tablettes et mobiles */
@media (max-width: 768px) {
  .aromes-filters {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .aromes-filter-buttons {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
  }

  .arome-filter-btn {
    font-size: 11px;
    padding: 6px 12px;
  }
}

/* Responsive pour petits mobiles */
@media (max-width: 480px) {
  .aromes-filters {
    gap: 12px;
  }

  .aromes-filter-buttons {
    gap: 6px;
  }

  .arome-filter-btn {
    font-size: 10px;
    padding: 5px 10px;
    min-width: auto;
  }
}

/* ===== STYLES PANIER AVEC DISTINCTION MARQUE BLANCHE ===== */

/* Sections du panier */
.product-section {
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
}

.product-section.marque-blanche-section {
  background: #fff9f5;
  border: 1px solid #f0ad4e;
  border-left: 4px solid #f0ad4e;
}

.product-section.normal-section {
  background: #ffffff;
  border: 1px solid #e0e0e0;
}

.product-section .section-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.product-section.marque-blanche-section .section-title {
  color: #d58512;
}

/* Cartes produits */
.product-card {
  background: #ffffff;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 10px;
  border: 1px solid #e5e5e5;
}

.product-card.marque-blanche {
  background: #fffaf7;
  border: 1px solid #f0ad4e;
  border-left: 3px solid #f0ad4e;
}

/* Badge marque blanche */
.product-badge.marque-blanche {
  display: inline-block;
  background: #f0ad4e;
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 12px;
  margin-top: 5px;
}

/* Contrôles de quantité désactivés */
.quantity-display {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: #f8f9fa;
  border-radius: 4px;
  border: 1px solid #e9ecef;
}

.quantity-display .qty-label {
  font-weight: 500;
  color: #6c757d;
  font-size: 0.9rem;
}

.quantity-display .qty-value {
  font-weight: 600;
  color: #495057;
  font-size: 1rem;
  min-width: 30px;
  text-align: center;
}

/* Bouton suppression désactivé */
.remove-disabled {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  color: #6c757d;
  font-size: 0.9rem;
  cursor: not-allowed;
  opacity: 0.7;
}

.remove-disabled svg {
  width: 14px;
  height: 14px;
  opacity: 0.5;
}

/* Contrôles normaux */
.product-card.normal .quantity-selector {
  display: flex;
  align-items: center;
  gap: 2px;
  background: #f8f9fa;
  border-radius: 4px;
  padding: 2px;
  border: 1px solid #dee2e6;
}

.product-card.normal .qty-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: #007bff;
  color: white;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 500;
}

.product-card.normal .qty-btn:hover {
  background: #0056b3;
}

.product-card.normal .qty-input {
  width: 50px;
  height: 30px;
  border: none;
  text-align: center;
  font-weight: 500;
  background: transparent;
  color: #495057;
}

.product-card.normal .btn-remove-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
}

.product-card.normal .btn-remove-item:hover {
  background: #c82333;
}

/* Résumé détaillé */
.summary-line.marque-blanche-products {
  background: rgba(240, 173, 78, 0.1);
  padding: 6px 10px;
  border-radius: 4px;
  border-left: 3px solid #f0ad4e;
  margin: 3px 0;
  font-weight: 500;
}

.summary-line.marque-blanche-products span:first-child {
  color: #d58512;
}

.summary-line.normal-products {
  background: rgba(0, 123, 255, 0.05);
  padding: 6px 10px;
  border-radius: 4px;
  border-left: 3px solid #007bff;
  margin: 3px 0;
  font-weight: 500;
}

.summary-line.normal-products span:first-child {
  color: #0056b3;
}

.summary-line.subtotal {
  border-top: 1px solid #dee2e6;
  padding-top: 8px;
  margin-top: 8px;
  font-weight: 500;
}

.summary-line.total-line {
  border-top: 2px solid #333;
  padding-top: 10px;
  margin-top: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .product-section {
    padding: 12px;
    margin-bottom: 15px;
  }

  .product-section .section-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  .product-card {
    padding: 12px;
  }

  .quantity-display {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .product-badge.marque-blanche {
    font-size: 0.7rem;
    padding: 2px 6px;
  }

  .summary-line.marque-blanche-products,
  .summary-line.normal-products {
    padding: 5px 8px;
    font-size: 0.9rem;
  }
}

/* ===== BADGES DE SOURCE D'AFFILIATION (Mes Produits) ===== */

.product-source-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
  backdrop-filter: blur(4px);
}

.product-source-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Badge pour affiliation individuelle */
.product-source-badge.individual {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

/* Badge pour affiliation par groupe */
.product-source-badge.group {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

/* Badge pour historique de commandes */
.product-source-badge.history {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
}

/* Animation d'apparition des badges */
@keyframes badgeFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-source-badge {
  animation: badgeFadeIn 0.3s ease-out;
}

/* Ajustements pour les product-card */
.product-card {
  position: relative;
}

.product-card.custom-product {
  position: relative;
}

/* Responsive pour les badges */
@media (max-width: 768px) {
  .product-source-badge {
    font-size: 10px;
    padding: 4px 8px;
    top: 5px;
    right: 5px;
  }
}

/* Note d'affiliation (optionnel, si on veut afficher la note admin) */
.affiliation-note {
  font-size: 12px;
  color: #666;
  font-style: italic;
  padding: 5px 10px;
  background: #f0f0f0;
  border-radius: 4px;
  margin-top: 8px;
}

.affiliation-note::before {
  content: "📝 ";
}

/* Indication du groupe (si on veut l'afficher plus visiblement) */
.group-info {
  font-size: 12px;
  color: #f5576c;
  font-weight: 500;
  margin-top: 5px;
}

.group-info::before {
  content: "👥 ";
}

/* ===== SECTIONS DÉPLIABLES MES PRODUITS ===== */
.products-section-toggle {
  margin-bottom: 30px;
  background: var(--aromex-white);
  border: 1px solid var(--aromex-grey-light);
  border-radius: 4px;
  overflow: hidden;
}

.products-section-toggle .section-header {
  padding: 20px 25px;
  background: var(--aromex-grey-light);
  color: var(--aromex-black);
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.products-section-toggle .section-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--aromex-black);
}

.products-section-toggle .section-header .chevron {
  font-size: 18px;
  transition: transform 0.3s ease;
  display: inline-block;
  color: var(--aromex-black);
}

/* Chevrons si les icônes ne sont pas disponibles */
.products-section-toggle .section-header .chevron.icon-chevron-down::before {
  content: "▼";
  display: inline-block;
}

.products-section-toggle .section-header .chevron.icon-chevron-right::before {
  content: "▶";
  display: inline-block;
}

.products-section-toggle .section-header .product-count {
  font-size: 16px;
  font-weight: 400;
  color: var(--aromex-grey-dark);
  margin-left: 8px;
}

.products-section-toggle .section-content {
  padding: 0;
  transition: all 0.3s ease;
}

.products-section-toggle .section-content .products-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: white;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Hover uniquement sur les cards - utiliser le même style que les cards normales */
.products-section-toggle .section-content .products-grid .product-card {
  border-bottom: 1px solid #e9ecef;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.products-section-toggle
  .section-content
  .products-grid
  .product-card:nth-child(odd) {
  background-color: #fff;
}

.products-section-toggle
  .section-content
  .products-grid
  .product-card:nth-child(even) {
  background-color: var(--aromex-grey-light);
}

.products-section-toggle .section-content .products-grid .product-card:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.products-section-toggle
  .section-content
  .products-grid
  .product-card:nth-child(even):hover {
  background-color: #e9ecef;
}

.products-section-toggle
  .section-content
  .products-grid
  .product-card:last-child {
  border-bottom: none;
}

.products-section-toggle .section-content .no-products-message {
  text-align: center;
  padding: 40px 20px;
  color: var(--aromex-grey-dark);
  font-style: italic;
}

.products-section-toggle .section-content .no-products-message p {
  margin: 0;
  font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .products-section-toggle .section-header {
    padding: 15px 20px;
  }

  .products-section-toggle .section-header h2 {
    font-size: 18px;
  }

  .products-section-toggle .section-content {
    padding: 0;
  }

  .products-section-toggle .section-content .products-grid {
    gap: 0;
  }

  .products-section-toggle .section-content .products-grid .product-card {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 15px 10px;
    text-align: left;
  }

  .products-section-toggle
    .section-content
    .products-grid
    .product-card
    .product-image {
    width: 100px;
    height: 80px;
    flex-shrink: 0;
  }

  .products-section-toggle
    .section-content
    .products-grid
    .product-card
    .product-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: auto;
  }

  .products-section-toggle
    .section-content
    .products-grid
    .product-card
    .product-main-info {
    flex: 1;
    min-width: 180px;
  }

  .products-section-toggle
    .section-content
    .products-grid
    .product-card
    .product-name {
    font-size: 0.9rem;
    text-align: left;
    margin-bottom: 4px;
    line-height: 1.2;
    font-weight: 600;
  }

  .products-section-toggle
    .section-content
    .products-grid
    .product-card
    .product-description {
    text-align: left;
    margin-bottom: 8px;
    font-size: 0.75rem;
    line-height: 1.3;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Variants - disposition compacte horizontale */
  .products-section-toggle
    .section-content
    .products-grid
    .product-card
    .product-variants {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 8px;
  }

  .products-section-toggle
    .section-content
    .products-grid
    .product-card
    .product-variants
    label {
    margin-bottom: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #333;
  }

  .products-section-toggle
    .section-content
    .products-grid
    .product-card
    .variants-options {
    justify-content: flex-start;
    margin-left: 0;
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
  }

  .products-section-toggle
    .section-content
    .products-grid
    .product-card
    .variant-btn {
    padding: 6px 10px;
    font-size: 0.7rem;
    min-width: 45px;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }

  /* Détails produit - disposition horizontale compacte */
  .products-section-toggle
    .section-content
    .products-grid
    .product-card
    .product-details {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    text-align: left;
    margin-bottom: 0;
  }

  .products-section-toggle
    .section-content
    .products-grid
    .product-card
    .product-quantity {
    justify-content: flex-start;
    font-size: 0.65rem;
    color: #666;
  }

  .products-section-toggle
    .section-content
    .products-grid
    .product-card
    .product-quantity
    img {
    width: 10px;
    height: 10px;
  }

  .products-section-toggle
    .section-content
    .products-grid
    .product-card
    .product-click-hint
    small {
    font-size: 0.65rem;
  }

  /* Actions produit - disposition verticale compacte à droite */
  .products-section-toggle
    .section-content
    .products-grid
    .product-card
    .product-actions {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    width: auto;
    text-align: center;
    min-width: 100px;
  }

  .products-section-toggle
    .section-content
    .products-grid
    .product-card
    .product-price {
    font-size: 1.1rem;
    margin-bottom: 4px;
    font-weight: bold;
    color: #333;
    text-align: center;
  }

  .products-section-toggle
    .section-content
    .products-grid
    .product-card
    .quantity-selector {
    justify-content: center;
    margin-bottom: 4px;
    transform: scale(0.85);
  }

  .products-section-toggle
    .section-content
    .products-grid
    .product-card
    .qty-btn {
    padding: 6px 8px;
    font-size: 0.8rem;
    min-width: 28px;
  }

  .products-section-toggle
    .section-content
    .products-grid
    .product-card
    .qty-input {
    padding: 6px 4px;
    width: 35px;
    font-size: 0.8rem;
    text-align: center;
  }

  /* Bouton ajouter au panier - adaptation mobile */
  .products-section-toggle
    .section-content
    .products-grid
    .product-card
    .btn-add-cart {
    background: var(--aromex-black);
    color: var(--aromex-white);
    border: 2px solid var(--aromex-black);
    padding: 10px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    position: relative;
    min-width: 120px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
  }

  .products-section-toggle
    .section-content
    .products-grid
    .product-card
    .btn-add-cart:hover {
    background: var(--aromex-blue-hover);
    border-color: var(--aromex-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  .products-section-toggle
    .section-content
    .products-grid
    .product-card
    .btn-add-cart:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }

  .products-section-toggle
    .section-content
    .products-grid
    .product-card
    .btn-add-cart-icon {
    display: none;
  }

  .products-section-toggle
    .section-content
    .products-grid
    .product-card
    .btn-add-cart-text {
    font-size: 0.75rem;
    padding: 0;
    margin: 0;
    font-weight: 700;
    text-align: center;
    width: 100%;
  }
}
