/* =============================================
   ZG-SEARCH — Dropdown de recherche ajax (CE ajax-search)
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ============ DROPDOWN PRODUITS ============ */
body .elementor-search__products{
  background:#fff !important;
  border:1px solid #e5e7eb !important;
  border-radius:14px !important;
  box-shadow:0 12px 32px rgba(15,29,44,.12),0 2px 8px rgba(15,29,44,.06) !important;
  padding:8px !important;
  font-family:'Inter','Helvetica Neue',sans-serif !important;
  margin-top:8px !important;
}

/* ============ ITEM (chaque produit ligne) ============ */
body .elementor-search__products a.elementor-search__product-link{
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
  padding:10px 12px !important;
  border-radius:10px !important;
  background:#fff !important;
  border:none !important;
  text-decoration:none !important;
  transition:background .15s,transform .15s !important;
}
body .elementor-search__products a.elementor-search__product-link:hover,
body .elementor-search__products a.elementor-search__product-link.ui-state-focus{
  background:#f9fafb !important;
}

/* ============ IMAGE ============ */
body .elementor-search__product-image{
  flex-shrink:0 !important;
  width:60px !important;
  height:60px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#fafafa !important;
  border:1px solid #f3f4f6 !important;
  border-radius:8px !important;
  padding:4px !important;
  margin:0 !important;
  box-sizing:border-box !important;
}
body .elementor-search__product-image img{
  max-width:100% !important;
  max-height:100% !important;
  width:auto !important;
  height:auto !important;
  object-fit:contain !important;
  margin:0 auto !important;
  display:block !important;
}

/* ============ INFOS PRODUIT ============ */
body .elementor-search__product-info,
body .elementor-search__products a.elementor-search__product-link > *:not(.elementor-search__product-image){
  flex:1 !important;
  min-width:0 !important;
}

/* ============ NOM PRODUIT ============ */
body .elementor-search__product-name{
  font-family:'Inter',sans-serif !important;
  font-size:13.5px !important;
  font-weight:600 !important;
  color:#0f1d2c !important;
  text-transform:none !important;
  letter-spacing:0 !important;
  line-height:1.4 !important;
  margin:0 0 4px !important;
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
  text-decoration:none !important;
}
body .elementor-search__products a.elementor-search__product-link:hover .elementor-search__product-name,
body .elementor-search__products a.elementor-search__product-link.ui-state-focus .elementor-search__product-name{
  color:#0e7837 !important;
}

/* ============ PRIX (container) ============ */
body .elementor-search__product-price{
  font-family:'Outfit',sans-serif !important;
  font-weight:700 !important;
  font-size:15px !important;
  color:#dc2626 !important;
  margin:0 !important;
  line-height:1.3 !important;
  display:flex !important;
  align-items:baseline !important;
  gap:8px !important;
  flex-wrap:wrap !important;
}

/* Si pas de promo, juste le prix simple en navy */
body .elementor-search__product-price:not(:has(del)){
  color:#0f1d2c !important;
  font-weight:700 !important;
  font-size:15px !important;
}

/* Prix barré (regular quand promo) */
body .elementor-search__product-price del{
  font-family:'Inter',sans-serif !important;
  font-weight:500 !important;
  font-size:12px !important;
  color:#9ca3af !important;
  text-decoration:line-through !important;
  text-decoration-thickness:1.5px !important;
  margin:0 !important;
  order:2 !important;
}

/* ============ DESCRIPTION ============ */
body .elementor-search__product-description{
  font-family:'Inter',sans-serif !important;
  font-size:12px !important;
  color:#6b7280 !important;
  margin:2px 0 0 !important;
  line-height:1.4 !important;
}

/* ============ CATEGORY ============ */
body .elementor-search__product-category{
  font-family:'Inter',sans-serif !important;
  font-size:11px !important;
  color:#9ca3af !important;
  text-transform:uppercase !important;
  letter-spacing:.05em !important;
  font-weight:500 !important;
  margin:0 0 4px !important;
}

/* ============ SCROLLBAR ============ */
body .elementor-search__products::-webkit-scrollbar{width:6px}
body .elementor-search__products::-webkit-scrollbar-track{background:transparent}
body .elementor-search__products::-webkit-scrollbar-thumb{
  background:#cbd5e1;border-radius:99px;
}
