/*
Theme Name: Child theme Divi Mediterranean Caterer
Theme URI: https://traiteur-mediterraneen-marseille.fr
Description: Child theme Divi pour site traiteur-mediterraneen-marseille.fr
Author:Mondher Adoudi
Author URI: https://mondher.ch
Template: Divi
Version: 1.0.0
Text Domain: divi-child
*/

/* ============================================
   ICI tu ajouteras ton CSS personnalisé
   (Celui fourni dans le Guide Partie 1)
   ============================================ */

/* ============================================
   VARIABLES CSS GLOBALES
   ============================================ */
:root {
  /* Couleurs Principales */
  --color-primary: #0077BE;          /* Bleu Méditerranéen */
  --color-secondary: #D4734C;        /* Terracotta */
  --color-accent:  #FFC107;           /* Jaune Soleil */
  
  /* Couleurs Neutres */
  --color-bg-light: #F8F4E8;         /* Beige Sable */
  --color-text: #2C3E2F;             /* Olive Foncé */
  --color-text-light: #6B7280;       /* Gris Texte */
  --color-white: #FAFAF7;            /* Blanc Cassé */
  
  /* Espacements */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  
  /* Typographie */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
}

/* ============================================
   TYPOGRAPHIE
   ============================================ */
body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}

h2 {
  color: var(--color-primary);
}

h4 {
  color: var(--color-secondary);
}


/* ============================================
   RESPONSIVE MOBILE - OPTIMISATIONS
   ============================================ */

/* FOOTER MOBILE - Centrer icônes */
@media (max-width: 768px) {
  /* Section footer padding réduit */
  #main-footer .et_pb_section {
    padding: 30px 0 20px 0 !important;
  }
  
  /* Colonnes empilées - spacing */
  #main-footer .et_pb_column {
    margin-bottom: 20px !important;
  }
  
  /* Icônes sociales centrées */
  .et_pb_social_media_follow {
    justify-content: center !important;
    display: flex !important;
  }
  
  .et_pb_social_media_follow ul {
    justify-content: center !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  
  .et_pb_social_media_follow li {
    float: none !important;
    display: inline-flex !important;
  }
  
  /* Newsletter full width */
  #main-footer input[type="email"],
  #main-footer button {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* TRÈS PETIT MOBILE */
@media (max-width: 480px) {
  /* Logo encore plus compact */
  .logo-text {
    font-size: 16px !important;
  }
  
  /* Bouton CTA encore plus petit */
  #main-header .et_pb_button {
    padding: 8px 14px !important;
    font-size: 12px !important;
  }
}

/* ============================================
   HEADER - Hauteur réduite
   ============================================ */

/* Section header */
.et_pb_section_0_tb_header {
  padding: 8px 20px !important;
}

/* Rangée */
.et_pb_row_0_tb_header {
  padding: 0 !important;
  min-height: 60px !important;
}

/* Logo plus petit */
.logo-desktop {
  max-height: 50px !important;
}

/* ============================================
   FIX - Hero background qui se répète
   ============================================ */

.et_pb_fullwidth_header {
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center center !important;
}



/* ============================================
   BOUTONS - STYLES GLOBAUX
   ============================================ */

/* Style de base pour TOUS les boutons Divi */
.et_pb_button {
  border-radius: 8px !important;
  padding: 14px 32px !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-transform: none !important;
}

/* Effet hover par défaut */
.et_pb_button:hover {
  transform: translateY(-2px) !important;
}

/* ============================================
   BOUTON ACCENT (Jaune - CTA Principal)
   ============================================ */
.et_pb_button_accent {
  background-color: var(--color-accent) !important;
  color: var(--color-text) !important;
  border: none !important;
}

.et_pb_button_accent:hover {
  background-color: #FFB300 !important;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4) !important;
}

/* ============================================
   BOUTON SECONDAIRE (Terracotta)
   ============================================ */
.et_pb_button_secondary {
  background-color: var(--color-secondary) !important;
  color: #FFFFFF !important;
  border: none !important;
}

.et_pb_button_secondary:hover {
  background-color: #B85F3D !important;
  box-shadow: 0 4px 12px rgba(212, 115, 76, 0.4) !important;
}

/* ============================================
   BOUTON OUTLINE (Contour Bleu)
   ============================================ */
.et_pb_button_outline {
  background-color: transparent !important;
  border: 2px solid var(--color-primary) !important;
  color: var(--color-primary) !important;
}

.et_pb_button_outline:hover {
  background-color: var(--color-primary) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(0, 119, 190, 0.4) !important;
}

/* ============================================
   BOUTONS dans les En-têtes Plein Écran
   (Hero + CTA)
   ============================================ */
.et_pb_section .et_pb_fullwidth_header_0 .et_pb_button_one.et_pb_button {
  background-color: var(--color-accent) !important;
  color: var(--color-text) !important;
  border: none !important;
}

.et_pb_section .et_pb_fullwidth_header_0 .et_pb_button_one.et_pb_button:hover {
  background-color: #FFB300 !important;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4) !important;
}

/* Deuxième bouton du Hero en outline blanc */
.et_pb_section .et_pb_fullwidth_header_0 .et_pb_button_two.et_pb_button {
  background-color: transparent !important;
  border: 2px solid #FFFFFF !important;
  color: #FFFFFF !important;
}

.et_pb_section .et_pb_fullwidth_header_0 .et_pb_button_two.et_pb_button:hover {
  background-color: var(--color-primary) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3) !important;
}

/********************************************
 * WOOF – STYLE MÉDITERRANÉEN (Divi + Charte)
 ********************************************/

/* --- Container du filtre --- */
.woof_container {
    background: #F8F4E8; /* Beige Sable */
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    font-family: 'Lato', sans-serif;
    margin-bottom: 32px;
}

/* --- Titres des sections de filtre --- */
.woof_title, 
.woof_container h4,
.woof_container .woof_container_inner h4 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #D4734C; /* Terracotta */
    margin-bottom: 12px;
    font-weight: 700;
    border-bottom: 2px solid #0077BE;
    padding-bottom: 6px;
}

/* --- Style des checkboxes --- */
.woof_checkbox_label {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #2C3E2F; /* Texte Olive Foncé */
    margin-bottom: 10px;
    cursor: pointer;
}

/* Case à cocher personnalisée */
.woof_checkbox_label input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #0077BE;
    border-radius: 4px;
    margin-right: 10px;
    cursor: pointer;
    transition: 0.3s ease;
}

/* Checkbox cochée */
.woof_checkbox_label input[type="checkbox"]:checked {
    background-color: #0077BE;
    border-color: #005A94;
    box-shadow: 0 0 0 3px rgba(0,119,190,0.2);
}

/* Texte de la catégorie */
.woof_checkbox_label span {
    color: #2C3E2F;
    transition: 0.3s ease;
}

.woof_checkbox_label:hover span {
    color: #D4734C; /* Terracotta au survol */
}

/* --- Bouton RESET / Clear --- */
.woof_reset_search_form {
    display: none !important;
    background: #D4734C !important; /* Terracotta */
    color: #FFFFFF !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    border: none;
    margin-top: 16px;
    transition: 0.3s ease;
}

.woof_reset_search_form:hover {
    background: #B85F3D !important; /* Terracotta foncé */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212,115,76,0.3);
}

/* --- Slider prix (si activé) --- */
.woof_price_filter,
.woof_sid_auto_form price_slider_amount {
    font-family: 'Lato', sans-serif;
    color: #2C3E2F;
}

/* Style des barres du slider */
.woof_price_filter .ui-slider-range {
    background: #0077BE !important;
}

.woof_price_filter .ui-slider-handle {
    background: #F4A261 !important;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    top: -7px;
    border: 2px solid white;
    cursor: pointer;
}

/* --- Bouton APPLY si filtre ajax sans auto-submit --- */
.woof_submit_search_form {
    background: #0077BE !important;
    color: white !important;
    padding: 10px 22px;
    border-radius: 8px;
    border: none;
    transition: 0.3s ease;
    font-family: 'Lato', sans-serif;
}

.woof_submit_search_form:hover {
    background: #005A94 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,119,190,0.3);
}

/* --- Accordéons si activés --- */
.woof_container .woof_section_header {
    background: transparent;
    border: none;
    padding: 0;
    color: #0077BE;
    font-weight: 700;
}

.woof_container .woof_section_header:hover {
    color: #D4734C;
    cursor: pointer;
}

/* --- Alignement & espacements --- */
.woof_container .woof_list {
    padding-left: 0;
    margin-top: 12px;
}

/* --- Amélioration visuelle mobile --- */
@media (max-width: 768px) {
    .woof_container {
        padding: 18px;
    }
    .woof_title {
        font-size: 20px;
    }
    .woof_checkbox_label {
        font-size: 15px;
    }
}

