/* ═══════════════════════════════════════════════════════════════
   FırsatTatil — Print Stilleri (Tur Detay Sayfası)
   Yazdırma çıktısında: header/footer/sidebar/swiper/mobil bar gizlenir,
   içerik tek sütuna düşer, fontlar ve renkler print-friendly hale gelir.
═══════════════════════════════════════════════════════════════ */
@media print {

    /* ─── Sayfa genel ─── */
    @page {
        size: A4;
        margin: 18mm 14mm 18mm 14mm;
    }

    *,
    *::before,
    *::after {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
        box-shadow: none !important;
    }

    html, body {
        background: #fff !important;
        color: #000 !important;
        font-size: 10.5pt;
        line-height: 1.45;
    }

    body {
        padding-bottom: 0 !important;
    }

    /* ─── Gizlenecek bölümler ─── */
    .top-bar,
    .site-header,
    .mobile-menu,
    .mobile-sticky,
    .mobile-book-bar,
    .breadcrumb-nav,
    .quick-info,
    .tab-nav,
    .tb-side,
    .similar-section,
    .newsletter-mini,
    .site-footer,
    .filter-backdrop,
    .modal-backdrop,
    .auth-modal,
    .th-right,
    .day-actions,
    .rev-load-more,
    .tg-show-all,
    .tg-thumb,
    .day-toggle-all,
    .day-print,
    .bc-cta,
    .bc-secondary,
    .bc-date-more,
    .skip-link {
        display: none !important;
    }

    /* ─── Layout: tek sütun ─── */
    main { display: block !important; }
    .tb-layout {
        display: block !important;
        grid-template-columns: 1fr !important;
    }
    .tour-body,
    .results-section,
    .tour-head,
    .tour-gallery {
        background: #fff !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .container-xxl,
    .container,
    .container-fluid {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* ─── Print başlığı (logo + URL) ─── */
    .tb-main::before {
        content: "FırsatTatil — Tatil Vitrin · firsattatil.com";
        display: block;
        font-size: 9pt;
        font-weight: 800;
        color: #FF5A36;
        letter-spacing: 0.04em;
        padding-bottom: 6pt;
        margin-bottom: 12pt;
        border-bottom: 2px solid #FF5A36;
    }

    /* ─── Tour head ─── */
    .tour-head {
        margin-bottom: 14pt !important;
    }
    .th-row {
        display: block !important;
    }
    .th-tags {
        margin-bottom: 6pt !important;
    }
    .th-tag {
        background: #fff !important;
        border: 1px solid #888 !important;
        color: #000 !important;
        padding: 2pt 6pt !important;
        font-size: 8pt !important;
    }
    .th-tag-orange {
        border-color: #FF5A36 !important;
        color: #FF5A36 !important;
    }
    .th-title {
        font-size: 22pt !important;
        line-height: 1.15 !important;
        margin-bottom: 4pt !important;
        color: #000 !important;
    }
    .th-route {
        font-size: 11pt !important;
        margin-bottom: 6pt !important;
        color: #333 !important;
    }
    .th-meta {
        font-size: 9pt !important;
        gap: 12pt !important;
    }

    /* ─── Galeri: sadece ana foto, küçük ─── */
    .tour-gallery {
        margin-bottom: 14pt !important;
    }
    .tg-grid {
        display: block !important;
        aspect-ratio: auto !important;
        max-height: 90mm !important;
        overflow: hidden;
        border-radius: 4pt !important;
    }
    .tg-main {
        width: 100% !important;
        height: 90mm !important;
    }
    .tg-main img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    .tg-disc {
        font-size: 11pt !important;
        background: #FF5A36 !important;
        color: #fff !important;
    }

    /* ─── Hızlı bilgi: print için tablo gibi göster ─── */
    .quick-info {
        display: block !important;
        margin-bottom: 12pt !important;
    }
    .qi-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        border: 1px solid #ccc !important;
        border-radius: 4pt !important;
    }
    .qi-cell {
        padding: 6pt 8pt !important;
        border-right: 1px solid #ccc !important;
        border-bottom: 1px solid #ccc !important;
    }
    .qi-cell:nth-child(3n) { border-right: 0 !important; }
    .qi-cell:nth-last-child(-n+3) { border-bottom: 0 !important; }
    .qi-ic {
        background: #FFF1EC !important;
        width: 26pt !important;
        height: 26pt !important;
    }
    .qi-tx small { font-size: 7pt !important; }
    .qi-tx strong { font-size: 10pt !important; }

    /* ─── İçerik blokları ─── */
    .tb-block {
        background: #fff !important;
        border: 1px solid #ddd !important;
        border-radius: 4pt !important;
        padding: 12pt 14pt !important;
        margin-bottom: 10pt !important;
        page-break-inside: avoid;
    }
    .tbb-title {
        font-size: 14pt !important;
        margin-bottom: 4pt !important;
        color: #000 !important;
        border-bottom: 1.5pt solid #FF5A36;
        padding-bottom: 4pt;
    }
    .tbb-subtitle {
        font-size: 9pt !important;
        margin-bottom: 8pt !important;
    }
    .tbb-prose p {
        font-size: 10pt !important;
        line-height: 1.5 !important;
    }

    /* Highlights: tek sütuna düş, kompakt */
    .tbb-highlights {
        background: #fafafa !important;
        padding: 8pt 12pt !important;
        margin-top: 8pt !important;
    }
    .tbb-highlights h3 { font-size: 10pt !important; }
    .tbb-highlights ul {
        grid-template-columns: 1fr 1fr !important;
        gap: 3pt 12pt !important;
    }
    .tbb-highlights ul li { font-size: 9pt !important; }
    .tbb-highlights ul li [data-lucide] { color: #12B76A !important; }

    /* ─── Günlük program: tüm günler açık ─── */
    .day-list {
        page-break-inside: auto !important;
    }
    .day-item {
        page-break-inside: avoid !important;
        border-bottom: 1px solid #ddd !important;
    }
    .day-head {
        padding: 7pt 10pt !important;
        background: #fafafa !important;
    }
    .day-num {
        background: #FF5A36 !important;
        color: #fff !important;
        width: 22pt !important;
        height: 22pt !important;
        font-size: 10pt !important;
    }
    .day-info strong { font-size: 10.5pt !important; }
    .day-info small { font-size: 8.5pt !important; }
    .day-meta .day-icon {
        background: #FFF1EC !important;
        width: 22pt !important;
        height: 22pt !important;
    }
    .day-meta .day-caret { display: none !important; }
    .day-body,
    .day-item .day-body {
        display: block !important;
        padding: 7pt 10pt 9pt 44pt !important;
    }
    .day-body p {
        font-size: 9.5pt !important;
        line-height: 1.5 !important;
        margin-bottom: 5pt !important;
    }
    .day-tags span {
        background: #fff !important;
        border: 1px solid #ccc !important;
        padding: 2pt 6pt !important;
        font-size: 8pt !important;
    }

    /* ─── Dahil/Değil ─── */
    .incl-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8pt !important;
    }
    .incl-col {
        background: #fafafa !important;
        padding: 10pt 12pt !important;
    }
    .incl-col h3 { font-size: 10.5pt !important; }
    .incl-yes h3 { color: #12B76A !important; }
    .incl-no h3 { color: #B42318 !important; }
    .incl-col ul li { font-size: 9pt !important; gap: 5pt !important; }
    .incl-col ul li [data-lucide] {
        width: 11pt !important;
        height: 11pt !important;
    }

    /* ─── Otel listesi ─── */
    .hotel-list {
        grid-template-columns: 1fr 1fr !important;
        gap: 6pt !important;
    }
    .hotel-card {
        grid-template-columns: 60pt 1fr !important;
        page-break-inside: avoid !important;
    }
    .hc-img { min-height: 50pt !important; }
    .hc-body { padding: 7pt 9pt !important; }
    .hc-head h4 { font-size: 10pt !important; }
    .hc-loc { font-size: 8.5pt !important; }
    .hc-feats span { font-size: 8pt !important; }
    .hc-nights {
        font-size: 8pt !important;
        background: #FFF1EC !important;
        color: #E64A28 !important;
    }

    /* ─── Yorumlar: kısa ─── */
    #yorumlar { page-break-before: auto; }
    .rev-summary {
        background: #fafafa !important;
        padding: 10pt !important;
        gap: 10pt !important;
    }
    .rs-score strong { font-size: 24pt !important; }
    .rev-list { gap: 6pt !important; }
    .rev-item {
        padding: 8pt 10pt !important;
        page-break-inside: avoid !important;
    }
    .rev-item h4 { font-size: 10pt !important; margin-bottom: 3pt !important; }
    .rev-item p { font-size: 9pt !important; line-height: 1.45 !important; }

    /* ─── SSS ─── */
    .faq-item {
        border: 1px solid #ddd !important;
        page-break-inside: avoid !important;
    }
    .faq-item summary {
        padding: 7pt 10pt !important;
        font-size: 10pt !important;
        background: #fafafa !important;
    }
    .faq-item summary [data-lucide] { display: none !important; }
    .faq-item[open] p,
    .faq-item p {
        display: block !important;
        padding: 0 10pt 8pt !important;
        font-size: 9pt !important;
    }
    /* Print'te tüm SSS açık göster */
    .faq-item p { display: block !important; }

    /* ─── İptal & Koşullar ─── */
    .cancel-box {
        background: #FFF1EC !important;
        border: 1px solid #FF5A36 !important;
        padding: 10pt 12pt !important;
        page-break-inside: avoid !important;
    }
    .cancel-box h3 {
        color: #E64A28 !important;
        font-size: 10.5pt !important;
    }
    .cancel-list li {
        background: #fff !important;
        font-size: 9pt !important;
        padding: 5pt 8pt !important;
    }
    .cancel-note {
        font-size: 9pt !important;
        color: #12B76A !important;
    }
    .terms-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 6pt !important;
    }
    .term-cell {
        background: #fafafa !important;
        padding: 8pt 10pt !important;
        page-break-inside: avoid !important;
    }
    .term-cell h4 { font-size: 9.5pt !important; }
    .term-cell p { font-size: 8.5pt !important; line-height: 1.45 !important; }

    /* ─── Linkler print'te alt çizgisiz ve siyah ─── */
    a, a:visited {
        color: #000 !important;
        text-decoration: none !important;
    }

    /* ─── Print footer (her sayfa altı) ─── */
    .tb-main::after {
        content: "TÜRSAB Belge No: 17296 · 0540 699 88 88 · firsattatil.com";
        display: block;
        margin-top: 14pt;
        padding-top: 6pt;
        border-top: 1px solid #ccc;
        font-size: 8pt;
        color: #666;
        text-align: center;
        letter-spacing: 0.02em;
    }

    /* ─── Sayfa sonu kontrolü ─── */
    h1, h2, h3, h4 {
        page-break-after: avoid;
    }
    .day-item,
    .hotel-card,
    .rev-item,
    .faq-item,
    .term-cell {
        page-break-inside: avoid;
    }

    /* ─── Lucide ikonları SVG olarak yazdır ─── */
    [data-lucide] {
        max-width: 11pt;
        max-height: 11pt;
    }
}

/* ─── Sonuç sayfası için de print düzeni (opsiyonel) ─── */
@media print {
    .results-searchbar,
    .cat-chips-section,
    .filters-sidebar,
    .results-toolbar,
    .active-filters,
    .results-pagination,
    .filter-backdrop {
        display: none !important;
    }
    .results-layout {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    .results-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8pt !important;
    }
    .tour-card {
        page-break-inside: avoid !important;
        border: 1px solid #ddd !important;
    }
}
