/* ---------- COULEURS ---------- */
:root {
  --beige: #f7f3ef;
  --rose: #f7dce9;
  --rose-light: #fae8f1;
  --dore: #c8a951;
  --text-dark: #3b2f2f;
}

/* ---------- RESET & BASE ---------- */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 
               "Helvetica Neue", Arial, sans-serif;
  background: var(--beige);
  color: var(--text-dark);
  overflow-x: hidden;
  font-size: 1rem;
  line-height: 1.6;
}

/* APPLIQUER BIRTHSTONE AU HEADER ET LOGO */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.7rem 2rem; /* Réduit de 1rem 2rem à 0.5rem 1.5rem */
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); /* Ombre plus subtile */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  box-sizing: border-box;
  opacity: 1 !important;
  transform: translateY(0) !important;
  height: 70px; /* Hauteur fixe */
  min-height: 60px;
  max-height: 60px;
}


/* Logo avec Birthstone */
.logo-section {
  text-decoration: none;
  color: inherit;
  z-index: 1001;
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* LOGO PRINCIPAL EN BIRTHSTONE */
.logo-main {
  font-size: 3rem; /* Plus grand pour Birthstone */
  font-weight: 400; /* Birthstone utilise 400 */
  color: var(--dore); /* Utilise votre variable dorée */
  letter-spacing: 0.5px; /* Un peu d'espacement */
  font-family: "Birthstone", cursive !important; /* FORCE Birthstone */
  line-height: 1;
  margin-bottom: -5px; /* Pour rapprocher du sous-titre */
}

/* Sous-titre en police normale */
.logo-subtitle {
  font-size: 0.7rem;
  color: var(--dore);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 500;
  margin-top: 0;
  line-height: 1.2;
}

/* Navigation Desktop - Birthstone pour les liens */
.nav-desktop {
  display: flex;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

/* LIENS DE NAVIGATION EN BIRTHSTONE */
.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 1.3rem; /* Plus grand pour Birthstone */
  font-weight: 400;
  transition: color 0.3s ease;
  gap: 0.25rem;
  font-family: "Birthstone", cursive;
}

.nav-link span {
  font-family: "Birthstone", cursive;
  font-size: 1.3rem;
  margin-top: 2px;
}

.nav-link:hover {
  color: var(--dore);
}

.nav-icon {
  font-size: 1.2rem;
  margin-bottom: 0.1rem; /* Moins d'espace pour Birthstone */
  color: var(--dore);
}

/* MOBILE - Birthstone pour le menu mobile aussi */
.nav-link-mobile {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 1.5rem; /* Plus grand sur mobile */
  font-weight: 400;
  padding: 0.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-family: "Birthstone", cursive;
}

.nav-link-mobile span {
  font-family: "Birthstone", cursive;
  font-size: 1.5rem;
}

.nav-icon-mobile {
  font-size: 1.3rem;
  margin-right: 1rem;
  width: 24px;
  text-align: center;
  color: var(--dore);
}

/* TITRES EN BIRTHSTONE */
h1, h2, h3, .titre-cursif, .signature {
  font-family: "Birthstone", cursive;
  font-weight: 400;
}

/* Tailles spécifiques pour Birthstone */
h1 {
  font-size: 4rem;    /* Plus grand pour Birthstone */
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  line-height: 1.1;
}

h2 {
  font-size: 3rem;    /* Plus grand pour Birthstone */
  letter-spacing: 0.015em;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

h3 {
  font-family: "Playfair Display", serif; /* Élégant et lisible */
  font-size: 1.8rem; /* Légèrement réduit car la police est plus structurée */
  font-weight: 500; /* Un peu plus de graisse pour la présence */
  color: var(--text-dark);
  line-height: 1.4;
  font-style: italic; /* Optionnel pour encore plus d'élégance */
}
/* Pour les sous-titres qui doivent rester en police normale */
.sous-titre, .description, .texte-normal {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Texte normal - police lisible */
p, li, div, button, input, textarea {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Liens généraux */
a {
  text-decoration: none;
  color: inherit;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .header-container {
      padding: 0.75rem 1rem;
  }
  
  .logo-main {
      font-size: 2rem; /* Un peu plus petit sur mobile */
  }
  
  .logo-subtitle {
      font-size: 0.6rem;
      letter-spacing: 1px;
  }
  
  .nav-link {
      font-size: 1.1rem;
  }
  
  .nav-link span {
      font-size: 1.1rem;
  }
  
  h1 {
      font-size: 3rem;
  }
  
  h2 {
      font-size: 2.5rem;
  }
  
  h3 {
      font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .header-container {
      padding: 0.5rem 1rem;
  }
  
  .logo-main {
      font-size: 1.8rem;
  }
  
  .logo-subtitle {
      font-size: 0.55rem;
      letter-spacing: 0.8px;
  }
  
  .nav-link-mobile {
      font-size: 1.3rem;
  }
  
  .nav-link-mobile span {
      font-size: 1.3rem;
  }
}

/* ESPACE POUR LE HEADER FIXE */
.header-spacer {
  height: 80px;
  width: 100%;
  display: block;
}

/* AJOUTEZ POUR LA VISIBILITÉ DU HEADER */
#header {
  opacity: 1 !important;
  transform: translateY(0) !important;
  visibility: visible !important;
}
/* Desktop Navigation */
.nav-desktop {
  display: flex;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
  gap: 0.25rem;
}

.nav-link:hover {
  color: #d4af37;
}

.nav-icon {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

/* Mobile Navigation */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent; /* Changé de 'transparent' à 'white' */
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.menu-line {
  width: 100%;
  height: 3px;
  background-color: #c8a951;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle[aria-expanded="true"] .menu-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color:#fff;
  padding: 6rem 2rem 2rem;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 1000;
}

.nav-mobile[aria-hidden="false"] {
  right: 0;
}

.nav-list-mobile {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item-mobile {
  margin-bottom: 1.5rem;
}

.nav-link-mobile {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-link-mobile:hover {
  background-color: #f8f8f8;
  color: #d4af37;
  transform: translateX(5px);
}

.nav-icon-mobile {
  font-size: 1.3rem;
  margin-right: 1rem;
  width: 24px;
  text-align: center;
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  display: block;
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
      padding: 1rem;
  }
  
  .nav-desktop {
      display: none;
  }
  
  .menu-toggle {
      display: flex;
  }
  
  .nav-mobile {
      display: block;
  }
  
  .logo-main {
      font-size: 1.75rem;
  }
  
  .logo-subtitle {
      font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .header-container {
      padding: 0.75rem 1rem;
  }
  
  .logo-main {
      font-size: 1.5rem;
  }
  
  .logo-subtitle {
      font-size: 0.65rem;
      letter-spacing: 1.5px;
  }
  
  .nav-link-mobile {
      font-size: 1rem;
      padding: 0.5rem;
  }
}
  /* ====== NAVIGATION DESKTOP ====== */
  .nav-desktop {
      display: block;
  }
  
  .nav-list {
      display: flex;
      gap: 1.5rem;
      list-style: none;
      margin: 0;
      padding: 0;
  }
  
  .nav-item {
      position: relative;
  }
  
  .nav-link {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.75rem 1.25rem;
      color: var(--text-dark);
      text-decoration: none;
      font-weight: 500;
      font-size: 0.95rem;
      border-radius: 12px;
      transition: var(--transition);
      position: relative;
      overflow: hidden;
  }
  
  .nav-link::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(193, 154, 107, 0.1), transparent);
      transition: left 0.6s;
  }
  
  .nav-link:hover::before {
      left: 100%;
  }
  
  .nav-link:hover {
      background: rgba(139, 115, 85, 0.05);
      color: var(--dark-gold);
  }
  
  .nav-icon {
      font-size: 1rem;
      color: var(--primary-gold);
      transition: var(--transition);
  }
  
  .nav-link:hover .nav-icon {
      transform: scale(1.1);
  }
  
  /* ====== BADGE PANIER ====== */
  .cart-link {
      position: relative;
  }
  
  .cart-badge {
      position: absolute;
      top: -8px;
      right: -8px;
      min-width: 20px;
      height: 20px;
      background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
      color: white;
      font-size: 0.75rem;
      font-weight: 600;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 5px;
      animation: badge-pulse 2s infinite;
  }
  
  /* ====== MENU BURGER MOBILE ====== */
  .menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 0.5rem;
      z-index: 1002;
  }
  
  .menu-line {
      display: block;
      width: 25px;
      height: 2px;
      background: var(--text-dark);
      margin: 5px 0;
      transition: var(--transition);
      transform-origin: center;
  }
  
  .menu-toggle.active .menu-line:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
  }
  
  .menu-toggle.active .menu-line:nth-child(2) {
      opacity: 0;
  }
  
  .menu-toggle.active .menu-line:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
  }
  
  /* ====== NAVIGATION MOBILE ====== */
  .nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: rgba(252, 234, 192, 0.92); /* Seulement la transparence */
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}
  
  .nav-mobile.active {
      right: 0;
  }
  
  .mobile-nav-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.5rem;
      border-bottom: 1px solid rgba(139, 115, 85, 0.1);
      background: linear-gradient(135deg, var(--light-bg), #f8f5f0);
  }
  
  .mobile-logo {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-family: "Birthstone", cursive;
      font-size: 1.8rem;
      color: var(--text-dark);
  }
  
  .mobile-logo i {
      color: var(--primary-gold);
      font-size: 1.5rem;
  }
  
  .mobile-close {
      background: none;
      border: none;
      font-size: 1.5rem;
      color: var(--text-dark);
      cursor: pointer;
      padding: 0.5rem;
      transition: var(--transition);
  }
  
  .mobile-close:hover {
      color: var(--primary-gold);
      transform: rotate(90deg);
  }
  
  .mobile-nav-list {
      list-style: none;
      padding: 1.5rem;
      margin: 0;
      flex: 1;
  }
  
  .mobile-nav-item {
      margin-bottom: 0.5rem;
  }
  
  .mobile-nav-link {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1rem 1.25rem;
      color: var(--text-dark);
      text-decoration: none;
      font-weight: 500;
      border-radius: 12px;
      transition: var(--transition);
  }
  
  .mobile-nav-link:hover {
      background: rgba(139, 115, 85, 0.05);
      color: var(--dark-gold);
  }
  
  .mobile-nav-link i {
      width: 20px;
      text-align: center;
      color: var(--primary-gold);
  }
  
  .cart-badge-mobile {
      margin-left: auto;
      background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
      color: white;
      font-size: 0.75rem;
      font-weight: 600;
      padding: 0.25rem 0.5rem;
      border-radius: 12px;
      min-width: 24px;
      text-align: center;
  }
  
  .mobile-nav-footer {
      padding: 1.5rem;
      border-top: 1px solid rgba(139, 115, 85, 0.1);
      text-align: center;
  }
  
  .social-icons {
      display: flex;
      justify-content: center;
      gap: 1rem;
      margin-bottom: 1rem;
  }
  
  .social-icon {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(139, 115, 85, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--dark-gold);
      text-decoration: none;
      transition: var(--transition);
  }
  
  .social-icon:hover {
      background: var(--primary-gold);
      color: white;
      transform: translateY(-3px);
  }
  
  .mobile-copyright {
      font-size: 0.75rem;
      color: var(--dark-gold);
      opacity: 0.7;
  }
  
  /* ====== OVERLAY MOBILE ====== */
  .mobile-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(3px);
      z-index: 1000;
      opacity: 0;
      visibility: hidden;
      transition: var(--transition);
  }
  
  .mobile-overlay.active {
      opacity: 1;
      visibility: visible;
  }
  
  /* ====== ANIMATIONS ====== */
  @keyframes gem-sparkle {
      0%, 100% {
          box-shadow: 0 4px 15px rgba(193, 154, 107, 0.3);
          transform: scale(1);
      }
      50% {
          box-shadow: 0 4px 25px rgba(193, 154, 107, 0.5);
          transform: scale(1.05);
      }
  }
  
  @keyframes badge-pulse {
      0%, 100% {
          transform: scale(1);
          box-shadow: 0 0 0 0 rgba(193, 154, 107, 0.4);
      }
      50% {
          transform: scale(1.1);
          box-shadow: 0 0 0 6px rgba(193, 154, 107, 0);
      }
  }
  
  /* ====== RESPONSIVE DESIGN ====== */
  @media (max-width: 992px) {
      .header-container {
          padding: 1rem;
      }
      
      .logo-main {
          font-size: 1.8rem;
      }
      
      .logo-gem {
          width: 40px;
          height: 40px;
      }
      
      .logo-gem i {
          font-size: 1.2rem;
      }
  }
  
  @media (max-width: 768px) {
      .nav-desktop {
          display: none;
      }
      
      .menu-toggle {
          display: block;
      }
      
      .logo-wrapper {
          gap: 0.75rem;
      }
      
      .logo-main {
          font-size: 1.6rem;
      }
      
      .logo-subtitle {
          font-size: 0.7rem;
      }
  }
  
  @media (max-width: 480px) {
      .header-container {
          padding: 0.75rem 1rem;
      }
      
      .nav-mobile {
          width: 280px;
      }
      
      .logo-gem {
          width: 36px;
          height: 36px;
      }
      
      .logo-gem i {
          font-size: 1rem;
      }
  }
  
  /* ====== EFFET SCROLL ====== */
  .header-container.scrolled {
      padding: 0.75rem 2rem;
      background: rgba(255, 255, 255, 0.98);
      box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  }
  
  .header-container.scrolled .logo-main {
      font-size: 1.8rem;
  }
  
  .header-container.scrolled .logo-gem {
      width: 40px;
      height: 40px;
  }
  
 

  /* ---------- HERO ---------- */
  .hero {
    height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(247,243,239,0.1), var(--beige));
    /* Pas de flou sur l'overlay */
}