/* ============================================
   ICONE PANIER DANS HEADER
   ============================================ */

/* Container panier */
a.et_pb_menu__cart-button {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  font-size: 0 !important;
  transition: background 0.3s ease !important;
}

/* Hover fond beige (optionnel, décommente si tu veux) */
/*
a.et_pb_menu__cart-button:hover {
  background: #F8F4E8 !important;
}
*/

/* Icône panier */
a.et_pb_menu__cart-button::before {
  content: '🛒' !important;
  font-family: inherit !important;
  font-size: 24px !important;
  color: #2C3E2F !important;
  transition: color 0.3s ease !important;
  display: block !important;
  line-height: 1 !important;
}

/* Hover icône */
a.et_pb_menu__cart-button:hover::before {
  color: #0077BE !important;
}

/* Container du span */
a.et_pb_menu__cart-button span.et_pb_menu__cart-count {
  position: relative !important;
  font-size: 0 !important;
  line-height: 1 !important;
}

/* BADGE - Plus gros */
span.cart-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 24px !important;
  height: 24px !important;
  padding: 3px 8px !important;
  background: #FFC107 !important;
  color: #2C3E2F !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  border: 2px solid white !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
  line-height: 1 !important;
  transition: transform 0.2s ease !important;
}

/* Hover badge */
a.et_pb_menu__cart-button:hover span.cart-badge {
  transform: scale(1.08) !important;
}

/* ============================================
   RESPONSIVE MOBILE - Encore plus gros
   ============================================ */

@media (max-width: 980px) {
  /* Container panier mobile */
  a.et_pb_menu__cart-button {
    gap: 8px !important;
    padding: 10px 0 !important;
    margin-right: -10px !important;
  }
  
  /* Icône plus grosse sur mobile */
  a.et_pb_menu__cart-button::before {
    font-size: 28px !important;
  }
  
  /* Badge encore plus gros sur mobile */
  span.cart-badge {
    min-width: 28px !important;
    height: 28px !important;
    padding: 4px 10px !important;
    font-size: 15px !important;
    border-radius: 14px !important;
  }
}

@media (max-width: 480px) {
  a.et_pb_menu__cart-button::before {
    font-size: 26px !important;
  }
  
  span.cart-badge {
    min-width: 26px !important;
    height: 26px !important;
    font-size: 14px !important;
  }
}

/* ============================================
   BOUTON AJOUTER AU PANIER - Style accent
   ============================================ */

/* Bouton simple "Ajouter au panier" */
.single-product .woocommerce-variation-add-to-cart button.single_add_to_cart_button,
.single-product button.single_add_to_cart_button,
.woocommerce button.button.alt,
.woocommerce .single_add_to_cart_button {
  background-color: #FFC107 !important;
  color: #2C3E2F !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 14px 32px !important;
  font-family: 'Lato', sans-serif !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.single-product button.single_add_to_cart_button:hover,
.woocommerce button.button.alt:hover,
.woocommerce .single_add_to_cart_button:hover {
  background-color: #FFB300 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4) !important;
}

/* Boutons dans la boutique/archives */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
  background-color: #FFC107 !important;
  color: #2C3E2F !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.woocommerce ul.products li.product .button:hover {
  background-color: #FFB300 !important;
  transform: translateY(-2px) !important;
}

/* ============================================
   PANIER HEADER - Simple et fonctionnel
   ============================================ */

/* Icône panier */
.et_pb_menu__cart-button {
  font-size: 24px !important;
  color: #2C3E2F !important;
  transition: all 0.3s ease !important;
  padding: 8px 12px !important;
  border-radius: 6px !important;
}

/* Hover */
.et_pb_menu__cart-button:hover {
  color: #0077BE !important;
  background: rgba(0, 119, 190, 0.08) !important;
  transform: translateY(-2px) !important;
}

/* Texte du compteur natif Divi */
.et_pb_menu__cart-button .et_pb_menu__cart-count {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #0077BE !important;
  margin-left: 4px !important;
}

/* ============================================
   MESSAGE "PRODUIT AJOUTÉ AU PANIER"
   ============================================ */

/* Wrapper centré */
body .woocommerce-notices-wrapper {
  display: flex !important;
  justify-content: center !important;
  padding: 20px !important;
}

/* Container du message */
body .woocommerce-message {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #047857 !important;
  border: 2px solid rgba(16, 185, 129, 0.3) !important;
  border-left: 4px solid #10B981 !important;
  border-radius: 8px !important;
  padding: 16px 20px !important;
  margin: 0 !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1) !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  max-width: 800px !important;
  min-width: 400px !important;
}

/* CACHER L'ICÔNE */
body .woocommerce-message::before {
  display: none !important;
}

/* Texte */
body .woocommerce-message,
body .woocommerce-message a:not(.button) {
  color: #047857 !important;
}

body .woocommerce-message a:not(.button) {
  font-weight: 600 !important;
  text-decoration: none !important;
  border-bottom: 1px solid #10B981 !important;
}

body .woocommerce-message a:not(.button):hover {
  color: #10B981 !important;
}

/* Bouton VERT à droite */
body .woocommerce-message .button,
body .woocommerce-message a.button {
  background: #10B981 !important;
  background-color: #10B981 !important;
  color: white !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 10px 20px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  margin-left: auto !important;
  flex-shrink: 0 !important;
  transition: background 0.3s ease !important;
}

body .woocommerce-message .button:hover {
  background: #059669 !important;
  background-color: #059669 !important;
}

/* Supprimer flèches/icônes du bouton */
body .woocommerce-message .button::after,
body .woocommerce-message .button::before {
  display: none !important;
}

/* Mobile */
@media (max-width: 768px) {
  body .woocommerce-message {
    flex-direction: column !important;
    min-width: auto !important;
    width: 100% !important;
  }
  
  body .woocommerce-message .button {
    margin-left: 0 !important;
    margin-top: 12px !important;
    width: 100% !important;
    text-align: center;
  }
}

/* Animation */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body .woocommerce-message {
  animation: slideDown 0.3s ease-out !important;
}

/* ============================================
   PAGE PANIER VIDE - Message personnalisé
   ============================================ */

.panier-vide-custom {
  text-align: center;
  padding: 60px 20px;
}

/* Section principale */
.panier-vide-section {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}

.panier-vide-icon {
  font-size: 80px;
  margin-bottom: 20px;
}

.panier-vide-titre {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #2C3E2F;
  margin-bottom: 16px;
}

