body {
  padding: 0px;
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
}

a {
  color: #00B7FF;
}

/* Style pour les boutons quantité */
.quantity-controls {
  display: flex;
  align-items: right;
  gap: 30px;
  margin-top: 10px;
}

.qty-btn {
  width: 35px;
  height: 35px;
  border: 1px solid #ddd;
  background: #f16f05;
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ddd;
  font-weight: bolder;
}

.delete-btn {
  width: 35px;
  height: 35px;
  border: 1px solid #ddd;
  background: #c60404;
  border-radius: 4px;
  cursor: pointer;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ddd;
  font-weight: bolder;
}

/* .minus {
        background-color: rgb(253, 251, 238);
      }

      .plus {
        background-color: rgb(208, 240, 208);
        float: right;
      } */

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

.quantity-input {
  width: 50px;
  height: 35px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 15px;
  font-size: 16px;
}

/* 
      .add-to-cart-btn {
        margin-left: 10px;
        padding: 8px 15px;
        background: #007bff;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        flex-grow: 1;
      }

      .add-to-cart-btn:hover {
        background: #0056b3;
      } */

/* Style pour le modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  color: #333;
}

.modal-body {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.modal-image {
  flex: 1;
  min-width: 300px;
}

.modal-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

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

.modal-quantity {
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

.add-to-cart-modal {
  /*background: #28a745;*/
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
}

.add-to-cart-modal:hover {
  /* background: #218838;*/
}