.hero-content {
    position: relative;
    z-index: 10; /* Au-dessus de tout */
    text-align: center;
    animation: fadeUp 1.2s ease forwards;
    opacity: 0;
    transform: translateY(25px);
    /* Assure que le texte reste net */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

@keyframes fadeUp {
    to {
        opacity: 5;
        transform: translateY(0);
    }
}

h1 {
  color: rgba(255, 250, 245, 0.95);
  text-shadow: 
    0 1px 0 rgba(50, 40, 60, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.2),
    
    /* Dégradé de halos roses */
    0 0 15px rgba(255, 230, 240, 0.9),      /* rose très clair proche */
    0 0 30px rgba(255, 210, 225, 0.8),      /* rose moyen */
    0 0 45px rgba(255, 190, 210, 0.6),      /* rose plus soutenu */
    0 0 60px rgba(255, 170, 195, 0.4),      /* rose profond lointain */
    
    /* Effets glacés */
    0 0 25px rgba(255, 255, 255, 0.8),
    0 0 40px rgba(212, 175, 55, 0.25);
  
  letter-spacing: 0.05em;
  font-weight: 500;
  font-size: 5rem;
  margin-bottom: 15px;
  line-height: 1.2;
}


.hero p {
  font-size: 1.2rem;
  margin-top: 15px;
  color: rgba(255, 253, 250, 0.95); /* Légèrement plus opaque */
  text-shadow: 
      0 1px 1px rgba(40, 30, 50, 0.35),
      0 2px 4px rgba(0, 0, 0, 0.12),
      
      /* Halo rosé plus visible */
      0 0 10px rgba(255, 225, 235, 0.8),
      0 0 20px rgba(255, 205, 220, 0.6),
      0 0 30px rgba(255, 185, 205, 0.3),
      
      /* Effets glacés */
      0 0 12px rgba(255, 255, 255, 0.7),
      0 0 25px rgba(212, 175, 55, 0.2),
      
      /* Ombre portée pour décoller du fond */
      0 1px 2px rgba(0, 0, 0, 0.1);
  
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.015em;
  max-width: 800px; /* Pour limiter la largeur et améliorer la lisibilité */
  margin-left: auto;
  margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--rose);
    color: var(--text-dark);
    border-radius: 30px;
    font-weight: 600;
    margin-top: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all .3s ease;
    position: relative;
    z-index: 10;
    border: none;
    cursor: pointer;
    text-shadow: none; /* Pas d'ombre sur le bouton */
}

