/* Impresión de cotizaciones y catálogo (se carga con media="print"). */
@page { size: letter; margin: 12mm; }

html, body { background: #fff !important; color: #000 !important; }
body { padding: 0 !important; font-size: 10.5pt; line-height: 1.4; }
a { color: inherit !important; text-decoration: none !important; }

.site-header, .site-footer, .drawer, .drawer-backdrop, .assist-launch, .mobile-bar,
.toaster, .consent, .doc-toolbar, .doc-actions, .skip, .chat, .cat-index, .crumbs, .suggest { display: none !important; }

/* El contenido animado se imprime completo */
[data-reveal] > *, .js-motion [data-reveal] > * { opacity: 1 !important; transform: none !important; transition: none !important; }

/* Colores de marca exactos donde aportan (logo, franja, total, encabezados de tabla) */
.doc-band, .doc-stripe, .doc-mark, .doc-table thead th, .doc-total-final, .doc-confirm,
.badge-line, .battery-art, .doc-expired, .cat-buy {
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

/* ── Cotización ── */
.doc { max-width: none !important; margin: 0 !important; padding: 0 !important; background: #fff !important; }
.doc-band { margin: 4mm 0 5mm; height: 2mm; }
.doc-title-row h1 { font-size: 26pt; }
.doc-customer { margin: 5mm 0; padding: 3mm 4mm; }
.doc-table { font-size: 9.5pt; }
.doc-table thead { display: table-header-group; }
.doc-table tr, .doc-summary, .doc-terms, .doc-confirm, .doc-alert { break-inside: avoid; page-break-inside: avoid; }
.doc-confirm { margin-top: 6mm; padding: 4mm 5mm; }
.doc-stripe { width: 100%; margin: 6mm 0 0; height: 3mm; }

/* ── Catálogo ── */
.doc-catalog-head { padding: 0 0 4mm !important; display: block !important; }
.doc-catalog-head h1 { font-size: 28pt; }
.doc-catalog-head .intro { margin-top: 3mm; }
.doc-print-cover { display: flex !important; align-items: center; gap: 4mm; margin-bottom: 6mm; }
.doc-print-cover .doc-mark { width: auto; height: 16mm; }
.doc-print-cover .doc-brand-name { font-size: 10pt; font-weight: 500; }
.catalog-doc { padding: 0 !important; gap: 0 !important; display: block !important; }
.cat-section { display: block !important; break-before: page; page-break-before: always; }
.cat-section:first-of-type { break-before: auto; page-break-before: auto; }
.cat-head { position: static !important; margin-bottom: 4mm; }
.cat-photo { display: none !important; }
.cat-head h2 { font-size: 20pt; }
.cat-items { gap: 2mm !important; }
.cat-item { break-inside: avoid; page-break-inside: avoid; background: #fff !important; border: 0.3mm solid #ccc; padding: 3mm 4mm !important; grid-template-columns: 28mm minmax(0, 1fr) auto !important; }
.cat-art .battery-art { width: 28mm !important; }
.cat-price { grid-column: auto !important; justify-items: end !important; text-align: right !important; display: grid !important; }
.cat-buy { break-before: page; page-break-before: always; display: block !important; padding: 8mm !important; }
.buy-steps { margin: 4mm 0 !important; }
