/*
Theme Name: Astra Child Lokmane
Template: astra
Version: 1.0.0
*/

/* ====================================================
   === HEADER PERSONNALISÉ - GALERIE LOKMANE ===
==================================================== */

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600&display=swap');

body {
  font-family: 'Lora', serif;
}

/* Couleurs principales */
:root {
  --rose-poudre: #fbeef1;
  --bordeaux: #9b2d48;
  --rose: #f5a6b0;
}


/* ===== HEADER GLOBAL ===== */
.lokmane-header {
  background-color: var(--rose-poudre);
  height: 90px; /* ← ajoute cette ligne */
  padding: 0 30px; /* réduit le padding vertical */
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1000;
  border-bottom: 1px solid rgba(200, 200, 200, 0.5);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
}

.lokmane-header:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}
.lokmane-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.logo img {
  height: 80%; /* ← occupe 80% du header */
  max-height: 80px;
  transition: transform 0.3s ease, opacity 0.3s ease-in-out;
  margin-left: 15px;
  margin-right: 30px;
}


.logo img:hover {
  transform: scale(1.05); /* effet plus subtil */
  opacity: 0.9;
}
@media (max-width: 600px) {
  .lokmane-header {
    height: 75px;
    padding: 0 20px;
  }

  .logo img {
    height: 75%;
    max-height: 60px;
  }
}



/* ===== MENU PRINCIPAL ===== */
.main-nav .nav-menu {
  list-style: none;
  display: flex;
  gap: 35px;
  margin: 0;
  padding: 0;
  justify-content: flex-start;
}
.main-nav .nav-menu li {
  position: relative;
  list-style: none;
}
.main-nav .nav-menu li a {
  text-decoration: none;
  color: var(--bordeaux);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  transition: color 0.3s ease, transform 0.3s ease;
}
.main-nav .nav-menu li a:hover {
  color: var(--rose);
  transform: scale(1.05);
}

/* ===== FLECHE SUR MENUS DEROULANTS ===== */
.main-nav .nav-menu > li.menu-item-has-children > a::after {
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
  margin-left: 6px;
  transition: transform 0.3s ease;
  display: inline-block;
  vertical-align: middle;
}
.main-nav .nav-menu > li.menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

/* ===== MENU DÉROULANT ===== */
.main-nav .nav-menu li ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(135deg, #fbeef1, #fff);
  padding: 18px 20px;
  min-width: 190px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s ease;
  z-index: 999;
  backdrop-filter: blur(3px);
  animation: fadeInSlide 0.4s ease-in-out;
}
.main-nav .nav-menu li:hover ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-nav .nav-menu li ul.sub-menu li {
  list-style: none;
}
.main-nav .nav-menu li ul.sub-menu li a {
  font-size: 14px;
  padding: 10px 14px;
  display: block;
  color: #5a3831;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.main-nav .nav-menu li ul.sub-menu li a:hover {
  background-color: rgba(251, 238, 241, 0.6);
  color: #9b2d48;
  transform: translateX(6px);
}


.main-nav .nav-menu li ul.sub-menu {
  display: none;
}

.main-nav .nav-menu li:hover > ul.sub-menu {
  display: block;
}


/* Flèche vers la droite pour les sous-sous-menus */
.main-nav .nav-menu li.menu-item-has-children ul.sub-menu li.menu-item-has-children > a::after {
  content: "\f105"; /* Icône flèche droite (►) */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 10px;
  margin-left: 6px;
  vertical-align: middle;
}
.main-nav .nav-menu li.menu-item-has-children ul.sub-menu li.menu-item-has-children:hover > a::after {
  transform: rotate(90deg);
}

/* --- Ouverture des sous-menus en mobile via JS --- */
.mobile-nav li.menu-item-has-children > ul.sub-menu {
  display: none;
}

.mobile-nav li.menu-item-has-children.open > ul.sub-menu {
  display: block;
}



/* Animation pour le menu déroulant */
@keyframes fadeInSlide {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* === BURGER ICON === */
/* === BURGER MENU STYLE - GALERIE LOKMANE === */
.burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10001;
  margin-left: 10px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--bordeaux); /* Assure-toi que cette variable existe */
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
  background-color: var(--rose);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
  background-color: var(--rose);
}

