/*
Theme Name: Hello Child
Template: hello-elementor
Author: Dan
Version: 1.0
*/

/* Reset et font */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Libre Baskerville', serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Topbar */
.topbar {
  background-color: #F5EFC1;
  color: #000;
  padding: 3px 20px;
  text-align: center;
  font-size: 14px;
  line-height: 1.2;
}
.topbar a {
  text-decoration: underline;
  color: #000;
}
.topbar a:hover {
  color: #666;
}

/* ✅ HEADER STICKY CORRIGÉ */
.header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 998;
  border-bottom: 1px solid #e0e0e0;
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 20px;
  max-width: 1300px;
  margin: 0 auto;
  flex-wrap: wrap;
  column-gap: 40px;
}

/* 🔧 DESKTOP : Styles pour les nouvelles zones */
@media (min-width: 769px) {
  .left-zone {
    display: flex;
    align-items: center;
    gap: 15px;
    order: 1;
    flex: 0 0 auto;
  }

  .logo-zone {
    order: 2;
    flex: 0 1 auto;
    margin: 0 auto;
    font-size: 22px;
    text-align: center;
    min-width: 150px;
  }

  .right-zone {
    order: 3;
    display: flex;
    gap: 15px;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .right-zone i {
    font-size: 18px;
    color: #000;
    cursor: pointer;
  }

  .hamburger {
    display: none;
  }
}

/* === NAVIGATION CONTAINER === */
.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

/* Recherche */
.search-container {
  display: flex;
  align-items: center;
}

.search-form {
  display: none;
}

@media (min-width: 769px) {
  .search-form {
    display: block;
  }

  .search-form input[type="search"] {
    border: 1px solid #ccc;
    padding: 5px 10px;
    font-size: 14px;
    margin-right: 10px;
    outline: none;
  }

  .search-form input[type="submit"] {
    display: none;
  }
}

.search-icon {
  font-size: 18px;
  color: #000;
  cursor: pointer;
  margin-left: 10px;
}

/* Logo (styles généraux) */
.logo {
  font-size: 22px;
  text-align: center;
  min-width: 150px;
}
.logo span {
  font-size: 12px;
  display: block;
}

/* Compatibilité ancienne structure */
.right-icons {
  order: 3;
  display: flex;
  gap: 15px;
  flex: 0 0 auto;
  margin-left: auto;
}
.right-icons i {
  font-size: 18px;
  color: #000;
  cursor: pointer;
}
.cart .count {
  display: none;
}

.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* === MENU MOBILE === */
.mobile-menu-inner {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background-color: #fff;
  z-index: 1050;
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0;
  overflow-y: auto;
}

.mobile-menu-inner.active {
  display: flex;
}

.mobile-menu-top {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex-shrink: 0;
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
}

/* Champ de recherche mobile avec bouton fermeture */
.mobile-search-form {
  position: relative;
}

.mobile-search-form input[type="search"] {
  width: 100%;
  padding: 15px 45px 15px 20px; /* espace à droite pour la croix */
  border: 1px solid #e0e0e0;
  font-size: 16px;
  background: #fff;
  color: #000;
  font-family: inherit;
}

.mobile-search-form .close-mobile-menu {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  font-size: 22px;
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}


.mobile-search-form input {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  font-size: 16px;
  background: #fff;
  color: #000;
  font-family: inherit;
}

.mobile-search-form input::placeholder {
  color: #999;
  font-style: italic;
}

/* ✅ MENU LINKS - Style mobile */
.mobile-menu-links {
  flex: 1;
  overflow-y: auto;
  padding: 30px 0 0 0;
}

.mobile-menu-links .nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left !important;
}

.mobile-menu-links .nav-links li {
  position: relative;
  border-bottom: none;
  text-align: left !important;
  width: 100%;
}

/* ✅ Items de menu mobile - Style */
.mobile-menu-links .nav-links li:not(.menu-item-has-children) a {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  text-decoration: none;
  padding: 20px 40px;
  display: block;
  text-align: left !important;
  letter-spacing: 1px;
  transition: background 0.3s ease;
  width: 100%;
  margin: 0;
  justify-content: flex-start !important;
}

.mobile-menu-links .nav-links li:not(.menu-item-has-children) a:hover {
  background: #f8f8f8;
}

