/* Print styles — optimisé pour fiches recette et liste d'épicerie */
@page {
  size: letter;
  margin: 1.5cm;
}
* {
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact !important;
  color-adjust: exact !important;
}
body {
  background: #fff !important;
  color: #000 !important;
  font-size: 11pt;
}
.no-print,
.site-header,
.site-footer,
.recipe-actions,
.shopping-actions,
.btn-add-all,
.section-head button,
.filters,
.result-count {
  display: none !important;
}
main { padding: 0; max-width: 100%; }
.recipe {
  box-shadow: none;
  background: #fff;
}
.recipe-image {
  aspect-ratio: auto;
  height: 5cm;
  margin-bottom: 0.5cm;
  page-break-inside: avoid;
}
.recipe-heading h1 {
  color: #558b2f !important;
  margin-bottom: 0.3cm;
}
.recipe-header {
  grid-template-columns: 1fr !important;
}
.recipe-body {
  grid-template-columns: 1fr !important;
  gap: 0.8cm !important;
  padding: 0 !important;
}
.recipe-section {
  page-break-inside: avoid;
}
.recipe-section h2 {
  color: #558b2f !important;
  border-bottom-color: #cddc39 !important;
}
.ing-list li {
  background: transparent !important;
  border: none !important;
  padding: 0.1cm 0 !important;
}
.ing-list li.in-list { background: transparent !important; }
.ing-checkbox { display: inline-block !important; }
.step-list li { page-break-inside: avoid; }
.badge {
  background: #558b2f !important;
  color: #fff !important;
  border: 1px solid #558b2f;
}
.badge-meat { background: #33691e !important; }
.badge-meat[data-meat="sans"] { background: #aed581 !important; color: #1f2d15 !important; }
.btn-toggle { display: none !important; }

/* Shopping list print */
.shopping-list li.checked .ing-text { text-decoration: line-through; }
.shopping-recipe-label { color: #5c6b52 !important; }
.shopping-page h1 { color: #558b2f !important; }

/* Print-only footer with copyright */
.print-footer {
  display: block !important;
  position: fixed;
  bottom: 0.5cm;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 8.5pt;
  color: #5c6b52 !important;
  font-style: italic;
}
