/* ==========================================================================
   ZAKA — UI inspirée de demo-3 (blanc propre + accents verts + ambre)
   Style chargé APRÈS style.css
   Palette : #237227 · #519A66 · #FFAA00 · #FFD786
   ========================================================================== */

/* --------------------------------------------------------------------------
   1) Variables
   -------------------------------------------------------------------------- */
:root {
  --zaka-bg:          #FFFFFF;
  --zaka-black:       #1a1a1a;

  /* Palette verte */
  --zaka-green-dark:  #237227;
  --zaka-green-mid:   #519A66;
  --zaka-green-light: #e8f5e9;

  /* Palette ambre */
  --zaka-amber:       #FFAA00;
  --zaka-amber-light: #FFD786;

  /* Aliases legacy (vues Blade) */
  --zaka-gold:        #FFAA00;
  --zaka-gold-dark:   #e09600;
  --zaka-green:       #237227;
  --zaka-teal:        #519A66;
  --zaka-green-deep:  #237227;
  --zaka-charcoal:    #1a1a1a;

  /* Neutres */
  --zaka-cream:       #f9fdf9;
  --zaka-border:      #e8ede8;
  --zaka-muted:       #6b7c6b;

  /* Gris */
  --zaka-gray:        #f5f5f5;
  --zaka-gray-50:     #fafafa;
  --zaka-gray-100:    #f3f3f3;
  --zaka-gray-200:    #e8e8e8;
  --zaka-gray-400:    #aaaaaa;
  --zaka-gray-600:    #767676;

  /* Typo */
  --zaka-font-heading: 'BR Hendrix', 'Inter', system-ui, sans-serif;
  --zaka-font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Radii */
  --zaka-radius-sm:   3px;
  --zaka-radius-btn:  3px;
  --zaka-radius-lg:   3px;
  --zaka-radius-xl:   3px;
  --zaka-radius-card: 3px;

  /* Ombres */
  --zaka-shadow-sm:   0 2px 8px rgba(0,0,0,.06);
  --zaka-shadow:      0 4px 20px rgba(0,0,0,.08);
  --zaka-shadow-lg:   0 12px 40px rgba(0,0,0,.12);
  --zaka-shadow-rest: 0 2px 12px rgba(0,0,0,.05);
  --zaka-shadow-hover:0 12px 36px rgba(0,0,0,.12);

  /* Transition */
  --zaka-transition:       all .25s ease;
  --zaka-transition-fast:  all .15s ease;
}

/* Couleur principale Zaka (newsletter, breadcrumbs, accents foncés) */
:root {
  --zaka-forest:       rgb(58, 95, 88);   /* #3A5F58 — vert forêt Zaka */
  --zaka-forest-dark:  rgb(42, 70, 64);   /* version plus sombre */
  /* Override --dark-blue du thème → fond newsletter en vert forêt Zaka */
  --dark-blue:         58, 95, 88;
}

/* Override thème demo-3 — remappage complet sur palette Zaka */
.demo-3 {
  --primary-color: 35, 114, 39;       /* vert Zaka */
  --primary-color2: 81, 154, 102;     /* vert mid */
  --primary-color3: 35, 114, 39;      /* était rgb(7,84,79) → fond noirâtre sur sections */
  --secondary-color: 245, 245, 245;
  --base-gray: 247, 247, 247;         /* était rgb(218,238,235) verdâtre → gris neutre */
  /* sell-theme-section utilise --theme-blue comme fond */
  --theme-blue: 35, 114, 39;
  --theme-blue-dark: 27, 89, 30;
}

/* Forcer le mode clair — neutraliser tout dark mode résiduel du template */
body, body.dark {
  background: #f7f7f7 !important;
  color: var(--zaka-black) !important;
}
/* Supprimer les boutons Dark/RTL injectés par theme-setting.js */
.lang-switch { display: none !important; }

/* --------------------------------------------------------------------------
   2) Base
   -------------------------------------------------------------------------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--zaka-font-body);
  color: var(--zaka-black);
  background: #f7f7f7;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.6;
}

h1,h2,h3,h4,h5,h6,
.zaka-section-title,
.navbar-brand {
  font-family: var(--zaka-font-heading);
  font-weight: 800;
  color: var(--zaka-black);
  line-height: 1.2;
}

a { transition: var(--zaka-transition); color: var(--zaka-black); }
a:hover { color: var(--zaka-green-dark); }

.zaka-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--zaka-green-mid);
}

.zaka-section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--zaka-black);
}

/* Supprimer les boutons Dark/RTL flottants du template */
.theme-option,
.setting-option,
[class*="theme-option"],
[class*="setting-btn"],
.dark-light,
.rtl-btn,
.layout-btn {
  display: none !important;
}

/* Supprimer le marquee du template (on a le nôtre) */
.top-header-banner,
.ticker-wrap,
.news-ticker {
  display: none !important;
}

/* --------------------------------------------------------------------------
   3) Boutons
   -------------------------------------------------------------------------- */
.btn-primary,
.btn-zaka,
.btn-bg-theme,
.btn.btn-bg-theme,
.theme-bg-color {
  background: var(--zaka-green-dark) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--zaka-radius-btn) !important;
  font-weight: 700 !important;
  transition: var(--zaka-transition) !important;
}
.btn-primary:hover,
.btn-zaka:hover,
.btn-bg-theme:hover,
.btn.btn-bg-theme:hover,
.theme-bg-color:hover {
  background: var(--zaka-green-mid) !important;
}

