/* Hbureautique V58 - correctif ciblé checkout. Rien hors commande. */

/* Prix unitaire : HT + TTC visibles dans la même cellule */
body#order #cart_summary th.cart_unit,
body#order-opc #cart_summary th.cart_unit{min-width:145px!important;text-align:right!important;}
body#order #cart_summary th.cart_unit span,
body#order-opc #cart_summary th.cart_unit span{display:block!important;}
body#order #cart_summary th.cart_unit small,
body#order-opc #cart_summary th.cart_unit small{display:block!important;color:#7890a3!important;font-size:9px!important;font-weight:700!important;letter-spacing:.4px!important;margin-top:2px!important;}
body#order #cart_summary td.cart_unit,
body#order-opc #cart_summary td.cart_unit{min-width:145px!important;vertical-align:middle!important;}
body#order .hlb58-unit-price,
body#order-opc .hlb58-unit-price{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:3px!important;white-space:nowrap!important;}
body#order .hlb58-unit-price>div,
body#order-opc .hlb58-unit-price>div{display:flex!important;align-items:center!important;gap:7px!important;}
body#order .hlb58-unit-price span,
body#order-opc .hlb58-unit-price span{min-width:25px!important;font-size:9px!important;font-weight:800!important;text-transform:uppercase!important;color:#6c8192!important;}
body#order .hlb58-unit-price strong,
body#order-opc .hlb58-unit-price strong{font-size:12px!important;font-weight:700!important;color:#294e69!important;}
body#order .hlb58-unit-price .hlb58-price-ttc strong,
body#order-opc .hlb58-unit-price .hlb58-price-ttc strong{color:#e91379!important;}

/* Quantité : - 1 + côte à côte */
body#order #cart_summary td.cart_quantity,
body#order-opc #cart_summary td.cart_quantity{min-width:122px!important;text-align:center!important;vertical-align:middle!important;}
body#order .hlb58-qty-inline,
body#order-opc .hlb58-qty-inline{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:0!important;white-space:nowrap!important;}
body#order .hlb58-qty-inline .cart_quantity_down,
body#order-opc .hlb58-qty-inline .cart_quantity_down,
body#order .hlb58-qty-inline .cart_quantity_up,
body#order-opc .hlb58-qty-inline .cart_quantity_up{float:none!important;display:flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;margin:0!important;padding:0!important;}
body#order .hlb58-qty-inline .cart_quantity_down,
body#order-opc .hlb58-qty-inline .cart_quantity_down{border-radius:9px 0 0 9px!important;}
body#order .hlb58-qty-inline .cart_quantity_up,
body#order-opc .hlb58-qty-inline .cart_quantity_up{border-radius:0 9px 9px 0!important;}
body#order .hlb58-qty-inline .cart_quantity_input,
body#order-opc .hlb58-qty-inline .cart_quantity_input{float:none!important;width:44px!important;height:34px!important;margin:0!important;padding:0!important;border-radius:0!important;border-left:0!important;border-right:0!important;text-align:center!important;}
body#order .cart_quantity_button.hlb58-hide-empty,
body#order-opc .cart_quantity_button.hlb58-hide-empty{display:none!important;}

/* Bloc totaux : pleine largeur, ordre HT > port > produits TTC > total TTC */
body#order #cart_summary tfoot tr.hlb58-total-ht td,
body#order-opc #cart_summary tfoot tr.hlb58-total-ht td{background:#eef6fc!important;color:#0a4e9a!important;border:0!important;border-top:1px solid #dce8f0!important;}
body#order #cart_summary tfoot tr.hlb58-total-shipping td,
body#order-opc #cart_summary tfoot tr.hlb58-total-shipping td{background:#f1faf4!important;color:#248449!important;border:0!important;}
body#order #cart_summary tfoot tr.hlb58-total-products-ttc td,
body#order-opc #cart_summary tfoot tr.hlb58-total-products-ttc td{background:#f7fafc!important;color:#365d77!important;border:0!important;border-bottom:1px solid #e0e9ef!important;}
body#order #cart_summary tfoot tr.hlb58-final-total td,
body#order-opc #cart_summary tfoot tr.hlb58-final-total td{background:#fff0f7!important;border:0!important;border-top:2px solid #f1b5d1!important;border-bottom:1px solid #f1c7dc!important;}
body#order #cart_summary tfoot tr.hlb58-total-ht td,
body#order #cart_summary tfoot tr.hlb58-total-shipping td,
body#order #cart_summary tfoot tr.hlb58-total-products-ttc td,
body#order #cart_summary tfoot tr.hlb58-final-total td,
body#order-opc #cart_summary tfoot tr.hlb58-total-ht td,
body#order-opc #cart_summary tfoot tr.hlb58-total-shipping td,
body#order-opc #cart_summary tfoot tr.hlb58-total-products-ttc td,
body#order-opc #cart_summary tfoot tr.hlb58-final-total td{padding:10px 15px!important;}
body#order #cart_summary .hlb58-total-label,
body#order-opc #cart_summary .hlb58-total-label{font-weight:700!important;text-align:right!important;}
body#order #cart_summary .hlb58-total-value,
body#order-opc #cart_summary .hlb58-total-value{text-align:right!important;font-weight:800!important;white-space:nowrap!important;min-width:140px!important;}
body#order #cart_summary tr.hlb58-final-total .hlb58-total-value,
body#order-opc #cart_summary tr.hlb58-final-total .hlb58-total-value,
body#order #cart_summary tr.hlb58-final-total #total_price,
body#order-opc #cart_summary tr.hlb58-final-total #total_price{color:#e91379!important;font-size:24px!important;font-weight:800!important;}

/* Conserver la sélection d'adresse V57 : libellé à gauche / sélecteur à droite */
body#order .addresses .address_delivery.select,
body#order-opc .addresses .address_delivery.select,
body#order .addresses p.select.address_delivery,
body#order-opc .addresses p.select.address_delivery{display:grid!important;grid-template-columns:minmax(230px,1fr) minmax(260px,360px)!important;align-items:center!important;gap:16px!important;width:100%!important;margin:0 0 12px!important;padding:10px 12px!important;border:1px solid #cae2f1!important;border-left:4px solid #0a75bf!important;border-radius:12px!important;background:#eef7fd!important;}
body#order .addresses .address_delivery.select label,
body#order-opc .addresses .address_delivery.select label,
body#order .addresses p.select.address_delivery label,
body#order-opc .addresses p.select.address_delivery label{float:none!important;clear:none!important;width:auto!important;margin:0!important;color:#214f72!important;font-weight:700!important;}
body#order .addresses .address_delivery.select .selector,
body#order-opc .addresses .address_delivery.select .selector,
body#order .addresses p.select.address_delivery .selector,
body#order-opc .addresses p.select.address_delivery .selector{float:none!important;clear:none!important;width:100%!important;margin:0!important;}
body#order #id_address_delivery.form-control,
body#order-opc #id_address_delivery.form-control{width:100%!important;max-width:none!important;height:40px!important;margin:0!important;border:1px solid #a9cde4!important;border-radius:9px!important;background:#fff!important;}

@media(max-width:760px){
  body#order .addresses .address_delivery.select,
  body#order-opc .addresses .address_delivery.select,
  body#order .addresses p.select.address_delivery,
  body#order-opc .addresses p.select.address_delivery{grid-template-columns:1fr!important;gap:7px!important;}
  body#order .hlb58-unit-price,body#order-opc .hlb58-unit-price{align-items:flex-start!important;}
}
