/* ==========================================================================
   HORNO RAÍZ — ESTILOS DE IMPRESIÓN (PRINT STYLESHEET)
   Optimizado para cartas de pan, fichas de sucursales y horarios de horneado.
   ========================================================================== */

@media print {
  *, *::before, *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 11pt;
    line-height: 1.4;
    background: #FFF !important;
  }

  .site-header,
  .top-bar,
  .mobile-drawer,
  .mobile-overlay,
  .btn,
  .filter-bar,
  .modal-backdrop,
  #toast-container,
  .baking-schedule-bar,
  .site-footer,
  .skip-link {
    display: none !important;
  }

  .site-main {
    padding: 0 !important;
    margin: 0 !important;
  }

  .container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .grid-2, .grid-3, .grid-4, .grid-auto-cards {
    display: block !important;
  }

  .card, .product-card, .branch-card {
    page-break-inside: avoid;
    border: 1px solid #CCC !important;
    margin-bottom: 1.5cm;
    padding: 1cm !important;
  }

  h1, h2, h3 {
    page-break-after: avoid;
    color: #000 !important;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 85%;
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /* Don't show URL for internal anchor links */
  a[href^="#"]::after {
    content: "";
  }
}