/* ✅ Items avec sous-menu - wrapper mobile */
.mobile-menu-links .nav-links .menu-item-has-children > .menu-item-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 40px;
  transition: background 0.3s ease;
  text-align: left;
}

.mobile-menu-links .nav-links .menu-item-has-children > .menu-item-wrapper:hover {
  background: #f8f8f8;
}

.mobile-menu-links .nav-links .menu-item-has-children a.main-link {
  flex: 1;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  text-decoration: none;
  padding: 0;
  text-align: left !important;
  letter-spacing: 1px;
  width: 100%;
  margin: 0;
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

/* ✅ Flèches style mobile */
.mobile-menu-links .nav-links .menu-item-has-children .submenu-toggle {
  padding: 0;
  cursor: pointer;
  font-size: 16px;
  color: #000;
  background: none;
  border: none;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  margin-left: 20px;
  width: auto;
  height: auto;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.mobile-menu-links .nav-links .menu-item-has-children .submenu-toggle:hover {
  background: none;
}

.mobile-menu-links .nav-links .menu-item-has-children.open .submenu-toggle {
  transform: rotate(180deg);
}

/* === MENU DESKTOP === */
.desktop-menu {
  display: none;
  width: 100%;
  background: #fff;
  position: relative;
  z-index: 1000;
}

/* Desktop : styles pour le menu */
@media (min-width: 769px) {
  .mobile-menu-inner {
    display: none !important;
  }
  
  .desktop-menu {
    display: block !important;
    padding: 0;
    width: 100%;
    background: #fff;
    position: relative;
    z-index: 1000;
  }
  
  /* ✅ SOLUTION FINALE : Reproduction exacte du header */
  .desktop-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    margin: 0;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
  }
  
  /* ✅ Zone gauche simulée (comme left-zone) */
  .desktop-nav::before {
    content: '';
    flex: 0 0 auto;
    order: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    /* Largeur approximative : recherche + icône + gaps */
    width: 250px;
  }
  
  /* ✅ Zone droite simulée (comme right-zone) */
  .desktop-nav::after {
    content: '';
    flex: 0 0 auto;
    order: 3;
    display: flex;
    gap: 15px;
    margin-left: auto;
    /* Largeur approximative : 2 icônes + gaps */
    width: 80px;
  }
  
  /* ✅ Menu central (comme logo-zone) */
  .desktop-nav .nav-items-wrapper {
    order: 2;
    flex: 0 1 auto;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    min-width: 150px;
  }
  
  /* ✅ Styles pour les liens */
  .desktop-nav .nav-items-wrapper a {
    text-decoration: none;
    font-size: 14px;
    color: #000;
    padding: 10px 15px;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
  }
  
  .desktop-nav .nav-items-wrapper a:hover {
    color: #666;
  }
}

/* Mobile : masquer le menu desktop */
@media (max-width: 768px) {
  .desktop-menu {
    display: none !important;
  }
  
  .left-zone {
    grid-area: left !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 15px !important;
  }
  
  .hamburger {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    color: #000 !important;
    cursor: pointer !important;
    order: 1 !important;
    flex-shrink: 0 !important;
  }
  
  .search-icon {
    font-size: 18px !important;
    color: #000 !important;
    cursor: pointer !important;
    order: 2 !important;
    flex-shrink: 0 !important;
  }
  
  .search-form {
    display: none !important;
  }
  
  .left-zone .icon-standard {
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* Accordéon sous-menus mobile */
.nav-links .sub-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(255,255,255,0.1);
}
.nav-links .sub-menu.open {
  max-height: 500px;
}

.nav-links .sub-menu li {
  border-bottom: none;
}

.nav-links .sub-menu a {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 400;
  text-transform: none;
  color: #333;
  display: block;
}

/* === DROPDOWN GLOBAL === */
/* === DROPDOWN MOBILE === */
@media (max-width: 768px) {
  .dropdown {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 1052;
    padding: 0;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.3s ease;
    pointer-events: none;
  }

  .dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
  }

  /* Header du dropdown mobile */
  .dropdown-header {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
  }

  .dropdown-columns {
    padding: 30px 0;
    display: block;
  }

  .dropdown a {
    display: block;
    margin-bottom: 0;
    font-size: 16px;
    padding: 20px 40px;
    border-bottom: none;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 400;
    text-align: left;
    letter-spacing: 1px;
    transition: background 0.3s ease;
  }

  .dropdown a:hover {
    background: #f8f8f8;
    color: #000;
  }
}

/* === DROPDOWN DESKTOP === */
@media (min-width: 769px) {
  .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 40px 0;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    height: auto;
    max-height: none;
    overflow: visible;
    transform: translateY(0);
  }

  .nav-container:hover .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .dropdown:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .dropdown-header {
    display: none;
  }
  
  .dropdown-columns {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 0 40px;
    overflow: visible;
    height: auto;
  }

  .dropdown a {
    font-size: 14px;
    text-transform: none;
    font-weight: normal;
    letter-spacing: normal;
    color: #333;
    transition: color 0.3s ease;
    display: block;
    padding: 8px 0;
  }
  
  .dropdown a:hover {
    color: #000;
    background: transparent;
  }
}
  

