/*
 * Custom CSS for the site
 * Organisé et commenté pour une meilleure lisibilité
 */

/* ============================
            CONTAINER
============================ */


/* ============================
	         BANNER 
   ============================ */
#iqithtmlandbanners-block-2 img {
    min-width: 100% !important;
    width: 100% !important;
    height: auto;
    object-fit: cover; /* Pour garder les proportions */
}

/* Contour de l'input */
#search_widget input.form-search-control {
  border: 2px solid #efcb75 !important;
}

/* Contour au focus */
#search_widget input.form-search-control:focus {
  border-color: #efcb75 !important;
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(239, 203, 117, 0.25);
}

/* Loupe en jaune */
#search_widget .search-btn {
  background-color: #efcb75 !important;
  border: 2px solid #efcb75 !important;
}

#search_widget .search-btn i {
  color: #000 !important;
}

/* Hover sur le bouton */
#search_widget .search-btn:hover {
  background-color: #efcb75 !important;
  opacity: 0.9;
}

/* ============================
	Panier 
   ============================ */

/* Bouton panier dans le header */
#cart-toogle,
.header-cart-btn {
  background-color: #efcb75 !important;
  border: 2px solid #000 !important;
  color: #000 !important;
  border-radius: 8px;
  padding: 8px 12px;
}

/* Icône et texte en noir */
#cart-toogle i,
#cart-toogle .title,
#cart-toogle .cart-products-count,
#cart-toogle .value,
.header-cart-btn i,
.header-cart-btn span {
  color: #000 !important;
}

/* Hover */
#cart-toogle:hover,
.header-cart-btn:hover {
  background-color: #efcb75 !important;
  opacity: 0.9;
}

/* Badge compteur sur l'icône */
.cart-products-count-btn {
  background-color: #000 !important;
  color: #efcb75 !important;
}

/* Bouton Commander */
.cart-buttons .btn-primary {
  background-color: #efcb75 !important;
  border: 2px solid #000 !important;
  color: #000 !important;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.cart-buttons .btn-primary:hover {
  background-color: #000 !important;
  border: 2px solid #efcb75 !important;
  color: #efcb75 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 140, 0, 0.4);
}

/* Bouton Panier */
.cart-buttons .btn-secondary {
  background-color: transparent !important;
  border: 2px solid #efcb75 !important;
  color: #000 !important;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.cart-buttons .btn-secondary:hover {
  background-color: #efcb75 !important;
  border-color: #000 !important;
  color: #000 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(239, 203, 117, 0.3);
}

/* Effet au clic (active state) */
.cart-buttons .btn-primary:active,
.cart-buttons .btn-secondary:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Poubelle supprimer - fond jaune */
.remove-from-cart {
  background-color: #efcb75 !important;
  border: 2px solid #000 !important;
  border-radius: 6px;
  padding: 6px 10px;
  transition: all 0.3s ease;
  display: inline-block;
}

.remove-from-cart i {
  color: #000 !important;
}

.remove-from-cart:hover {
  background-color: #000 !important;
  transform: scale(1.1);
}

.remove-from-cart:hover i {
  color: #efcb75 !important;
}

/* Traits de séparation en jaune */
.cart-title hr,
.blockcart-content hr {
  border-color: #efcb75 !important;
  border-width: 2px !important;
}

.cart-products li {
  border-bottom: 1px solid #efcb75 !important;
  padding-bottom: 15px !important;
  margin-bottom: 15px !important;
}

/* Input quantité - contour jaune */
.block-cart-product-quantity,
.bootstrap-touchspin input {
  border: 2px solid #efcb75 !important;
  border-radius: 6px;
}

.block-cart-product-quantity:focus {
  border-color: #efcb75 !important;
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(239, 203, 117, 0.25);
}

/* Boutons augmenter/diminuer quantité - fond jaune */
.btn-touchspin {
  background-color: #efcb75 !important;
  border: 2px solid #000 !important;
  color: #000 !important;
  transition: all 0.3s ease;
}

.btn-touchspin:hover {
  background-color: #000 !important;
}