/* === Affichage en mobile uniquement === */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .main-nav {
    display: none !important;
  }

  .mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 90vw;
    max-width: 320px;
    background: var(--rose-poudre);
    padding: 30px 20px;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
  }

  .mobile-nav.active {
    transform: translateX(0);
  }

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

  .mobile-nav .nav-menu li {
    margin-bottom: 15px;
  }

  .mobile-nav .nav-menu li a {
    color: var(--bordeaux);
    font-size: 18px;
    font-family: 'Lora', serif;
    text-decoration: none;
    transition: 0.3s;
  }

  .mobile-nav .nav-menu li a:hover {
    color: var(--rose);
  }
}

@media (min-width: 769px) {
  .mobile-nav {
    display: none !important;
  }
}


/* === MENU MOBILE NAVIGATION === */
.mobile-nav {
  padding: 80px 30px 30px; /* 🟢 ajoute du padding haut pour éloigner les éléments de la croix */
  display: flex;
  flex-direction: column;
  gap: 20px; /* 🟢 espace entre les liens */
}

.mobile-nav ul,
.mobile-nav li {
  list-style: none !important; /* 🔴 supprime les puces bleues */
  margin: 0;
  padding: 0;
}

.mobile-nav li a {
  font-size: 20px;
  font-weight: 500;
  color: var(--bordeaux);
  text-decoration: none;
  transition: color 0.3s;
}

.mobile-nav li a:hover {
  color: var(--rose);
}

/* Facultatif : style les sous-catégories si tu veux une indentation propre */
.mobile-nav .sub-menu {
  margin-left: 20px;
}

.mobile-nav .sub-menu li a {
  font-size: 18px;
  color: #8b3a50;
}




/* ⛔ Masquer les sous-menus par défaut */
.mobile-nav .sub-menu {
  display: none;
  margin-left: 20px;
  padding-left: 10px;
  border-left: 2px solid #e2b8c4;
}

/* ✅ Afficher le sous-menu ouvert */
.mobile-nav li.menu-item-has-children.open > .sub-menu {
  display: block;
}

.submenu-toggle {
  cursor: pointer;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  float: right;
  margin-left: 8px;
  font-size: 14px;
  color: var(--bordeaux);
  transition: transform 0.3s;
}

li.open > .submenu-toggle {
  transform: rotate(90deg);
}




/* === CROIX DE FERMETURE (burger-close) === */
#burger-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 10001;
  transform: rotate(45deg); /* pour un centrage optique */
}

#burger-close::before,
#burger-close::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 2px;
  background-color: var(--rose);
  transform-origin: center;
}

#burger-close::before {
  transform: translate(-50%, -50%) rotate(0deg);
}

#burger-close::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.burger.active span {
  display: none !important;
}





/* === HEADER MOBILE - ESPACEMENT LOGO & ICONES === */
@media (max-width: 768px) {
  .lokmane-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px; /* ajoute un peu d’air */
    flex-wrap: wrap;
  }

  .lokmane-logo {
    flex: 1 0 auto;
    max-width: 120px;
    margin-right: auto;
  }

  .header-icons {
    display: flex;
    align-items: center;
    gap: 15px; /* ✅ espace entre les icônes */
  }

  .header-icons i,
  .header-icons a {
    font-size: 20px;
  }
}













/* ===== ICONES ===== */
.header-icons {
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: flex-end;
  margin-right: 15px;
}
.header-icons i {
  font-size: 22px;
  color: var(--bordeaux);
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  padding: 0;
  background: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.header-icons i:hover {
  transform: scale(1.1);
  color: var(--rose);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}


/* ✅ Compteur wishlist */
.header-wishlist {
  position: relative;
}

.header-wishlist .wishlist-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-wishlist .wishlist-link i {
  font-size: 22px;
  color: var(--bordeaux);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}

.header-wishlist .wishlist-link i:hover {
  color: var(--rose);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.header-wishlist .wishlist-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--bordeaux);
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
  font-weight: 600;
  animation: pulse 1.6s infinite ease-in-out;
  box-shadow: 0 2px 6px rgba(155, 45, 72, 0.4);
  display: flex; /* affiché par JS si > 0 */
  align-items: center;
  justify-content: center;
  z-index: 10;
}




.header-cart {
  position: relative;
}

.cart-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-icon-wrapper .cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--bordeaux);
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
  font-weight: 600;
  animation: pulse 1.6s infinite ease-in-out;
  box-shadow: 0 2px 6px rgba(155, 45, 72, 0.4);
}