.panier-vide-texte {
  color: #6B7280;
  font-size: 16px;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Cacher le message custom si panier plein */
body.woocommerce-cart.woocommerce-cart-filled .panier-vide-custom {
  display: none !important;
}

/* Afficher uniquement si panier vide */
body.woocommerce-cart:not(.woocommerce-cart-filled) .panier-vide-custom {
  display: block !important;
}

/* Responsive */
@media (max-width: 768px) {
 
  /* Section principale */
  .panier-vide-section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .panier-vide-icon {
    font-size: 60px;
  }
  
  .panier-vide-titre {
    font-size: 24px;
  }
  
  .panier-vide-texte {
    font-size: 14px;
  }
}

/* ============================================
   PAGE PANIER PLEIN - Tableau produits
   ============================================ */

/* Tableau panier */
.woocommerce-cart-form {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

/* En-têtes du tableau */
.woocommerce table.cart thead th {
  background: #F8F4E8 !important;
  color: #2C3E2F !important;
  font-family: 'Lato', sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 20px 15px !important;
  border: none !important;
}

/* Lignes du tableau */
.woocommerce table.cart tbody tr {
  border-bottom: 1px solid #E5E7EB !important;
}

.woocommerce table.cart tbody td {
  padding: 20px 15px !important;
  vertical-align: middle !important;
}

/* Image produit */
.woocommerce table.cart img {
  border-radius: 8px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
  width: 80px !important;
  height: 80px !important;
  object-fit: cover !important;
}

/* Nom du produit (lien) */
.woocommerce table.cart .product-name a {
  color: #2C3E2F !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

.woocommerce table.cart .product-name a:hover {
  color: #0077BE !important;
}

/* Prix */
.woocommerce table.cart .product-price,
.woocommerce table.cart .product-subtotal {
  color: #2C3E2F !important;
  font-weight: 600 !important;
  font-size: 16px !important;
}

/* Input quantité */
.woocommerce table.cart input.qty {
  border: 2px solid #E5E7EB !important;
  border-radius: 6px !important;
  padding: 8px 12px !important;
  font-size: 14px !important;
  text-align: center !important;
  width: 70px !important;
  transition: border-color 0.3s ease !important;
}

.woocommerce table.cart input.qty:focus {
  border-color: #0077BE !important;
  outline: none !important;
}

/* Bouton Supprimer (X rouge) */
.woocommerce table.cart .remove {
  background: rgba(239, 68, 68, 0.1) !important;
  color: #EF4444 !important;
  border-radius: 6px !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  transition: all 0.3s ease !important;
}

.woocommerce table.cart .remove:hover {
  background: #EF4444 !important;
  color: white !important;
}

/* Bouton "Mettre à jour le panier" */
.woocommerce table.cart button[name="update_cart"] {
  background: transparent !important;
  border: 2px solid #0077BE !important;
  color: #0077BE !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
}

.woocommerce table.cart button[name="update_cart"]:hover {
  background: #0077BE !important;
  color: white !important;
}

/* Section code promo */
.woocommerce-cart .coupon {
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}

.woocommerce-cart .coupon input[type="text"] {
  border: 2px solid #E5E7EB !important;
  border-radius: 6px !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  min-width: 200px !important;
  transition: border-color 0.3s ease !important;
}

.woocommerce-cart .coupon input[type="text"]:focus {
  border-color: #0077BE !important;
  outline: none !important;
}

/* Bouton "Appliquer le code promo" */
.woocommerce-cart .coupon button[name="apply_coupon"] {
  background: #0077BE !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
}

.woocommerce-cart .coupon button[name="apply_coupon"]:hover {
  background: #005A8C !important;
  transform: translateY(-2px) !important;
}

/* ============================================
   PANIER MOBILE - Améliorations
   ============================================ */

@media (max-width: 768px) {
  
  /* Carte produit mobile */
  .woocommerce table.cart tbody tr {
    display: block !important;
    background: white !important;
    border: 2px solid #E5E7EB !important;
    border-radius: 12px !important;
    padding: 16px !important;
    margin-bottom: 16px !important;
    position: relative !important;
  }
  
  /* Image produit - AFFICHER */
  .woocommerce table.cart .product-thumbnail {
    display: block !important;
    text-align: center !important;
    margin-bottom: 12px !important;
  }
  
  .woocommerce table.cart .product-thumbnail img {
    width: 100px !important;
    height: 100px !important;
    border-radius: 8px !important;
    margin: 0 auto !important;
  }
  
  /* Bouton supprimer - en haut à droite */
  .woocommerce table.cart .product-remove {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
  }
  
  /* Lignes info produit */
  .woocommerce table.cart tbody td {
    display: flex !important;
    justify-content: space-between !important;
    padding: 10px 0 !important;
    border: none !important;
    border-bottom: 1px solid #F3F4F6 !important;
  }
  
  .woocommerce table.cart tbody td:last-child {
    border-bottom: none !important;
  }
  
  /* Labels mobiles */
  .woocommerce table.cart tbody td::before {
    font-weight: 600 !important;
    color: #6B7280 !important;
  }
  
  /* Input quantité plus gros */
  .woocommerce table.cart input.qty {
    width: 80px !important;
    padding: 10px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
  }
  
  /* Prix en gras */
  .woocommerce table.cart .product-price span,
  .woocommerce table.cart .product-subtotal span {
    font-weight: 700 !important;
    font-size: 16px !important;
    color: #2C3E2F !important;
  }
  
  /* Nom produit plus visible */
  .woocommerce table.cart .product-name a {
    font-size: 18px !important;
    font-weight: 700 !important;
    display: block !important;
    text-align: center !important;
    margin-bottom: 12px !important;
  }

  /* Bouton "Mettre à jour" avant Code promo */
  .woocommerce table.cart .actions {
    display: flex !important;
    flex-direction: column-reverse !important;
    gap: 16px !important;
  }
}

/* ============================================
   TOTAUX PANIER - Design cohérent
   ============================================ */

/* Container totaux */
.cart_totals {
  background: #FAFAF7 !important;
  border-radius: 12px !important;
  padding: 24px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* Titre "Totaux panier" */
.cart_totals h2 {
  font-family: 'Playfair Display', serif !important;
  font-size: 24px !important;
  color: #2C3E2F !important;
  margin-bottom: 20px !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1) !important;
}

/* Lignes du tableau totaux */
.cart_totals table {
  width: 100% !important;
  border: none !important;
}

.cart_totals th,
.cart_totals td {
  padding: 12px 0 !important;
  border: none !important;
  font-size: 15px !important;
}

.cart_totals th {
  color: #6B7280 !important;
  font-weight: 600 !important;
  text-align: left !important;
}

.cart_totals td {
  color: #2C3E2F !important;
  font-weight: 600 !important;
  text-align: right !important;
}

/* Ligne Total (plus grosse) */
.cart_totals .order-total th,
.cart_totals .order-total td {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #2C3E2F !important;
  padding-top: 16px !important;
  border-top: 2px solid rgba(0, 0, 0, 0.1) !important;
}

/* ============================================
   BOUTON Valider la Commande - JAUNE ACCENT
   ============================================ */

/* Bouton "Procéder au paiement" - JAUNE (sur toutes tailles d'écran) */
.wc-proceed-to-checkout .checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  background: #FFC107 !important;
  background-color: #FFC107 !important;
  color: #2C3E2F !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 16px 32px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  width: 100% !important;
  text-align: center !important;
  transition: all 0.3s ease !important;
  margin-top: 20px !important;
  text-transform: none !important;
  display: block !important;
}

.wc-proceed-to-checkout .checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background: #FFB300 !important;
  background-color: #FFB300 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4) !important;
}

/* ============================================
   CHECKOUT - UNE SEULE GRILLE 2 COLONNES
   ============================================ */

/* Container formulaire = GRILLE GLOBALE */
.woocommerce-billing-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: 200px 1fr !important;
  gap: 20px 32px !important;
  align-items: start !important;
}

/* TOUS les champs utilisent la grille */
.woocommerce-checkout .form-row {
  display: contents !important;
  margin: 0 !important;
  float: none !important;
  width: auto !important;
}

/* Labels = Colonne 1 (alignés à gauche) */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper label {
  grid-column: 1 !important;
  text-align: left !important;
  font-weight: 600 !important;
  color: #2C3E2F !important;
  margin: 0 !important;
  padding-top: 12px !important;
  align-self: start !important;
}

/* VERSION BOURRIN - Adresse 2 pleine largeur */
@media (min-width: 769px) {
  .woocommerce-checkout #billing_address_2_field {
    display: block !important;
    grid-column: 1 / 3 !important;
    width: 100% !important;
    margin-left: 0 !important;
  }
  
  .woocommerce-checkout #billing_address_2_field label {
    display: none !important;
  }
  
  .woocommerce-checkout #billing_address_2_field input {
    width: 100% !important;
    margin: 0 !important;
  }
}

/* Cacher le label du champ Région/Département (facultatif) */
.woocommerce-checkout #billing_state_field label {
  display: none !important;
}

/* Cacher aussi le champ lui-même s'il est vide */
.woocommerce-checkout #billing_state_field {
  display: none !important;
}

/* Style des champs */
.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select {
  border: 2px solid #E5E7EB !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font-size: 15px !important;
  transition: border-color 0.3s ease !important;
  background: white !important;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
  border-color: #0077BE !important;
  outline: none !important;
}

/* Titre section */
.woocommerce-checkout .woocommerce-billing-fields h3 {
  grid-column: 1 / 3 !important;
  font-family: 'Playfair Display', serif !important;
  font-size: 24px !important;
  color: #2C3E2F !important;
  margin: 0 0 20px 0 !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid #F8F4E8 !important;
}

/* Mobile - Une seule colonne */
@media (max-width: 768px) {
  .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper label,
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper input,
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper textarea,
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper select,
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper .select2-container {
    grid-column: 1 !important;
  }
  
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper label {
    padding-top: 0 !important;
    margin-bottom: 6px !important;
  }
  
  .woocommerce-checkout .woocommerce-billing-fields h3 {
    grid-column: 1 !important;
  }
}

/* Background pour les blocs Payment et Récapitulatif */

/* Bloc Récapitulatif commande */
.woocommerce-checkout-review-order {
  background: #DCD7E2 !important;
  border-radius: 12px !important;
  padding: 24px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* Bloc Méthodes de paiement */
#payment {
  background: #FAFAF7 !important;
  padding: 24px !important;
  border-radius: 12px !important;
  margin-top: 20px !important;
}

/* ============================================
   CHECKOUT - Messages d'erreur LISIBLES
   ============================================ */