.btn-outline-zaka {
  border: 2px solid var(--zaka-green-dark) !important;
  color: var(--zaka-green-dark) !important;
  background: transparent !important;
  border-radius: var(--zaka-radius-btn) !important;
  font-weight: 700 !important;
}
.btn-outline-zaka:hover {
  background: var(--zaka-green-dark) !important;
  color: #fff !important;
}

/* --------------------------------------------------------------------------
   4) Formulaires
   -------------------------------------------------------------------------- */
.form-control, .form-select, .theme-form .form-control {
  border-radius: var(--zaka-radius-btn) !important;
}
.form-control:focus, .form-select:focus {
  border-color: var(--zaka-green-mid) !important;
  box-shadow: 0 0 0 3px rgba(81,154,102,.15) !important;
}

/* --------------------------------------------------------------------------
   5) HEADER — inspiré fidèlement de demo-3 (fond blanc, propre)
   -------------------------------------------------------------------------- */

/* Forcer visibilité immédiate */
header.header-style-1,
.header-style-1 { visibility: visible !important; opacity: 1 !important; }

/* ── Top bar : fond blanc, texte foncé ─────────────────────────── */
.header-style-1 .top-header,
.header-style-1 .top-header.theme-header {
  background: #fff !important;
  border-bottom: 1px solid var(--zaka-border) !important;
}

/* Liens gauche (drapeaux, devise) et droite */
.header-style-1 .top-header .left-header .dropdown-box .btn,
.header-style-1 .top-header .left-header .dropdown-box span,
.header-style-1 .top-header .right-header .content-list li a {
  color: var(--zaka-black) !important;
  font-size: 13px;
}
.header-style-1 .top-header .right-header .content-list li a:hover {
  color: var(--zaka-green-dark) !important;
}

/* Réseaux sociaux */
.header-style-1 .top-header .left-header .social-box .social-list li a {
  color: var(--zaka-black) !important;
  opacity: .7;
}
.header-style-1 .top-header .left-header .social-box .social-list li a:hover {
  color: var(--zaka-green-dark) !important;
  opacity: 1;
}

/* Bandeau promo central — pill sobre comme dans demo-3 */
.header-style-1 .top-header .middle-header {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
}
.header-style-1 .top-header .middle-header .middle-content p,
.header-style-1 .top-header .middle-header .middle-content .slider-content {
  color: var(--zaka-black) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}
.header-style-1 .top-header .middle-header .theme-color {
  color: var(--zaka-green-dark) !important;
  font-weight: 700 !important;
}

/* ── Main header : blanc, logo couleur, barre de recherche grise ── */
.header-style-1 .main-dark-header {
  background: #fff !important;
  border-bottom: 1px solid var(--zaka-border) !important;
  box-shadow: none !important;
}

/* Logo — invert() : fond noir → blanc, Z blanc → Z noir. Parfait sur header blanc */
.header-style-1 .main-dark-header .left-header .header-logo img {
  filter: invert(1) !important;
  max-height: 52px;
  width: auto;
  border-radius: 3px;
}

/* Barre de recherche — grise comme demo-3 */
.header-style-1 .main-dark-header .middle-header .search-form .input-group {
  border-radius: 999px !important;
  border: 1.5px solid var(--zaka-border) !important;
  overflow: visible;
  background: var(--zaka-gray) !important;
  transition: var(--zaka-transition);
}
/* Garder les coins arrondis sur les éléments internes sans overflow:hidden sur le parent */
.header-style-1 .main-dark-header .middle-header .search-form .input-group > :first-child {
  border-radius: 999px 0 0 999px !important;
}
.header-style-1 .main-dark-header .middle-header .search-form .input-group > :last-child {
  border-radius: 0 999px 999px 0 !important;
}
.header-style-1 .main-dark-header .middle-header .search-form .input-group:focus-within {
  border-color: var(--zaka-green-mid) !important;
  box-shadow: 0 0 0 3px rgba(81,154,102,.12) !important;
}
/* Neutralise le focus ring Bootstrap sur les éléments internes de la search bar */
.header-style-1 .main-dark-header .middle-header .search-form .input-group .form-control:focus,
.header-style-1 .main-dark-header .middle-header .search-form .input-group .btn:focus,
.header-style-1 .main-dark-header .middle-header .search-form .input-group .dropdown-toggle:focus {
  box-shadow: none !important;
  outline: none !important;
}
.header-style-1 .main-dark-header .middle-header .search-form .input-group .form-control {
  background: var(--zaka-gray) !important;
  color: var(--zaka-black) !important;
  border: none !important;
}
.header-style-1 .main-dark-header .middle-header .search-form .input-group .form-control::placeholder {
  color: var(--zaka-gray-400) !important;
}
.header-style-1 .main-dark-header .middle-header .search-form .input-group .input-group-text,
.header-style-1 .main-dark-header .middle-header .search-form .input-group .dropdown-toggle {
  background: var(--zaka-gray) !important;
  color: var(--zaka-black) !important;
  border: none !important;
  border-right: 1px solid var(--zaka-border) !important;
}
.header-style-1 .main-dark-header .middle-header .search-form .input-group .dropdown-menu {
  background: #fff !important;
  border: 1px solid var(--zaka-border) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.12) !important;
  border-radius: 3px !important;
  min-width: 200px !important;
  padding: 6px 0 !important;
  margin-top: 6px !important;
  transform: none !important;
  top: 100% !important;
  left: 0 !important;
}
.header-style-1 .main-dark-header .middle-header .search-form .input-group .dropdown-menu .dropdown-item {
  color: var(--zaka-black) !important;
  font-size: .88rem !important;
  padding: 8px 16px !important;
  background: transparent !important;
}
.header-style-1 .main-dark-header .middle-header .search-form .input-group .dropdown-menu .dropdown-item:hover {
  background: var(--zaka-green-light) !important;
  color: var(--zaka-green-dark) !important;
}
.header-style-1 .main-dark-header .middle-header .search-form .input-group .search-button,
.header-style-1 .main-dark-header .middle-header .search-form .input-group .search-light-color {
  background: var(--zaka-green-dark) !important;
  color: #fff !important;
  border: none !important;
}
.header-style-1 .main-dark-header .middle-header .search-form .input-group .search-button:hover {
  background: var(--zaka-green-mid) !important;
}