/* === Mini panier dropdown === */
.mini-cart-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  max-height: 70vh;
  overflow-y: auto;
  background: var(--rose-poudre);
  border: 1px solid #f3c5d2;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  font-family: 'Lora', serif;
  font-size: 14px;
  color: #5a3831;
  z-index: 9999;
  display: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Scroll esthétique */
.mini-cart-dropdown::-webkit-scrollbar {
  width: 6px;
}
.mini-cart-dropdown::-webkit-scrollbar-thumb {
  background-color: #c98da0;
  border-radius: 10px;
}

/* Affichage au survol */
.cart-icon-wrapper:hover .mini-cart-dropdown {
  display: block;
}

/* Animation douce */
@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .woocommerce-mini-cart-item .attachment-woocommerce_thumbnail {
    width: 50px !important;
    height: auto !important;
    border-radius: 8px;
  }

  .woocommerce-mini-cart-item {
    padding: 10px 0;
  }

  .mini-cart-dropdown .woocommerce-mini-cart__buttons {
    flex-direction: column;
    gap: 8px;
  }

  .mini-cart-dropdown .woocommerce-mini-cart__buttons .button {
    font-size: 13px;
    padding: 10px 12px;
  }
}



/* Bouton Supprimer produit */
.woocommerce-mini-cart-item .remove {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 18px;
  color: var(--bordeaux);
  background: #fff;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}
.woocommerce-mini-cart-item .remove:hover {
  background: var(--rose);
  color: white;
  transform: scale(1.1);
}

/* Effet de chargement */
.woocommerce-mini-cart-item.loading {
  opacity: 0.5;
  pointer-events: none;
  position: relative;
}
.woocommerce-mini-cart-item.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--bordeaux);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* === BOUTONS du mini panier === */
.mini-cart-dropdown .woocommerce-mini-cart__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.mini-cart-dropdown .woocommerce-mini-cart__buttons .button {
  padding: 10px 20px;
  background: var(--bordeaux);
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 12px rgba(128, 0, 42, 0.15);
}
.mini-cart-dropdown .woocommerce-mini-cart__buttons .button:hover {
  background: var(--rose);
  color: var(--bordeaux);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 150, 170, 0.2);
}
.header-cart {
  position: relative;
  z-index: 100;
}
body {
  overflow-x: hidden;
}








/* ====================================================
   === FOOTER PERSONNALISÉ - GALERIE LOKMANE ===
==================================================== */

.lokmane-footer {
  background-color: var(--rose-poudre); /* Fond rose pâle */
  color: #333;
  padding: 40px 20px; /* Un peu plus d'espace autour */
  text-align: center; /* Centrer le contenu du footer */
}

.lokmane-footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Aligner tout le contenu sur une ligne */
  gap: 30px; /* Espacement entre les sections */
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap; /* Pour gérer la responsivité */
}

/* Section du logo */
.logo-section {
  flex: 1 1 20%; /* Le logo prend 20% de la largeur */
  text-align: left; /* Aligner le logo à gauche */
  margin-right: 20px; /* Ajuster l'espace autour du logo */
}

.logo-section .footer-logo img {
  max-width: 120px; /* Ajuste la taille du logo */
  margin-bottom: 10px;
}

/* Section des liens rapides */
.links-section {
  flex: 1 1 20%; /* Chaque section prend 20% de la largeur */
  text-align: center; /* Centrer les éléments du lien rapide */
}

.links-section h4 {
  font-size: 18px;
  color: var(--bordeaux); /* Couleur des titres */
  margin-bottom: 10px;
}

.links-section ul {
  list-style: none; /* Supprimer les puces */
  padding: 0;
  margin: 0; /* Supprimer la marge */
}

.links-section ul li {
  margin-bottom: 10px;
}

.links-section ul li a {
  text-decoration: none;
  color: var(--bordeaux); /* Couleur des liens */
  font-weight: 500;
  font-size: 16px; /* Ajuste la taille de la police pour les éléments de liens rapides */
  transition: color 0.3s ease;
}

.links-section ul li a:hover {
  color: var(--rose); /* Change la couleur des liens au survol */
}

/* Section Contact */
.contact-section {
  flex: 1 1 20%; /* Sections contact prennent 20% de la largeur */
  text-align: center; /* Centrer le texte */
}

