
/* ===================  BLOC VENTE UNIFIÉ (.ll-vente-box)  ===================
   Produits EN VENTE (non louables). Cadre arrondi reprenant l'esprit de
   .ll-resa-box, sans pulse, contour gris neutre. Prix encadré + badge stock
   vert + bouton "Ajouter au panier" PLEINE LARGEUR.
   Décision : pas de sélecteur quantité ici (le client ajuste au panier).
   Le badge stock est injecté par ll-vente.js. Les artefacts location
   (#ll-price-baseline, #ll-price-periode), codés en dur dans
   product-prices.tpl, sont masqués.                                          */

.ll-vente-box{
  border:2px solid #e4e4df;
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  margin:0 0 18px;
}

/* --- Carte prix (product-prices.tpl natif, restylé) --- */
.ll-vente-box .product-prices{ margin:0 !important; padding:0 !important; border:0; background:#fff; display:block !important; width:100% !important; }
.ll-vente-box .product-price{
  margin:0 !important; padding:16px 20px 14px !important;
  background:#fff; text-align:center; border:0;
  display:block !important; width:100% !important; box-sizing:border-box !important;
}
.ll-vente-box .current-price{
  display:flex; flex-direction:column; align-items:center; gap:0;
}
.ll-vente-box .current-price .price,
.ll-vente-box .current-price #ll-price-catalogue,
.ll-vente-box .current-price span[itemprop="price"]{
  font-size:26px !important; font-weight:800 !important; color:#1a1a1a !important; line-height:1.05;
}
/* libellés taxe masqués dans le cadre unifié */
.ll-vente-box .tax-shipping-delivery-label{ display:none; }
/* artefacts LOCATION codés en dur dans product-prices.tpl : sans objet en vente */
.ll-vente-box #ll-price-baseline,
.ll-vente-box #ll-price-periode{ display:none !important; }

/* --- Badge stock injecté par JS --- */
.ll-vente-box .ll-stock-badge{
  margin:8px auto 0; display:inline-block;
  font-size:12px; font-weight:800; letter-spacing:.02em;
  padding:3px 12px; border-radius:18px; text-transform:uppercase;
}
.ll-vente-box .ll-stock-badge.in{ color:#1f9d55; background:#eafaf1; }
.ll-vente-box .ll-stock-badge.out{ color:#9a3030; background:#fbeaea; }

/* --- Neutralise les marges parasites du thème --- */
.ll-vente-box form,
.ll-vente-box .product-add-to-cart,
.ll-vente-box .product-variants,
.ll-vente-box .product-discounts{ margin:0 !important; padding:0 !important; }

/* --- Sélecteur quantité RETIRÉ sur les produits en vente --- */
.ll-vente-box .product-quantity{ display:none !important; }
.ll-vente-box .product-minimal-quantity{ display:none !important; }

/* --- Bouton "Ajouter au panier" pleine largeur --- */
.ll-vente-box .product-add-to-cart{ display:block !important; padding:0 12px 12px !important; }
.ll-vente-box .product-add-cart,
.ll-vente-box .add{ display:block !important; margin:0 !important; padding:0 !important; }
.ll-vente-box .add-to-cart,
.ll-vente-box button.add-to-cart{
  width:100% !important;
  border:none !important; background:#ffc600 !important; color:#1a1a1a !important;
  border-radius:9px !important; height:52px !important;
  font-size:14px !important; font-weight:800 !important;
  text-transform:uppercase !important; letter-spacing:.03em !important;
  display:flex !important; align-items:center; justify-content:center; gap:8px;
  box-shadow:none !important; cursor:pointer;
  transition:filter .12s ease;
}
.ll-vente-box .add-to-cart:hover{ filter:brightness(.95); }
.ll-vente-box .add-to-cart .material-icons{ font-size:19px; }
.ll-vente-box .add-to-cart[disabled]{ background:#e4e4df !important; color:#9a9a92 !important; cursor:not-allowed; }

/* mobile : on resserre */
@media (max-width:767px){
  .ll-vente-box .product-price{ padding:14px 16px 12px !important; }
  .ll-vente-box .current-price .price,
  .ll-vente-box .current-price #ll-price-catalogue,
  .ll-vente-box .current-price span[itemprop="price"]{ font-size:23px !important; }
}
/* ===================  FIN BLOC VENTE UNIFIÉ  =================== */
