/* Print Styles for Salt & Pepper Scratch Kitchen */

@media print {
    /* Set default page width and margins */
    @page {
        size: portrait;
        margin: 15mm;
    }

    html {
        zoom: 0.85; /* Adjusted zoom for better fit at 900px */
    }

    body {
        width: 900px !important;
        margin: 0 auto !important;
        padding: 0 15mm !important;
        font-size: 12pt;
        line-height: 1.3;
        background: none;
        /* Ensure content fits within page */
        box-sizing: border-box;
        -webkit-print-color-adjust: exact;
        transform-origin: top left;
        overflow-x: hidden;
    }

    /* Print-only header */
    .print-header {
        display: flex !important;
        align-items: flex-start;
        justify-content: space-between;
        margin-bottom: 20pt;
        border-bottom: 1pt solid #000;
        padding-bottom: 10pt;
        width: 100%;
    }

    .print-header-logo {
        max-width: 90px;
        height: auto;
        width: auto;
        margin-right: 20pt;
    }

    .print-header-info {
        text-align: right;
        font-size: 10pt;
        line-height: 1.4;
    }

    .print-header-info p {
        margin: 0 0 5pt 0;
        white-space: nowrap;
    }

    /* Hide business hours from print header */
    .print-header-info p:last-child {
        display: none !important;
    }

    /* Hide unnecessary elements */
    header,
    .hero-section,
    .pullquote-section,
    .slider-container,
    .slider-arrow,
    .social-icons,
    .footer-bottom,
    nav,
    button,
    .hero-container,
    .footer-section:last-child,
    .site-footer,
    .facebook-feed-section,
    .menu-footer {
        display: none !important;
    }

    /* Menu styling for print */
    .menu-section-wrapper {
        width: 100%;
        margin: 0;
        padding: 0;
        page-break-inside: auto;
        box-sizing: border-box;
        overflow: visible;
    }

    .menu-section {
        font-size: 16pt;
        margin: 20pt 0 8pt;
        border-bottom: 1pt solid #000;
        width: 100%;
        box-sizing: border-box;
        display: block;
        clear: both;
        font-weight: bold;
        text-transform: uppercase;
        position: relative !important;
        break-after: avoid;
        break-inside: avoid;
    }

    .menu-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8pt;
        width: 100%;
        box-sizing: border-box;
        overflow: visible;
        break-inside: auto;
    }
    .menu-section-wrapper .menu-section {
        margin:0;
    }
    .menu-item-name {
        font-weight: bold;
        margin: 0;
        padding: 0;
        line-height: 1.2;
    }
    .menu-section-wrapper .menu-container {
        padding: 5px 0;
    }
    .menu-section-wrapper .menu-container {
        gap: 0 50px;
    }

    .menu-item-price {
        text-align: right;
        white-space: nowrap;
        margin: 0;
        padding: 0;
        line-height: 1.2;
    }

    .menu-item-description {
        font-style: italic;
        color: #333;
        grid-column: 1 / -1;
        margin: 0;
        padding: 0;
        line-height: 1.3;
        font-size: 10pt;
    }

    .menu-footnote {
        margin: 8pt 0;
        padding: 4pt 0;
        font-size: 10pt;
        break-inside: avoid;
        width: 100%;
        box-sizing: border-box;
    }

    /* Remove link styling */
    a {
        text-decoration: none;
        color: #000;
    }

    a[href^="tel:"]::after {
        content: none;
    }

    a[href^="https://www.google.com/maps"]::after {
        content: none;
    }

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

    /* Optimize space usage */
    .container {
        width: 100% !important;
        max-width: 900px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        box-sizing: border-box;
        overflow: visible;
    }

    /* Force menu sections to be visible */
    .menu-section:first-of-type {
        margin-top: 0;
    }
} 