.contact-section h4 {
  font-size: 18px;
  color: var(--bordeaux); /* Couleur des titres */
  margin-bottom: 10px;
}

.contact-section a {
  text-decoration: none;
  color: var(--bordeaux);
  font-size: 16px;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
  animation: pulse 1s infinite !important;
  text-shadow: 0 0 5px var(--rose), 0 0 10px var(--rose), 0 0 15px var(--rose) !important;
}

.contact-section p {
  text-decoration: none;
  color: var(--bordeaux); /* Liens de contact */
  font-size: 16px; /* Ajuste la taille de la police pour les éléments de contact */
  transition: color 0.3s ease;
}
.contact-section a:hover {
  color: var(--rose); /* Liens deviennent rose au survol */
}

/* Section des icônes de réseaux sociaux */
.social-section {
  flex: 1 1 20%; /* Sections des icônes réseaux sociaux */
  text-align: center; /* Centrer les icônes */
}

.social-section h4 {
  font-size: 18px;
  color: var(--bordeaux); /* Couleur des titres */
  margin-bottom: 10px;
}

.social-icons a {
  text-decoration: none;
  color: var(--bordeaux);
  margin-right: 15px;
  font-size: 24px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--rose); /* Change la couleur des icônes au survol */
}

/* Footer Bottom - Copyright */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: #777;
}

.footer-bottom p {
  margin: 0;
  font-weight: 300;
}

/* Responsiveness - Adaptation pour mobile */
@media (max-width: 768px) {
  .lokmane-footer-container {
    flex-direction: column; /* Aligner verticalement sur mobile */
    align-items: center;
  }

  .footer-section {
    flex: 1 1 100%; /* Les sections prennent toute la largeur sur mobile */
    text-align: center; /* Aligner le texte au centre sur mobile */
  }

  .footer-logo img {
    max-width: 120px; /* Logo plus petit sur mobile */
  }
}

/* ====================================================
   === EFFET FLASHY EN PERMANENCE POUR LES LIENS : MAPS ET TÉLÉPHONE ===
==================================================== */



/* ====================================================
   === Bulle WhatsApp Flottante ===
==================================================== */

.whatsapp-bubble {
  position: fixed; /* Position fixe pour qu'elle soit toujours visible */
  bottom: 20px; /* Distance depuis le bas de l'écran */
  right: 20px; /* Distance depuis le côté droit de l'écran */
  background-color: #25d366; /* Couleur de fond de la bulle */
  color: #fff; /* Couleur du texte et de l'icône */
  border-radius: 50%; /* Forme ronde */
  width: 60px; /* Taille du bouton */
  height: 60px; /* Taille du bouton */
  display: flex;
  justify-content: center; /* Centrer l'icône */
  align-items: center; /* Centrer l'icône */
  font-size: 30px; /* Taille de l'icône */
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3); /* Ombre douce */
  z-index: 9999; /* Assurez-vous qu'il soit au-dessus des autres éléments */
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Effet au survol de la bulle WhatsApp */
.whatsapp-bubble:hover {
  background-color: #128C7E; /* Changer la couleur au survol */
  transform: scale(1.1); /* Agrandir légèrement la bulle */
}

/* Icône WhatsApp */
.whatsapp-bubble i {
  font-size: 32px; /* Taille de l'icône */
  color: white; /* Couleur de l'icône */
}


/* Animation de pulsation (flashing permanent) */
@keyframes pulse {
  0% {
    transform: scale(1); /* Taille normale */
    text-shadow: 0 0 5px var(--rose), 0 0 10px var(--rose), 0 0 15px var(--rose);
  }
  50% {
    transform: scale(1.1); /* Légère augmentation de taille */
    text-shadow: 0 0 10px var(--rose), 0 0 15px var(--rose), 0 0 20px var(--rose);
  }
  100% {
    transform: scale(1); /* Retour à la taille normale */
    text-shadow: 0 0 5px var(--rose), 0 0 10px var(--rose), 0 0 15px var(--rose);
  }
}

/* Effet de focus pour les liens quand ils sont cliqués */
.contact-section a:focus {
  outline: none;
  box-shadow: 0 0 10px var(--rose); /* Un léger halo autour du lien */
}




/* === SIDEBAR CONNEXION / INSCRIPTION === */
/* === Sidebar Auth === */
.auth-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: #fff5f7;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 30px 20px;
  font-family: 'Playfair Display', serif;
}