/* Responsive dropdown */
/*
@media (max-width: 1024px) {
  .dropdown-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}
*/

/* ✅ Blocs menu mobile - masqués pour style */
.mobile-menu-blocks {
  display: none;
}

/* === FOOTER === */

.site-footer {
  background-color: #FFFFFF;
  font-family: 'Libre Baskerville', serif;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-top: 1px solid #e0e0e0;
}

.footer-top-section,
.footer-bottom-section,
.footer-final-row {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* Newsletter pleine largeur */
.footer-top-section.full-width-newsletter {
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  padding: 80px 60px !important;
  background: #f5f5f5 !important;
}

.footer-top-section .stay-in-touch {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.footer-column.stay-in-touch h2 {
  text-align: center;
}

.footer-column.stay-in-touch p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  padding: 60px;
  background: #fff;
}

.footer-column h2 {
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 25px;
  letter-spacing: 1.5px;
  color: #000;
}

.footer-column p {
  font-size: 14px;
  color: #000;
  line-height: 1.6;
  margin-bottom: 30px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  font-size: 14px;
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #000;
}

/* Newsletter form */
.newsletter-form {
  max-width: 400px;
  margin: 0 auto;
}

.email-input-wrapper {
  position: relative;
  margin-bottom: 15px;
}

.email-input-wrapper input[type="email"] {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid #ccc;
  background: transparent;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
  color: #000;
}

.email-input-wrapper input[type="email"]:focus {
  border-bottom-color: #000;
}

.email-label {
  position: absolute;
  left: 0;
  top: 12px;
  color: #999;
  font-size: 12px;
  text-transform: uppercase;
  pointer-events: none;
  transition: all 0.3s;
}

.email-input-wrapper input[type="email"]:focus + .email-label,
.email-input-wrapper input[type="email"]:not(:placeholder-shown) + .email-label {
  top: -10px;
  font-size: 10px;
}

.checkbox-wrapper {
  margin-bottom: 30px;
  font-size: 11px;
  color: #666;
  line-height: 1.4;
}

.checkbox-wrapper label a {
  color: #666;
  text-decoration: underline;
}

.subscribe-btn {
  width: 100%;
  padding: 15px;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}

.subscribe-btn:hover {
  background: #fff;
  color: #000;
}

/* Contact section */
.footer-column .contact-us {
  margin-top: 30px;
  padding: 15px 40px;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s;
}

.footer-column .contact-us:hover {
  background: #fff;
  color: #000;
}

/* Réseaux sociaux */
.social-links {
  display: flex;
  gap: 15px;
  padding: 0;
  margin: 0;
}

.social-links li {
  list-style: none;
}

.social-links li a {
  font-size: 20px;
  color: #000;
  transition: opacity 0.3s ease;
}

.social-links li a:hover {
  opacity: 0.6;
}

/* Ligne finale */
.footer-final-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 60px;
  border-top: 1px solid #ccc;
  background-color: #fff;
}

.language-selector {
  display: none !important;
}

.footer-link {
  font-size: 12px;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  letter-spacing: 1.5px;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 0.6;
}

/* Bouton flottant retour en haut */
.back-to-top-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background: #000;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.back-to-top-float.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top-float:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-columns-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px;
    gap: 40px;
  }

  .footer-final-row {
    padding: 30px 40px;
  }
}

