/* HF64 – smooth in-place Cathedis prices, no standalone estimator. */
body:is(#order,#checkout) .as-opc-shell #opc-delivery-methods .as-cat-estimated-carrier{
  min-height:118px;overflow:hidden;contain:layout paint;
  transition:background-color .22s ease,border-color .22s ease,opacity .22s ease;
}
body:is(#order,#checkout) .as-opc-shell #opc-delivery-methods .as-cat-estimated-info{
  flex:1;min-width:0;justify-content:center;
}
body:is(#order,#checkout) .as-opc-shell #opc-delivery-methods .as-cat-estimated-price{
  min-height:23px;line-height:1.35;transition:opacity .22s ease;
}
body:is(#order,#checkout) .as-opc-shell #opc-delivery-methods .as-cat-estimated-help{
  min-height:17px;line-height:1.5;transition:opacity .22s ease;
}
body:is(#order,#checkout).as-cat-rate-loading #opc-delivery-methods .as-cat-estimated-carrier{
  background:#fff8fa!important;border-color:#e6c5d0!important;
}
body:is(#order,#checkout).as-cat-rate-loading #opc-delivery-methods .as-cat-estimated-price{
  color:#987989!important;font-size:15px!important;font-weight:650!important;
  animation:as-hf64-rate-breathe 1.2s ease-in-out infinite;
}
@keyframes as-hf64-rate-breathe{
  0%,100%{opacity:.48}50%{opacity:1}
}
/* Keep the payable total out of sight while the destination changes, without
   collapsing text or resizing the totals row on every quote update. */
body:is(#order,#checkout).as-cat-quote-pending .js-cart-summary-totals .cart-summary__value,
body:is(#order,#checkout).as-cat-quote-pending #cart-subtotal-shipping .cart-summary__value{
  display:inline-flex!important;align-items:center;justify-content:flex-end;
  min-height:24px;min-width:126px;white-space:nowrap;
}
body:is(#order,#checkout).as-cat-quote-pending .js-cart-summary-totals .cart-summary__value::after{
  content:'À confirmer';font-size:13px!important;color:#a35a73!important;
}
body:is(#order,#checkout).as-cat-quote-pending #cart-subtotal-shipping .cart-summary__value::after{
  content:'En cours…';font-size:13px!important;color:#a35a73!important;
}
/* The message "no carrier" is not meaningful while the customer is merely
   previewing the Cathedis price without submitting their contact details. */
body:is(#order,#checkout).as-cat-preview-visible #opc-delivery-methods .as-cat-no-carrier-temporary{display:none!important}
@media(prefers-reduced-motion:reduce){
  body:is(#order,#checkout) .as-opc-shell #opc-delivery-methods .as-cat-estimated-carrier,
  body:is(#order,#checkout) .as-opc-shell #opc-delivery-methods .as-cat-estimated-price,
  body:is(#order,#checkout) .as-opc-shell #opc-delivery-methods .as-cat-estimated-help{transition:none!important}
  body:is(#order,#checkout).as-cat-rate-loading #opc-delivery-methods .as-cat-estimated-price{animation:none!important;opacity:1}
}