.btn:hover {
    background: var(--dore);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(200, 169, 81, 0.3);
}
  /* ---------- SECTION PRODUITS ---------- */
  .products {
    padding: 80px 40px;
    text-align: center;
  }

  .products h2 {
    font-size: 2.4rem;
    margin-bottom: 40px;
  }

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

  .product {
    background: #fff;
    border-radius: 15px;
    padding: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform .35s ease, box-shadow .35s ease;
    overflow: hidden;
    position: relative;
  }

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

  .product img {
    width: 100%;
    border-radius: 12px;
    transition: transform .4s ease;
  }

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

  .product h3 {
    margin-top: 18px;
    font-size: 1.2rem;
    font-weight: 600;
  }

  .price {
    color: var(--dore);
    margin: 8px 0 12px;
    font-weight: 600;
  }

  /* ---------- FOOTER ---------- */
  footer {
    padding: 40px;
    background: var(--rose-light);
    text-align: center;
    margin-top: 80px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
  }
/* ---------- PAGE PRODUIT INDIVIDUELLE ---------- */
.product-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 40px;
  align-items: start;
}

.product-page .product-image {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-page .product-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.product-page .product-image img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.product-page .product-info {
  padding: 20px 0;
}

.product-page .product-info h1 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}
/* Conservez votre CSS existant et ajoutez ceci : */

.product-detail {
  padding: 60px 0;
}

.product-detail .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

/* Galerie - Amélioration de votre .product-image */
.product-gallery {
  position: sticky;
  top: 100px;
}

.main-image {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
}

