/* ================================================================
   Recetas de Belén — Estilos de impresión / PDF
   ================================================================ */
@media print {
  /* Ocultar elementos de navegación */
  .admin-bar, .site-nav, .filter-bar, .tag-strip,
  .site-footer, .btn-print, .btn-sm, .btn-admin,
  .hero-badge, .recipe-card-badge, .breadcrumb-nav,
  .recipe-actions, nav, .private-notes { display: none !important; }

  body { background: white; color: black; font-family: Georgia, serif; font-size: 11pt; }

  .recipe-page { max-width: 100%; padding: 0; margin: 0; }

  /* Encabezado de impresión */
  .recipe-page::before {
    content: 'Recetas de Belén';
    display: block;
    font-size: 9pt;
    color: #888;
    border-bottom: 1pt solid #ccc;
    padding-bottom: 6pt;
    margin-bottom: 18pt;
  }

  .recipe-page-title { font-size: 22pt; margin-bottom: 6pt; }
  .recipe-page-desc  { font-size: 10pt; margin-bottom: 12pt; }

  /* Stats en línea horizontal */
  .recipe-stats {
    display: flex; gap: 20pt; border: 1pt solid #ccc;
    padding: 10pt; border-radius: 4pt; margin-bottom: 18pt;
    break-inside: avoid;
  }
  .recipe-stat-val   { font-size: 14pt; }
  .recipe-stat-label { font-size: 8pt; }

  /* Imagen */
  .recipe-page-image { max-height: 200pt; object-fit: cover; margin-bottom: 18pt; }

  /* Cuerpo: columnas de impresión */
  .recipe-body { display: grid; grid-template-columns: 1fr 2fr; gap: 20pt; }

  .recipe-ingredients h2,
  .recipe-instructions h2 {
    font-size: 13pt; border-bottom: 1.5pt solid #C86B2A;
    padding-bottom: 4pt; margin-bottom: 10pt;
  }

  .recipe-ingredients li { font-size: 10pt; padding: 4pt 0; border-bottom: .5pt solid #eee; }
  .recipe-instructions li p { font-size: 10pt; line-height: 1.5; }

  /* Evitar cortes de página dentro de ingredientes / pasos */
  .recipe-ingredients, .recipe-instructions { break-inside: avoid-column; }
  .recipe-instructions li { break-inside: avoid; }

  /* Tags */
  .recipe-tags { margin-top: 16pt; break-before: avoid; }
  .tag-pill { border: .5pt solid #ccc; padding: 2pt 8pt; border-radius: 12pt; font-size: 8pt; }

  /* Footer de impresión */
  .recipe-page::after {
    content: 'Impreso desde Recetas de Belén';
    display: block;
    font-size: 8pt;
    color: #aaa;
    border-top: .5pt solid #ddd;
    padding-top: 8pt;
    margin-top: 24pt;
  }

  a { color: black; text-decoration: none; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