/* Icônes droite header — noires */
.header-style-1 .main-dark-header .right-header .right-nav-list .btn,
.header-style-1 .main-dark-header .right-header .right-nav-list a,
.header-style-1 .main-dark-header .right-header .right-nav-list button,
.header-style-1 .main-dark-header .right-header ul li a,
.header-style-1 .main-dark-header .right-header ul li button {
  color: var(--zaka-black) !important;
}
.header-style-1 .main-dark-header .right-header .right-nav-list .btn:hover,
.header-style-1 .main-dark-header .right-header .right-nav-list a:hover {
  color: var(--zaka-green-dark) !important;
}
/* Badge panier — ambre */
.header-style-1 .main-dark-header .right-header .badge,
.header-style-1 .main-dark-header .right-header .label {
  background: var(--zaka-amber) !important;
  color: #111 !important;
  font-weight: 800 !important;
}

/* ── Nav bar : BLANC comme demo-3 ──────────────────────────────── */
.header-style-1 .nav-light-header {
  background: #fff !important;
  border-bottom: 1px solid var(--zaka-border) !important;
  box-shadow: none !important;
}

/* Bouton "Toutes les catégories" — vert forêt Zaka */
.header-style-1 .nav-light-header .category-header .category-button,
.header-style-1 .nav-light-header .category-header .category-button.btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #fff !important;
  border: none !important;
  border-radius: 3px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 10px 18px !important;
  margin-right: 20px !important;
  transition: all .25s ease !important;
  white-space: nowrap !important;
}
/* Remplace le dégradé orange du ::before par le vert forêt */
.header-style-1 .nav-light-header .category-header .category-button::before {
  background: rgb(58, 95, 88) !important;
  border-radius: 3px !important;
}
.header-style-1 .nav-light-header .category-header .category-button:hover::before {
  background: rgb(42, 70, 64) !important;
}
.header-style-1 .nav-light-header .category-header .category-button i {
  color: #fff !important;
  font-size: 16px !important;
}

/* Liens nav — noirs sur fond blanc */
.header-style-1 .nav-light-header .navbar-nav .nav-item .nav-link,
.header-style-1 .nav-light-header .navbar-nav.navbar-nav-dark .nav-item .nav-link {
  color: var(--zaka-black) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  position: relative;
}
.header-style-1 .nav-light-header .navbar-nav .nav-item .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--zaka-green-dark);
  border-radius: 2px;
  transition: var(--zaka-transition);
}
.header-style-1 .nav-light-header .navbar-nav .nav-item .nav-link:hover { color: var(--zaka-green-dark) !important; }
.header-style-1 .nav-light-header .navbar-nav .nav-item .nav-link:hover::after,
.header-style-1 .nav-light-header .navbar-nav .nav-item .nav-link.active::after { width: 80%; }

/* Header entier fixed dès le chargement */
.header-style-1.sticky-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000 !important;
}
/* Annule le fixed sur .main-dark-header seul (le template le fixait en solo, causant la disparition de la nav) */
.header-style-1.sticky-header .main-dark-header {
  position: relative !important;
  background: rgba(255,255,255,.96) !important;
  backdrop-filter: blur(12px);
  box-shadow: none !important;
}
/* Ombre portée sur tout le header */
.header-style-1.sticky-header {
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
/* Compense la hauteur du header fixed */
body {
  padding-top: 0;
}
body::before {
  content: '';
  display: block;
  height: var(--zaka-header-h, 0px);
}

/* --------------------------------------------------------------------------
   6) Bandeau marquee — ambre, hors header
   -------------------------------------------------------------------------- */
.zaka-promo-bar {
  background: var(--zaka-amber);
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  padding: 7px 0;
  border-bottom: 2px solid var(--zaka-amber-light);
}
.zaka-promo-bar__track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: zaka-marquee 30s linear infinite;
  will-change: transform;
}
.zaka-promo-bar__track span {
  font-family: var(--zaka-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  color: #1a1a1a;
  padding: 0 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.zaka-promo-bar__track span::before {
  content: "●";
  color: var(--zaka-green-dark);
  font-size: 7px;
}
@keyframes zaka-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.zaka-promo-bar:hover .zaka-promo-bar__track { animation-play-state: paused; }

/* --------------------------------------------------------------------------
   7) Cards produit
   -------------------------------------------------------------------------- */
.product-white-box,
.product-box,
.vertical-product-box {
  border-radius: var(--zaka-radius-lg) !important;
  border: 1.5px solid var(--zaka-border) !important;
  background: #fff !important;
  box-shadow: none !important;
  transition: var(--zaka-transition) !important;
  overflow: visible;
}
/* L'image seule masque les débordements (coin arrondi) */
.product-white-box .product-image,
.product-box .product-image {
  overflow: hidden;
  border-radius: var(--zaka-radius-lg) var(--zaka-radius-lg) 0 0;
}
.product-white-box:hover,
.product-box:hover,
.vertical-product-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--zaka-shadow-hover) !important;
  border-color: rgba(35,114,39,.3) !important;
}
.product-white-box:hover img,
.product-box:hover img,
.vertical-product-box:hover img { transform: scale(1.05); }