@media (max-width: 768px) {
  .footer-columns-grid {
    grid-template-columns: 1fr;
    padding: 30px;
    gap: 30px;
  }

  .footer-final-row {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 20px 30px;
  }

  .back-to-top-float {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}
/* === MODAL DE COMPTE === */
.account-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.account-overlay.active {
  opacity: 1;
  visibility: visible;
}

.account-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  font-family: 'Libre Baskerville', serif;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.account-modal-header {
  position: relative;
  padding: 30px 30px 20px;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;
}

.account-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  transition: color 0.3s ease;
}

.account-modal-close:hover {
  color: #000;
}

.account-modal-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #000;
  margin: 0;
  font-weight: 400;
}

.account-modal-subtitle {
  font-size: 24px;
  color: #000;
  margin: 15px 0 0;
  font-weight: 400;
  line-height: 1.3;
}

.account-modal-body {
  padding: 30px;
}

/* Boutons de connexion sociale */
.social-login-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.social-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.social-login-btn:hover {
  background: #f8f8f8;
  border-color: #000;
}

.social-login-btn i {
  font-size: 16px;
}

/* Formulaire de connexion */
.account-form {
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000;
  margin-bottom: 8px;
}

.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid #ccc;
  background: transparent;
  font-size: 14px;
  font-family: inherit;
  color: #000;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
  border-bottom-color: #000;
}

.form-group input[type="email"]::placeholder,
.form-group input[type="password"]::placeholder {
  color: #999;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 3px;
}

.checkbox-group label {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: normal;
}

.checkbox-group label a {
  color: #666;
  text-decoration: underline;
}

.forgot-password {
  text-align: center;
 margin-bottom: 30px;
}

.forgot-password a {
 color: #000;
 text-decoration: underline;
 font-size: 12px;
 text-transform: uppercase;
 letter-spacing: 1px;
}

.login-button {
 width: 100%;
 padding: 15px;
 background: #000;
 color: #fff;
 border: 1px solid #000;
 font-size: 12px;
 text-transform: uppercase;
 letter-spacing: 2px;
 cursor: pointer;
 transition: all 0.3s ease;
 font-family: inherit;
 margin-bottom: 30px;
}

.login-button:hover {
 background: #fff;
 color: #000;
}

.divider {
 text-align: center;
 margin: 30px 0;
 position: relative;
 color: #999;
 font-size: 12px;
 text-transform: uppercase;
 letter-spacing: 1px;
}

.divider::before {
 content: '';
 position: absolute;
 top: 50%;
 left: 0;
 right: 0;
 height: 1px;
 background: #e0e0e0;
 z-index: 1;
}

.divider span {
 background: #fff;
 padding: 0 20px;
 position: relative;
 z-index: 2;
}

/* Section création de compte */
.create-account-section {
 background: #f8f8f8;
 padding: 30px;
 margin: -30px -30px 0;
 text-align: center;
}

.create-account-section h3 {
 font-size: 16px;
 color: #000;
 margin-bottom: 15px;
 font-weight: 400;
}

.create-account-section p {
 font-size: 14px;
 color: #666;
 line-height: 1.6;
 margin-bottom: 25px;
}

.create-account-btn {
 display: inline-block;
 padding: 15px 30px;
 background: #fff;
 color: #000;
 border: 1px solid #000;
 font-size: 12px;
 text-transform: uppercase;
 letter-spacing: 2px;
 text-decoration: none;
 cursor: pointer;
 transition: all 0.3s ease;
 font-family: inherit;
}

.create-account-btn:hover {
 background: #000;
 color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
 .account-modal {
   width: 95%;
   max-width: none;
   max-height: 95vh;
 }
 
 .account-modal-header {
   padding: 20px 20px 15px;
 }
 
 .account-modal-body {
   padding: 20px;
 }
 
 .create-account-section {
   padding: 20px;
   margin: -20px -20px 0;
 }
 
 .account-modal-subtitle {
   font-size: 20px;
 }
}

/* Styles pour utilisateur connecté */
.logged-in-content {
 text-align: center;
}

.logged-in-content p {
 font-size: 16px;
 margin-bottom: 30px;
 color: #000;
}

.account-links {
 display: flex;
 flex-direction: column;
 gap: 15px;
}

.account-link {
 display: block;
 padding: 15px 20px;
 border: 1px solid #e0e0e0;
 color: #000;
 text-decoration: none;
 font-size: 14px;
 text-transform: uppercase;
 letter-spacing: 1px;
 transition: all 0.3s ease;
 text-align: center;
}

.account-link:hover {
 background: #f8f8f8;
 border-color: #000;
}

