html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #181828;
  color: #fff;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 60px;
  background: #181828;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 0 18px #7f5af0;
}
.logo {
  font-size: 2.6rem;
  font-weight: bold;
  color: #7f5af0;
  letter-spacing: 2px;
}
.burger {
  display: none;
  background: none;
  border: none;
  color: #7f5af0;
  font-size: 2.2rem;
  cursor: pointer;
  margin-left: 18px;
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center;
  transition: right 0.3s;
}
.nav-links a, .cart-btn {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.08rem;
  transition: color 0.2s;
  padding: 6px 16px;
  border-radius: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-links a:hover, .retour, .cart-btn:hover {
  color: #7f5af0;
  background: #23234a;
}
.cart-btn {
  font-size: 1.3rem;
  position: relative;
}
#cart-count {
  background: #2ce0c7;
  color: #23234a;
  border-radius: 50%;
  padding: 2px 7px;
  font-size: 0.95rem;
  position: absolute;
  top: -8px; right: -12px;
}
.banner {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) blur(1px);
  position: absolute;
  top: 0; left: 0;
  z-index: 1;
}
.banner-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}
.banner-text h1 {
  font-size: 4rem;
  color: #7f5af0;
  text-shadow: 0 0 18px #23234a;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.banner-text p {
  font-size: 2rem;
  margin-bottom: 36px;
  font-style: italic;
}
.btn-cta {
  background: linear-gradient(135deg, #7f5af0, #2ce0c7);
  color: #23234a;
  font-weight: bold;
  border-radius: 30px;
  padding: 18px 44px;
  text-decoration: none;
  font-size: 1.3rem;
  box-shadow: 0 0 14px #7f5af0;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
  border: 2px solid #2ce0c7;
}
.btn-cta:hover {
  transform: scale(1.08);
  box-shadow: 0 0 30px #7f5af0;
  background: linear-gradient(135deg, #2ce0c7, #7f5af0);
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 56px;
  padding: 90px 80px 60px 80px;
  background: #23234a;
}
.product-card {
  background: #181828;
  border-radius: 22px;
  box-shadow: 0 0 18px #7f5af0;
  padding: 32px 18px 38px 18px;
  width: 100%;
  max-width: 380px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid #7f5af0;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.product-card:hover {
  transform: scale(1.07) rotate(-2deg);
  box-shadow: 0 0 40px #2ce0c7, 0 0 80px #7f5af0;
  z-index: 2;
}
.product-img-wrap {
  position: relative;
  width: 240px;
  height: 240px;
  margin-bottom: 28px;
  overflow: hidden;
  border-radius: 22px;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 0 10px #7f5af0;
  transition: transform 0.3s;
}
.product-card:hover .product-img {
  transform: scale(1.08) rotate(2deg);
}
.product-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, #23234a 80%, transparent 100%);
  color: #fff;
  padding: 22px 0 14px 0;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.product-card:hover .product-overlay {
  opacity: 1;
}
.product-card h3 {
  color: #2ce0c7;
  margin-bottom: 14px;
  text-shadow: 0 0 8px #7f5af0;
  font-size: 1.25rem;
}
.prix {
  color: #7f5af0;
  font-weight: bold;
  font-size: 1.3rem;
  margin-bottom: 12px;
  display: block;
}
.btn-buy, .btn-details {
  background: linear-gradient(135deg, #2ce0c7, #7f5af0);
  color: #23234a;
  font-weight: bold;
  border-radius: 30px;
  padding: 12px 32px;
  text-decoration: none;
  font-size: 1.08rem;
  box-shadow: 0 0 10px #2ce0c7;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
  border: 2px solid #7f5af0;
  margin-top: 12px;
  margin-right: 10px;
  cursor: pointer;
}
.btn-buy:hover, .btn-details:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px #2ce0c7;
  background: linear-gradient(135deg, #7f5af0, #2ce0c7);
}
.promo-banner {
  position: relative;
  width: 100%;
  height: 400px;
  margin: 80px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #181828;
  overflow: hidden;
}
.promo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) blur(1px);
  position: absolute;
  top: 0; left: 0;
  z-index: 1;
}
.promo-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}
.promo-text h2 {
  font-size: 2.6rem;
  color: #2ce0c7;
  margin-bottom: 14px;
}
.promo-text p {
  font-size: 1.5rem;
  margin-bottom: 22px;
}
.avis-client {
  background: #181828;
  color: #2ce0c7;
  text-align: center;
  padding: 60px 10px 40px 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}