/* Badge */
.label-tag, .badge-new, .product-label {
  background: var(--zaka-amber) !important;
  color: #111 !important;
  border-radius: 3px !important;
  font-weight: 800 !important;
}

/* Prix */
.price,
.product-box .product-detail .price,
.product-white-box .product-detail .price { color: var(--zaka-black) !important; font-weight: 800 !important; }
.price del,
.product-box .product-detail .price del,
.product-white-box .product-detail .price del { color: #aaa !important; }

/* Bouton panier — jaune Zaka */
.product-box .product-detail .cart-button,
.product-white-box .product-detail .cart-button,
.add-cart-btn,
.cart-btn {
  background: var(--zaka-amber) !important;
  color: #111 !important;
  border-radius: var(--zaka-radius-btn) !important;
  font-weight: 800 !important;
  border-color: var(--zaka-amber) !important;
}
.product-box .product-detail .cart-button:hover,
.product-white-box .product-detail .cart-button:hover,
.add-cart-btn:hover,
.cart-btn:hover { background: var(--zaka-amber-light) !important; border-color: var(--zaka-amber-light) !important; }

/* Hover actions produit */
.product-white-box:hover .product-option,
.product-box:hover .product-option { opacity: 1 !important; }

/* Bouton "Voir le produit" */
.product-white-box .btn-box .btn,
.product-box .btn-box .btn { color: #fff !important; }

/* Slider vedettes : espace sous les slides pour le btn-box au hover */
.product-box-slider .swiper-slide,
.product-six-slider .swiper-slide { padding-bottom: 50px !important; }
.product-box-slider,
.product-six-slider { padding-bottom: 0 !important; margin-bottom: 0 !important; }

/* --------------------------------------------------------------------------
   8) Category cards
   -------------------------------------------------------------------------- */
.category-box-3 {
  border-radius: var(--zaka-radius-lg) !important;
  border: 1.5px solid var(--zaka-border) !important;
  background: #fff !important;
  box-shadow: none !important;
  transition: var(--zaka-transition) !important;
  overflow: hidden;
}
.category-box-3:hover {
  transform: translateY(-4px);
  box-shadow: var(--zaka-shadow) !important;
  border-color: rgba(35,114,39,.25) !important;
}

/* --------------------------------------------------------------------------
   9) Sections
   -------------------------------------------------------------------------- */
.service-section { background: var(--zaka-cream) !important; }
.bg-cream { background: var(--zaka-cream) !important; }
.bg-gray   { background: var(--zaka-gray) !important; }

/* --------------------------------------------------------------------------
   10) Breadcrumb
   -------------------------------------------------------------------------- */
.breadcrumb-section { background: rgb(58, 95, 88) !important; color: #fff !important; }
.breadcrumb-section .breadcrumb-contain h2 { color: #fff !important; }
.breadcrumb-section .breadcrumb-contain nav { margin-left: auto; }
.breadcrumb-section .breadcrumb-contain .breadcrumb .breadcrumb-item a { color: rgba(255,255,255,.75) !important; }
.breadcrumb-section .breadcrumb-contain .breadcrumb .breadcrumb-item.active { color: var(--zaka-amber-light) !important; }
.breadcrumb-section .breadcrumb-contain .breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4) !important; }

/* --------------------------------------------------------------------------
   11) Footer
   -------------------------------------------------------------------------- */
.footer-section-2 {
  background: #0a0a0a !important;
  color: rgba(255,255,255,.78) !important;
  position: relative;
}
.footer-section-2::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--zaka-green-dark), var(--zaka-amber), var(--zaka-green-dark));
}
.footer-section-2 h4, .footer-section-2 h5 { color: #fff !important; }
.footer-section-2 .footer-title h4::after,
.footer-section-2 .footer-title-2 h4::after { background: var(--zaka-amber) !important; }
.footer-section-2 .footer-list li a,
.footer-section-2 .footer-content-list li a { color: rgba(255,255,255,.7) !important; }
.footer-section-2 .footer-list li a:hover,
.footer-section-2 .footer-content-list li a:hover { color: var(--zaka-amber-light) !important; }
.footer-section-2 .social-icon-list li a:hover {
  background: var(--zaka-amber) !important;
  border-color: var(--zaka-amber) !important;
  color: #111 !important;
}

/* --------------------------------------------------------------------------
   12) Divers thème
   -------------------------------------------------------------------------- */
.theme-color { color: var(--zaka-green-dark) !important; }
.theme-bg-color2 { background: var(--zaka-green-dark) !important; }
.tap-top-button .btn { background: var(--zaka-green-dark) !important; color: #fff !important; }
.tap-top-button .btn:hover { background: var(--zaka-green-mid) !important; }

/* Preloader */
.preloader .progress-bar,
.preloader-progress-bar { background: var(--zaka-green-dark) !important; }

/* Swiper */
.swiper-pagination-bullet-active { background: var(--zaka-green-dark) !important; }
.swiper-button-next::after,
.swiper-button-prev::after { color: var(--zaka-green-dark) !important; }

/* Offcanvas / modal */
.offcanvas-header, .modal-header { border-bottom: 3px solid var(--zaka-green-dark) !important; }
.offcanvas-title, .modal-title { color: var(--zaka-black) !important; font-weight: 800 !important; }

/* Mobile menu */
.mobile-menu .navbar-toggler { color: var(--zaka-black) !important; }
.mobile-menu { background: #fff !important; }
.mobile-menu .nav-link { color: var(--zaka-black) !important; }
.mobile-menu .nav-link:hover, .mobile-menu .nav-link.active { color: var(--zaka-green-dark) !important; }

/* Brand box */
.brand-image-box {
  border-radius: var(--zaka-radius-lg) !important;
  border: 1.5px solid var(--zaka-border) !important;
  background: #fff !important;
  padding: 20px !important;
  display: flex; align-items: center; justify-content: center;
  transition: var(--zaka-transition) !important;
  box-shadow: none !important;
}
.brand-image-box:hover { border-color: var(--zaka-amber) !important; }
.brand-image-box img { filter: grayscale(100%) opacity(.45); transition: var(--zaka-transition); }
.brand-image-box:hover img { filter: none; }

/* Dashboard / sidebar */
.product-box, .product-white-box, .vertical-product-box, .category-box-3,
.brand-image-box, .blog-box, .contact-box, .shop-left-sidebar,
.cart-total-box, .summary-total-box, .total-price-box,
.dashboard-left-sidebar, .dashboard-right-sidebar .dashboard-bg-box,
.dashboard-right-sidebar, .dashboard-content-box {
  background: #fff !important;
  border: 1.5px solid var(--zaka-border) !important;
  border-radius: var(--zaka-radius-card) !important;
}

/* --------------------------------------------------------------------------
   13) Utilitaires Blade
   -------------------------------------------------------------------------- */
a.btn-zaka-primary, .btn-zaka-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--zaka-green-dark) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--zaka-radius-btn) !important;
  font-weight: 700 !important;
  text-decoration: none;
  padding: 9px 22px;
  font-size: 13px;
  transition: var(--zaka-transition) !important;
}
.btn-zaka-primary:hover { background: var(--zaka-green-mid) !important; }