.account-link.logout-link {
 background: #000;
 color: #fff;
 border-color: #000;
}

.account-link.logout-link:hover {
 background: #fff;
 color: #000;
}

/* Compteur panier */
.cart-count {
 position: absolute;
 top: -8px;
 right: -8px;
 background: #000;
 color: #fff;
 border-radius: 50%;
 width: 18px;
 height: 18px;
 font-size: 11px;
 display: flex;
 align-items: center;
 justify-content: center;
 font-weight: bold;
}

.cart {
 position: relative;
}

.back-to-menu {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-right: 15px;
  color: #000;
  font-size: 18px;
}

.dropdown-title {
  font-size: 14px;
  font-weight: 400;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.woocommerce ul.products {
width: 100% !important;
max-width: 100% !important;
}

.woocommerce ul.products li.product {
position: relative !important;
overflow: hidden !important;
}

.woocommerce ul.products li.product img {
transition: opacity 0.3s ease !important;
width: 100% !important;
height: auto !important;
}

.woocommerce ul.products li.product .hover-image {
position: absolute !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: 100% !important;
opacity: 0 !important;
transition: opacity 0.3s ease !important;
object-fit: cover !important;
}

.woocommerce ul.products li.product:hover img.woocommerce-loop-product__image {
opacity: 0 !important;
}

.woocommerce ul.products li.product:hover .hover-image {
opacity: 1 !important;
}

/* Fix pour le hover qui couvre titre et prix sur page d'accueil */
.elementor-widget-woocommerce-products .woocommerce ul.products li.product {
    position: relative !important;
}

.elementor-widget-woocommerce-products .woocommerce ul.products li.product a {
    position: relative !important;
    display: block !important;
}

.elementor-widget-woocommerce-products .woocommerce ul.products li.product a img {
    position: relative !important;
    z-index: 1 !important;
}

.elementor-widget-woocommerce-products .woocommerce ul.products li.product .hover-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 2 !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    pointer-events: none !important; /* Empêche l'image de bloquer les clics */
}

.elementor-widget-woocommerce-products .woocommerce ul.products li.product:hover .hover-image {
    opacity: 1 !important;
}

.elementor-widget-woocommerce-products .woocommerce ul.products li.product:hover a > img:not(.hover-image) {
    opacity: 0 !important;
}

/* S'assurer que titre et prix restent au-dessus */
.elementor-widget-woocommerce-products .woocommerce ul.products li.product .woocommerce-loop-product__title,
.elementor-widget-woocommerce-products .woocommerce ul.products li.product .price {
    position: relative !important;
    z-index: 10 !important;
    background: white !important;
    padding: 5px 0 !important;
}

/* Conteneur d'image avec hauteur fixe */
.elementor-widget-woocommerce-products .woocommerce ul.products li.product a.woocommerce-loop-product__link {
    display: block !important;
    position: relative !important;
    overflow: hidden !important;
    height: 300px !important; /* Ajuste selon tes besoins */
}

/* ========================================
   FIX HOVER PAGE ACCUEIL ELEMENTOR
======================================== */
.elementor-widget-woocommerce-products .products {
    position: relative !important;
}

/* Structure du produit */
.elementor-widget-woocommerce-products li.product {
    position: relative !important;
}

/* Conteneur du lien avec hauteur fixe */
.elementor-widget-woocommerce-products li.product > a:first-child {
    display: block !important;
    position: relative !important;
    height: 300px !important;
    overflow: hidden !important;
    margin-bottom: 10px !important;
}

/* Images dans le conteneur */
.elementor-widget-woocommerce-products li.product > a:first-child img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Image principale */
.elementor-widget-woocommerce-products li.product > a:first-child img:not(.hover-image) {
    z-index: 1 !important;
    transition: opacity 0.3s ease !important;
}