/* Messages d'erreur WooCommerce */
.woocommerce-error,
.woocommerce-notice--error,
.woocommerce .woocommerce-error {
  background: #FEE2E2 !important; /* Rouge très clair */
  border-left: 4px solid #EF4444 !important; /* Rouge vif */
  color: #991B1B !important; /* Texte rouge foncé */
  padding: 16px 20px !important;
  border-radius: 8px !important;
  margin-bottom: 20px !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

/* Liens dans les erreurs */
.woocommerce-error a,
.woocommerce-notice--error a {
  color: #991B1B !important;
  text-decoration: underline !important;
  font-weight: 700 !important;
}

/* Icône erreur (si présente) */
.woocommerce-error::before {
  content: '⚠️ ' !important;
  margin-right: 8px !important;
}

/* Messages d'info (bleu) */
.woocommerce-info,
.woocommerce-notice--info {
  background: rgba(0, 119, 190, 0.1) !important;
  border-left: 4px solid #0077BE !important;
  color: #005A8C !important; /* Bleu foncé lisible */
  padding: 16px 20px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}

/* Messages de succès (vert) */
.woocommerce-message,
.woocommerce-notice--success {
  background: rgba(16, 185, 129, 0.15) !important;
  border-left: 4px solid #10B981 !important;
  color: #047857 !important;
  padding: 16px 20px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}

/* Listes d'erreurs */
.woocommerce-error li,
.woocommerce-notice--error li {
  list-style: none !important;
  margin-bottom: 8px !important;
}

.woocommerce-error li::before {
  content: '• ' !important;
  color: #EF4444 !important;
  font-weight: bold !important;
  margin-right: 8px !important;
}

/* ============================================
   PAGE CONFIRMATION - Design complet et cohérent
   ============================================ */

/* Container principal CENTRÉ */
body.woocommerce-order-received .woocommerce-order {
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 40px 20px !important;
  box-sizing: border-box !important;
}

/* Assure que le parent ne bloque pas */
body.woocommerce-order-received #main-content {
  width: 100% !important;
}

/* Titre */
.woocommerce-order h1 {
  font-family: 'Playfair Display', serif !important;
  font-size: 36px !important;
  color: #2C3E2F !important;
  text-align: center !important;
  margin-bottom: 40px !important;
}

/* ============================================
   BANDEAU CONFIRMATION
   ============================================ */

.woocommerce-thankyou-order-received {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #047857 !important;
  border: 2px solid rgba(16, 185, 129, 0.3) !important;
  border-left: 4px solid #10B981 !important;
  padding: 24px 32px !important;
  border-radius: 12px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  text-align: center !important;
  margin-bottom: 32px !important;
}

.woocommerce-thankyou-order-received::before {
  content: '🎉 ' !important;
  font-size: 24px !important;
  margin-right: 8px !important;
}

/* ============================================
   LIGNE 1 : Infos + Détails côte à côte
   ============================================ */

/* Bloc Infos (GAUCHE) */
.woocommerce-order-overview {
  float: left !important;
  width: 40% !important;
  background: #FAFAF7 !important;
  border: 2px solid #F8F4E8 !important;
  border-radius: 12px !important;
  padding: 24px !important;
  margin-right: 3% !important;
  margin-bottom: 32px !important;
  list-style: none !important;
  box-sizing: border-box !important;
}

.woocommerce-order-overview li {
  display: block !important;
  width: 100% !important;
  margin: 0 0 12px 0 !important;
  padding: 14px !important;
  background: white !important;
  border-radius: 8px !important;
  text-align: center !important;
  list-style: none !important;
}

.woocommerce-order-overview li:last-child {
  margin-bottom: 0 !important;
}

.woocommerce-order-overview strong {
  display: block !important;
  font-size: 11px !important;
  color: #6B7280 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 6px !important;
}

/* Bloc Détails (DROITE) */
.woocommerce-order-details {
  float: left !important;
  width: 57% !important;
  background: #FAFAF7 !important;
  border: 2px solid #F8F4E8 !important;
  border-radius: 12px !important;
  padding: 24px !important;
  margin-bottom: 32px !important;
  box-sizing: border-box !important;
}

.woocommerce-order-details h2 {
  font-family: 'Playfair Display', serif !important;
  font-size: 22px !important;
  color: #2C3E2F !important;
  margin: 0 0 20px 0 !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid #F8F4E8 !important;
}

/* Clearfix après la ligne 1 */
.woocommerce-order-details::after {
  content: "" !important;
  display: table !important;
  clear: both !important;
}

/* ============================================
   TABLEAU
   ============================================ */

.woocommerce-table--order-details {
  background: white !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  border: none !important;
  width: 100% !important;
}

.woocommerce-table--order-details thead {
  background: #2C3E2F !important;
}

.woocommerce-table--order-details thead th {
  color: white !important;
  font-weight: 700 !important;
  padding: 12px !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
  border: none !important;
}

.woocommerce-table--order-details tbody td {
  padding: 12px !important;
  border-bottom: 1px solid #E5E7EB !important;
  color: #2C3E2F !important;
  font-size: 14px !important;
}

.woocommerce-table--order-details tfoot th,
.woocommerce-table--order-details tfoot td {
  padding: 12px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  color: #2C3E2F !important;
  background: #F8F4E8 !important;
  border: none !important;
}

/* ============================================
   LIGNE 2 : Prochaines étapes (pleine largeur)
   ============================================ */

.order-next-steps {
  clear: both !important;
  width: 100% !important;
  background: #FAFAF7 !important;
  border: 2px solid #F8F4E8 !important;
  border-radius: 12px !important;
  padding: 32px !important;
  margin-bottom: 32px !important;
  box-sizing: border-box !important;
}

.order-next-steps h3 {
  font-family: 'Playfair Display', serif !important;
  font-size: 24px !important;
  color: #2C3E2F !important;
  margin: 0 0 24px 0 !important;
  text-align: center !important;
  border-bottom: 2px solid #F8F4E8 !important;
  padding-bottom: 12px !important;
}

/* Les 3 étapes EN LIGNE */
.next-step-item {
  float: left !important;
  width: 31% !important;
  margin-right: 3.5% !important;
  background: white !important;
  padding: 20px !important;
  border-radius: 8px !important;
  border-left: 4px solid #10B981 !important;
  text-align: center !important;
  box-sizing: border-box !important;
  min-height: 200px !important;
}

.next-step-item:last-child {
  margin-right: 0 !important;
}

.step-icon {
  font-size: 36px !important;
  margin-bottom: 12px !important;
  display: block !important;
}

.step-content {
  display: block !important;
}

.step-content strong {
  display: block !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
  color: #2C3E2F !important;
}

.step-content p {
  font-size: 14px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  color: #6B7280 !important;
}

/* Clearfix prochaines étapes */
.order-next-steps::after {
  content: "" !important;
  display: table !important;
  clear: both !important;
}

/* ============================================
   CACHER ADRESSE
   ============================================ */

.woocommerce-customer-details {
  display: none !important;
}

/* ============================================
   MOBILE
   ============================================ */

@media (max-width: 980px) {
  .woocommerce-order-overview,
  .woocommerce-order-details {
    float: none !important;
    width: 100% !important;
    margin-right: 0 !important;
  }
  
  .next-step-item {
    float: none !important;
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 16px !important;
    min-height: auto !important;
  }
  
  .next-step-item:last-child {
    margin-bottom: 0 !important;
  }
}

/* ============================================
   PAGE ORDER RECEIVED - Cacher colonne vide
   ============================================ */

/* Cache la première colonne vide */
body.woocommerce-order-received .et_pb_column_empty {
  display: none !important;
}

/* La deuxième colonne prend toute la largeur */
body.woocommerce-order-received .et-last-child.et_pb_column_1_2 {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Centre la rangée */
body.woocommerce-order-received .et_pb_row_1_tb_body {
  max-width: 1100px !important;
  margin: 0 auto !important;
}

/* ============================================
   HOVER PRODUITS - Overlay Gradient Méditerranéen
   ============================================ */

/* Card produit */
.woocommerce ul.products li.product {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* Hover - Élévation */
.woocommerce ul.products li.product:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 12px 28px rgba(0, 119, 190, 0.25) !important;
}

/* Container image avec position relative */
.woocommerce ul.products li.product .woocommerce-loop-product__link {
  position: relative;
  display: block;
  overflow: hidden;
}

/* Image produit */
.woocommerce ul.products li.product img {
  transition: transform 0.5s ease, filter 0.5s ease !important;
  border-radius: 12px 12px 0 0 !important;
}

/* Hover image - Zoom + légère désaturation */
.woocommerce ul.products li.product:hover img {
  transform: scale(1.08) !important;
  filter: brightness(0.85) !important;
}

/* CACHER LE + BLEU DE DIVI */
.woocommerce ul.products li.product .et_overlay,
.woocommerce ul.products li.product .et_pb_extra_overlay {
  display: none !important;
}

/* Overlay gradient méditerranéen */
.woocommerce ul.products li.product .woocommerce-loop-product__link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(0, 119, 190, 0.7) 0%,
    rgba(0, 168, 232, 0.5) 50%,
    rgba(244, 162, 97, 0.4) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
  pointer-events: none;
}