a.btn-zaka-secondary, .btn-zaka-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--zaka-black) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--zaka-radius-btn) !important;
  font-weight: 700 !important;
  text-decoration: none;
  padding: 9px 22px;
  font-size: 13px;
  transition: var(--zaka-transition) !important;
}
.btn-zaka-secondary:hover { background: #333 !important; }

a.btn-zaka-amber, .btn-zaka-amber, .btn-zaka-gold {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--zaka-amber) !important;
  color: #111 !important;
  border: none !important;
  border-radius: var(--zaka-radius-btn) !important;
  font-weight: 700 !important;
  text-decoration: none;
  padding: 9px 22px;
  font-size: 13px;
  transition: var(--zaka-transition) !important;
}
.btn-zaka-amber:hover, .btn-zaka-gold:hover { background: var(--zaka-amber-light) !important; }

/* --------------------------------------------------------------------------
   14) Hero banners
   -------------------------------------------------------------------------- */
.zaka-hero-main,
.zaka-hero-sm {
  overflow: hidden;
  border-radius: 0 !important;
  display: block;
  text-decoration: none;
  position: relative;
}
.zaka-hero-main:hover .zaka-hero-img,
.zaka-hero-sm:hover .zaka-hero-img { transform: scale(1.04); }

.zaka-hero-img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  display: block;
}
.zaka-hero-main .zaka-hero-img { height: 400px; }
.zaka-hero-sm .zaka-hero-img   { height: 192px; }