.auth-sidebar.active {
  right: 0;
}

/* === Overlay sombre arrière-plan === */
.auth-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  display: none;
}

.auth-sidebar.active + .auth-sidebar-overlay {
  display: block;
}

/* === Titre et bouton fermeture === */
.auth-title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  color: #80002a;
  margin-bottom: 30px;
}

.auth-close {
  background: transparent !important;  /* aucun fond */
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 8px;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

/* Style de la croix */
.auth-close svg path {
  stroke: #80002a; /* bordeaux */
  transition: stroke 0.3s ease;
}

/* Survol : change juste la couleur de la croix */
.auth-close:hover svg path {
  stroke: #f4c6d3; /* rose poudré */
}



/* === Formulaires === */
.auth-sidebar form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.auth-sidebar input[type="text"],
.auth-sidebar input[type="email"],
.auth-sidebar input[type="password"] {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid #d6a5b3;
  border-radius: 40px;
  background: #f6f6f6;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-style: italic;
  color: #333;
}

.auth-sidebar input::placeholder {
  color: #8b3a50;
  opacity: 0.6;
}

/* === Checkbox & lien mdp === */
.remember-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
}

.remember-row label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #2e2e2e;
  font-weight: bold;
}

.remember-row a {
  color: #80002a;
  text-decoration: underline;
  font-style: italic;
  font-size: 14px;
}

/* === Bouton stylisé homogène === */
.lokmane-btn {
  background-color: #80002a; /* Bordeaux */
  color: #fff;
  padding: 12px 35px; /* Un peu plus haut que "Découvrir" */
  border: none;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  font-family: 'Playfair Display', serif; /* Même police que bouton découvrir */
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  margin-top: 20px;
  text-align: center;
  box-shadow: none;
  min-width: auto;
  width: auto; /* Ne pas forcer une largeur */
}

/* === Survol bouton === */
.lokmane-btn:hover {
  background-color: #f5a6b0; /* Rose clair */
  color: #fff; /* Texte reste blanc */
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}




/* === Séparateur inscription === */
.auth-separator {
  display: flex;
  align-items: center;
  margin: 30px 0 20px;
  text-align: center;
  color: #80002a;
  font-style: italic;
  font-family: 'Playfair Display', serif;
}

.auth-separator span {
  padding: 0 15px;
  font-size: 17px;
}

.auth-separator::before,
.auth-separator::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #d6a5b3;
  opacity: 0.6;
}
/* === Responsive Auth Sidebar === */
@media (max-width: 768px) {
  .auth-sidebar {
    max-width: 100%;
    padding: 20px 15px;
    border-radius: 0;
  }

  .auth-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .auth-sidebar input[type="text"],
  .auth-sidebar input[type="email"],
  .auth-sidebar input[type="password"] {
    font-size: 15px;
    padding: 12px 16px;
  }

  .lokmane-btn {
    font-size: 12px;
    padding: 10px 24px;
    width: 100%; /* Pleine largeur sur mobile */
    border-radius: 25px;
    margin-top: 15px;
  }

  .remember-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .auth-close {
    top: 15px;
    right: 15px;
  }

  .auth-separator {
    font-size: 15px;
    margin: 25px 0 15px;
  }

  .auth-separator span {
    padding: 0 10px;
    font-size: 15px;
  }

  .auth-sidebar-overlay {
    background: rgba(0, 0, 0, 0.6); /* plus sombre sur mobile */
  }
}



/* === CONTAINER WISHLIST === */
.tinv-wishlist {
  background-color: #ffffff !important;
  padding: 40px 20px;
  font-family: 'Poppins', sans-serif;
  color: #6a2b3c;
}

/* === SUPPRIMER LE TITRE === */
.tinv-header h2 {
  display: none !important;
}

/* === TABLEAU WISHLIST === */
.tinv-wishlist table {
  width: 100%;
  font-size: 15px;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 8px 16px rgba(230, 150, 170, 0.12);
  border-radius: 20px;
  overflow: hidden;
}

.tinv-wishlist thead {
  background-color: #fbeaec;
  color: #80002a;
  font-weight: 600;
}

.tinv-wishlist td, .tinv-wishlist th {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid #f3d3db;
}

/* === IMAGE PRODUIT === */
.tinv-wishlist .product-thumbnail img {
  max-width: 70px;
  border-radius: 8px;
}