/* Afficher l'overlay au hover */
.woocommerce ul.products li.product:hover .woocommerce-loop-product__link::before {
  opacity: 1 !important;
}

/* Icône "Voir le produit" - VERSION RÉDUITE */
.woocommerce ul.products li.product .woocommerce-loop-product__link::after {
  content: '🔎';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.3);
  font-size: 32px;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

/* Afficher l'icône au hover */
.woocommerce ul.products li.product:hover .woocommerce-loop-product__link::after {
  opacity: 1 !important;
  transform: translate(-50%, -50%) scale(1) !important;
}

/* Titre produit - Animation */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  transition: color 0.3s ease !important;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
  color: #0077BE !important;
}

/* Prix - Animation */
.woocommerce ul.products li.product .price {
  transition: transform 0.3s ease !important;
}

.woocommerce ul.products li.product:hover .price {
  transform: scale(1.05) !important;
}

/* ============================================
   HOVER GALERIE
   ============================================ */

/* HOVER pour TOUTES les galeries FooGallery */
.foogallery .fg-item {
  position: relative !important;
}

.foogallery .fg-item a::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(135deg, 
    rgba(0, 119, 190, 0.7) 0%,
    rgba(0, 168, 232, 0.5) 50%,
    rgba(244, 162, 97, 0.4) 100%
  ) !important;
  opacity: 0 !important;
  transition: opacity 0.5s ease !important;
  z-index: 10 !important;
}

.foogallery .fg-item:hover a::before {
  opacity: 1 !important;
}

.foogallery .fg-item a::after {
  content: '🔎' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(0.3) !important;
  font-size: 32px !important;
  opacity: 0 !important;
  transition: all 0.4s ease !important;
  z-index: 11 !important;
}

.foogallery .fg-item:hover a::after {
  opacity: 1 !important;
  transform: translate(-50%, -50%) scale(1) !important;
}

/* ============================================
   BANNIÈRE INFO DÉLAI COMMANDE
   ============================================ */

.info-delai-commande {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, #FFF9E6 0%, #FFF4D6 100%);
  border-left: 4px solid #FFC107;
  border-radius: 12px;
  padding: 24px 32px;
  margin: 0 auto;
  max-width: 1000px;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.15);
}

.icon-delai-pulse {
  font-size: 48px;
  text-align: center;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

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

.info-content {
  flex: 1;
}

.info-content h3 {
  color: #2C3E2F;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin: 0 0 8px 0;
  font-weight: 600;
}

.info-content p {
  color: #6B7280;
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}

.info-content strong {
  color: #2C3E2F;
  font-weight: 600;
}

.info-cta {
  flex-shrink: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .info-delai-commande {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 16px;
  }
  
  .icon-delai-pulse {
    font-size: 36px;
  }
  
  .info-content h3 {
    font-size: 18px;
    margin-top: 8px;
  }
}

/* ============================================
   TRAITEUR EVENEMENTS | SECTIONS SERVICES
   ============================================ */

@media (max-width: 980px) {
  
  /* Section 2 (Entreprise) - Inverser l'ordre */
  /* Cible la 2ème section après le Hero */
  .et_pb_section:nth-of-type(3) .et_pb_row {
    display: flex !important;
    flex-direction: column-reverse !important;
  }
  
}

/* ============================================
   FORMULAIRE DEVIS - Espacement et lisibilité
   ============================================ */
/* Cibler uniquement la section formulaire de devis */
#formulaire-devis .wpcf7-form,
.page-id-traiteur-evenements .wpcf7-form {
  
  /* Labels */
  label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2C3E2F;
    font-size: 15px;
  }
  
  /* Inputs, selects, textareas */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="date"],
  select,
  textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s ease;
  }
  
  input:focus,
  select:focus,
  textarea:focus {
    border-color: #0077BE;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 119, 190, 0.1);
  }
  
  textarea {
    min-height: 120px;
    resize: vertical;
  }
  
  /* Checkboxes */
  .wpcf7-checkbox {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .wpcf7-list-item {
    margin: 0 !important;
  }
}

/* BOUTON SUBMIT - En dehors pour plus de spécificité */
#formulaire-devis .wpcf7-form input[type="submit"] {
  background-color: var(--color-accent) !important;
  color: var(--color-text) !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 14px 32px !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  margin-top: 24px !important;
}

#formulaire-devis .wpcf7-form input[type="submit"]:hover {
  background-color: #FFB300 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4) !important;
}

/* Sections du formulaire */
#formulaire-devis .form-section {
  margin-bottom: 40px;
}

#formulaire-devis .form-section h4 {
  color: #D4734C;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #F8F4E8;
}

#formulaire-devis .form-field {
  margin-bottom: 20px;
}

/* Badge Halal */
#formulaire-devis .halal-badge-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}

#formulaire-devis .halal-badge {
  background: #10B981;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* Responsive - 2 colonnes sur desktop */
@media (min-width: 768px) {
  #formulaire-devis .form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

/* ============================================
   HARMONISATION CHECKOUT - Couleurs uniquement
   NE TOUCHE PAS AU LAYOUT !
   ============================================ */

/* Couleurs des champs uniquement (pas de width/display) */
.woocommerce-checkout .input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  background: #F8F4E8 !important;
  border: 2px solid #F8F4E8 !important;
  border-radius: 8px !important;
  padding: 14px 16px !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 15px !important;
  color: #2C3E2F !important;
  transition: all 0.3s ease !important;
  /* PAS de width, PAS de display = garde ton layout ! */
}

/* Focus */
.woocommerce-checkout .input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
  background: white !important;
  border-color: #0077BE !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(0, 119, 190, 0.1) !important;
}

/* Select flèche */
.woocommerce-checkout select {
  cursor: pointer !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232C3E2F' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  padding-right: 40px !important;
}

/* Labels */
.woocommerce-checkout label {
  font-family: 'Lato', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #2C3E2F !important;
}

/* Bouton "Passer la commande" - Harmonisation */
.woocommerce-checkout #place_order {
  background: #FFC107 !important;
  color: #2C3E2F !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  padding: 18px 48px !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3) !important;
  /* width déjà géré par ton CSS existant */
}

.woocommerce-checkout #place_order:hover {
  background: #FFB300 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(255, 179, 0, 0.4) !important;
}

/* Titres sections */
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3 {
  font-family: 'Playfair Display', serif !important;
  color: #2C3E2F !important;
  font-size: 24px !important;
  margin-bottom: 24px !important;
}

/* Récapitulatif commande */
#order_review_heading {
  font-family: 'Playfair Display', serif !important;
  color: #2C3E2F !important;
}

.woocommerce-checkout-review-order {
  background: #FAFAF7 !important;
  border: 2px solid #F8F4E8 !important;
  border-radius: 12px !important;
  padding: 24px !important;
}

/* ============================================
   FIX - Bouton Accent uniquement dans Services
   ============================================ */

/* Cible uniquement les sections avec fond beige/blanc */
.et_pb_section .et_pb_row .et_pb_column .et_pb_button_module_wrapper:has(.et_pb_button_accent) {
  display: block !important;
  clear: both !important;
  width: 100% !important;
  margin-top: 24px !important;
}

/* ============================================
   HERO - Tailles responsive Mobile
   ============================================ */

@media (max-width: 768px) {
  
  /* Titre principal du Hero */
  .et_pb_fullwidth_header h1,
  .et_pb_fullwidth_header .et_pb_module_header {
    font-size: 32px !important; /* Au lieu de 48px */
    line-height: 1.3 !important;
  }
  
  /* Sous-titre du Hero */
  .et_pb_fullwidth_header .et_pb_header_content p {
    font-size: 16px !important; /* Au lieu de 18px */
    line-height: 1.5 !important;
  }
}

/* Tablette (taille intermédiaire) */
@media (min-width: 769px) and (max-width: 980px) {
  
  .et_pb_fullwidth_header h1,
  .et_pb_fullwidth_header .et_pb_module_header {
    font-size: 40px !important;
  }
  
  .et_pb_fullwidth_header .et_pb_header_content p {
    font-size: 17px !important;
  }
}

/* ============================================
   FORMULAIRE NEWSLETTER FOOTER
   ============================================ */

/* Tous les formulaires CF7 dans le footer */
#footer .wpcf7-form {
  margin: 0;
}

#footer div:has(.wpcf7) h4 {
  color: var(--color-bg-light) !important;
  margin-bottom: 12px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