.zaka-hero-overlay {
  position: absolute;
  inset: 0;
  border-radius: 0;
}
.zaka-hero-content {
  position: absolute;
  bottom: 0; left: 0;
  padding: 36px 40px;
}
.zaka-hero-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 800; letter-spacing: .10em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 12px;
}
.zaka-hero-title {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 900; line-height: 1.2; margin-bottom: 10px;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.zaka-hero-desc {
  color: rgba(255,255,255,.88);
  font-size: 14px; margin-bottom: 22px; max-width: 300px; line-height: 1.6;
}
.zaka-hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--zaka-green-dark);
  padding: 12px 26px; border-radius: 999px;
  font-weight: 800; font-size: 13px; transition: var(--zaka-transition);
}
.zaka-hero-main:hover .zaka-hero-cta { background: var(--zaka-amber); color: #111; }

.zaka-hero-content-sm { position: absolute; bottom: 0; left: 0; padding: 20px 24px; }
.zaka-hero-title-sm { color: #fff; font-size: 1.05rem; font-weight: 800; margin: 0; line-height: 1.35; }
.zaka-hero-title-sm small { display: block; font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.78); }

.zaka-hero-promo { overflow: hidden; border-radius: 0; }
.zaka-hero-promo-inner {
  position: relative; z-index: 1;
  padding: 28px 28px; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
}

/* --------------------------------------------------------------------------
   15) Trust bar (icônes services)
   -------------------------------------------------------------------------- */
.zaka-trust-bar { padding: 0; }
.zaka-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1.5px solid var(--zaka-border);
  border-radius: var(--zaka-radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--zaka-shadow-sm);
  margin: 20px 0 0;
}
.zaka-trust-item {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 22px;
  border-right: 1px solid var(--zaka-border);
  transition: var(--zaka-transition);
}
.zaka-trust-item:last-child { border-right: none; }
.zaka-trust-item:hover { background: var(--zaka-cream); }
.zaka-trust-icon {
  width: 46px; height: 46px; border-radius: 3px;
  background: var(--zaka-green-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: var(--zaka-transition);
}
.zaka-trust-item:hover .zaka-trust-icon { background: var(--zaka-green-dark); }
.zaka-trust-icon i { font-size: 20px; color: var(--zaka-green-dark); transition: var(--zaka-transition); }
.zaka-trust-item:hover .zaka-trust-icon i { color: #fff; }
.zaka-trust-item h4 { font-size: 13px; font-weight: 700; color: var(--zaka-black); margin: 0 0 2px; font-family: var(--zaka-font-body); }
.zaka-trust-item p  { font-size: 11px; color: var(--zaka-muted); margin: 0; line-height: 1.4; }

/* --------------------------------------------------------------------------
   16) Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .zaka-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .zaka-trust-item:nth-child(2) { border-right: none; }
  .zaka-trust-item:nth-child(3) { border-top: 1px solid var(--zaka-border); }
  .zaka-trust-item:nth-child(4) { border-top: 1px solid var(--zaka-border); border-right: none; }
}
@media (max-width: 575.98px) {
  .zaka-promo-bar { padding: 5px 0; }
  .zaka-promo-bar__track span { font-size: 11px; padding: 0 20px; }
  .zaka-trust-grid { grid-template-columns: 1fr 1fr; }
  .zaka-hero-main .zaka-hero-img { height: 260px; }
  .zaka-hero-content { padding: 20px 22px; }
}

/* --------------------------------------------------------------------------
   17) product-three-slider — white-product-box-list : 2 items par ligne
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   18) Header — nouveaux composants (nav-right-box, offcanvas catégories)
   -------------------------------------------------------------------------- */

/* ── Nav-right : Suivi commande + WhatsApp ─────────────────────────────── */
.nav-right-box {
  gap: 12px;
}

.nav-right-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--zaka-black);
  text-decoration: none;
  white-space: nowrap;
  transition: var(--zaka-transition);
}
.nav-right-link i { font-size: 15px; color: var(--zaka-green-mid); }
.nav-right-link:hover { color: var(--zaka-green-dark); }

.nav-whatsapp-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #25d366 !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--zaka-radius-btn) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 8px 16px !important;
  white-space: nowrap;
  transition: var(--zaka-transition) !important;
}
.nav-whatsapp-btn:hover {
  background: #1ebe5b !important;
  color: #fff !important;
}

/* ── Offcanvas catégories — en-tête vert foncé ────────────────────────── */
#categoryCanvas {
  background-color: #fff !important;
}
.zaka-offcanvas-header {
  background: var(--zaka-green-dark) !important;
  color: #fff;
  padding: 18px 20px;
}
.zaka-offcanvas-header .offcanvas-title {
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
}

/* ── Groupes de catégories ─────────────────────────────────────────────── */
.zaka-cat-group {
  padding: 16px 0 8px;
  border-bottom: 1px solid var(--zaka-border);
}
.zaka-cat-group:last-of-type { border-bottom: none; }

.zaka-cat-group-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--zaka-muted);
  padding: 0 20px 8px;
  margin: 0;
}

/* ── Item catégorie ────────────────────────────────────────────────────── */
.zaka-cat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  text-decoration: none;
  color: var(--zaka-black);
  transition: var(--zaka-transition-fast);
}
.zaka-cat-item:hover {
  background: var(--zaka-cream);
  color: var(--zaka-green-dark);
}

.zaka-cat-icon {
  font-size: 17px;
  color: var(--zaka-green-mid);
  flex-shrink: 0;
  width: 20px;
  text-align: center;
  transition: var(--zaka-transition-fast);
}
.zaka-cat-item:hover .zaka-cat-icon { color: var(--zaka-green-dark); }

.zaka-cat-name {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
}

.zaka-cat-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--zaka-muted);
  background: var(--zaka-gray-100);
  border-radius: 999px;
  padding: 2px 8px;
  min-width: 28px;
  text-align: center;
  flex-shrink: 0;
}
.zaka-cat-item:hover .zaka-cat-count {
  background: var(--zaka-green-light);
  color: var(--zaka-green-dark);
}

/* ── CTA Espace Pro en bas de l'offcanvas ──────────────────────────────── */
.zaka-cat-pro-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  margin: 12px 16px 16px;
  background: var(--zaka-green-light);
  border: 1.5px solid rgba(35,114,39,.18);
  border-radius: var(--zaka-radius-lg);
}

