@media print {
  /* Hide non-printable UI */
  .nav, .footer, .recipe-toggle, .section-toggle,
  .grocery-toggle, .used-summary-wrapper,
  #back-to-top, #print-button {
    display: none !important;
  }

  /* Ensure full width layout */
  body, main, .gh-content, .recipe-day, .recipe-grid, .recipe-body {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    padding: 0;
  }

  /* Remove background colors and box shadows */
  * {
    background: none !important;
    box-shadow: none !important;
    color: #000 !important;
  }

  /* Make sure all sections are visible */
  .collapsed {
    display: block !important;
    max-height: none !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Page break between each day’s recipe */
  .recipe-day {
    page-break-after: always;
    break-after: page;
  }

  /* Make links not look clickable */
  a {
    color: #000;
    text-decoration: none;
  }

  /* Grocery items and instructions in readable format */
  .ingredient-list li,
  .instructions li {
    font-size: 14pt;
    line-height: 1.6;
  }

  .struck {
    text-decoration: line-through;
    opacity: 0.6;
  }
}
