/* ====================================================
   === SECTION D'ACCUEIL - GALERIE LOKMANE ===
==================================================== */

.lokmane-hero {
  background: #fff5f7; /* Fond rose poudré léger */
  padding: 80px 20px;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(230, 150, 170, 0.2); /* Ombre douce */
  margin: 40px auto;
  max-width: 1200px;
  overflow: hidden;
  font-family: 'Playfair Display', serif;
  position: relative;
}

/* Animation du texte */
.lokmane-hero .hero-content {
  animation: fadeInUp 1s ease-out forwards, pulse 2s ease-in-out infinite; /* Ajout d'animation de pulsation */
  opacity: 0;
}

.lokmane-hero h1 {
  font-size: 44px;
  font-weight: 700;
  color: #80002a; /* Bordeaux élégant pour le titre */
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(255, 230, 230, 0.6); /* Légère ombre pour un effet visuel */
  font-family: 'Playfair Display', serif;
  animation: fadeInUp 1.5s ease-out; /* Animation pour faire apparaître le titre */
}

.lokmane-hero p {
  font-size: 18px;
  color: #6a2b3c; /* Gris doux pour la description */
  margin-bottom: 30px;
  line-height: 1.6;
  font-style: italic;
  animation: fadeInUp 2s ease-out; /* Animation de la description */
}

/* Bouton "Découvrir" */
.lokmane-hero .btn-primary {
  background-color: #80002a; /* Bordeaux pour le bouton */
  color: #fff;
  padding: 10px 30px;  /* Réduction du padding pour un bouton plus petit */
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;  /* Réduction de la taille de la police */
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  margin-top: 20px;
}

.lokmane-hero .btn-primary:hover {
  background-color: #f5a6b0; /* Rose clair au survol */
  transform: scale(1.1); /* Légère animation de zoom au survol */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Ajout d'une ombre légère lors du survol */
}

/* Animation fade-in pour le texte */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px); /* Le texte commence plus bas */
  }
  to {
    opacity: 1;
    transform: translateY(0); /* Le texte remonte */
  }
}

/* Ajout d'une animation de pulsation légère pour le texte */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ====================================================
   === RESPONSIVE POUR MOBILE ===
==================================================== */

/* Adaptation de la taille du texte et du bouton pour mobile */
@media (max-width: 768px) {
  .lokmane-hero {
    padding: 60px 20px; /* Moins d'espacement vertical */
  }

  .lokmane-hero h1 {
    font-size: 28px;  /* Réduction de la taille du titre sur mobile */
  }

  .lokmane-hero p {
    font-size: 16px;  /* Réduction de la taille de la description */
  }

  .lokmane-hero .btn-primary {
    padding: 10px 25px;  /* Bouton plus petit */
    font-size: 14px;  /* Réduction de la taille du texte du bouton */
  }
}


/* === SECTION NOUVEAUTÉS === */
.lokmane-new-products {
  padding: 40px 20px;
  background-color: #fff5f7;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(230, 150, 170, 0.2);
  overflow: hidden;
}

.lokmane-new-products .section-title {
  text-align: center;
  margin-bottom: 30px;
}

.lokmane-new-products h2 {
  font-size: 36px;
  font-weight: 700;
  color: #80002a;
  margin-bottom: 10px;
}

.lokmane-new-products p {
  font-size: 18px;
  color: #6a2b3c;
  margin-bottom: 40px;
  font-style: italic;
}

/* === SECTION NOUVEAUTÉS === */
.lokmane-new-products {
  padding: 40px 20px;
  background-color: #fff5f7;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(230, 150, 170, 0.2);
  overflow: hidden;
}

.lokmane-new-products .section-title {
  text-align: center;
  margin-bottom: 30px;
}

.lokmane-new-products h2 {
  font-size: 32px;
  font-weight: 700;
  color: #80002a;
  margin-bottom: 10px;
}

.lokmane-new-products p {
  font-size: 18px;
  color: #6a2b3c;
  margin-bottom: 30px;
  font-style: italic;
}

/* === Grille de Produits === */
.lokmane-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
  box-sizing: border-box;
}