/* Champ email dans le footer */
#footer input[type="email"],
#footer .wpcf7-email {
  width: 100% !important;
  padding: 10px !important;
  border-radius: 6px !important;
  border: none !important;
  margin-bottom: 8px !important;
  font-size: 13px !important;
  box-sizing: border-box !important;
}

/* Bouton Submit dans le footer */
#footer .wpcf7-submit {
  width: 100% !important;
  background: #FFC107 !important;
  color: #2C3E2F !important;
  padding: 10px !important;
  border: none !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  font-size: 13px !important;
  transition: all 0.3s ease !important;
  display: block !important;
}

/* Hover du bouton */
#footer .wpcf7-submit:hover {
  background: #FFB300 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4) !important;
}

/* Container du formulaire */
#footer .wpcf7-form p {
  margin: 0 !important;
}

/* Label form newsletter */
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  padding: 0 !important;
  border: 0 !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden !important;
}

/* Titres du footer - Meilleur contraste */
#footer h4 {
  color: var(--color-bg-light) !important; /* Beige clair au lieu de terracotta */
}

/* ============================================
   FOOTER - Amélioration lisibilité
   ============================================ */

/* Texte général du footer */
#footer,
#footer p,
#footer a,
#footer li {
  font-size: 15px !important; /* Au lieu de 13px */
  line-height: 1.6 !important;
}

/* Titres du footer (H4) */
#footer h4 {
  font-size: 16px !important; /* Au lieu de 14px */
  margin-bottom: 16px !important;
}

/* Mobile : encore plus grand pour faciliter la lecture */
@media (max-width: 768px) {
  #footer,
  #footer p,
  #footer a,
  #footer li {
    font-size: 16px !important;
  }
  
  #footer h4 {
    font-size: 18px !important;
  }
}

/* ============================================
   CARTES & OMBRES
   ============================================ */
.et_pb_module {
  border-radius: 8px;
}

.card-shadow-light {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.card-shadow-light:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

/* ============================================
   SECTIONS BACKGROUNDS
   ============================================ */
.section-bg-light {
  background-color: var(--color-bg-light) !important;
}

.section-bg-white {
  background-color: var(--color-white) !important;
}

/* Gradient méditerranéen pour Hero/CTA */
.section-gradient-mediterranean {
  background: linear-gradient(135deg, #0077BE 0%, #00A8E8 50%, #F4A261 100%);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   HOVER EFFECTS IMAGES
   ============================================ */
.et_pb_image_wrap {
  overflow: hidden;
  border-radius: 8px;
}

.et_pb_image_wrap img {
  transition: transform 0.4s ease;
}

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

/* ============================================
   TESTIMONIALS PERSONNALISÉS
   ============================================ */
.et_pb_testimonial {
  border-radius: 8px;
  padding: var(--space-lg);
  background-color: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Stars rating */
.star-rating {
  color: var(--color-accent);
  font-size: 18px;
  margin-bottom: var(--space-sm);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 980px) {
  h1 {
    font-size: 36px !important;
  }
  
  h2 {
    font-size: 28px !important;
  }
  
  .et_pb_button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 28px !important;
  }
  
  h2 {
    font-size: 24px !important;
  }
}

/* ============================================
   MENU HEADER STICKY
   ============================================ */
#main-header {
  background-color: var(--color-white) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#main-header.et-fixed-header {
  background-color: rgba(250, 250, 247, 0.98) !important;
  backdrop-filter: blur(10px);
}

/* Bouton CTA dans menu */
#top-menu .menu-item-cta a {
  background-color: var(--color-accent) !important;
  color: var(--color-text) !important;
  padding: 10px 24px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}

#top-menu .menu-item-cta a:hover {
  background-color: #E8935A !important;
  transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
#main-footer {
  background-color: #2C3E2F;
  color: #FFFFFF;
}

#main-footer a {
  color: #FFFFFF;
  transition: color 0.3s ease;
}

#main-footer a:hover {
  color: var(--color-accent);
}

/* ============================================
   WOOCOMMERCE STYLING
   ============================================ */
.woocommerce ul.products li.product {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.woocommerce ul.products li.product:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.woocommerce ul.products li.product .price {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 20px;
}

.woocommerce a.button,
.woocommerce button.button {
  background-color: var(--color-primary) !important;
  color: #FFFFFF !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background-color: #005A94 !important;
  transform: translateY(-2px);
}

/* Cartes produits personnalisées */
.woocommerce ul.products li.product {
  background: white;
  border-radius: 8px;
  padding: 20px;
}

.woocommerce ul.products li.product img {
  border-radius: 8px;
  margin-bottom: 16px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-text);
  margin-bottom: 8px;
}

/* Badge "Nouveau" */
.woocommerce span.onsale {
  background-color: var(--color-accent);
  color: var(--color-text);
  border-radius: 8px;
  padding: 6px 12px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
}

/* ============================================
   FORMULAIRES CONTACT FORM 7
   ============================================ */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E5E7EB;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 119, 190, 0.1);
}

.wpcf7-form input[type="submit"] {
  background-color: var(--color-primary) !important;
  color: #FFFFFF !important;
  padding: 14px 32px !important;
  border: none !important;
  border-radius: 8px !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  cursor: pointer;
  transition: all 0.3s ease !important;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: #005A94 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 119, 190, 0.3);
}

/* Messages de validation */
.wpcf7-not-valid-tip {
  color: #DC2626;
  font-size: 14px;
  margin-top: 4px;
}

.wpcf7-response-output {
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
}

.wpcf7-mail-sent-ok {
  background-color: #D1FAE5;
  border: 2px solid #10B981;
  color: #065F46;
}

.wpcf7-validation-errors {
  background-color: #FEE2E2;
  border: 2px solid #EF4444;
  color: #991B1B;
}

/* ============================================
   FORMULAIRE DE DEVIS PERSONNALISÉ
   ============================================ */
.devis-form {
  background-color: var(--color-bg-light);
  padding: 40px;
  border-radius: 8px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.form-col {
  flex: 1;
}

.form-col-full {
  flex: 1 1 100%;
}

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

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .devis-form {
    padding: 24px;
  }
}

/* ============================================
   FORMULAIRE CONTACT SIMPLE - Page Contact
   ============================================ */

.contact-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-form-wrapper .form-row {
  margin-bottom: 24px;
}

.contact-form-wrapper label {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #2C3E2F;
  margin-bottom: 8px;
}

.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper input[type="tel"],
.contact-form-wrapper select,
.contact-form-wrapper textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: #2C3E2F;
  background: #F8F4E8;
  border: 2px solid #F8F4E8;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper select:focus,
.contact-form-wrapper textarea:focus {
  outline: none;
  border-color: #0077BE;
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 119, 190, 0.1);
}

.contact-form-wrapper textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form-wrapper select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232C3E2F' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.contact-form-wrapper .submit-row {
  text-align: center;
  margin-top: 32px;
}

.contact-form-wrapper input[type="submit"] {
  background: #FFC107 !important;
  color: #2C3E2F !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 16px 48px !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3) !important;
}

.contact-form-wrapper input[type="submit"]:hover {
  background: #FFB300 !important;
  color: #2C3E2F !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(255, 179, 0, 0.4) !important;
}

/* Messages de confirmation/erreur */
.contact-form-wrapper .wpcf7-response-output {
  margin: 24px 0 0 0 !important;
  padding: 16px 24px !important;
  border-radius: 8px !important;
  border: none !important;
  font-size: 15px !important;
  text-align: center !important;
}

.contact-form-wrapper .wpcf7-mail-sent-ok {
  background: #10B981 !important;
  color: white !important;
}

.contact-form-wrapper .wpcf7-validation-errors {
  background: #EF4444 !important;
  color: white !important;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 24px 20px;
  }
  
  .contact-form-wrapper input[type="submit"] {
    width: 100%;
    padding: 14px 24px;
  }
}

/* ============================================
   HARMONISATION - Tous les formulaires CF7
   Backgrounds beige pour cohérence
   ============================================ */

/* Champs de TOUS les formulaires Contact Form 7 */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="date"],
.wpcf7-form input[type="number"],
.wpcf7-form select,
.wpcf7-form textarea {
  background: #F8F4E8 !important;
  border: 2px solid #F8F4E8 !important;
  border-radius: 8px !important;
  font-family: 'Lato', sans-serif !important;
  transition: all 0.3s ease !important;
}

/* Focus = fond blanc + bordure bleue */
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  background: white !important;
  border-color: #0077BE !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(0, 119, 190, 0.1) !important;
}

/* ============================================
   OVERLAY HOVER - Icône loupe
   ============================================ */