.btn-touchspin:hover i {
  color: #efcb75 !important;
}

.btn-touchspin i {
  color: #000 !important;
}

/* Container des boutons +/- */
.input-group-btn-vertical {
  border-left: 2px solid #efcb75 !important;
}

/* Lignes de séparation dans les totaux */
.cart-subtotals,
.cart-totals {
  border-top: 2px solid #efcb75 !important;
  padding-top: 15px !important;
  margin-top: 15px !important;
}

/* Alerte livraison gratuite */
.alert-info.iqitfreedeliverycount {
  border: 2px solid #efcb75 !important;
  background-color: rgba(239, 203, 117, 0.1) !important;
  border-radius: 8px;
}

.ifdc-remaining-price {
  color: #efcb75 !important;
  font-weight: bold;
}


/* ============================
   STICKY NAVBAR
   ============================ */


/* Menu mobile */
#_desktop_iqitmegamenu-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #fff;
}


/* ============================
   BLOCK SOCIAL LINKS
   ============================ */
.block-social-links .block-title span {
    font-size: 0; /* Masque le texte par défaut */
}

.block-social-links .block-title span::before {
    content: "Suivez-nous"; /* Texte affiché */
    font-size: 1rem; /* Taille du texte affiché */
}

/* ============================
   ELEMENTOR IMAGES
   ============================ */
/* Image spécifique - coins arrondis 10px */
.elementor-element-7kvmtvc .elementor-image img,
.elementor-element-qrj9fyv .elementor-image img {
    border-radius: 10px;
    overflow: hidden; /* Assure que les coins arrondis fonctionnent */
}

/* ============================
   ELEMENTOR BUTTONS
   ============================ */
/* Boutons Elementor avec coins arrondis */
.elementor-element-665l4bo .elementor-button,
.elementor-element-sctk5qc .elementor-button {
    border-radius: 20px;
}

/* ============================
   BOUTONS AJOUTER AU PANIER
   ============================ */
button.add-to-cart,
.btn-product-list.add-to-cart {
    border-radius: 20px !important; /* Coins arrondis pour les boutons panier */
}

/* ============================
   PAGE CATEGORIE
   ============================ */
/* Masquer le bloc de changement de vue des produits */
.col.view-switcher {
    display: none !important;
}

#product-list-header .page-title {
    font-size: 30px;
    font-weight: 700;
    display: block;
}

.category-description-top .rte-content > h1:first-child {
    font-size: 25px !important;
}


/* ============================
   PAGE PRODUIT
   ============================ */
/* Masquer les tags produits en front mais les laisser pour Google */
.iqitproducttags {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
}

/*  contour du select en jaune */
.product-variants .custom-select2 select,
.product-variants .form-control-select {
  border-color: #efcb75;
}

/* Pour le focus (quand on clique dessus) */
.product-variants .custom-select2 select:focus,
.product-variants .form-control-select:focus {
  border-color: #efcb75;
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(239, 203, 117, 0.25);
}

/* Pour les flèches agrandir l'image */
.expander {
  background-color: #efcb75 !important;
  border: 2px solid #000 !important;
  border-radius: 8px;
}

.expander span {
  background-color: #efcb75 !important;
}

.expander i.fa {
  color: #000 !important;
}

#product-modal .modal-content {
  border: 3px solid #efcb75 !important;
  border-radius: 8px;
}

/*Tabs product actif jaune */
#product-infos-tabs .nav-link.active,
#product-infos-tabs .nav-link.show {
  border-bottom: 3px solid #efcb75 !important;
  background-color: transparent !important;
  color: #000 !important;
}

/* Enlever les autres bordures */
#product-infos-tabs .nav-link {
  border: none !important;
  border-bottom: 3px solid transparent !important;
}

/* Pour le hover */
#product-infos-tabs .nav-link:hover {
  border-bottom: 3px solid #efcb75 !important;
}