.product-item {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden; /* indispensable pour couper les coins de l'image */
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Image produit */
.product-item img {
  width: 100%;
  height: 250px; /* hauteur uniforme */
  object-fit: cover; /* remplissage sans bandes blanches */
  display: block;
  border-radius: 12px; /* coins arrondis sur l’image elle-même */
}



/* === Info produit === */
.product-info {
  padding-top: 10px;
}

.product-info h3 {
  font-size: 17px;
  font-weight: 600;
  color: #80002a;
  margin: 10px 0;
}

.product-info p {
  font-size: 15px;
  color: #6a2b3c;
  margin-bottom: 15px;
}

/* === Sélection variations === */
.variation-select {
  margin-bottom: 15px;
}

.variation-select label {
  font-weight: bold;
  font-size: 15px;
  display: block;
  margin-bottom: 6px;
  color: #5a3831;
}

/* Couleurs */
.color-circle-group {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 10px;
}

.color-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #ccc;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.color-circle:hover {
  transform: scale(1.1);
}

.color-circle.selected {
  box-shadow: 0 0 0 2px #80002a;
}

/* Tailles */
.size-circle-group {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 10px;
}

.size-circle {
  width: 30px;
  height: 30px;
  font-size: 14px;
  border-radius: 50%;
  border: 2px solid #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.size-circle:hover {
  transform: scale(1.05);
  border-color: #80002a;
}

.size-circle.selected {
  background-color: #80002a;
  color: #fff;
  border-color: #80002a;
}

/* === Bouton Ajouter au panier === */ 
.single_add_to_cart_button { background-color: #80002a; color: white; padding: 8px 20px; font-size: 14px; border: none; border-radius: 25px; cursor: pointer; font-weight: 600; transition: background-color 0.3s ease; } .single_add_to_cart_button:hover { background-color: #aa3c57; }

/* Responsive */
@media (max-width: 768px) {
  .lokmane-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .single_add_to_cart_button {
    padding: 7px 16px;
    font-size: 13px;
  }
}

/* ✅ Effet bouton clic */
.animated-button-click {
  animation: bounceOnce 0.3s ease-in-out;
}

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

/* ✅ Message confirmation panier */
.lokmane-add-msg {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background-color: #80002a;
  color: #fff;
  padding: 12px 18px;
  border-radius: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  font-weight: 600;
  z-index: 9999;
  animation: fadeInOut 2s ease-in-out;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translateY(20px); }
  10% { opacity: 1; transform: translateY(0); }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translateY(20px); }
}

/* ✅ Effet vibration sur l’icône panier */
.vibrate-icon {
  animation: vibrate 0.4s ease-in-out;
}