.main-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.main-image img {
  width: 100%;
  max-width: 450px;
  height: 500px;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.main-image:hover img {
  transform: scale(1.02);
}

.image-thumbnails {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  background: #fff;
  padding: 5px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.thumbnail.active,
.thumbnail:hover {
  opacity: 1;
  border-color: #f7dce9;
  transform: translateY(-2px);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Informations produit - Amélioration de votre .product-info */
.breadcrumb {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  font-size: 0.9rem;
  color: #666;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #f7dce9;
}

.breadcrumb .current {
  color: var(--text-dark);
  font-weight: 500;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.category-tag {
  background: #f7dce9;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.rating {
  color: #ffd700;
  font-size: 1.1rem;
}

.rating-count {
  color: #666;
  font-size: 0.9rem;
  margin-left: 8px;
}

.price {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 25px;
}

.product-description {
  margin-bottom: 30px;
}

.product-description p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 25px;
}

.product-features {
  margin: 25px 0;
}

.feature {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  color: #555;
  font-size: 1rem;
}

.feature i {
  color: #f7dce9;
  width: 20px;
  font-size: 1.1rem;
}

/* Actions produit */
.product-actions {
  display: flex;
  gap: 15px;
  margin: 35px 0;
  align-items: center;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 2px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.qty-btn {
  background: #f8f8f8;
  border: none;
  padding: 14px 18px;
  cursor: pointer;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  color: #666;
}

.qty-btn:hover {
  background: #f0f0f0;
  color: #333;
}

.quantity {
  padding: 14px 24px;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dark);
  min-width: 50px;
  text-align: center;
}

.add-to-cart-btn {
  flex: 1;
  background: #f7dce9;
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.add-to-cart-btn:hover {
  background: #e8b4d4;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(247, 220, 233, 0.4);
}

/* Détails supplémentaires */
.product-details {
  border-top: 1px solid #eee;
  padding-top: 30px;
  margin-top: 30px;
}

.detail-item {
  margin-bottom: 25px;
}

.detail-item h4 {
  margin-bottom: 8px;
  color: var(--text-dark);
  font-size: 1.1rem;
  font-weight: 600;
}

.detail-item p {
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* Produits similaires */
.related-products {
  border-top: 1px solid #eee;
  padding-top: 60px;
  margin-top: 60px;
}

.related-products h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 50px;
  color: var(--text-dark);
}

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

.related-product {
  text-align: center;
  padding: 25px;
  border-radius: 16px;
  transition: all 0.3s ease;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.related-product:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.related-product img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

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

.related-product h4 {
  margin-bottom: 12px;
  color: var(--text-dark);
  font-size: 1.3rem;
  font-weight: 600;
}

.related-product .price {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #333;
}

.btn-link {
  color: #f7dce9;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 10px 20px;
  border: 2px solid #f7dce9;
  border-radius: 8px;
  display: inline-block;
}

.btn-link:hover {
  background: #f7dce9;
  color: white;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 968px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .product-gallery {
    position: static;
  }
  
  .main-image img {
    height: 400px;
  }
  
  .product-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .quantity-selector {
    justify-content: center;
    max-width: 200px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .product-detail .container {
    padding: 0 20px;
  }
  
  .main-image {
    padding: 20px;
  }
  
  .main-image img {
    height: 350px;
  }
  
  .image-thumbnails {
    flex-wrap: wrap;
  }
  
  .product-info h1 {
    font-size: 2.2rem;
  }
  
  .related-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .product-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .main-image img {
    height: 300px;
  }
  
  .thumbnail {
    width: 70px;
    height: 70px;
  }
}

/* ---------- CATALOGUE ---------- */
.catalogue .products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.catalogue .product-card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 500px;
  overflow: hidden;
}

.catalogue .product-image {
  width: 85%; /* Réduction de la largeur */
  height: 280px; /* Augmentation de la hauteur */
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 15px;
  flex-shrink: 0;
  margin-left: auto; /* Centrage si nécessaire */
  margin-right: auto; /* Centrage si nécessaire */
}

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

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

.catalogue .product-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.catalogue .product-info h3 {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  color: var(--text-dark);
  line-height: 1.3;
}

.catalogue .product-description {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0 0 15px 0;
  flex-grow: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.catalogue .price {
  color: var(--dore);
  font-weight: 600;
  font-size: 1.3rem;
  margin: 10px 0 15px 0;
  flex-shrink: 0;
}

/* ---------- BOUTONS ---------- */
.btn-view {
  display: inline-block;
  background: var(--rose);
  color: var(--text-dark);
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: auto;
  flex-shrink: 0;
}

.btn-view:hover {
  background: var(--dore);
  color: white;
  transform: translateY(-2px);
}

.add-to-cart-btn {
  background: var(--rose);
  color: var(--text-dark);
  border: none;
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin-top: 20px;
  width: 100%;
  max-width: 300px;
}

.add-to-cart-btn:hover {
  background: var(--dore);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(200, 169, 81, 0.3);
}


/* ---------- ADMIN ---------- */
.admin-section {
  padding: 60px 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.admin-section h1 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-dark);
}

.product-form {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  margin-bottom: 50px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--rose-light);
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--dore);
}

.form-group textarea {
  height: 80px;
  resize: vertical;
}

.form-group small {
  display: block;
  margin-top: 5px;
  color: #666;
  font-size: 0.85rem;
}

.btn-submit {
  background: var(--dore);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-submit:hover {
  background: var(--text-dark);
  transform: translateY(-2px);
}

/* Flash messages */
.flash-messages {
  margin: 20px 0;
}

.flash-message {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-weight: 500;
}

.flash-message:contains('✅') {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.flash-message:contains('❌') {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Liste des produits existants */
.existing-products {
  margin-top: 50px;
}

.products-list {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.product-item {
  display: flex;
  align-items: center;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.product-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 20px;
}

.product-details h3 {
  margin: 0 0 5px 0;
  color: var(--text-dark);
}

.product-details p {
  margin: 2px 0;
  color: #666;
}

.product-details .template {
  font-family: monospace;
  background: var(--rose-light);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .admin-section {
      padding: 40px 20px;
  }
  
  .product-form {
      padding: 25px;
  }
  
  .product-item {
      flex-direction: column;
      text-align: center;
  }
  
  .product-item img {
      margin-right: 0;
      margin-bottom: 15px;
  }
}


/* Styles pour les nouvelles sections */
.values {
  padding: 60px 0;
  background: #fafafa;
}

.value-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* centre les cartes */
  gap: 30px;
  text-align: center;
}

.value-card {
  flex: 1;
  min-width: 200px; /* ajusté pour 5 éléments */
  max-width: 220px;
}

.value-card i {
  font-size: 2.5rem;
  color: #f7dce9;
  margin-bottom: 15px;
}

.categories {
  padding: 80px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.category-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.category-card:hover {
  transform: translateY(-10px);
}

.process {
  padding: 80px 0;
  background: #fafafa;
  position: relative;
}

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

.process h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 300;
  color: #333;
  margin-bottom: 50px;
  position: relative;
}

.process h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  background: #f7dce9;
  margin: 15px auto 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  text-align: center;
  margin-top: 40px;
}

.step {
  position: relative;
  padding: 20px;
}

.step-image {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 25px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
}

.step:hover .step-image {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.step-number {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 60px;
  height: 60px;
  background: #f7dce9;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
  box-shadow: 0 4px 15px rgba(247, 220, 233, 0.5);
  z-index: 2;
  transition: all 0.3s ease;
}

.step:hover .step-number {
  transform: scale(1.1);
  background: #e8b4d4;
}

.step h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.step:hover h3 {
  color: #f7dce9;
}

.step p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  max-width: 250px;
  margin: 0 auto;
}

/* Overlay effet sur l'image */
.step-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(247, 220, 233, 0.1) 0%, rgba(247, 220, 233, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.step:hover .step-image::before {
  opacity: 1;
}

/* Animation d'apparition */
.step {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.step:nth-child(1) { animation-delay: 0.1s; }
.step:nth-child(2) { animation-delay: 0.2s; }
.step:nth-child(3) { animation-delay: 0.3s; }

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

/* Responsive */
@media (max-width: 768px) {
  .process {
    padding: 60px 0;
  }
  
  .process h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .step-image {
    width: 180px;
    height: 180px;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .process {
    padding: 50px 0;
  }
  
  .step-image {
    width: 160px;
    height: 160px;
  }
  
  .step-number {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    top: -12px;
    right: -12px;
  }
  
  .step h3 {
    font-size: 1.3rem;
  }
}


.testimonials {
  padding: 80px 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stars {
  color: #ffd700;
  margin-bottom: 15px;
}
/* Gardez votre CSS existant et ajoutez juste la ligne background */
.newsletter {
  padding: 60px 0;
  background: url("/static/images/newsletter.jpg") center/cover no-repeat;
  background-size: cover;
  color: white;
  text-align: center;
  position: relative;
}

/* Pour améliorer la lisibilité, ajoutez un overlay */
.newsletter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(59, 47, 47, 0.6); /* Overlay sombre pour lisibilité */
  z-index: 1;
}

.newsletter .container {
  position: relative;
  z-index: 2;
}

.newsletter-form {
  display: flex;
  max-width: 400px;
  margin: 30px auto 0;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 5px 0 0 5px;
}

.newsletter-form button {
  background: var(--dore, #c8a951);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}
.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #f7dce9;
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: bold;
}

.btn-secondary {
  display: inline-block;
  padding: 14px 35px;
  background: #f7dce9; /* Fond rose permanent */
  border: 2px solid #f7dce9;
  color: white; /* Texte blanc */
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(247, 220, 233, 0.3);
}

.btn-secondary:hover {
  background: #f5cde0; /* Rose légèrement plus foncé */
  border-color: #f5cde0;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247, 220, 233, 0.4);
}

/* Section Catégories - Format portrait hautes */
.categories {
  padding: 80px 0;
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

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

.categories h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 300;
  color: #333;
  margin-bottom: 20px;
  position: relative;
}

.categories h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  background: #f7dce9;
  margin: 15px auto 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.category-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s ease;
  background: white;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.category-image {
  position: relative;
  height: 500px; /* Très haute pour format portrait */
  overflow: hidden;
  flex-shrink: 0;
}

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

.category-card:hover .category-image img {
  transform: scale(1.05);
}

.category-content {
  padding: 30px;
  text-align: center;
  background: white;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-content h3 {
  font-size: 1.8rem;
  font-weight: 400;
  color: #333;
  margin-bottom: 12px;
}

.category-content p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.btn-outline {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid #f7dce9;
  color: #f7dce9;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  background: transparent;
  align-self: center;
}

.category-card:hover .btn-outline {
  background: #f7dce9;
  color: white;
  transform: translateY(-2px);
}

/* Animation */
.category-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

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

/* Responsive avec hauteurs adaptatives */
@media (max-width: 1024px) {
  .category-image {
      height: 450px;
  }
}

@media (max-width: 768px) {
  .categories {
      padding: 60px 0;
  }
  
  .category-grid {
      grid-template-columns: 1fr;
      gap: 30px;
  }
  
  .category-image {
      height: 400px;
  }
}

@media (max-width: 480px) {
  .category-image {
      height: 350px;
  }
  
  .category-content {
      padding: 25px 20px;
  }
}

/* Pour les très grands écrans */
@media (min-width: 1400px) {
  .category-image {
      height: 550px;
  }
}

/* Section produits similaires - Format carré */
.related-products {
  border-top: 1px solid #eee;
  padding-top: 60px;
  margin-top: 60px;
}

.related-products h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 50px;
  color: #333;
}

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

.related-product {
  text-align: center;
  padding: 25px;
  border-radius: 16px;
  transition: all 0.3s ease;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.related-product:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.related-product img {
  width: 100%;
  height: 250px; /* HAUTEUR FIXE POUR FORMAT CARRÉ */
  object-fit: cover; /* GARANTIT QUE L'IMAGE REMPLIT LE CARRÉ */
  object-position: center; /* CENTRE L'IMAGE */
  border-radius: 12px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

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

.related-product h4 {
  margin-bottom: 12px;
  color: #333;
  font-size: 1.3rem;
  font-weight: 600;
}

.related-product .price {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #333;
}

.btn-link {
  color: #f7dce9;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 10px 20px;
  border: 2px solid #f7dce9;
  border-radius: 8px;
  display: inline-block;
}

.btn-link:hover {
  background: #f7dce9;
  color: white;
  transform: translateY(-2px);
}

/* Responsive avec format carré maintenu */
@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
  }
  
  .related-product img {
    height: 350px; /* Carré plus petit sur tablette */
  }
}

@media (max-width: 480px) {
  .related-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .related-product img {
    height: 400px; /* Carré sur mobile */
  }
}

/* Pour les grands écrans */
@media (min-width: 1200px) {
  .related-product img {
    height: 350px; /* Carré plus grand sur desktop */
  }
}


/* about */



.about {
  padding: 60px 0;
  background: var(--beige);
  min-height: 100vh;
}

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

.about-hero {
  text-align: center;
  margin-bottom: 60px;
}

.about-section {
  margin-bottom: 50px;
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(195, 157, 177, 0.1);
  border: 1px solid var(--rose-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(195, 157, 177, 0.2);
}

.title-container {
  text-align: center;
  margin-bottom: 30px;
}

.title-container h1 {
  font-size: 3rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: 300;
  letter-spacing: 2px;
}

.title-container h2 {
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: 400;
}

.title-underline {
  width: 80px;
  height: 3px;
  background: linear-gradient(135deg, var(--dore) 0%, var(--rose) 100%);
  margin: 0 auto;
  border-radius: 2px;
}

.about-content {
  text-align: center;
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  color: var(--text-dark);
  font-size: 1.1rem;
}

.about-text p {
  margin-bottom: 20px;
}

.features-list {
  text-align: left;
  max-width: 500px;
  margin: 30px auto;
  padding: 0;
  list-style: none;
}

.features-list li {
  padding: 12px 0;
  padding-left: 40px;
  position: relative;
  border-bottom: 1px solid var(--rose-light);
  color: var(--text-dark);
  font-size: 1.1rem;
}

.features-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  background: linear-gradient(135deg, var(--dore) 0%, var(--rose) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: bold;
}

.features-list li:last-child {
  border-bottom: none;
}

strong {
  color: var(--text-dark);
  font-weight: 600;
  background: linear-gradient(135deg, var(--dore) 0%, var(--rose) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive */
@media (max-width: 768px) {
  .about {
      padding: 40px 0;
  }
  
  .about-section {
      padding: 30px 20px;
      margin-bottom: 30px;
  }
  
  .title-container h1 {
      font-size: 2.2rem;
  }
  
  .title-container h2 {
      font-size: 1.8rem;
  }
  
  .about-text {
      font-size: 1rem;
  }
  
  .features-list {
      max-width: 100%;
  }
  
  .features-list li {
      padding-left: 35px;
      font-size: 1rem;
  }
}



.logo-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  cursor: pointer;
}
/* Register */
.register {
  padding: 80px 0;
  background: var(--beige);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

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

.register-card {
  max-width: 500px;
  margin: 0 auto;
  background: white;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(195, 157, 177, 0.1);
  border: 1px solid var(--rose-light);
}

.register-header {
  text-align: center;
  margin-bottom: 40px;
}

.register-header h1 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: 300;
}

.register-header p {
  color: var(--text-dark);
  opacity: 0.8;
  font-size: 1.1rem;
  margin-top: 20px;
}

.title-underline {
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, var(--dore) 0%, var(--rose) 100%);
  margin: 0 auto;
  border-radius: 2px;
}

.register-form {
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
}

/* Styles pour les champs WTForms */
.form-control {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--rose-light);
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--beige);
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--dore);
  background: white;
  box-shadow: 0 0 0 3px rgba(200, 169, 81, 0.1);
}

/* Styles spécifiques pour les checkboxes WTForms */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

/* Cache la checkbox par défaut et crée une custom one */
.checkbox-group input[type="checkbox"] {
  display: none;
}

/* Style du label personnalisé pour la checkbox */
.checkbox-group label {
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-dark);
  font-weight: normal;
  display: block;
}

/* Case à cocher personnalisée */
.checkbox-group label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--rose-light);
  border-radius: 4px;
  background: white;
  transition: all 0.3s ease;
}

/* Checkmark personnalisé */
.checkbox-group label::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 4px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: all 0.3s ease;
}

/* Quand la checkbox est cochée */
.checkbox-group input[type="checkbox"]:checked + label::before {
  background: linear-gradient(135deg, var(--dore) 0%, var(--rose) 100%);
  border-color: var(--dore);
}

.checkbox-group input[type="checkbox"]:checked + label::after {
  opacity: 1;
}

/* Hover states */
.checkbox-group label:hover::before {
  border-color: var(--dore);
  box-shadow: 0 0 0 3px rgba(200, 169, 81, 0.1);
}

/* Focus states pour l'accessibilité */
.checkbox-group input[type="checkbox"]:focus + label::before {
  border-color: var(--dore);
  box-shadow: 0 0 0 3px rgba(200, 169, 81, 0.2);
}

.password-requirements {
  margin-top: 5px;
  font-size: 0.85rem;
  color: var(--text-dark);
  opacity: 0.7;
}

.btn-register {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--dore) 0%, var(--rose) 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 169, 81, 0.3);
}

.btn-register:active {
  transform: translateY(0);
}

.register-footer {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--rose-light);
}