/* Image hover */
.elementor-widget-woocommerce-products li.product > a:first-child .hover-image {
    z-index: 2 !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

/* Effet hover */
.elementor-widget-woocommerce-products li.product:hover > a:first-child img:not(.hover-image) {
    opacity: 0 !important;
}

.elementor-widget-woocommerce-products li.product:hover > a:first-child .hover-image {
    opacity: 1 !important;
}

/* Titre et prix en dehors du conteneur image */
.elementor-widget-woocommerce-products .woocommerce-loop-product__title,
.elementor-widget-woocommerce-products .price {
    position: relative !important;
    z-index: 10 !important;
    display: block !important;
    margin-top: 10px !important;
}

/* Force images nettes */
.woocommerce img,
.elementor-widget-woocommerce-products img {
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: crisp-edges !important;
}

/* ✅ FIX FINAL : Titre + prix visibles sur page catégorie */
body.woocommerce-tax-product_cat ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-tax-product_cat ul.products li.product .price {
    position: relative !important;
    z-index: 10 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #111 !important;
    background: white !important;
    padding: 5px 0 !important;
    margin-top: 10px !important;
    font-size: 16px !important;
}

/* ✅ Assure que l’image de hover ne recouvre plus */
body.woocommerce-tax-product_cat ul.products li.product .hover-image {
    z-index: 1 !important;
    pointer-events: none !important;
}

/* ========================================
   FIX TITRES ET PRIX UNIVERSELS - SOLUTION COMPLÈTE
======================================== */

/* 🔥 RESET FORCE BRUTAL - Supprime tous les styles qui masquent */
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .price,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.elementor-widget-woocommerce-products ul.products li.product .woocommerce-loop-product__title,
.elementor-widget-woocommerce-products ul.products li.product .price,
.elementor-widget-woocommerce-products .woocommerce ul.products li.product .woocommerce-loop-product__title,
.elementor-widget-woocommerce-products .woocommerce ul.products li.product .price,
body.woocommerce-tax-product_cat ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-tax-product_cat ul.products li.product .price {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #000 !important;
    font-size: 16px !important;
    margin-top: 10px !important;
    height: auto !important;
    overflow: visible !important;
    text-align: center !important;
    position: relative !important;
    z-index: 999 !important;
    background: white !important;
    padding: 5px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
    line-height: 1.4 !important;
}

/* 🔥 FIX SPÉCIAL ELEMENTOR - Force absolue */
.elementor-widget-woocommerce-products .products li.product .woocommerce-loop-product__title,
.elementor-widget-woocommerce-products .products li.product .price,
.elementor-widget-woocommerce-products .woocommerce-loop-product__title,
.elementor-widget-woocommerce-products .price {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #000 !important;
    font-size: 16px !important;
    margin-top: 10px !important;
    text-align: center !important;
    position: relative !important;
    z-index: 999 !important;
    background: white !important;
    padding: 5px 0 !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

/* 🔥 NEUTRALISE LES STYLES CONFLICTUELS */
.elementor-widget-woocommerce-products .woocommerce ul.products li.product .hover-image,
.woocommerce ul.products li.product .hover-image {
    z-index: 2 !important;
    pointer-events: none !important;
}

/* 🔥 FORCE L'AFFICHAGE MÊME SI MASQUÉ PAR D'AUTRES RÈGLES */
.woocommerce-loop-product__title,
.price,
h2.woocommerce-loop-product__title,
span.price {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 999 !important;
}

/* 🔥 FIX BOUTON AJOUTER AU PANIER */
ul.products li.product .button,
.elementor-widget-woocommerce-products ul.products li.product .button {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 999 !important;
}

/* ========================================
   FIX FINAL BRUTAL - FORCE ABSOLUE
======================================== */

/* Sélecteurs ultra-spécifiques pour override TOUT */
body.woocommerce-tax-product_cat ul.products li.product h2.woocommerce-loop-product__title,
body.woocommerce-tax-product_cat ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-tax-product_cat ul.products li.product span.price,
body.woocommerce-tax-product_cat ul.products li.product .price,
ul.products li.product h2.woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product span.price,
ul.products li.product .price,
.woocommerce ul.products li.product h2.woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product span.price,
.woocommerce ul.products li.product .price {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #000 !important;
    font-size: 16px !important;
    margin: 10px 0 !important;
    text-align: center !important;
    position: relative !important;
    z-index: 9999 !important;
    background: white !important;
    padding: 5px 0 !important;
    height: auto !important;
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    line-height: 1.4 !important;
    font-family: inherit !important;
    clear: both !important;
    float: none !important;
}

/* Override ultra-spécifique pour tout type d'élément caché */
*[class*="woocommerce-loop-product__title"],
*[class*="price"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Force pour Elementor */
.elementor-widget-woocommerce-products *[class*="woocommerce-loop-product__title"],
.elementor-widget-woocommerce-products *[class*="price"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #000 !important;
}
