/* Print styles */
@media print {
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    @page {
        margin: 1.5cm;
        size: A4;
    }

    body {
        font-size: 11px;
        line-height: 1.3;
        color: #000;
        background: white;
    }

    .navbar,
    .hero,
    .cta-section,
    footer,
    .page-header,
    .category-filters,
    .search-container,
    .quick-help,
    .list-actions,
    .hero-buttons,
    .btn,
    .card-link,
    .help-card .btn,
    .action-card,
    .nav-toggle {
        display: none !important;
    }

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

    /* Print Header */
    .print-header {
        display: block !important;
        text-align: center;
        margin-bottom: 20px;
        border-bottom: 2px solid #000;
        padding-bottom: 10px;
    }

    .print-header h1 {
        font-size: 18px;
        margin: 0 0 5px 0;
        font-weight: bold;
    }

    .print-header p {
        font-size: 10px;
        margin: 0;
    }

    /* Two Column Layout */
    .popular-lists .container,
    .lists-overview .container,
    .faq-content .container {
        column-count: 2;
        column-gap: 20px;
        column-rule: 1px solid #ddd;
    }

    .popular-lists h2,
    .lists-overview h2,
    .faq-content h2 {
        column-span: all;
        text-align: center;
        font-size: 16px;
        margin: 0 0 15px 0;
        border-bottom: 1px solid #000;
        padding-bottom: 5px;
    }

    .lists-grid {
        display: block;
        column-count: 1;
    }

    .list-card,
    .list-category,
    .faq-item {
        break-inside: avoid;
        page-break-inside: avoid;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        padding: 10px;
        background: white;
        box-shadow: none;
    }

    .list-card h3,
    .category-header h2,
    .faq-question h3 {
        font-size: 13px;
        margin: 0 0 8px 0;
        font-weight: bold;
        color: #000;
    }

    .list-card p,
    .category-header p,
    .category-content p,
    .faq-answer p {
        font-size: 10px;
        margin: 0 0 5px 0;
        line-height: 1.3;
    }

    .card-icon,
    .category-icon {
        font-size: 16px;
        margin-bottom: 5px;
    }

    /* Checklist Print Styles */
    .checklist,
    .category-content ul {
        font-size: 9px;
        margin: 5px 0;
        padding-left: 15px;
    }

    .checklist li,
    .category-content ul li {
        margin: 2px 0;
        line-height: 1.2;
        break-inside: avoid;
    }

    .category-content h3 {
        font-size: 11px;
        margin: 8px 0 4px 0;
        font-weight: bold;
        color: #000;
    }

    /* FAQ Print Styles */
    .faq-answer {
        max-height: none !important;
        padding: 5px 0 !important;
    }

    .faq-question {
        border-bottom: 1px solid #ddd;
        padding: 5px 0;
    }

    .faq-answer h4 {
        font-size: 10px;
        margin: 5px 0 3px 0;
        font-weight: bold;
    }

    .faq-answer ul {
        font-size: 9px;
        margin: 3px 0;
        padding-left: 15px;
    }

    .faq-answer li {
        margin: 1px 0;
        line-height: 1.2;
    }

    .toggle-icon {
        display: none;
    }

    /* Tips Grid Print */
    .tips-grid {
        display: block;
        column-count: 1;
    }

    .tip-item {
        break-inside: avoid;
        margin-bottom: 10px;
        border: 1px solid #ddd;
        padding: 8px;
    }

    .tip-item h3 {
        font-size: 11px;
        margin: 0 0 5px 0;
    }

    .tip-item p {
        font-size: 9px;
        margin: 0;
        line-height: 1.3;
    }

    .tip-icon {
        display: none;
    }

    /* Hide interactive elements */
    .config-panel,
    .generated-list .list-header,
    .progress-tracker,
    .pdf-options,
    .pdf-tips,
    .ready-lists {
        display: none !important;
    }

    /* Print Generated List */
    .generated-list {
        display: block !important;
        background: white;
        border: none;
        box-shadow: none;
    }

    #checklist-container {
        padding: 0;
        column-count: 2;
        column-gap: 20px;
        column-rule: 1px solid #ddd;
    }

    .checklist-category {
        break-inside: avoid;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        padding: 8px;
    }

    .checklist-category h3 {
        font-size: 12px;
        margin: 0 0 8px 0;
        font-weight: bold;
        color: #000;
        border-bottom: 1px solid #ddd;
        padding-bottom: 3px;
    }

    .checklist-category .checklist {
        background: white;
        padding: 0;
        border-radius: 0;
        font-size: 9px;
    }

    .checklist-category .checklist li {
        padding: 2px 0;
        border-bottom: none;
        display: list-item;
        list-style: none;
        position: relative;
    }

    .checklist-category .checklist li::before {
        content: "☐ ";
        font-weight: bold;
        margin-right: 5px;
    }

    .checklist-category .checklist input[type="checkbox"] {
        display: none;
    }

    .checklist-category .checklist label {
        display: block;
        padding: 0;
        margin: 0;
        background: none;
        border-radius: 0;
    }

    /* Page breaks */
    .list-card:nth-child(3n) {
        page-break-after: auto;
    }

    h1, h2, h3 {
        page-break-after: avoid;
        orphans: 3;
        widows: 3;
    }

    /* Print footer */
    .print-footer {
        display: block !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        text-align: center;
        font-size: 8px;
        border-top: 1px solid #ddd;
        padding-top: 5px;
        background: white;
    }
}