.register-footer p {
  color: var(--text-dark);
  opacity: 0.8;
}

.link {
  color: var(--dore);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.link:hover {
  color: var(--rose);
  text-decoration: underline;
}

/* Styles pour les messages d'erreur */
.error-message {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 5px;
  display: block;
  font-weight: 500;
}

.form-control.error {
  border-color: #e74c3c;
  background: rgba(231, 76, 60, 0.02);
}

/* Responsive */
@media (max-width: 768px) {
  .register {
      padding: 40px 0;
  }
  
  .register-card {
      padding: 30px 25px;
      margin: 0 20px;
  }
  
  .register-header h1 {
      font-size: 2rem;
  }
  
  .form-row {
      grid-template-columns: 1fr;
      gap: 0;
  }
  
  .checkbox-group label {
      font-size: 0.85rem;
      padding-left: 30px;
  }
  
  .checkbox-group label::before {
      width: 18px;
      height: 18px;
      top: 1px;
  }
  
  .checkbox-group label::after {
      left: 6px;
      top: 3px;
      width: 5px;
      height: 10px;
  }
}

@media (max-width: 480px) {
  .register-card {
      padding: 25px 20px;
  }
  
  .register-header h1 {
      font-size: 1.8rem;
  }
  
  .checkbox-group {
      gap: 8px;
  }
}

/* Login */
.login {
  padding: 80px 0;
  background: var(--beige);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.login-card {
  max-width: 450px;
  margin: 0 auto;
  background: white;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(195, 157, 177, 0.1);
  border: 1px solid var(--rose-light);
}

.login-header {
  text-align: center;
  margin-bottom: 40px;
}

.login-header h1 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: 300;
}

.login-header p {
  color: var(--text-dark);
  opacity: 0.8;
  font-size: 1.1rem;
  margin-top: 20px;
}

.login-form {
  margin-bottom: 30px;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

/* CORRECTION : Changer la classe du lien */
.forgot-password-link {
  color: var(--dore);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.forgot-password-link:hover {
  color: var(--rose);
  text-decoration: underline;
}

.btn-login {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--dore) 0%, var(--rose) 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 169, 81, 0.3);
}

.btn-login:active {
  transform: translateY(0);
}

.login-footer {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--rose-light);
}

.login-footer p {
  color: var(--text-dark);
  opacity: 0.8;
}

/* Styles spécifiques pour la page login */
.login .checkbox-group {
  margin-bottom: 0;
}

.login .form-group {
  margin-bottom: 25px;
}

/* Pages de mot de passe oublié et réinitialisation */
/* CORRECTION : Utiliser des classes plus spécifiques */
.password-recovery-page {
  padding: 80px 0;
  background: var(--beige);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.password-recovery-card {
  max-width: 450px;
  margin: 0 auto;
  background: white;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(195, 157, 177, 0.1);
  border: 1px solid var(--rose-light);
}

.password-recovery-header {
  text-align: center;
  margin-bottom: 40px;
}

.password-recovery-header h1 {
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: 300;
}

.password-recovery-header p {
  color: var(--text-dark);
  opacity: 0.8;
  font-size: 1.1rem;
  margin-top: 20px;
  line-height: 1.5;
}

.password-recovery-form {
  margin-bottom: 30px;
}

.btn-password-reset {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--dore) 0%, var(--rose) 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.btn-password-reset:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 169, 81, 0.3);
}

.btn-password-reset:active {
  transform: translateY(0);
}

.password-recovery-footer {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--rose-light);
}

.password-recovery-footer p {
  color: var(--text-dark);
  opacity: 0.8;
}

/* Messages de statut */
.password-recovery-message {
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 500;
}

.password-recovery-message.success {
  background: rgba(76, 175, 80, 0.1);
  color: #2e7d32;
  border: 1px solid #4caf50;
}

.password-recovery-message.error {
  background: rgba(244, 67, 54, 0.1);
  color: #c62828;
  border: 1px solid #f44336;
}