.zaka-cat-pro-cta > i {
  font-size: 22px;
  color: var(--zaka-green-dark);
  flex-shrink: 0;
}
.zaka-cat-pro-cta > div {
  flex: 1;
  line-height: 1.4;
}
.zaka-cat-pro-cta strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--zaka-green-dark);
}
.zaka-cat-pro-cta span {
  font-size: 11px;
  color: var(--zaka-muted);
}

.zaka-cat-pro-btn {
  background: var(--zaka-green-dark) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--zaka-radius-btn) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 8px 14px !important;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--zaka-transition) !important;
}
.zaka-cat-pro-btn:hover {
  background: var(--zaka-green-mid) !important;
  color: #fff !important;
}

/* ── sell-box : icône de remplacement (become-seller.svg absent) ────────── */
.sell-box .sell-icon {
  display: block;
  font-size: 40px;
  color: var(--zaka-green-dark);
  margin-bottom: 16px;
  line-height: 1;
}
/* Sur fond vert (sell-theme-section), l'icône et le texte sont blancs */
.sell-theme-section .sell-box .sell-icon {
  color: rgba(255, 255, 255, 1);
}
.sell-theme-section .sell-box h4 {
  color: rgba(255, 255, 255, 1) !important;
}

/* ── testimonial-card : icône guillemet (quote.svg absent) ─────────────── */
/* Mime les dimensions du SVG quote.svg attendu par le template (60x46px) */
.testimonial-card .testimonial-quote-icon {
  display: block;
  width: 60px;
  height: 46px;
  font-size: 40px;
  line-height: 46px;
  color: var(--zaka-green-dark);
  opacity: .35;
  margin-bottom: 0;
}

/* ── newsletter : icône ri (newsletter SVG absents) ────────────────────── */
.newsletter-content .newsletter-icon-ri {
  font-size: 36px;
  color: var(--zaka-amber);
  flex-shrink: 0;
}

/* ── Mega-menu : titres colonnes ────────────────────────────────────────── */
.header-style-1 .nav-light-header .mega-menu .menu-title h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--zaka-green-dark);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--zaka-green-light);
}
.header-style-1 .nav-light-header .mega-menu .menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.header-style-1 .nav-light-header .mega-menu .menu-list .dropdown-item {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--zaka-black);
  padding: 7px 10px;
  border-radius: var(--zaka-radius-sm);
  transition: var(--zaka-transition-fast);
}
.header-style-1 .nav-light-header .mega-menu .menu-list .dropdown-item i {
  color: var(--zaka-green-mid);
}
.header-style-1 .nav-light-header .mega-menu .menu-list .dropdown-item:hover {
  background: var(--zaka-green-light);
  color: var(--zaka-green-dark);
}
.header-style-1 .nav-light-header .mega-menu .menu-list .dropdown-item:hover i {
  color: var(--zaka-green-dark);
}

/* ── Espace Pro dropdown — sous-titres ─────────────────────────────────── */
.header-style-1 .nav-light-header .dropdown-menu .dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--zaka-black);
  transition: var(--zaka-transition-fast);
}
.header-style-1 .nav-light-header .dropdown-menu .dropdown-item i {
  color: var(--zaka-green-mid);
  flex-shrink: 0;
  margin-top: 2px;
}
.header-style-1 .nav-light-header .dropdown-menu .dropdown-item:hover {
  background: var(--zaka-green-light);
  color: var(--zaka-green-dark);
}
.header-style-1 .nav-light-header .dropdown-menu .dropdown-item:hover i {
  color: var(--zaka-green-dark);
}
.product-three-slider .white-product-box-list li {
  width: calc(50% - 8px);
}
@media (max-width: 575.98px) {
  .product-three-slider .white-product-box-list li {
    width: 100%;
  }
}


/* sell-theme-section — override bleu marine par vert forêt Zaka */
.sell-theme-section {
  background-color: rgb(58, 95, 88) !important;
}

/* Newsletter — textes en blanc */
.newsletter-section .newsletter-box .newsletter-content h3,
.newsletter-section .newsletter-box .newsletter-content h4 {
  color: #fff !important;
}

/* About — business-agenda bg vert forêt */
.about-us-section .business-agenda {
  background-color: rgb(58, 95, 88) !important;
}

/* service-section — textes en noir */
.service-section,
.service-section .service-box h4,
.service-section .service-box h5,
.service-section .service-box p {
  color: #1a1a1a !important;
}

/* Produits — border-radius boutons réduit à 3px */
.product-box-4 .product-image .quick-view-button-box .view-btn,
.product-box-4 .product-content .option-box .select-btn,
.product-box-4 .product-content .option-box .add-cart-btn,
.product-box-4-main .select-option-box .add-cart-btn {
  border-radius: 3px !important;
}

/* Produits — supprimer le bg vert au hover sur les cards */
.product-white-box:hover::before {
  opacity: 0 !important;
}

/* =============================================================
   AUTH MODAL — cacher signup-box et forgot-password-box par défaut
   Le JS du template (script.js poPup) les affiche/cache via display,
   mais seulement après 2s. On force l'état initial immédiatement.
   ============================================================= */
.authentication-modal .signup-box,
.authentication-modal .forgot-password-box,
.authentication-offcanvas .signup-box,
.authentication-offcanvas .forgot-password-box {
  display: none;
}

/* =============================================================
   AUTH PAGES — pages dédiées (guest-layout)
   Utilise les composants .authentication-modal du thème Kartify
   mais en mode page standalone (pas de modal).
   ============================================================= */

