/* HF74 — Accurate, subtle FREE status. Display only AFTER PrestaShop really
   returns zero shipping. Earlier HF73 "eligible" CSS was misleading because
   it overlaid 'Offert' over a still-payable amount. */
body:is(#order,#checkout).as-hf74-free-confirmed #opc-delivery-methods .delivery-option__price,
body:is(#order,#checkout).as-hf74-free-confirmed #opc-delivery-methods .as-cat-estimated-price {
  font-size:0!important;line-height:0!important;color:transparent!important;
  background:none!important;border:0!important;white-space:nowrap;
  animation:none!important;
}
body:is(#order,#checkout).as-hf74-free-confirmed #opc-delivery-methods .delivery-option__price::after,
body:is(#order,#checkout).as-hf74-free-confirmed #opc-delivery-methods .as-cat-estimated-price::after {
  content:'Offert'!important;
  display:inline-flex!important;align-items:center;justify-content:center;
  padding:5px 11px!important;border:1px solid #d9eadf!important;
  border-radius:999px!important;background:#edf7f0!important;
  color:#417158!important;font-size:12px!important;line-height:1.25!important;
  font-weight:650!important;letter-spacing:.01em!important;
  visibility:visible!important;opacity:1!important;
  box-shadow:none!important;text-transform:none!important;
}
/* The shipping subtotal receives the same quiet badge, but ONLY if its
   actual numeric amount is 0. The amount remains in DOM for other scripts. */
body:is(#order,#checkout).as-hf74-free-confirmed #cart-subtotal-shipping .cart-summary__value {
  font-size:0!important;line-height:0!important;color:transparent!important;
}
body:is(#order,#checkout).as-hf74-free-confirmed #cart-subtotal-shipping .cart-summary__value::after {
  content:'Offert'!important;display:inline-flex!important;align-items:center;
  background:#edf7f0!important;color:#417158!important;
  border:1px solid #d9eadf!important;border-radius:999px!important;
  padding:4px 10px!important;font-size:12px!important;font-weight:650!important;
  line-height:1.25!important;white-space:nowrap!important;
}
/* Never mask the *actual* grand total once the server has confirmed free shipping.
   The back office still decides whether the customer may submit the order. */
body:is(#order,#checkout).as-hf74-free-confirmed .js-cart-summary-totals .cart-summary__value {
  font-size:inherit!important;color:inherit!important;line-height:inherit!important;
}
body:is(#order,#checkout).as-hf74-free-confirmed .js-cart-summary-totals .cart-summary__value::after {
  content:none!important;display:none!important;
}
/* Keep address inputs available, independently of the shipping calculation. */
body:is(#order,#checkout) #opc-delivery-address-fields .as-cat-fields select[name="cities"],
body:is(#order,#checkout) #opc-delivery-address-fields .as-cat-fields select[name="sector"] {
  color:#3e343a;
}
@media(max-width:767.98px){
 body:is(#order,#checkout).as-hf74-free-confirmed #opc-delivery-methods .delivery-option__price::after{padding:4px 9px!important;font-size:11.5px!important;}
}