/* Responsive pour login */
@media (max-width: 768px) {
  .login {
    padding: 40px 0;
  }
  
  .login-card,
  .password-recovery-card {
    padding: 30px 25px;
    margin: 0 20px;
  }
  
  .login-header h1,
  .password-recovery-header h1 {
    font-size: 2rem;
  }
  
  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .forgot-password-link {
    align-self: flex-end;
  }
  
  .password-recovery-page {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .login-card,
  .password-recovery-card {
    padding: 25px 20px;
  }
  
  .login-header h1,
  .password-recovery-header h1 {
    font-size: 1.8rem;
  }
  
  .form-options {
    flex-direction: column;
    align-items: stretch;
  }
  
  .forgot-password-link {
    align-self: center;
    text-align: center;
    margin-top: 10px;
  }
  
  .password-recovery-header h1 {
    font-size: 1.6rem;
  }
}




/* Client Dashboard Styles - E-commerce Bijoux */

/* Welcome Section améliorée */
.welcome-section {
  background: linear-gradient(135deg, var(--dore) 0%, var(--rose) 100%);
  color: white;
  padding: 60px 50px;
  border-radius: 25px;
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
}

.welcome-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.welcome-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.welcome-text h1 {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 15px;
}

.highlight-name {
  font-weight: 700;
  background: linear-gradient(45deg, #fff 0%, #f8f5f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.welcome-text p {
  font-size: 1.3rem;
  opacity: 0.9;
}

.welcome-illustration {
  font-size: 6rem;
  opacity: 0.3;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Stats Grid amélioré */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.stat-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 
      0 10px 40px rgba(195, 157, 177, 0.1),
      0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid var(--rose-light);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--dore) 0%, var(--rose) 100%);
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 
      0 20px 60px rgba(195, 157, 177, 0.2),
      0 1px 0 rgba(255, 255, 255, 0.8);
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--dore) 0%, var(--rose) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
}

.icon-wrapper::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, var(--dore) 0%, var(--rose) 100%);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.5;
  filter: blur(10px);
}

.stat-icon .fas {
  font-size: 2.5rem;
  color: white;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--text-dark) 0%, #555 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.stat-trend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.trend-up {
  color: var(--success);
}

/* Quick Actions moderne */
.quick-actions-section {
  margin-bottom: 50px;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.action-card {
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(200, 169, 81, 0.05), transparent);
  transition: left 0.6s;
}

.action-card:hover::before {
  left: 100%;
}

.action-card:hover {
  transform: translateY(-5px);
  border-color: var(--dore);
  box-shadow: 0 15px 40px rgba(195, 157, 177, 0.15);
}

.action-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--dore) 0%, var(--rose) 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.action-icon .fas {
  font-size: 1.5rem;
  color: white;
}

.action-content {
  flex: 1;
}

.action-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.action-content p {
  color: var(--text-light);
  margin: 0;
}

.action-arrow {
  color: var(--dore);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.action-card:hover .action-arrow {
  transform: translateX(5px);
}

/* Recent Activity amélioré */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.section-title {
  font-size: 2rem;
  font-weight: 300;
  color: var(--text-dark);
  margin: 0;
}

.view-all-link {
  color: var(--dore);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.view-all-link:hover {
  gap: 12px;
}

.activity-cards {
  display: grid;
  gap: 20px;
}

.activity-card {
  background: var(--white);
  padding: 25px;
  border-radius: 15px;
  border: 1px solid var(--rose-light);
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.activity-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(195, 157, 177, 0.1);
}

.activity-header {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.activity-icon {
  width: 50px;
  height: 50px;
  background: var(--beige);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.activity-icon .fas {
  font-size: 1.3rem;
  color: var(--dore);
}

.activity-info h3 {
  margin: 0 0 5px 0;
  font-weight: 600;
}

.activity-time {
  color: var(--text-light);
  font-size: 0.9rem;
}

.activity-status {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 20px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-expedie .status-dot { background: var(--success); }
.status-en-preparation .status-dot { background: var(--warning); }
.status-livre .status-dot { background: var(--info); }

.activity-actions {
  display: flex;
  gap: 10px;
}

.btn-outline, .btn-primary {
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-outline {
  border: 1px solid var(--rose-light);
  color: var(--text-dark);
  background: transparent;
}

.btn-outline:hover {
  background: var(--rose-light);
}

.btn-primary {
  background: linear-gradient(135deg, var(--dore) 0%, var(--rose) 100%);
  color: white;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(200, 169, 81, 0.3);
}

/* Empty State amélioré */
.empty-state {
  text-align: center;
  padding: 60px 40px;
  background: var(--beige);
  border-radius: 20px;
  border: 2px dashed var(--rose-light);
}

.empty-icon {
  font-size: 4rem;
  color: var(--rose-light);
  margin-bottom: 20px;
}

.empty-state h3 {
  color: var(--text-dark);
  margin-bottom: 10px;
}

.empty-state p {
  color: var(--text-light);
  margin-bottom: 30px;
}

/* Section recommandations */
.recommended-section {
  margin-top: 50px;
}

.products-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: thin;
}

.product-mini-card {
  background: var(--white);
  padding: 20px;
  border-radius: 15px;
  border: 1px solid var(--rose-light);
  min-width: 200px;
  text-align: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.product-mini-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(195, 157, 177, 0.15);
}

.product-mini-image {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--dore) 0%, var(--rose) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.product-mini-image .fas {
  font-size: 1.5rem;
  color: white;
}

.product-mini-info h4 {
  margin: 0 0 8px 0;
  font-weight: 600;
}

.price {
  color: var(--dore);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .welcome-content {
      flex-direction: column;
      text-align: center;
      gap: 30px;
  }
  
  .welcome-text h1 {
      font-size: 2.2rem;
  }
  
  .activity-card {
      flex-direction: column;
      gap: 20px;
      text-align: center;
  }
  
  .activity-header {
      flex-direction: column;
  }
}
/* Recommended Products */
.recommended-products {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(195, 157, 177, 0.1);
  border: 1px solid var(--rose-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--beige);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-info {
  padding: 15px;
  text-align: center;
}

.product-name {
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.product-price {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dore);
  margin-bottom: 15px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 40px;
  color: var(--text-light);
}

.empty-state p {
  margin-bottom: 20px;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--dore) 0%, var(--rose) 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(200, 169, 81, 0.3);
}

.btn-secondary {
  background: var(--white);
  color: var(--dore);
  border: 1px solid var(--dore);
}

.btn-secondary:hover {
  background: var(--dore);
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .welcome-section {
      padding: 30px 20px;
  }
  
  .welcome-section h1 {
      font-size: 2rem;
  }
  
  .stats-grid {
      grid-template-columns: repeat(2, 1fr);
  }
  
  .actions-grid {
      grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-grid,
  .actions-grid,
  .products-grid {
      grid-template-columns: 1fr;
  }
}

/* Header E-commerce Bijoux - Version WOW */
.client-header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 245, 240, 0.98) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 
      0 8px 32px rgba(195, 157, 177, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(232, 212, 223, 0.3);
  padding: 0;
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  gap: 50px;
  position: relative;
}

/* Logo avec effet brillant */
.logo {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--dore) 0%, #d4af37 50%, var(--rose) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  padding: 8px 0;
}

.logo::before {
  content: '';
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--dore) 0%, var(--rose) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(200, 169, 81, 0.3));
}

.logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 12px rgba(200, 169, 81, 0.4));
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Navigation principale avec effet glassmorphism */
.client-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.client-nav ul {
  display: flex;
  list-style: none;
  gap: 45px;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 8px 20px;
  border: 1px solid rgba(232, 212, 223, 0.4);
  box-shadow: 
      0 4px 20px rgba(195, 157, 177, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.client-nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 12px 20px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  border-radius: 25px;
}

.client-nav a:hover {
  color: var(--dore);
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(200, 169, 81, 0.1) 0%, rgba(195, 157, 177, 0.05) 100%);
  box-shadow: 0 4px 15px rgba(200, 169, 81, 0.15);
}

.client-nav a.active {
  color: var(--dore);
  font-weight: 600;
  background: linear-gradient(135deg, rgba(200, 169, 81, 0.15) 0%, rgba(195, 157, 177, 0.1) 100%);
  box-shadow: 
      0 2px 10px rgba(200, 169, 81, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.client-nav a.active::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--dore) 0%, var(--rose) 100%);
  border-radius: 2px;
}

/* Section utilisateur premium */
.user-section {
  display: flex;
  align-items: center;
  gap: 35px;
  flex-shrink: 0;
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.user-info {
  text-align: right;
  padding-right: 25px;
  border-right: 1px solid rgba(232, 212, 223, 0.5);
  position: relative;
}

.user-info::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 30px;
  background: linear-gradient(180deg, var(--dore) 0%, var(--rose) 100%);
  border-radius: 2px;
  opacity: 0.7;
}