/* Overlay */
#foogallery-gallery-797 .fg-item-overlay,
#foogallery-gallery-797 .foogallery-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 119, 190, 0.9) !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px !important;
}

#foogallery-gallery-797 .fg-item:hover .fg-item-overlay,
#foogallery-gallery-797 .foogallery-item:hover .foogallery-overlay {
  opacity: 1 !important;
}

/* Icône loupe */
#foogallery-gallery-797 .fg-item-overlay::before,
#foogallery-gallery-797 .foogallery-overlay::before {
  content: '\f002' !important; /* Font Awesome loupe */
  font-family: 'Font Awesome 5 Free', 'FontAwesome' !important;
  font-weight: 900 !important;
  font-size: 48px !important;
  color: white !important;
}

/* ============================================
   LIGHTBOX
   ============================================ */

.foogallery-lightbox-overlay {
  background: rgba(44, 62, 47, 0.95) !important;
}

.foogallery-lightbox-content img {
  border-radius: 8px !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5) !important;
}

.foogallery-lightbox-close {
  color: white !important;
  font-size: 48px !important;
  opacity: 0.8 !important;
  transition: opacity 0.3s ease !important;
}

.foogallery-lightbox-close:hover {
  opacity: 1 !important;
}

/* ============================================
   PAGINATION (si activée)
   ============================================ */

#foogallery-gallery-797 .foogallery-paging {
  text-align: center !important;
  margin-top: 50px !important;
}

#foogallery-gallery-797 .foogallery-paging a {
  display: inline-block !important;
  padding: 12px 18px !important;
  background: #F8F4E8 !important;
  color: #2C3E2F !important;
  border-radius: 8px !important;
  font-family: 'Lato', sans-serif !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  margin: 0 5px !important;
}

#foogallery-gallery-797 .foogallery-paging a:hover,
#foogallery-gallery-797 .foogallery-paging a.active {
  background: #FFC107 !important;
  color: #2C3E2F !important;
  transform: translateY(-2px) !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 980px) {
  .page-galerie h1 {
    font-size: 36px !important;
  }
  
  .page-galerie .et_pb_section_0 p {
    font-size: 16px !important;
  }
  
  #foogallery-gallery-797 {
    padding: 60px 20px !important;
  }
  
  #foogallery-gallery-797 .foogallery-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  
  #foogallery-gallery-797 .foogallery-filter {
    padding: 12px 24px !important;
    font-size: 15px !important;
  }
}

@media (max-width: 767px) {
  .page-galerie h1 {
    font-size: 28px !important;
  }
  
  .page-galerie .et_pb_section_0 {
    padding: 50px 15px 40px 15px !important;
  }
  
  #foogallery-gallery-797 {
    padding: 40px 15px !important;
  }
  
  #foogallery-gallery-797 .foogallery-container {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  #foogallery-gallery-797 .foogallery-filter {
    padding: 10px 20px !important;
    font-size: 14px !important;
    margin: 0 5px 10px 5px !important;
  }
}

/* ============================================
   ANIMATIONS (Optionnel)
   ============================================ */

#foogallery-gallery-797 .fg-item,
#foogallery-gallery-797 .foogallery-item {
  animation: fadeInUp 0.6s ease-out !important;
  animation-fill-mode: both !important;
}

#foogallery-gallery-797 .fg-item:nth-child(1) { animation-delay: 0.1s !important; }
#foogallery-gallery-797 .fg-item:nth-child(2) { animation-delay: 0.2s !important; }
#foogallery-gallery-797 .fg-item:nth-child(3) { animation-delay: 0.3s !important; }
#foogallery-gallery-797 .fg-item:nth-child(4) { animation-delay: 0.4s !important; }
#foogallery-gallery-797 .fg-item:nth-child(5) { animation-delay: 0.5s !important; }
#foogallery-gallery-797 .fg-item:nth-child(6) { animation-delay: 0.6s !important; }

@keyframes fadeInUp {
  from {
    opacity: 0 !important;
    transform: translateY(30px) !important;
  }
  to {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}

/* ============================================
   NUMBER COUNTERS
   ============================================ */
.et_pb_number_counter {
  text-align: center;
  padding: 24px;
}

.et_pb_number_counter .percent p {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 64px;
  line-height: 1;
  margin-bottom: 16px;
}

.et_pb_number_counter h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  text-transform: none;
}

/* ============================================
   TEAM MEMBERS
   ============================================ */
.et_pb_team_member {
  background-color: white;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.et_pb_team_member:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.et_pb_team_member_image {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

.et_pb_team_member_name {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-text);
  margin-bottom: 4px;
}

.et_pb_member_position {
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 16px;
}

.et_pb_team_member_description {
  color: var(--color-text-light);
  line-height: 1.6;
  font-size: 15px;
}

/* ============================================
   PRICING TABLES
   ============================================ */
.et_pb_pricing_table {
  padding: 40px 32px;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.et_pb_pricing_table:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.et_pb_pricing_heading {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--color-text);
  margin-bottom: 8px;
}

.et_pb_dollar_sign,
.et_pb_sum {
  color: var(--color-primary);
  font-weight: 700;
}

.et_pb_sum {
  font-size: 48px;
}

.et_pb_pricing_content ul li {
  padding: 10px 0;
  border-bottom: 1px solid #E5E7EB;
}

.et_pb_pricing_content ul li:last-child {
  border-bottom: none;
}

/* ============================================
   INFORMATIONS CONTACT
   ============================================ */
.contact-info-card {
  background-color: var(--color-bg-light);
  padding: 40px 32px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--color-text);
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.info-item:last-of-type {
  border-bottom: none;
}

.info-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.info-item h5 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.info-item p {
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   ENGAGEMENTS / VALEURS
   ============================================ */
.engagement-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.engagement-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background-color: var(--color-bg-light);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.engagement-item:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.engagement-icon {
  font-size: 40px;
  flex-shrink: 0;
}

.engagement-item h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-text);
  margin-bottom: 8px;
}

.engagement-item p {
  color: var(--color-text-light);
  line-height: 1.6;
  font-size: 15px;
  margin: 0;
}

/* ============================================
   PAGES LÉGALES
   ============================================ */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.legal-page h1 {
  font-size: 36px;
  margin-bottom: 16px;
  text-align: center;
}

.legal-page .last-updated {
  text-align: center;
  color: var(--color-text-light);
  font-size: 14px;
  margin-bottom: 48px;
}

.legal-page h2 {
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--color-text);
}

.legal-page h3 {
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--color-secondary);
}