.avis-card {
  background: #23234a;
  border-radius: 22px;
  box-shadow: 0 0 22px #7f5af0;
  display: inline-block;
  padding: 32px 22px;
  margin-top: 24px;
  max-width: 380px;
}
.avis-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
  box-shadow: 0 0 10px #2ce0c7;
}
.avis-stars {
  color: #FFD700;
  font-size: 1.5rem;
  margin: 10px 0;
}
.avis-nom {
  color: #fff;
  font-size: 1.08rem;
  margin-top: 8px;
}
.contact-section {
  padding: 80px 10px 60px 10px;
  background: #23234a;
  text-align: center;
}
.contact-section h2 {
  color: #7f5af0;
  font-size: 2.2rem;
  margin-bottom: 22px;
}
.contact-section p, .contact-section a {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.contact-form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.contact-form input, .contact-form textarea {
  padding: 12px;
  border-radius: 10px;
  border: none;
  font-size: 1.08rem;
  background: #181828;
  color: #fff;
  resize: none;
}
.contact-form button {
  background: linear-gradient(135deg, #7f5af0, #2ce0c7);
  color: #23234a;
  font-weight: bold;
  border-radius: 30px;
  padding: 14px 0;
  font-size: 1.08rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 10px #7f5af0;
  transition: background 0.2s;
}
.contact-form button:hover {
  background: #7f5af0;
}
footer {
  background: #181828;
  color: #7f5af0;
  text-align: center;
  padding: 32px 10px;
  font-size: 1.08rem;
  margin-top: 40px;
}

/* Panier pop-up */
.cart-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(24,24,40,0.85);
  align-items: center;
  justify-content: center;
}
.cart-content {
  background: #23234a;
  border-radius: 22px;
  box-shadow: 0 0 40px #7f5af0;
  padding: 40px 34px;
  min-width: 340px;
  max-width: 90vw;
  color: #fff;
  text-align: center;
}
.cart-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px 0;
}
.cart-content li {
  margin-bottom: 14px;
  font-size: 1.15rem;
}
.cart-content button {
  cursor: pointer;
}

/* Fiche produit pop-up */
.product-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(24,24,40,0.85);
  align-items: center;
  justify-content: center;
}
.product-content {
  background: #23234a;
  border-radius: 22px;
  box-shadow: 0 0 40px #7f5af0;
  padding: 40px 34px;
  min-width: 340px;
  max-width: 90vw;
  color: #fff;
  text-align: center;
  position: relative;
}
.modal-img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 0 18px #2ce0c7;
  margin-bottom: 22px;
}
.close-btn {
  position: absolute;
  top: 16px; right: 24px;
  font-size: 2.2rem;
  color: #2ce0c7;
  cursor: pointer;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px);}
  to { opacity: 1; transform: translateY(0);}
}
@keyframes up {
  from { opacity: 0; transform: translateY(40px);}
  to { opacity: 1; transform: translateY(0);}
}
.anim-fade { animation: fadeIn 1.2s; }
.anim-fade2 { animation: fadeIn 1.6s; }
.anim-fade3 { animation: fadeIn 2s; }
.anim-up { animation: up 1s; }

/* Responsive Navbar */
@media (max-width: 900px) {
  .navbar { padding: 12px 8px; gap: 0; }
  .logo { font-size: 1.5rem; }
  .burger {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100vw;
    flex-direction: column;
    background: #181828;
    width: 70vw;
    height: 100vh;
    gap: 0;
    padding-top: 80px;
    padding-left: 0;
    align-items: flex-start;
    box-shadow: 0 0 18px #7f5af0;
    transition: right 0.3s;
    z-index: 1001;
  }
  .nav-links li {
    width: 100%;
    margin: 0;
    border-bottom: 1px solid #23234a;
  }
  .nav-links a, .cart-btn, .retour {
    display: block;
    width: 100%;
    padding: 18px 24px;
    font-size: 1.1rem;
    border-radius: 0;
    background: none;
    text-align: left;
  }
  .nav-links.nav-active {
    right: 0;
  }
  .burger.active {
    color: #2ce0c7;
  }
  .nav-links { gap: 10px; }
  .banner { height: 40vh; min-height: 220px; }
  .banner-text h1 { font-size: 2rem; }
  .banner-text p { font-size: 1rem; }
  .btn-cta { font-size: 1rem; padding: 12px 18px; }
  .shop-grid { grid-template-columns: 1fr; padding: 30px 8px; gap: 18px; }
  .product-card { max-width: 100%; padding: 18px 8px 28px 8px; }
  .product-img-wrap { width: 120px; height: 120px; margin-bottom: 12px; }
  .promo-banner { height: 180px; margin: 30px 0 0 0; }
  .promo-text h2 { font-size: 1.2rem; }
  .promo-text p { font-size: 1rem; }
  .avis-client { gap: 10px; padding: 30px 4px 20px 4px; }
  .avis-card { padding: 12px 4px; max-width: 98vw; }
  .avis-img { width: 40px; height: 40px; margin-bottom: 6px; }
  .avis-stars { font-size: 1rem; }
  .avis-nom { font-size: 0.95rem; }
  .contact-section { padding: 30px 4px 20px 4px; }
  .contact-section h2 { font-size: 1.1rem; }
  .contact-section p, .contact-section a { font-size: 0.95rem; }
  .contact-form { padding: 8px 2px; max-width: 98vw; gap: 8px; }
  .contact-form input, .contact-form textarea { font-size: 0.95rem; padding: 8px; }
  .contact-form button { font-size: 0.95rem; padding: 10px 0; }
  footer { font-size: 0.95rem; padding: 12px 4px; margin-top: 18px; }
  .cart-content, .product-content { min-width: 90vw; padding: 18px 4px; }
  .modal-img { width: 100px; height: 100px; margin-bottom: 8px; }
  .close-btn { font-size: 1.5rem; top: 8px; right: 10px; }
}