.user-name {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--text-dark) 0%, #555 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.user-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success) 0%, #4cd964 100%);
  display: inline-block;
  box-shadow: 0 0 10px rgba(76, 175, 80, 0.4);
  animation: pulse 2s infinite;
}

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

.user-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}



/* Boutons spéciaux avec effets premium */
.shop-link {
  background: linear-gradient(135deg, var(--dore) 0%, #d4af37 30%, var(--rose) 100%);
  color: white !important;
  padding: 14px 28px !important;
  border-radius: 30px;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 
      0 6px 20px rgba(200, 169, 81, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.shop-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s;
}

.shop-link:hover::before {
  left: 100%;
}

.shop-link:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
      0 12px 30px rgba(200, 169, 81, 0.6),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
  color: white !important;
}

.logout-btn {
  background: transparent;
  color: var(--text-light);
  border: 2px solid rgba(232, 212, 223, 0.8);
  padding: 12px 24px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.logout-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(232, 212, 223, 0.2), transparent);
  transition: left 0.6s;
}

.logout-btn:hover::before {
  left: 100%;
}

.logout-btn:hover {
  background: rgba(232, 212, 223, 0.1);
  color: var(--text-dark);
  border-color: var(--rose);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(195, 157, 177, 0.2);
}

/* Compteur panier avec effet brillant */
.cart-count {
  background: linear-gradient(135deg, var(--rose) 0%, #d87ca0 100%);
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-left: 8px;
  position: relative;
  top: -1px;
  box-shadow: 
      0 3px 10px rgba(195, 157, 177, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-3px); }
  60% { transform: translateY(-2px); }
}

/* Effet de séparation élégant */
.client-nav li:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -22px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(232, 212, 223, 0.8) 50%, transparent 100%);
}

/* Responsive */
@media (max-width: 1024px) {
  .header-content {
      padding: 0 30px;
      gap: 30px;
  }
  
  .client-nav ul {
      gap: 30px;
      padding: 6px 15px;
  }
  
  .user-section {
      gap: 20px;
  }
}

@media (max-width: 768px) {
  .header-content {
      padding: 0 20px;
      height: 80px;
      gap: 20px;
  }
  
  .user-info {
      display: none;
  }
  
  .client-nav ul {
      gap: 20px;
      padding: 4px 12px;
  }
  
  .client-nav a {
      font-size: 0.9rem;
      padding: 10px 16px;
  }
  
  .logo {
      font-size: 1.8rem;
  }
}

.stat-icon .fas,
.stat-icon .far {
    font-size: 2.5rem;
    color: var(--dore);
    margin-bottom: 15px;
    display: block;
}

/* Alternative avec une couleur plus foncée si besoin */
.stat-icon .fas.dark {
    color: var(--text-dark);
}

/* Pour les icônes de coeur (favoris) */
.stat-icon .fas.fa-heart {
    color: var(--rose);
}
.activity-icon .fas,
.activity-icon .far {
    font-size: 1.2rem;
    color: var(--dore);
}

/* Différentes icônes selon le type d'activité */
.activity-icon .fa-box { /* Commandes */ }
.activity-icon .fa-envelope { /* Messages */ }
.activity-icon .fa-file-alt { /* Documents */ }
.activity-icon .fa-bell { /* Notifications */ }
.activity-icon .fa-user { /* Profil */ }
.activity-icon .fa-heart { /* Favoris */ }



/* Styles pour les icônes Font Awesome dans la nav */
.client-nav a .fas,
.client-nav a .far {
    font-size: 1rem;
    margin-right: 8px;
    width: 20px;
    text-align: center;
}


/* Bouton catalogue dans user-actions */
.user-actions .shop-link {
    background: linear-gradient(135deg, var(--dore) 0%, #d4af37 30%, var(--rose) 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(200, 169, 81, 0.3);
}

.user-actions .shop-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 169, 81, 0.5);
}

/* Bouton déconnexion avec icône */
.logout-btn {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(232, 212, 223, 0.8);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logout-btn:hover {
    background: rgba(232, 212, 223, 0.1);
    color: var(--text-dark);
    border-color: var(--rose);
    transform: translateY(-2px);
}

/* Footer amélioré */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 30px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--dore) 0%, var(--rose) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.footer-section h4 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    text-decoration: none;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--dore);
}

.footer-bottom {
    border-top: 1px solid var(--rose-light);
    padding: 20px;
    text-align: center;
    color: var(--text-light);
    background: rgba(248, 245, 240, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .user-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .user-info {
        display: none;
    }
}

/* static/css/profile.css */


.profile-container {
  background: var(--beige);
  min-height: 100vh;
  padding: 2rem 0;
}

.profile-card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(59, 47, 47, 0.1);
  background: white;
  border: 2px solid var(--rose-light);
}

.profile-header {
  background: linear-gradient(135deg, var(--rose), var(--rose-light));
  color: var(--text-dark);
  border-radius: 13px 13px 0 0 !important;
  padding: 2rem;
  text-align: center;
  border-bottom: 3px solid var(--dore);
}

.profile-header h2 {
  margin: 0;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--text-dark);
}

.profile-body {
  padding: 2.5rem;
  background: var(--beige);
  border-radius: 0 0 13px 13px;
}

.form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-control {
  border: 2px solid var(--rose-light);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: white;
  color: var(--text-dark);
}

.form-control:focus {
  border-color: var(--dore);
  box-shadow: 0 0 0 0.2rem rgba(200, 169, 81, 0.25);
  background: var(--rose-light);
}

.form-check-input:checked {
  background-color: var(--dore);
  border-color: var(--dore);
}

.form-check-label {
  font-weight: 500;
  color: var(--text-dark);
}

.btn-primary {
  background: linear-gradient(135deg, var(--dore), #b89740);
  border: none;
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #b89740, var(--dore));
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(200, 169, 81, 0.3);
  color: white;
}

.btn-outline-secondary {
  border: 2px solid var(--rose);
  color: var(--text-dark);
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}

.btn-outline-secondary:hover {
  background: var(--rose-light);
  border-color: var(--dore);
  color: var(--text-dark);
}

.alert {
  border: none;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  border-left: 4px solid;
}

.alert-success {
  background: var(--rose-light);
  color: var(--text-dark);
  border-left-color: var(--dore);
}

.alert-danger {
  background: #fde8e8;
  color: var(--text-dark);
  border-left-color: #e53e3e;
}

.invalid-feedback {
  font-weight: 500;
  color: #e53e3e;
}

/* Responsive */
@media (max-width: 768px) {
  .profile-body {
      padding: 1.5rem;
  }
  
  .profile-header {
      padding: 1.5rem;
  }
  
  .profile-header h2 {
      font-size: 1.5rem;
  }
}

/* Animation pour les messages */
.alert {
  animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
  from {
      opacity: 0;
      transform: translateY(-20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}


.add-to-cart-btn {
  background: linear-gradient(135deg, var(--dore), #b89740);
  border: none;
  color: white;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
}

.add-to-cart-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #b89740, var(--dore));
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(200, 169, 81, 0.3);
}

.add-to-cart-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
  transform: none;
}

.btn-success {
  background: linear-gradient(135deg, #28a745, #20c997);
  border: none;
  color: white;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: default;
  width: 100%;
  text-align: center;
}

/*cart */



/* Conteneur principal */
.cart-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* En-tête */
.cart-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cart-header h1 {
    color: var(--text-dark);
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0;
}

/* Layout du contenu */
.cart-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    align-items: start;
}

/* Section des articles */
.cart-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid var(--rose-light);
}

.cart-section h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Article individuel */
.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--rose-light);
    transition: all 0.3s ease;
}

.cart-item:hover {
    background: var(--rose-light);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 0 -1rem;
}

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

.item-image img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--rose);
}