/* Conteneur racine : retire les styles Bootstrap modal */
.section-t-space .authentication-modal {
  border-radius: var(--zaka-radius-card);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.10);
}
.section-t-space .authentication-modal .modal-content {
  border: none;
  border-radius: var(--zaka-radius-card);
}
.section-t-space .authentication-modal .modal-body {
  padding: 0 !important;
}

/* Icône centrée pour verify-email */
.authentication-box .auth-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(var(--theme-color), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.authentication-box .auth-icon-wrap i {
  font-size: 2rem;
  color: var(--theme-color);
}

/* ── Locale dropdown (localisation + monnaie) ─────────────────────────────── */
.zaka-locale-btn {
  color: rgb(0 0 0 / 85%) !important;
  font-size: 12px !important;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.zaka-locale-btn:hover { color: #000 !important; }
.zaka-locale-menu-label { color: #999 !important; }
.zaka-locale-menu .dropdown-item,
.header-style-1 .top-header .right-header .content-list li .zaka-locale-menu a {
  color: #111 !important;
}
.zaka-locale-menu .dropdown-item:hover,
.header-style-1 .top-header .right-header .content-list li .zaka-locale-menu a:hover {
  background: #f5f5f5 !important;
  color: #111 !important;
}
/* Sélection — trait vert à gauche au lieu du bg */
.zaka-locale-menu .dropdown-item.active,
.header-style-1 .top-header .right-header .content-list li .zaka-locale-menu a.active {
  background: transparent !important;
  color: var(--zaka-green-dark) !important;
  font-weight: 700 !important;
  border-left: 3px solid var(--zaka-green-dark) !important;
  padding-left: 11px !important;
}
.zaka-locale-btn::after { display: none; } /* retire la flèche Bootstrap */
.zaka-locale-btn .dropdown-toggle::after { display: none; }
.zaka-locale-sep { opacity: .5; }
.zaka-locale-menu {
  background: #fff !important;
  border: 1px solid #ddd !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.15) !important;
  border-radius: 3px !important;
  min-width: 220px !important;
  padding: 6px 0 !important;
  margin-top: 8px !important;
}
.zaka-locale-menu li {
  display: block !important;
  width: 100% !important;
}
.zaka-locale-menu-label {
  display: block !important;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #aaa;
  padding: 6px 14px 4px;
}
.zaka-locale-menu .dropdown-item,
.header-style-1 .top-header .right-header .content-list li .zaka-locale-menu a {
  display: block !important;
  width: 100% !important;
  font-size: .85rem !important;
  color: #111 !important;
  padding: 8px 14px !important;
  background: transparent !important;
  white-space: nowrap;
}
.zaka-locale-menu .dropdown-item:hover,
.zaka-locale-menu .dropdown-item.active,
.header-style-1 .top-header .right-header .content-list li .zaka-locale-menu a:hover,
.header-style-1 .top-header .right-header .content-list li .zaka-locale-menu a.active {
  background: var(--zaka-green-light) !important;
  color: var(--zaka-green-dark) !important;
}
.zaka-locale-dropdown { position: relative; }
/* Neutralise le hover/underline du template sur le li parent du dropdown locale */
.header-style-1 .top-header .right-header .content-list .zaka-locale-dropdown:hover > a,
.header-style-1 .top-header .right-header .content-list .zaka-locale-dropdown:hover .zaka-locale-btn {
  color: #000 !important;
}
.header-style-1 .top-header .right-header .content-list .zaka-locale-dropdown .zaka-locale-btn::before,
.header-style-1 .top-header .right-header .content-list .zaka-locale-dropdown a::before {
  display: none !important;
}

/* Contact wrapper — bg amber au lieu du bleu template */
.contact-section .contact-wrapper,
.faqs-section .contact-wrapper {
  background-color: var(--zaka-amber) !important;
  color: rgba(0,0,0,.75) !important;
}
.contact-section .contact-wrapper h3,
.faqs-section .contact-wrapper h3 {
  color: #111 !important;
}
.contact-section .contact-wrapper p,
.faqs-section .contact-wrapper p {
  color: rgba(0,0,0,.7) !important;
}
.contact-section .contact-wrapper .contact-title,
.faqs-section .contact-wrapper .contact-title {
  color: rgba(0,0,0,.12) !important;
  -webkit-text-stroke: 1px rgba(0,0,0,.18) !important;
}

/* Alertes globales du layout guest */
.alert-success-box {
  background: #e8f5e9;
  border-left: 4px solid var(--theme-color);
  padding: 12px 16px;
  border-radius: 3px;
  font-size: .88rem;
  color: #2e7d32;
}
.alert-error-box {
  background: #fff3f3;
  border-left: 4px solid #e74c3c;
  padding: 12px 16px;
  border-radius: 3px;
  font-size: .85rem;
  color: #c0392b;
}

/* Badge "Par défaut" dans les adresses du dashboard */
.address-box .label .label-default {
  font-size: .7rem;
  background: var(--theme-color);
  color: #fff;
  padding: 2px 9px;
  border-radius: 50px;
  margin-left: 6px;
  font-weight: 600;
}

/* Zone de danger dans les paramètres sécurité */
.dashboard-security .delete-box {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1.5px dashed rgba(var(--border-color), 1);
}
.dashboard-security .delete-box h5 {
  font-weight: 700;
  color: #e74c3c;
  margin-bottom: 8px;
}