/* Style spécifique au bouton "En savoir plus" dans le bloc tabs.product-tabs */
.tabs.product-tabs button {
    color: #000000;           /* texte noir */
    background-color: #efcb75 !important; /* fond jaune */
    border-radius: 20px;       /* coins arrondis */
    border: none;              /* pas de bordure par défaut */
    padding: 10px 20px;        /* un peu de padding pour le bouton */
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.tabs.product-tabs button:hover {
    background-color: #efcb75 !important; /* léger effet au survol */
}

#iqit-wishlist-product-btn,
 {
  border-radius: 50% !important;
  width: 50px;
  height: 50px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #efcb75 !important;
  transition: all 0.3s ease;
}

#iqit-wishlist-product-btn:hover,
.btn-iqitwishlist-add:hover {
  background-color: #efcb75 !important;
  border-color: #000 !important;
  transform: scale(1.1);
}

#iqit-wishlist-product-btn:hover i,
.btn-iqitwishlist-add:hover i {
  color: #000 !important;
}

/*compte à rebours*/
/* === COMPTE À REBOURS EXPÉDITION === */
.delivery-countdown {
    background: #F28705;
    color: #FFFFFF;
    padding: 14px 20px;
    border-radius: 10px;
    font-family: "Poppins", sans-serif;
    margin: 18px 0 10px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.delivery-countdown .dc-line1 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.delivery-countdown .dc-label #dc-shipping-day {
    font-weight: 800;
}

.delivery-countdown .dc-line2 {
    font-size: 15px;
    margin-bottom: 6px;
}

.delivery-countdown .dc-timer {
    font-size: 22px;
    font-weight: 900;
}

@media (min-width: 768px) {
    .delivery-countdown {
        text-align: left;
    }
    .delivery-countdown .dc-line1 {
        font-size: 17px;
    }
    .delivery-countdown .dc-line2 {
        font-size: 16px;
    }
    .delivery-countdown .dc-timer {
        font-size: 24px;
    }
}
/* === FIN COMPTE À REBOURS EXPÉDITION === */


/* ============================
   PAGE CONTACT
   ============================ */
/* Bordure jaune pour l'input email */
.elementor-contactform-wrapper input[type="email"] {
    border: 2px solid #efcb75;
    box-sizing: border-box;
}

/* Bordure jaune pour le textarea */
.elementor-contactform-wrapper textarea.form-control {
    border: 2px solid #efcb75;
    box-sizing: border-box;
}

/* Bordure jaune pour le champ fichier (input texte visible de Filestyle) */
.elementor-contactform-wrapper .bootstrap-filestyle input.form-control {
    border: 2px solid #efcb75;
    box-sizing: border-box;
}

/* Optionnel : garder la bordure jaune au focus */
.elementor-contactform-wrapper input[type="email"]:focus,
.elementor-contactform-wrapper textarea.form-control:focus,
.elementor-contactform-wrapper .bootstrap-filestyle input.form-control:focus {
    outline: none; /* Supprime l'outline par défaut */
    border-color: #efcb75;
    box-shadow: 0 0 3px #efcb75; /* Effet lumineux au focus */
}

.elementor-contactform-wrapper .btn-elementor-send {
    border-radius: 20px !important; /* coins arrondis */
}


/* ============================
 MOBILE 
   ============================ */ 
.mobile-menu__close {
    position: relative !important;
    z-index: 10001 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mm-panel__header.mobile-menu__header-wrapper {
    position: relative;
    z-index: 10000;
}

/* ============================
FOOTER
============================ */

/* Fond beige avec sections en cards */
#footer {
  background: #f4ead7;
  color: #3d2b1f;
  padding: 80px 0 20px;
  position: relative;
  overflow: hidden;
}

#footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(239, 203, 117, 0.15) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: moveBackground 20s linear infinite;
  pointer-events: none;
}

@keyframes moveBackground {
  0% { background-position: 0 0; }
  100% { background-position: 50px 50px; }
}

#footer .container {
  position: relative;
  z-index: 1;
}

/* === Layout des cartes === */
#footer .container > .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 25px;
  padding: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
}