.item-details h3 {
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.item-description {
    color: #666;
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
}

.item-price {
    color: var(--dore);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

/* Bouton de suppression */
.btn-remove {
    background: none;
    border: 2px solid #e74c3c;
    color: #e74c3c;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove:hover {
    background: #e74c3c;
    color: white;
    transform: scale(1.1);
}

/* Section résumé */
.cart-summary {
    position: sticky;
    top: 2rem;
}

.summary-card {
    background: white;
    border-radius: 12px;
    border: 2px solid var(--dore);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.summary-header {
    background: var(--dore);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.summary-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.summary-body {
    padding: 1.5rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.free-shipping {
    color: #27ae60;
    font-weight: 600;
}

.summary-divider {
    height: 1px;
    background: var(--rose-light);
    margin: 1rem 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.total-price {
    color: var(--dore);
    font-size: 1.5rem;
}

/* Bouton de paiement */
.btn-checkout {
    display: block;
    background: linear-gradient(135deg, var(--dore), #b89740);
    color: white;
    text-align: center;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.btn-checkout:hover {
    background: linear-gradient(135deg, #b89740, var(--dore));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(200, 169, 81, 0.3);
    color: white;
}

.secure-payment {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Carte d'information */
.info-card {
    background: var(--rose-light);
    border-radius: 12px;
    padding: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: var(--dore);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.info-item h4 {
    color: var(--text-dark);
    margin: 0 0 0.3rem 0;
    font-size: 1rem;
}

.info-item p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

/* Panier vide */
.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    font-size: 4rem;
    color: var(--rose);
    margin-bottom: 2rem;
}

.empty-cart h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.empty-cart p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.btn-catalogue {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--dore);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-catalogue:hover {
    background: #b89740;
    transform: translateY(-2px);
    color: white;
}

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

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    overflow: hidden;
}

.modal-header {
    background: var(--rose-light);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--text-dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

.modal-body {
    padding: 2rem 1.5rem;
    text-align: center;
}

.modal-footer {
    padding: 1rem 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.btn-cancel, .btn-confirm {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cancel {
    background: var(--rose-light);
    color: var(--text-dark);
}

.btn-confirm {
    background: #e74c3c;
    color: white;
}

.btn-cancel:hover {
    background: var(--rose);
}

.btn-confirm:hover {
    background: #c0392b;
}

/* Responsive */
@media (max-width: 768px) {
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .cart-summary {
        position: static;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr auto;
        gap: 1rem;
    }
    
    .cart-container {
        padding: 1rem;
    }
    
    .cart-header h1 {
        font-size: 2rem;
    }
}

/*produit seul*/
/* Badges de statut */
.status-badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.status-en_stock {
  background: var(--rose-light);
  color: var(--text-dark);
  border: 1px solid var(--dore);
}

.status-reserve {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.status-epuise {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Badge sur l'image */
.product-status-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 10;
}

.product-status-badge.status-reserve {
  background: rgba(255, 193, 7, 0.9);
}

.product-status-badge.status-epuise {
  background: rgba(220, 53, 69, 0.9);
}

/* Boutons selon le statut */
.btn-reserved, .btn-sold-out {
  width: 100%;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: not-allowed;
}

.btn-reserved {
  background: #fff3cd;
  color: #856404;
  border: 2px solid #ffeaa7;
}

.btn-sold-out {
  background: #f8d7da;
  color: #721c24;
  border: 2px solid #f5c6cb;
}

.availability-text {
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.text-warning {
  color: #856404;
}

.text-muted {
  color: #6c757d;
}

.text-success {
  color: #155724;
}


/*personalisation*/
/* Styles de base pour les boucles */
.boucle {
  width: 80px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
}

/* Métal */
.boucle.dore .chainette {
  background: linear-gradient(45deg, #FFD700, #D4AF37);
  border: 1px solid #D4AF37;
}

.boucle.argent .chainette {
  background: linear-gradient(45deg, #C0C0C0, #E8E8E8);
  border: 1px solid #C0C0C0;
}

/* Longueur */
.boucle.courte {
  height: 100px;
}

.boucle.longue {
  height: 180px;
}

.boucle.courte .chainette {
  height: 60px;
}

.boucle.longue .chainette {
  height: 120px;
}

/* Parties de la boucle */
.fermoir {
  width: 16px;
  height: 8px;
  background: #333;
  border-radius: 4px;
  margin-bottom: -1px;
  z-index: 2;
}

.chainette {
  width: 3px;
  background: currentColor;
  position: relative;
  z-index: 1;
}

.perle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #333;
  margin-top: -2px;
  z-index: 2;
  transition: background-color 0.3s ease;
}

/* Fermoirs spéciaux */
.fermoir.aimant {
  background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
}

.fermoir.security {
  background: linear-gradient(45deg, #4ecdc4, #44a08d);
  width: 20px;
}

/* Asymétrie */
.boucle.asymetrique-gauche {
  transform: scale(0.8);
  opacity: 0.8;
}

.boucle.asymetrique-droite {
  transform: scale(1.2);
}

/* États du bouton */
#commanderBtn:disabled {
  background: #6c757d;
  cursor: not-allowed;
}



/* index création */


/* Section finale */
.custom-process-final {
  padding: 90px 0;
  background: var(--beige);
}

.process-title {
  text-align: center;
  font-size: 2.3rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.process-subtitle {
  text-align: center;
  color: var(--text-dark);
  opacity: 0.7;
  margin-bottom: 60px;
  font-size: 1.2rem;
  font-weight: 300;
}

/* Étapes agrandies */
.process-final-steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 60px;
  gap: 25px;
}

.process-final-step {
  flex: 1;
  max-width: 320px;
}

.step-number-final {
  width: 50px;
  height: 50px;
  background: var(--dore);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 1.4rem;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(200, 169, 81, 0.2);
}

.step-card-final {
  background: white;
  padding: 35px 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  text-align: center;
  height: 100%;
  border: 1px solid rgba(200, 169, 81, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card-final:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.step-card-final h3 {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: 500;
}

.step-card-final p {
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 20px;
  opacity: 0.8;
}

.step-tags-final {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.step-tags-final span {
  background: var(--rose-light);
  color: var(--text-dark);
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 400;
  border: 1px solid var(--rose);
}

/* Flèche */
.step-arrow-final {
  color: var(--dore);
  font-size: 2rem;
  margin-top: 25px;
  opacity: 0.6;
  padding: 0 15px;
}

/* Avantages */
.final-benefits {
  display: flex;
  justify-content: center;
  gap: 35px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.final-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  padding: 16px 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border: 1px solid rgba(200, 169, 81, 0.1);
  transition: transform 0.3s ease;
}

.final-benefit:hover {
  transform: translateY(-3px);
}

.benefit-icon-final {
  font-size: 1.4rem;
  color: var(--dore);
}

.final-benefit span {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
}

/* CTA */
.final-cta {
  text-align: center;
}

.btn-final {
  display: inline-block;
  background: var(--dore);
  color: white;
  padding: 18px 50px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid var(--dore);
  letter-spacing: 0.5px;
}

.btn-final:hover {
  background: transparent;
  color: var(--dore);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(200, 169, 81, 0.2);
}

.final-note {
  margin-top: 20px;
  color: var(--text-dark);
  opacity: 0.6;
  font-size: 0.9rem;
  font-style: italic;
}

/* Responsive */
@media (max-width: 1100px) {
  .process-final-steps {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }
  
  .step-arrow-final {
    transform: rotate(90deg);
    margin: 10px 0;
  }
  
  .process-final-step {
    max-width: 100%;
    width: 100%;
    max-width: 450px;
  }
  
  .final-benefits {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .custom-process-final {
    padding: 70px 0;
  }
  
  .process-title {
    font-size: 2rem;
  }
  
  .process-subtitle {
    font-size: 1.1rem;
  }
  
  .step-card-final {
    padding: 30px 25px;
  }
  
  .final-benefits {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .final-benefit {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .process-title {
    font-size: 1.8rem;
  }
  
  .step-card-final h3 {
    font-size: 1.3rem;
  }
  
  .btn-final {
    padding: 16px 40px;
    font-size: 1rem;
    width: 100%;
    max-width: 280px;
  }
}