@keyframes vibrate {
  0% { transform: translateX(0); }
  20% { transform: translateX(-3px); }
  40% { transform: translateX(3px); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
  100% { transform: translateX(0); }
}

/* ✅ Pulse sur le compteur panier */
.cart-count-pulse {
  animation: cartPulse 0.5s ease-in-out;
}

@keyframes cartPulse {
  0% { transform: scale(1); }
  30% { transform: scale(1.3); }
  60% { transform: scale(0.95); }
  100% { transform: scale(1); }
}


.hidden-select {
  position: absolute;
  left: -9999px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ✅ Animation compteur panier (pulse) */
.cart-count-pulse {
  animation: cartPulse 0.5s ease-in-out;
}

@keyframes cartPulse {
  0% { transform: scale(1); }
  30% { transform: scale(1.3); }
  60% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

/* Par exemple : désactive transition ou flèches */
.product-images.single-image {
  cursor: default;
}


/* === Conteneur vertical pour les 2 boutons === */
.product-buttons-vertical {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
  align-items: stretch;
}

/* === Style des deux boutons === */
.product-buttons-vertical .btn-primary,
.product-buttons-vertical .tinvwl_add_to_wishlist_button {
  width: 100%;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Lora', serif;
  border-radius: 25px;
  text-align: center;
  background-color: var(--bordeaux);
  color: #fff !important;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: none;
  transition: 0.3s ease;
  cursor: pointer;
}

/* === Hover effet identique === */
.product-buttons-vertical .btn-primary:hover,
.product-buttons-vertical .tinvwl_add_to_wishlist_button:hover {
  background-color: var(--rose);
}

/* Icône cœur dans le bouton Ajouter à la liste */
.product-buttons-vertical .tinvwl_add_to_wishlist_button:before {
  content: "\f004";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 6px;
}








.product-item {
  position: relative;
}


/* === SECTION CATEGORIES === */
.lokmane-categories {
  background: #fff5f7;
  padding: 80px 20px;
  margin: 40px auto;
  max-width: 1200px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(230, 150, 170, 0.2);
}

.lokmane-categories .section-header {
  font-family: 'Playfair Display', serif;
  margin-bottom: 3rem;
}

.lokmane-categories .hero-content h4 {
  font-size: 34px;
  font-weight: 700;
  color: #80002a;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(255, 230, 230, 0.5);
}

.lokmane-categories .hero-content p {
  font-size: 18px;
  color: #6a2b3c;
  margin-bottom: 30px;
  line-height: 1.6;
  font-style: italic;
}

/* Carousel aligné au centre */
.categories-carousel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 30px 0;
}

/* Carte catégorie */
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

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

/* Titre de la catégorie */
.category-card h5 {
  font-size: 15px;
  font-weight: 500;
  color: #8B3A50;
  margin: 0;
  transition: color 0.3s ease;
}

.category-card:hover h5 {
  color: #F4C6D3;
}

/* Image ronde avec ombre rose */
.category-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 3px solid #F4C6D3;
  box-shadow: 0 0 15px rgba(244, 198, 211, 0.6);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.category-card img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(244, 198, 211, 0.8);
}

/* Bouton secondaire cohérent */
.category-card .btn-secondary {
  background-color: #8B3A50;
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.category-card .btn-secondary:hover {
  background-color: #F4C6D3;
  color: #8B3A50;
  transform: scale(1.05);
}

/* Responsive mobile */
@media screen and (max-width: 600px) {
  .category-card img {
    width: 100px;
    height: 100px;
  }

  .category-card h5 {
    font-size: 14px;
  }

  .category-card .btn-secondary {
    font-size: 13px;
    padding: 6px 16px;
  }
}

/* ====== Section Avis Lokmane (dynamique et statique) ====== */

.lokmane-avis-section {
  background: #fff5f7;
  padding: 80px 20px;
  margin: 40px auto;
  max-width: 1200px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(230, 150, 170, 0.2);
}

.lokmane-avis-section h2 {
  color: #80002a;
  font-size: 2em;
  margin-bottom: 30px;
  font-family: 'Playfair Display', serif;
}

.lokmane-avis-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

/* Avis statiques + dynamiques */
.avis-card, .site-review {
  background: #fff;
  border: 1px solid #ffd5ea;
  border-radius: 16px;
  padding: 20px;
  width: 280px;
  text-align: left;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  font-style: italic;
  font-size: 15px;
  color: #333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Texte avis */
.avis-text,
.site-review .glsr-review-content {
  margin-bottom: 10px;
  line-height: 1.5;
}

/* Bloc auteur */
.avis-client,
.site-review .glsr-review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

/* Avatar dynamique aléatoire */
.site-review .glsr-review-author::before {
  content: "";
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  margin-right: 8px;
  background-image: url('https://galerielokmane.online/wp-content/uploads/2025/06/cliente1.png');
}
.site-review:nth-child(2) .glsr-review-author::before {
  background-image: url('https://galerielokmane.online/wp-content/uploads/2025/06/cliente2.png');
}
.site-review:nth-child(3) .glsr-review-author::before {
  background-image: url('https://galerielokmane.online/wp-content/uploads/2025/06/cliente3.png');
}

/* Nom de l’auteur */
.site-review .glsr-review-author span {
  font-weight: bold;
  font-size: 14px;
  color: #222;
}

/* Étoiles animées (avis statique + dynamique) */
.stars,
.site-review .glsr-review-rating {
  color: #ffb700;
  font-size: 16px;
  display: inline-block;
  animation: fadeStar 2.5s ease-in-out infinite;
}

@keyframes fadeStar {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
/* Taille stricte des avatars avis (statiques et dynamiques) */
.avis-client img,
.site-review .glsr-review-author::before {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px;
  min-height: 40px;
  max-width: 40px;
  max-height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* === SECTION VALEURS LOKMANE (Livraison / Paiement / Qualité) === */
.lokmane-services {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  background: none; /* On enlève le fond rose poudré ici */
  padding: 60px 20px;
  margin: 40px auto;
  max-width: 1200px;
  text-align: center;
}

/* Chaque card a son propre fond rose poudré + shadow */
.service-card {
  flex: 1 1 30%;
  background: #fff5f7; /* Rose poudré clair */
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 6px 18px rgba(230, 150, 170, 0.15); /* Ombre douce */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(230, 150, 170, 0.2);
}

/* Icônes dynamiques */
.animated-icon {
  font-size: 40px;
  color: #b67350;
  margin-bottom: 15px;
  animation: iconBounce 2.5s infinite ease-in-out;
}

/* Titre */
.service-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: #80002a;
  font-family: 'Playfair Display', serif;
  margin-bottom: 10px;
}

/* Texte */
.service-card p {
  font-size: 15px;
  color: #5a3831;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
}

/* Animation icônes */
@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Responsive */
@media (max-width: 768px) {
  .lokmane-services {
    flex-direction: column;
    align-items: center;
    padding: 40px 15px;
  }

  .service-card {
    width: 100%;
  }

  .animated-icon {
    font-size: 32px;
  }

  .service-card h4 {
    font-size: 18px;
  }

  .service-card p {
    font-size: 14px;
  }
}

/* === SECTION MARQUES (sans cartes) === */
.lokmane-brands-section {
  background: #fff5f7;
  padding: 60px 20px;
  margin: 40px auto;
  max-width: 1200px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(230, 150, 170, 0.2);
}

.lokmane-brands-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  color: #80002a;
  margin-bottom: 10px;
}

.lokmane-brands-section p {
  font-style: italic;
  color: #6a2b3c;
  margin-bottom: 30px;
  font-size: 16px;
}

.brands-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: center;
}

.brand-inline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.brand-inline-item:hover {
  transform: scale(1.05);
}

.brand-inline-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 8px;
  border-radius: 50%;
  background: #fff;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.brand-inline-item span {
  font-size: 14px;
  font-weight: 500;
  color: #5a3831;
  font-family: 'Poppins', sans-serif;
}

/* Responsive mobile */
@media (max-width: 600px) {
  .brand-inline-item img {
    width: 60px;
    height: 60px;
  }

  .brand-inline-item span {
    font-size: 13px;
  }
}



/* Section promo style services */
.lokmane-promo-featured {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.lokmane-promo-title {
  text-align: center;
  font-size: 28px;
  font-family: 'Playfair Display', serif;
  color: #80002a;
  margin-bottom: 10px;
}

.lokmane-promo-subtitle {
  text-align: center;
  font-size: 16px;
  font-style: italic;
  color: #6a2b3c;
  margin-bottom: 40px;
}

.lokmane-promo-card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background: #fff5f7;
  border-radius: 20px;
  padding: 20px 15px; 
  max-width: 850px; 
  margin: 0 auto;
  align-items: center;
  position: relative;
  animation: promoGlow 3s ease-in-out infinite;
}


/* Lumière rosée clignotante */
@keyframes promoGlow {
  0%, 100% {
    box-shadow: 0 0 25px rgba(255, 182, 193, 0.5);
  }
  50% {
    box-shadow: 0 0 50px rgba(255, 105, 135, 0.8);
  }
}
.promo-left {
  flex: 1 1 300px;
  text-align: center;
}
.promo-left img {
  border-radius: 20px;
  max-height: 300px;
  width: auto;
  max-width: 100%;
}

.promo-right {
  flex: 1 1 400px;
}
.promo-right h3 {
  font-size: 22px;
  font-family: 'Playfair Display', serif;
  color: #80002a;
  margin-bottom: 10px;
}

.promo-price {
  margin-bottom: 15px;
}
.promo-price del {
  color: #999;
  font-size: 16px;
  margin-right: 10px;
}
.promo-price ins {
  color: #b67350;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
}

.variation-select {
  margin-bottom: 15px;
}
.variation-select label {
  margin-bottom: 4px;
  display: block;
  font-weight: 600;
  color: #5a3831;
}

.color-circle-group, .size-circle-group {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  margin-top: 0;
}

.lokmane-rating .star-rating {
  color: #ffb700 !important;
  font-size: 16px;
  display: inline-block;
  animation: fadeStar 2.5s ease-in-out infinite;
  margin-bottom: 10px;
}

@keyframes fadeStar {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