/* Pour le clic sur la carte produit */
.product-card {
  cursor: pointer;
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.loader {
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

:root {
  --primary: #4361ee;
  /* Bleu vif moderne */
  --secondary: #f8f9fa;
  --accent: #faf5f7;
  /* Rose vibrante */
  --dark: #2b2d42;
  /* Noir bleuté */
  --light: #ffffff;
  --gray: #8d99ae;
  --border: #edf2f4;
  --success: #4cc9f0;
  /* Turquoise */
  --warning: #ffd166;
  /* Jaune doré */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f9fafc;
  color: var(--dark);
  line-height: 1.6;
}

/* Header styles amélioré */
header {
  background: linear-gradient(135deg, var(--warning) 0%, #d9ae03 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  color: white;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: white;
  display: flex;
  align-items: center;
}

.logo i {
  margin-right: 10px;
  color: var(--warning);
}

.search-bar {
  flex-grow: 1;
  margin: 0 20px;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 12px 20px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.search-bar input:focus {
  outline: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.search-bar button {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: 18px;
}

.user-actions a {
  margin-left: 20px;
  color: white;
  text-decoration: none;
  font-size: 18px;
  position: relative;
  transition: all 0.3s;
}

.user-actions a:hover {
  color: var(--warning);
  transform: translateY(-2px);
}

.cart-count {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: var(--accent);
  color: white;
  font-size: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

nav {
  /* background-color: rgba(255, 255, 255, 0.1); */
  /* backdrop-filter: blur(10px); */
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 15px 0;
}

nav ul li {
  margin: 0 15px;
  position: relative;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s;
  padding: 2px 0;
  position: relative;
}

nav ul li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--warning);
  transition: width 0.3s;
}

nav ul li a:hover:after {
  width: 100%;
}

nav ul li a:hover {
  color: var(--warning);
}

/* Hero section amélioré */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1607082348824-0a96f2a4b9da?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 120px 20px;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.btn {
  display: flex;
  padding: 15px 40px;
  background-color: var(--accent);
  color: rgb(5, 5, 5);
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  /*box-shadow: 0 4px 15px rgba(247, 37, 133, 0.4);*/
}

.btn:hover {
  background-color: #f5f0f2;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(150, 149, 150, 0.6);
}

/* Products section amélioré */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5rem;
  color: var(--dark);
  position: relative;
  padding-bottom: 15px;
}

.section-title:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #645903, #d5d902d6);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.product-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #f16f05;
  color: white;
  padding: 5px 2px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: bold;
  z-index: 2;
}

.rounded-pill {
  margin-right: 10px;
  font-size: 15px;
  font-weight: bold;
}

.product-image {
  height: 250px;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-info {
  padding: 25px;
}

.product-title {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--dark);
  font-weight: 600;
}

.product-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.price {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary);
}

.old-price {
  font-size: 16px;
  color: var(--gray);
  text-decoration: line-through;
}

.add-to-cart {
  display: block;
  width: 100%;
  padding: 12px;
  background: linear-gradient(to right, var(--primary), #3a0ca3);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.add-to-cart:hover {
  background: linear-gradient(to right, #3a0ca3, var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.4);
}

/* Features section amélioré */
.features {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  padding: 80px 0;
  margin: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.feature {
  text-align: center;
  padding: 30px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature i {
  font-size: 50px;
  color: var(--primary);
  margin-bottom: 25px;
  background: linear-gradient(135deg, var(--primary), #3a0ca3);
  /* -webkit-background-clip: text; */
  -webkit-text-fill-color: transparent;
}

.feature h3 {
  margin-bottom: 20px;
  color: var(--dark);
  font-size: 22px;
}

.feature p {
  color: var(--gray);
}

/* Footer amélioré */
footer {
  background: linear-gradient(135deg, var(--dark) 0%, #1a1c2d 100%);
  color: white;
  padding: 70px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-column h3 {
  margin-bottom: 25px;
  font-size: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3:after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--accent);
  bottom: 0;
  left: 0;
  border-radius: 2px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #ddd;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

.footer-column ul li a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.newsletter input {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: none;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.newsletter input::placeholder {
  color: #ddd;
}

.newsletter button {
  padding: 12px 25px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s;
}

.newsletter button:hover {
  background: linear-gradient(to right, var(--accent), var(--primary));
  transform: translateY(-2px);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s;
}

.social-icons a:hover {
  background-color: var(--accent);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8d99ae;
  font-size: 14px;
}

/* Responsive design amélioré */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .top-bar {
    flex-wrap: wrap;
  }

  .search-bar {
    order: 3;
    margin: 15px 0 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 20px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li {
    margin: 5px 10px;
  }

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

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .user-actions a {
    margin-left: 15px;
    font-size: 16px;
  }

  .logo {
    font-size: 22px;
  }

  .product-info {
    padding: 15px;
  }

  .feature {
    padding: 20px;
  }
}

.navbar {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: #f8f8f8;
  padding: 10px 20px;
  position: relative;
}

.user-dropdown {
  position: relative;
  display: inline-block;
}

/* .user-dropdown .user-icon {
            text-decoration: none;
            color: #333;
            font-size: 1.2em;
            cursor: pointer;
        } */

.user-dropdown .dropdown-content {
  display: none;
  position: absolute;
  /* right: 0; */
  background-color: #fff;
  min-width: 160px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.user-dropdown .dropdown-content a,
.user-dropdown .dropdown-content span {
  /* display: block;
  padding: 10px; */
  color: #333;
  text-decoration: none;
  font-size: 0.9em;
}

/* .user-dropdown .dropdown-content a:hover {
            background-color: #f0f0f0;
        } */

/* Afficher le dropdown au survol */
.user-dropdown:hover .dropdown-content {
  display: block;
}

/** Panier dropdown */

.cart-dropdown {
  position: relative;
  display: inline-block;
}

.cart-icon {
  color: white;
  font-size: 20px;
  text-decoration: none;
  position: relative;
}

.cart-count {
  background: red;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
  position: absolute;
  top: -8px;
  right: -10px;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  padding: 10px;
  z-index: 1000;
}

.dropdown-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-content li {
  padding: 5px 0;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
  color: #333;
}

.dropdown-content .view-cart {
  display: block;
  margin-top: 10px;
  margin-left: 0px;
  text-align: center;
  padding: 5px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.dropdown-content .view-cart:hover {
  background: #0056b3;
}

/* Affiche le dropdown quand on survole */
.cart-dropdown:hover .dropdown-content {
  display: block;
}

.empty-cart {
  text-align: center;
  color: #843232;
  font-size: 14px;
}

.checkout-table tr:last-child {
  background-color: #ffe8a1;
  /* couleur de ton choix */
  font-weight: bold;
}

/* Améliorations visuelles supplémentaires */
/*-----------------------------------------------------------*/

/* Effet verre dépoli header */
.top-bar {
  backdrop-filter: blur(6px);
  background-color: rgba(255, 255, 255, 0.08);
  animation: fadeDown 0.8s ease both;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pulse du panier lorsqu’un item existe */
.cart-count {
  animation: pulseCart 1.4s infinite ease-in-out;
}

@keyframes pulseCart {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.22);
  }
}

/* Ombre sur icônes user + coeur + panier */
.user-actions a i {
  transition: 0.3s;
}

.user-actions a:hover i {
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

/* Apparition progressive des sections */
.hero,
.products-grid,
.features,
footer {
  opacity: 0;
  animation: fadeInUp 1.2s forwards ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Effet glow sur bouton quand on survole */
.btn,
.add-to-cart,
.newsletter button {
  transition: 0.35s;
}

.btn:hover,
.add-to-cart:hover,
.newsletter button:hover {
  box-shadow: 0 0 20px rgba(246, 241, 243, 0.6);
}

/* Zoom léger sur hover produit déjà existant mais amélioré */
.product-card:hover {
  transform: scale(1.03) translateY(-6px);
}

/* Nav activée plus visible */
nav ul li a:hover {
  filter: brightness(1.5);
}

/* Footer Glow top border */
footer {
  border-top: 3px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 -6px 15px rgba(0, 0, 0, 0.25) inset;
}

* {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

body {
  background-color: #f8fafc;
}

/* petites touches personnalisées */
.navbar-brand {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.badge-soldout {
  background-color: #e9ecef;
  color: #495057;
  font-weight: 500;
  font-size: 0.7rem;
  padding: 0.35rem 0.65rem;
  border-radius: 30px;
}

.product-card {
  border: none;
  border-radius: 1.2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background-color: white;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.05);
}

.product-card img {
  transition: transform 0.3s ease;
  height: 260px;
  object-fit: cover;
  width: 100%;
  background-color: #fff;
}

.product-card:hover img {
  transform: scale(1.02);
}

.product-card .card-body {
  padding: 1.2rem 1rem 1rem 1rem;
}

.price {
  font-weight: 700;
  font-size: 1.3rem;
  color: #0b3954;
}

.old-price {
  font-size: 0.9rem;
  color: #8b9eb0;
  text-decoration: line-through;
  margin-left: 8px;
}

.btn-outline-dark-custom {
  border: 1.5px solid #1e2a36;
  color: #1e2a36;
  border-radius: 40px;
  padding: 0.4rem 1.2rem;
  font-weight: 500;
  transition: 0.15s;
}

.btn-outline-dark-custom:hover {
  background-color: #1e2a36;
  color: white;
}

.btn-primary-custom {
  background-color: #0b3954;
  border: none;
  border-radius: 40px;
  padding: 0.5rem 1.8rem;
  font-weight: 500;
  transition: 0.15s;
}

.btn-primary-custom:hover {
  background-color: #0b2c41;
}

.carousel-item {
  border-radius: 2rem;
  overflow: hidden;
}

.carousel-caption {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  border-radius: 2rem;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 1rem;
  text-align: left;
}

.section-title {
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: #0b2a3c;
  position: relative;
}

.section-title:after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background-color: #0b3954;
  margin-top: 0.5rem;
  border-radius: 2px;
}

footer {
  background-color: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.list-unstyled li {
  margin-bottom: 0.6rem;
}

.list-unstyled a {
  color: #4b5e6b;
  text-decoration: none;
  transition: color 0.15s;
}

.list-unstyled a:hover {
  color: #0b3954;
  text-decoration: underline;
}

.newsletter-input {
  border-radius: 50px;
  border: 1px solid #dee7ef;
  padding: 0.7rem 1.2rem;
  background-color: white;
}

.newsletter-input:focus {
  border-color: #0b3954;
  box-shadow: 0 0 0 0.2rem rgba(11, 57, 84, 0.1);
}

.payment-icons i {
  font-size: 2rem;
  color: #7c8f9e;
  margin-right: 12px;
  transition: color 0.15s;
}

.payment-icons i:hover {
  color: #0b3954;
}

/* adaptation mobile fine */
@media (max-width: 576px) {
  .product-card img {
    height: auto;
    max-height: 100%;
    object-fit: contain;
  }

  .carousel-caption h1 {
    font-size: 1.5rem;
  }
}

.sticky-categories {
  position: sticky;
  top: 80px;
  max-height: 180vh;
  overflow-y: auto;
}

.sticky-summary {
  position: sticky;
  top: 50px;
  height: auto;
  max-height: 80vh;
  /* overflow-y: auto; */
}

.category-checkbox,
.plagePrix-checkbox {
  cursor: pointer;
}

.list-group-item:hover {
  background-color: #f8f9fa;
}

.category-checkbox,
.plagePrix-checkbox {
  transition: transform 0.2s ease;
  border-color: #d9ae03;
  size: 15px;
}

.category-checkbox:checked,
.plagePrix-checkbox:checked {
  transform: scale(1.3);
  background-color: #d9ae03;
  border-color: #d9ae03;
  box-shadow: #d9ae03 0 0 10px;
}

.category-checkbox:not(.checked),
.plagePrix-checkbox:not(.checked) {
  transform: scale(1.3);
  background-color: #d9ae03;
  border-color: #d9ae03;
  box-shadow: #d9ae03 0 0 10px;
}

.category-checkbox:hover,
.plagePrix-checkbox:hover {
  box-shadow: #d9ae03 0 0 10px;
}

.category-checkbox:checked+label,
.plagePrix-checkbox:checked+label {
  font-weight: bold;
  color: #282401;
}

.accordion-button:not(.collapsed) {
  background-color: #f7e5a4;
  color: rgb(20, 1, 1);
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem #f7e5a4;
}

.accordion-button:not(.collapsed)::after {

  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23282401'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(-180deg);
}

.btn-resetFiltres {
  box-shadow: 0 0 0 0.2rem #f9f9f8;
  background-color: #f9f9f8;
  color: rgb(111, 109, 109);
  border: none;
  margin: 10px;
  width: 80%;
  padding: 0;
  display: block;

}

.btn-resetFiltres:hover {
  box-shadow: 0 0 0 0.2rem #f9f9f8;
  background-color: #f9f9f8;
  color: rgb(20, 1, 1);
  border: none;
}

.btn-resetFiltres:focus {
  box-shadow: 0 0 0 0.2rem #fff;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

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

.product-hidden {
  opacity: 0;
  transform: scale(0.95);
}

.blur {
  filter: blur(3px);
  pointer-events: none;
}
/* Pages À propos, CGV, confidentialité, retours */
.page-legale { padding: 40px 0 60px; }
.page-legale .container { max-width: 860px; line-height: 1.7; }
.page-legale h1 { font-size: 2rem; margin-bottom: 10px; }
.page-legale h2 { font-size: 1.3rem; margin-top: 30px; }
.page-legale h3 { font-size: 1.05rem; margin-top: 18px; }
.page-legale .maj { color: #8a8f98; font-size: 0.9rem; }
.page-legale .a-completer { background: #ffe08a; padding: 0 6px; border-radius: 4px; font-weight: 600; }
.footer-paiement, .footer-identite { font-size: 0.85rem; opacity: 0.85; }
.newsletter-mention { font-size: 0.78rem; opacity: 0.8; margin-top: 8px; }
.newsletter-mention a { color: inherit; text-decoration: underline; }

/* Avis clients */
.page-avis .avis-produit { border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; margin-bottom: 18px; }
.page-avis .avis-produit-titre { display: flex; align-items: center; gap: 12px; font-size: 1rem; font-weight: 600; float: none; width: 100%; margin-bottom: 8px; }
.page-avis .avis-produit-image { width: 56px; height: 56px; object-fit: contain; background: #f9f9f9; border-radius: 8px; }
.avis-etoiles { display: inline-flex; flex-direction: row-reverse; gap: 4px; margin-bottom: 10px; }
.avis-etoiles input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.avis-etoiles label { font-size: 1.6rem; color: #d6d9de; cursor: pointer; transition: color .15s; }
.avis-etoiles input:checked ~ label,
.avis-etoiles label:hover,
.avis-etoiles label:hover ~ label { color: #f5b301; }
.avis-etoiles input:focus-visible + label { outline: 2px solid var(--dark); outline-offset: 2px; border-radius: 4px; }
.avis-note-fixe, .avis-note { color: #f5b301; }
.avis-mention { font-size: 0.85rem; color: #6c757d; }
.avis-liste .avis-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
.avis-liste .avis-item:last-child { border-bottom: 0; }
.avis-liste .avis-reponse { background: #f8f9fa; border-left: 3px solid #f5b301; padding: 10px 14px; margin-top: 10px; border-radius: 6px; font-size: 0.95rem; }
.avis-resume { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.avis-resume .avis-moyenne { font-size: 2.4rem; font-weight: 700; line-height: 1; }
.avis-barre { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; }
.avis-barre .avis-barre-fond { flex: 1; height: 8px; background: #edf2f4; border-radius: 4px; overflow: hidden; min-width: 120px; }
.avis-barre .avis-barre-plein { height: 100%; background: #f5b301; }