/* === NOM PRODUIT === */
.tinv-wishlist .product-name a {
  font-weight: 600;
  color: #80002a;
  text-decoration: none;
}

/* === STOCK === */
.tinv-wishlist .product-stock {
  color: #4caf50;
  font-weight: 500;
}

/* === PRIX === */
.tinv-wishlist .product-price {
  color: #6a2b3c;
  font-style: italic;
}

/* === SUPPRIMER PRODUIT === */
.tinv-wishlist .product-remove {
  color: #e6005c;
  font-size: 18px;
}

/* === BOUTONS === */
.tinvwl_add_to_cart_button,
.tinvwl_button_wc,
.tinvwl_add_to_cart_button.button,
.tinvwl-button,
.tinv-wishlist .social-buttons button {
  background-color: #80002a;
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 14px;
  transition: 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tinvwl_add_to_cart_button:hover,
.tinvwl_button_wc:hover {
  background-color: #b3124d;
  color: white;
}

/* === POPUP AJOUT / SUPPRESSION === */
.tinvwl-popup {
  font-family: 'Poppins', sans-serif !important;
  color: #6a2b3c;
}

.tinvwl-popup .tinvwl-popup-inner {
  border-radius: 20px !important;
  padding: 30px 25px !important;
  max-width: 420px;
  background: white;
}

.tinvwl-popup .tinvwl-popup-title {
  font-size: 17px;
  color: #80002a;
  font-weight: 500;
  margin-top: 10px;
}

.tinvwl-popup .tinvwl_button_view,
.tinvwl-popup .tinvwl_button_close {
  width: 100%;
  margin-top: 10px;
  background-color: #80002a;
  color: white;
  border-radius: 30px;
  font-size: 15px;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tinvwl-popup .tinvwl_button_view:hover,
.tinvwl-popup .tinvwl_button_close:hover {
  background-color: #b3124d;
}

/* === RESPONSIVE === */
@media screen and (max-width: 768px) {
  .tinv-wishlist table,
  .tinv-wishlist thead,
  .tinv-wishlist tbody,
  .tinv-wishlist th,
  .tinv-wishlist td,
  .tinv-wishlist tr {
    display: block;
  }

  .tinv-wishlist td {
    text-align: right;
    padding-left: 50%;
    position: relative;
  }

  .tinv-wishlist td::before {
    content: attr(data-title);
    position: absolute;
    left: 15px;
    top: 10px;
    font-weight: 600;
    color: #80002a;
  }
}
/* ==== POPUP TI WISHLIST UNIFORME ==== */
.tinvwl-toast {
  background-color: #fff !important;
  border-radius: 20px !important;
  padding: 30px 20px;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  max-width: 400px;
  color: #80002a !important;
  text-align: center;
}

.tinvwl-toast .tinvwl-toast-message {
  font-size: 16px;
  font-weight: 500;
  color: #80002a;
  margin-bottom: 20px;
}

.tinvwl-toast .button {
  background-color: #80002a !important;
  color: #fff !important;
  border: none;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 30px;
  border-radius: 30px;
  margin: 8px auto 0;
  display: inline-block;
}

.tinvwl-toast .button:hover {
  background-color: #b3124d !important;
}
/* === Bouton CLOSE uniformisé avec Galerie Lokmane === */
.button.tinvwl_button_close {
  background-color: #80002a !important;
  color: #fff !important;
  border: none !important;
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 30px;
  margin-top: 10px;
  transition: 0.3s ease;
  font-family: 'Poppins', sans-serif;
  display: inline-block;
}

.button.tinvwl_button_close:hover {
  background-color: #b3124d !important;
  color: #fff !important;
}


/* === STYLE DE LA PAGE DE RECHERCHE - Galerie Lokmane === */
.lokmane-new-products {
  padding: 40px 20px;
  background-color: var(--rose-poudre);
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(230, 150, 170, 0.2);
  overflow: hidden;
}

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

.lokmane-new-products h4 {
  font-size: 36px;
  font-weight: 700;
  color: var(--bordeaux);
  margin-bottom: 10px;
}

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

.new-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  padding: 0 10px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Supprimer le point bleu */
.new-products-grid ul,
.new-products-grid li {
  list-style: none !important;
  padding-left: 0;
  margin-left: 0;
}

.no-results {
  text-align: center;
  color: #8b3a50;
  font-size: 20px;
  font-style: italic;
}

