/* Panier et checkout Fluid Checkout aux couleurs du site (lot 6) */
body.woocommerce-checkout .fc-checkout-header, .fc-checkout-header { background: var(--be-night) !important; }
.fc-checkout-header .fc-checkout-header__logo img, .fc-checkout-header img.custom-logo { height: 36px !important; width: auto; filter: brightness(0) invert(1); }
.fc-checkout-header .fc-checkout-header__secure { color: #fff; font-size: 14px; }
.fc-wrapper .fc-progress-bar__step, .fc-wrapper .fc-progress-bar__step-label { color: var(--be-muted); }
.fc-wrapper .fc-progress-bar__step--current .fc-progress-bar__step-label, .fc-wrapper .fc-progress-bar__step--complete .fc-progress-bar__step-label { color: var(--be-ink); font-weight: 600; }
.fc-wrapper .fc-progress-bar__step--complete .fc-progress-bar__step-icon, .fc-wrapper .fc-progress-bar__step--current .fc-progress-bar__step-icon, .fc-wrapper .fc-progress-bar__bar--complete, .fc-wrapper .fc-progress-bar__bar-fill { background: var(--be-accent) !important; border-color: var(--be-accent) !important; color: var(--be-ink) !important; }
.fc-wrapper .fc-step__next-step, .fc-wrapper .fc-next-step, .fc-wrapper button[type="submit"], #place_order { background: var(--be-accent) !important; color: var(--be-ink) !important; border-color: var(--be-accent) !important; min-height: 48px; border-radius: 8px !important; font-weight: 600 !important; width: 100%; }
.fc-wrapper .fc-step__substep-title { font-family: var(--be-font-head); font-size: 20px; }
.fc-wrapper .fc-step__substep-text-content, .fc-wrapper .fc-step__substep-text-line { color: var(--be-muted); font-size: 15px; }
.fc-wrapper .fc-checkout-order-review__inner, .fc-wrapper .fc-sidebar .fc-checkout-order-review { border: 1px solid var(--be-line); border-radius: 12px; padding: 20px; }
.fc-wrapper .fc-sidebar .fc-checkout-order-review__title { font-family: var(--be-font-head); }
.woocommerce-checkout-review-order-table .product-name { font-weight: 600; }
.woocommerce-checkout-review-order-table .product-name dl.variation, .woocommerce-checkout-review-order-table .wapf-order-item-meta { font-size: 14px; color: var(--be-muted); font-style: normal; font-weight: 400; }
.woocommerce-checkout-review-order-table .product-thumbnail img, .woocommerce-cart-form .product-thumbnail img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.woocommerce-checkout-review-order-table tr.order-total th, .woocommerce-checkout-review-order-table tr.order-total td, .cart_totals .order-total th, .cart_totals .order-total td { font-family: var(--be-font-head); font-size: 20px; font-weight: 700; }
.woocommerce-checkout #payment ul.payment_methods li { border: 1px solid var(--be-line); border-radius: 8px; padding: 12px 16px; margin-bottom: 8px; }
.woocommerce-checkout #payment div.payment_box { background: var(--be-bg-soft); border-radius: 8px; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--be-bg-soft); }
.woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox { font-size: 15px; }
.fc-wrapper .fc-step__substep-fields .form-row label { font-weight: 600; }
.be-checkout-reassurance { margin-top: 16px; }
/* panier */
.woocommerce-cart .woocommerce-cart-form table.shop_table { border-radius: 12px; }
.woocommerce-cart .cart_totals { border: 1px solid var(--be-line); border-radius: 12px; padding: 20px; }
.woocommerce-cart .cart_totals h2 { font-size: 22px; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { width: 100%; }
/* titre « Panier » : l'ancien gabarit lui mettait un fond (couleur secondaire, devenue nuit) */
.woocommerce-cart .elementor-widget-theme-page-title { background: none !important; padding: 0 !important; margin-bottom: 16px; }
.woocommerce-cart .elementor-widget-theme-page-title .elementor-heading-title { color: var(--be-ink) !important; font-size: 32px; font-weight: 700; }
/* respiration avant le pied de page */
.woocommerce-cart .elementor-widget-woocommerce-cart { padding-bottom: 64px; }
/* options du configurateur : « libellé : valeur » sur une ligne, plus de flottants ni de soulignés */
.woocommerce table.shop_table td.product-name > a { font-weight: 600; color: var(--be-ink); }
.woocommerce table.shop_table dl.variation { display: block; margin: 8px 0 0; line-height: 1.45; }
.woocommerce table.shop_table dl.variation dt, .woocommerce table.shop_table dl.variation dd, .woocommerce table.shop_table dl.variation dd p { display: inline; float: none; margin: 0; padding: 0; font-style: normal; text-decoration: none; }
.woocommerce table.shop_table dl.variation dt { color: var(--be-muted); font-weight: 400; }
.woocommerce table.shop_table dl.variation dt::after { content: " "; }
.woocommerce table.shop_table dl.variation dd { color: var(--be-ink); font-weight: 500; }
.woocommerce table.shop_table dl.variation dd::after { content: ""; display: block; height: 4px; }
.woocommerce table.shop_table td.product-name, .woocommerce table.shop_table td.product-subtotal, .woocommerce table.shop_table td.product-price, .woocommerce table.shop_table td.product-quantity { vertical-align: top; }
.woocommerce-cart table.shop_table th { white-space: nowrap; }
.woocommerce table.shop_table td.product-thumbnail { vertical-align: top; padding-top: 16px; }
.woocommerce table.shop_table td.product-remove { vertical-align: top; padding-top: 24px; }
.woocommerce table.shop_table td.product-remove a.remove { color: var(--be-muted) !important; }
.woocommerce table.shop_table td.product-remove a.remove:hover { background: var(--be-ink); color: #fff !important; }
.woocommerce table.shop_table td.product-quantity .pricePerLetter { white-space: nowrap; }
/* tablette / mobile : le tableau devient une fiche, texte à gauche */
@media (max-width: 768px) {
  .woocommerce-cart table.shop_table_responsive tr.cart_item { display: block; position: relative; padding: 16px 0 16px; border-bottom: 1px solid var(--be-line); }
  .woocommerce-cart table.shop_table_responsive tr.cart_item td { display: block; text-align: left !important; background: none !important; border: 0; padding: 4px 16px; }
  .woocommerce-cart table.shop_table_responsive tr.cart_item td::before { float: none; display: inline; margin-right: 6px; font-weight: 600; color: var(--be-muted); }
  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-name::before, .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-remove::before { display: none; }
  .woocommerce-cart .elementor-widget-theme-page-title { align-self: flex-start !important; }
  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-name { padding-right: 48px; }
  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-name > a { font-size: 17px; }
  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-remove { position: absolute; top: 12px; right: 8px; width: auto; padding: 0; }
  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-price, .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-quantity, .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-subtotal { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-subtotal { font-weight: 700; border-top: 1px solid var(--be-line); margin-top: 8px; padding-top: 12px; }
  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-quantity:has(.pricePerLetter) .pricePerLetter { margin-left: auto; }
  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-quantity .pricePerLetter { font-size: 16px; }
  .woocommerce-cart table.shop_table_responsive td.actions { padding: 16px; }
  .woocommerce-cart table.shop_table_responsive td.actions .button { width: 100%; }
  .woocommerce-cart .elementor-widget-woocommerce-cart { padding-bottom: 40px; }
  .woocommerce-cart .cart_totals { padding: 16px; }
  .woocommerce-cart .coupon.e-cart-section .coupon-col { gap: 12px; }
}
.pricePerLetter { font-family: var(--be-font-body); font-size: 14px; color: var(--be-muted); }
/* mobile : récapitulatif replié géré par Fluid Checkout ; bouton d'étape sticky */
@media (max-width: 767px) {
  .fc-wrapper .fc-step__actions { position: sticky; bottom: 0; background: #fff; padding: 12px 0; border-top: 1px solid var(--be-line); z-index: 5; }
}