.legal-page p {
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-page a {
  color: var(--color-primary);
  text-decoration: underline;
}

.legal-page a:hover {
  color: #005A94;
}

/* ============================================
   FILTRES GALERIE
   ============================================ */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 12px 24px;
  border: 2px solid #E5E7EB;
  background-color: white;
  color: var(--color-text);
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-btn.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center {
  text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }

/* ============================================
   MENU NAVIGATION
   ============================================ */

/* Liens menu principal */
.et-menu.nav > li > a {
  color: var(--color-text) !important;
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  transition: color 0.3s ease !important;
}

/* Hover menu */
.et-menu.nav > li > a:hover {
  color: var(--color-primary) !important;
}

/* Page active */
.et-menu.nav > .current-menu-item > a,
.et-menu.nav > .current_page_item > a {
  color: var(--color-primary) !important;
  font-weight: 600 !important;
}

/* Dropdown sous-menus */
.et-menu.nav .sub-menu {
  background: var(--color-white) !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

.et-menu.nav .sub-menu a {
  color: var(--color-text) !important;
  padding: 12px 20px !important;
}

.et-menu.nav .sub-menu a:hover {
  background: var(--color-bg-light) !important;
  color: var(--color-primary) !important;
}

/* ============================================
   FOOTER - HOVER EFFECTS (FORCE MAX)
   ============================================ */

/* Liens texte footer - Force absolue */
#main-footer a,
.footer-widget a,
footer a {
  transition: color 0.3s ease, opacity 0.3s ease !important;
}

#main-footer a:hover,
.footer-widget a:hover,
footer a:hover {
  color: #F4A261 !important;
  opacity: 1 !important;
}

/* Social Media Follow - Ciblage précis Divi */
.et_pb_social_media_follow li a.icon {
  transition: all 0.3s ease !important;
}

.et_pb_social_media_follow li a.icon:hover {
  transform: scale(1.2) translateY(-3px) !important;
}

/* Facebook */
.et_pb_social_media_follow li a.icon[href*="facebook"]:hover .et_pb_social_icon {
  background-color: #1877F2 !important;
}

/* Instagram */
.et_pb_social_media_follow li a.icon[href*="instagram"]:hover .et_pb_social_icon {
  background-color: #E4405F !important;
}

/* TikTok */
.et_pb_social_media_follow li a.icon[href*="tiktok"]:hover .et_pb_social_icon {
  background-color: #000000 !important;
}

/* Alternative - ciblage par UL direct */
footer .et_pb_social_media_follow ul li a:hover {
  transform: scale(1.15) !important;
  opacity: 1 !important;
}

/* Bouton newsletter */
footer button,
#main-footer button,
.et_pb_newsletter_button {
  transition: all 0.3s ease !important;
}

footer button:hover,
#main-footer button:hover,
.et_pb_newsletter_button:hover {
  background-color: #E8935A !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(244,162,97,0.3) !important;
}

/* ============================================
   PAGES LÉGALES - Design complet
   Cohérent avec la charte Saveurs Méditerranéennes
   ============================================ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTION HEADER (Titre de la page)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Container section header */
.legal-header {
  background: #F8F4E8 !important;
  padding: 80px 20px 60px 20px !important;
  text-align: center !important;
}

/* Titre H1 */
.legal-header h1,
.legal-header .et_pb_title_container h1 {
  font-family: 'Playfair Display', serif !important;
  font-size: 42px !important;
  font-weight: 700 !important;
  color: #2C3E2F !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTION CONTENU (Texte légal)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Container section contenu */
.legal-content {
  background: #FFFFFF !important;
  padding: 60px 20px !important;
}

/* Colonne centrée 800px max */
.legal-content .et_pb_column {
  max-width: 800px !important;
  margin: 0 auto !important;
}

/* Module Post Content */
.legal-content .et_pb_post_content,
.legal-content .entry-content {
  font-family: 'Lato', sans-serif !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
  color: #2C3E2F !important;
}

/* Titres H1 dans le contenu (au cas où) */
.legal-content h1 {
  font-family: 'Playfair Display', serif !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  color: #0077BE !important;
  margin: 40px 0 30px 0 !important;
  padding-bottom: 15px !important;
  border-bottom: 3px solid #FFC107 !important;
}

/* Titres H2 - Sections principales */
.legal-content h2 {
  font-family: 'Playfair Display', serif !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #2C3E2F !important;
  margin: 50px 0 25px 0 !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid #FFC107 !important;
  line-height: 1.3 !important;
}

/* Titres H3 - Sous-sections */
.legal-content h3 {
  font-family: 'Playfair Display', sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #0077BE !important;
  margin: 35px 0 18px 0 !important;
  line-height: 1.4 !important;
}

/* Titres H4 */
.legal-content h4 {
  font-family: 'Playfair Display', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #2C3E2F !important;
  margin: 25px 0 15px 0 !important;
}

/* Paragraphes */
.legal-content p {
  margin-bottom: 22px !important;
  line-height: 1.8 !important;
}

/* Premier paragraphe après un titre */
.legal-content h2 + p,
.legal-content h3 + p {
  margin-top: 0 !important;
}

/* Texte en gras */
.legal-content strong,
.legal-content b {
  font-weight: 700 !important;
  color: #2C3E2F !important;
}

/* Texte en italique */
.legal-content em,
.legal-content i {
  font-style: italic !important;
  color: #4B5563 !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LISTES (UL / OL)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Listes à puces */
.legal-content ul {
  margin: 25px 0 25px 35px !important;
  padding: 0 !important;
  list-style-type: disc !important;
}

/* Listes numérotées */
.legal-content ol {
  margin: 25px 0 25px 35px !important;
  padding: 0 !important;
  list-style-type: decimal !important;
}

/* Items de liste */
.legal-content li {
  margin-bottom: 14px !important;
  line-height: 1.7 !important;
  padding-left: 8px !important;
}

/* Listes imbriquées */
.legal-content ul ul,
.legal-content ol ol {
  margin: 12px 0 12px 25px !important;
}

/* Puces personnalisées */
.legal-content ul li::marker {
  color: #0077BE !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LIENS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.legal-content a {
  color: #0077BE !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.legal-content a:hover {
  color: #005A8E !important;
  text-decoration: none !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BOÎTES DE MISE EN AVANT
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Boîte d'information importante */
.legal-content .highlight-box,
.legal-content .info-box {
  background: #F8F4E8 !important;
  border-left: 5px solid #0077BE !important;
  padding: 25px 30px !important;
  margin: 35px 0 !important;
  border-radius: 8px !important;
}

.legal-content .highlight-box p:last-child,
.legal-content .info-box p:last-child {
  margin-bottom: 0 !important;
}

/* Boîte d'alerte/attention */
.legal-content .alert-box {
  background: rgba(255, 193, 7, 0.1) !important;
  border-left: 5px solid #FFC107 !important;
  padding: 25px 30px !important;
  margin: 35px 0 !important;
  border-radius: 8px !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TABLEAUX (si besoin)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.legal-content table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 30px 0 !important;
}

.legal-content th {
  background: #0077BE !important;
  color: white !important;
  padding: 15px !important;
  text-align: left !important;
  font-weight: 700 !important;
}

.legal-content td {
  border: 1px solid #E5E7EB !important;
  padding: 12px 15px !important;
}

.legal-content tr:nth-child(even) {
  background: #F8F4E8 !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTION FOOTER (Date mise à jour)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.legal-footer {
  background: #F8F4E8 !important;
  padding: 30px 20px !important;
  text-align: center !important;
}

.legal-footer p {
  color: #6B7280 !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 14px !important;
  font-style: italic !important;
  margin: 0 !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SÉPARATEURS / DIVIDERS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.legal-content hr {
  border: none !important;
  border-top: 2px solid #E5E7EB !important;
  margin: 40px 0 !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE MOBILE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media (max-width: 980px) {
  /* Header */
  .legal-header {
    padding: 60px 20px 40px 20px !important;
  }
  
  .legal-header h1 {
    font-size: 36px !important;
  }
  
  /* Contenu */
  .legal-content {
    padding: 40px 15px !important;
  }
  
  .legal-content .et_pb_post_content {
    font-size: 15px !important;
  }
  
  .legal-content h1 {
    font-size: 28px !important;
  }
  
  .legal-content h2 {
    font-size: 24px !important;
    margin: 40px 0 20px 0 !important;
  }
  
  .legal-content h3 {
    font-size: 18px !important;
    margin: 30px 0 15px 0 !important;
  }
  
  /* Listes */
  .legal-content ul,
  .legal-content ol {
    margin-left: 25px !important;
  }
  
  /* Boîtes */
  .legal-content .highlight-box,
  .legal-content .info-box,
  .legal-content .alert-box {
    padding: 20px !important;
    margin: 25px 0 !important;
  }
  
  /* Footer */
  .legal-footer {
    padding: 25px 15px !important;
  }
}

@media (max-width: 767px) {
  .legal-header h1 {
    font-size: 28px !important;
  }
  
  .legal-content h2 {
    font-size: 22px !important;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   IMPRESSION (Print)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media print {
  .legal-header {
    background: white !important;
    padding: 20px !important;
  }
  
  .legal-content {
    padding: 20px !important;
  }
  
  .legal-content a {
    color: #000 !important;
    text-decoration: underline !important;
  }
  
  .legal-footer {
    background: white !important;
    border-top: 1px solid #ccc !important;
  }
}

/* ========================================
   FICHES PRODUITS RESPONSIVE MOBILE
======================================== */

/* Passer en 1 colonne sur mobile pour les produits */
@media (max-width: 767px) {
    
    /* Shortcodes Divi one_half sur produits */
    .single-product .et_pb_column_1_2,
    .single-product .one_half,
    .single-product .one_half_last,
    .woocommerce-page .et_pb_column_1_2 {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
        margin-bottom: 30px !important;
        padding: 0 15px !important;
    }
    
    /* Supprimer le margin-left sur one_half_last */
    .single-product .one_half_last {
        margin-left: 0 !important;
        clear: both !important;
    }
    
    /* Ajuster les titres H3 dans les colonnes */
    .single-product .one_half h3,
    .single-product .one_half_last h3 {
        font-size: 22px !important;
        margin-top: 20px !important;
    }
    
    /* Ajuster le padding du contenu */
    .single-product .woocommerce-Tabs-panel {
        padding: 20px 15px !important;
    }
    
    /* Listes d'ingrédients plus lisibles */
    .single-product ul,
    .single-product ol {
        padding-left: 20px !important;
        line-height: 1.8 !important;
    }
    
    .single-product li {
        margin-bottom: 8px !important;
        font-size: 15px !important;
    }
    
    /* Texte plus aéré sur mobile */
    .single-product p {
        font-size: 15px !important;
        line-height: 1.7 !important;
        margin-bottom: 15px !important;
    }
    
    /* Emojis plus petits sur mobile */
    .single-product h3 {
        font-size: 20px !important;
    }

    
}

