/* ==== Bouton « Imprimer mon panier » – SHOP IB (ACELIA PUB) ==== */
.ib-print-cart { padding: 0 1.25rem 1.25rem; }
.ib-print-cart .btn { display: flex; align-items: center; justify-content: center; gap: .4rem; }
.ib-print-header { display: none; }

@media print {
  @page { margin: 12mm; }
  body#cart #header, body#cart #footer, body#cart .breadcrumb, body#cart #notifications,
  body#cart .cart-detailed-actions, body#cart .block-reassurance, body#cart #block-reassurance,
  body#cart .block-promo, body#cart .remove-from-cart, body#cart .bootstrap-touchspin .input-group-btn-vertical,
  body#cart .cart-grid-body > a.label, body#cart .ib-print-cart, body#cart .modal,
  body#cart .js-subtotal ~ .js-cart-summary-totals .block-promo { display: none !important; }

  body#cart #wrapper { padding: 0 !important; background: #fff !important; }
  body#cart .container { width: 100% !important; max-width: none !important; }
  body#cart .cart-grid-body, body#cart .cart-grid-right { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; }
  body#cart .card { box-shadow: none !important; border: 0 !important; }
  body#cart .cart-item { page-break-inside: avoid; border-bottom: 1px solid #ccc; padding: 6px 0 !important; }
  body#cart .product-line-grid-left img { max-width: 60px !important; }
  body#cart .js-cart-line-product-quantity { border: 0 !important; background: transparent !important; text-align: center; width: 3em !important; }
  /* Pas de prix ni de totaux à l'impression */
  body#cart .product-line-grid-body .product-price, body#cart .product-line-grid-body .product-discount,
  body#cart .product-line-grid-body .regular-price, body#cart .product-line-grid-body .unit-price-cart,
  body#cart .product-line-grid-right .price, body#cart .product-line-grid-right .product-price,
  body#cart .cart-grid-right, body#cart .cart-summary, body#cart .cart-detailed-totals { display: none !important; }
  body#cart a { text-decoration: none !important; color: #000 !important; }
  body#cart a[href]:after { content: "" !important; }

  body#cart .ib-print-header { display: block !important; margin-bottom: 12px; border-bottom: 2px solid #000; padding-bottom: 8px; }
  body#cart .ib-print-logo { max-height: 50px; float: right; }
  body#cart .ib-print-title { font-size: 18px; font-weight: bold; }
  body#cart .ib-print-meta { font-size: 12px; color: #444; }
}