#footer .block {
  background: rgba(255, 255, 255, 0.35);
  padding: 30px 25px;
  border-radius: 15px;
  border: 1px solid rgba(239, 203, 117, 0.25);
  backdrop-filter: blur(15px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  margin: 0;
  max-width: 100%;
  box-sizing: border-box;
}

#footer .block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #efcb75, #ff8c00, #efcb75);
  opacity: 0;
  transition: opacity 0.4s ease;
}

#footer .block:hover {
  transform: translateY(-5px);
  border-color: rgba(239, 203, 117, 0.5);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

#footer .block:hover::before {
  opacity: 1;
}

#footer .block-title {
  color: #b18a40;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}

#footer .block-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #b18a40, transparent);
  border-radius: 2px;
}

#footer .block-title::before {
  content: '●';
  color: #b18a40;
  font-size: 8px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

#footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer ul li {
  padding: 12px 0;
  transition: all 0.3s ease;
}

#footer ul li:not(:last-child) {
  border-bottom: 1px solid rgba(177, 138, 64, 0.2);
}

#footer ul li:hover {
  padding-left: 10px;
  border-bottom-color: rgba(177, 138, 64, 0.45);
}

#footer a {
  color: #5a4634;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  word-break: break-word;
}

#footer a::before {
  content: '▸';
  color: #b18a40;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

#footer a:hover {
  color: #b18a40;
}

#footer a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

#footer hr {
  border: 0;
  height: 1px;
  background: rgba(177, 138, 64, 0.4);
  margin: 20px 0;
  position: relative;
}

#footer hr::after {
  content: '◆';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #b18a40;
  background: #f4ead7;
  padding: 0 10px;
  font-size: 10px;
}

#footer .contact-rich {
  background: rgba(255, 255, 255, 0.35);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid rgba(177, 138, 64, 0.25);
  margin-top: 10px;
  max-width: 100%;
  box-sizing: border-box;
}

#footer .contact-rich strong {
  color: #b18a40;
  font-size: 17px;
  display: block;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#footer .contact-rich .icon {
  background: linear-gradient(135deg, #efcb75 0%, #ff8c00 100%);
  color: #000;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 18px;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(239, 203, 117, 0.2);
  flex-shrink: 0;
}

#footer .contact-rich .part {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  max-width: 100%;
  overflow: hidden;
}

#footer .contact-rich .data {
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

#footer .contact-rich .part:hover .icon {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 8px 25px rgba(239, 203, 117, 0.4);
}

#footer .contact-rich .data a {
  color: #000;
  font-weight: 500;
}

/* Réseaux sociaux premium */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-links a {
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(177, 138, 64, 0.35);
  color: #b18a40;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.social-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #efcb75 0%, #ff8c00 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.social-links a:hover::before {
  opacity: 1;
}

.social-links a:hover {
  border-color: #efcb75;
  transform: translateY(-8px) rotate(-5deg);
  box-shadow: 0 12px 35px rgba(239, 203, 117, 0.4);
}

.social-links a:hover i {
  color: #000;
  position: relative;
  z-index: 1;
}

.social-links a i {
  transition: color 0.4s ease;
  font-size: 20px;
}

/* Copyright */
#footer-copyrights {
  background: #f4ead7;
  padding: 30px 0;
  margin-top: 60px;
  position: relative;
}

#footer-copyrights::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(177, 138, 64, 0.5);
}

#footer-copyrights .container {
  border-top: 2px solid rgba(177, 138, 64, 0.2);
  padding-top: 20px;
}

/* === MOBILE FIX === */
@media (max-width: 768px) {
	
	body #dgcc-reopen.dgcc-reopen {
    position: fixed !important;
    right: 15px !important;
    left: auto !important;
    bottom: 120px !important;
    z-index: 999999 !important;
  }
	
  #footer .container > .row {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0;
  }

  #footer .block {
    padding: 20px 15px;
  }
	
	#product-list-header .page-title {
    font-size: 20px;
    font-weight: 700;
    display: block;
}
	.category-description-top .rte-content > h1:first-child {
    font-size: 20px !important;
}
	
	
}