/**
 * pdfnativo-minimal.css - Sistema PDF con diseño hero minimalista
 * Versión 3.0 - Inspirado en aventura.php
 */

/* === RESET Y BASE === */
* { 
    box-sizing: border-box; 
    margin: 0;
    padding: 0;
}

@page {
    size: A4;
    margin: 12mm;
}

/* === IMPRESIÓN === */
@media print {
    *, *::before, *::after {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    
    .no-print, .pdf-modal-header, .pdf-modal-footer { 
        display: none !important; 
    }
    
    html, body {
        margin: 0;
        padding: 0;
        background: white;
    }
    
    body {
        font-size: 10pt;
        line-height: 1.5;
        font-family: Arial, sans-serif;
    }
    
    /* Mejorar legibilidad en contenido */
    .pdf-text, .pdf-text-sm, .pdf-timeline-compact, .pdf-timeline-enhanced,
    .pdf-incluye-grid, .pdf-recomendaciones-content, .pdf-consideraciones-content {
        font-size: 10pt !important;
        line-height: 1.5 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .pdf-text p, .pdf-text-sm p,
    .pdf-incluye-grid li, .pdf-incluye-grid p,
    .pdf-recomendaciones-content li, .pdf-recomendaciones-content p,
    .pdf-consideraciones-content li, .pdf-consideraciones-content p {
        margin-bottom: 6px !important;
    }
    
    h2, h3 { page-break-after: avoid; }
    section, .pdf-section-minimal { page-break-inside: avoid; }
    img { max-width: 100%; page-break-inside: avoid; }
    
    /* Ocultar iconos SVG en impresión */
    .pdf-title-icon, .pdf-badge-icon, .pdf-icon-sm, .pdf-inline-icon {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* Controlar emojis Unicode en el contenido - reducir a tamaño mínimo */
    .pdf-text, .pdf-text-sm, .pdf-description-content,
    .pdf-timeline-compact, .pdf-timeline-enhanced,
    .pdf-incluye-grid, .pdf-recomendaciones-content, 
    .pdf-consideraciones-content, .pdf-faq-content,
    .pdf-highlight-box, .pdf-itinerario-box,
    .pdf-mapa-box, .pdf-video-box,
    .pdf-politicas-list, .pdf-nota-importante,
    .pdf-contacto-box, .pdf-contacto-grid {
        font-size: 10pt !important;
    }
    
    /* Método 1: Ocultar emojis comunes usando rangos Unicode */
    .pdf-content-minimal *::before,
    .pdf-content-minimal *::after {
        content: "" !important;
    }
    
    /* Método 2: Forzar fuente que no renderice emojis bien en impresión */
    @font-face {
        font-family: 'NoEmoji';
        src: local('Arial'), local('Helvetica');
        unicode-range: U+1F300-1F9FF, U+2600-26FF, U+2700-27BF;
    }
    
    .pdf-text *, .pdf-text-sm *, .pdf-description-content *,
    .pdf-timeline-compact *, .pdf-timeline-enhanced *,
    .pdf-incluye-grid *, .pdf-recomendaciones-content *, 
    .pdf-consideraciones-content *, .pdf-faq-content *,
    .pdf-highlight-box *, .pdf-itinerario-box *,
    .pdf-politicas-list *, .pdf-nota-importante *,
    .pdf-contacto-box *, .pdf-video-text {
        font-family: 'NoEmoji', Arial, sans-serif !important;
        line-height: 1.5 !important;
    }
    
    /* LAYOUTS HORIZONTALES CON TABLE (mejor soporte print) */
    .pdf-rec-cons-grid {
        display: table !important;
        width: 100% !important;
        table-layout: fixed !important;
        border-spacing: 8px !important;
        page-break-inside: avoid !important;
    }
    
    .pdf-rec-column,
    .pdf-cons-column {
        display: table-cell !important;
        width: 50% !important;
        vertical-align: top !important;
        padding: 6px !important;
        font-size: 7px !important;
    }
    
    .pdf-recomendaciones-content,
    .pdf-consideraciones-content {
        font-size: 7px !important;
        padding: 4px !important;
    }
    
    .pdf-recomendaciones-content li,
    .pdf-consideraciones-content li {
        font-size: 6px !important;
        padding: 2px 2px 2px 12px !important;
        margin-bottom: 2px !important;
        line-height: 1.1 !important;
    }
    
    .pdf-mapa-video-faq-grid {
        display: table !important;
        width: 100% !important;
        table-layout: fixed !important;
        border-spacing: 8px !important;
        page-break-inside: avoid !important;
    }
    
    .pdf-mapa-video-vertical,
    .pdf-faq-column {
        display: table-cell !important;
        width: 50% !important;
        vertical-align: top !important;
        padding: 6px !important;
    }
    
    .pdf-faq-content li {
        font-size: 6px !important;
        padding: 2px 2px 2px 12px !important;
        margin-bottom: 2px !important;
        line-height: 1.1 !important;
    }
    
    .pdf-faq-content li strong {
        font-size: 6px !important;
    }
    
    .pdf-faq-content li .faq-answer {
        font-size: 5px !important;
    }
    
    .pdf-map-minimal img {
        max-height: 100px !important;
    }
    
    .pdf-video-text {
        font-size: 6px !important;
    }
    
    .pdf-video-link {
        font-size: 5px !important;
    }
    
    .pdf-qr-video-image {
        width: 40px !important;
        height: 40px !important;
    }
    
    .pdf-section-galeria-minimal {
        page-break-inside: avoid !important;
        padding: 3px !important;
        margin: 0 !important;
    }
    
    .pdf-gallery-table {
        width: 100% !important;
        border-collapse: separate !important;
        border-spacing: 3px !important;
    }
    
    .pdf-gallery-cell {
        width: 50% !important;
        vertical-align: top !important;
        padding: 0 !important;
    }
    
    .pdf-gallery-item {
        border: 1px solid #d1d5db !important;
    }
    
    .pdf-gallery-img {
        width: 100% !important;
        height: 240px !important;
        object-fit: cover !important;
        display: block !important;
    }
    
    .pdf-gallery-caption {
        padding: 2px 4px !important;
        background: #f3f4f6 !important;
    }
    
    .pdf-gallery-caption strong {
        font-size: 7px !important;
        line-height: 1.1 !important;
        margin: 0 !important;
    }
    
    .pdf-gallery-caption span {
        font-size: 6px !important;
        line-height: 1.1 !important;
        margin: 0 !important;
    }
    
    /* Cuentas bancarias en 2 columnas */
    .pdf-cuentas-grid {
        display: table !important;
        width: 100% !important;
        table-layout: fixed !important;
        border-spacing: 8px !important;
    }
    
    .pdf-cuenta-card {
        display: table-cell !important;
        width: 50% !important;
        vertical-align: top !important;
        box-sizing: border-box !important;
        margin-bottom: 6px !important;
    }
    
    .pdf-cuenta-header strong {
        font-size: 8px !important;
        line-height: 1.2 !important;
    }
    
    .pdf-swift {
        font-size: 6px !important;
    }
    
    .pdf-cuenta-header {
        padding: 6px 8px !important;
    }
    
    .pdf-cuenta-body {
        padding: 8px !important;
    }
    
    .pdf-titular {
        font-size: 8px !important;
        margin-bottom: 4px !important;
    }
    
    .pdf-moneda-title {
        font-size: 7px !important;
        margin: 4px 0 2px 0 !important;
    }
    
    .pdf-cuenta-body p {
        font-size: 7px !important;
        line-height: 1.2 !important;
        margin: 2px 0 !important;
    }
    
    /* Políticas más compactas */
    .pdf-politicas-box {
        padding: 10px !important;
    }
    
    .pdf-politicas-title {
        font-size: 10px !important;
        margin: 0 0 6px 0 !important;
    }
    
    .pdf-politicas-list li {
        padding: 3px 0 !important;
        font-size: 7px !important;
        line-height: 1.3 !important;
    }
    
    .pdf-nota-importante {
        padding: 6px !important;
        font-size: 7px !important;
        line-height: 1.3 !important;
    }
    
    /* Forzar títulos de sección más pequeños */
    .pdf-section-title-minimal {
        font-size: 10px !important;
        margin: 4px 0 !important;
    }
}

/* === MODAL === */
.pdf-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.pdf-modal.active {
    display: flex;
    opacity: 1;
}

.pdf-modal-content {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 210mm;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.pdf-modal-header {
    padding: 20px 24px;
    border-bottom: 2px solid #f4a261;
    background: linear-gradient(135deg, #8b2d33, #a23d44);
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pdf-modal-header h2 {
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pdf-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.pdf-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.pdf-modal-body {
    padding: 0;
    overflow-y: auto;
    overflow-x: auto;
    flex: 1;
    background: #f8f9fa;
}

/* === UTILIDADES === */
.hidden {
    display: none !important;
}

body.pdf-modal-open {
    overflow: hidden;
}

.pdf-error-message {
    text-align: center;
    color: #dc2626;
    padding: 20px;
}

.pdf-error-reload-btn {
    margin-top: 15px;
    padding: 8px 16px;
    background: #8b2d33;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.pdf-error-reload-btn:hover {
    background: #a23d44;
    transform: translateY(-1px);
}

/* === MODO IMPRESIÓN === */
body.pdf-print-mode {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 11pt;
    line-height: 1.5;
    color: #1f2937;
    background: white;
}

/* Forzar ancho mínimo del contenido PDF dentro del modal */
.pdf-modal-body .pdf-content {
    min-width: 800px;
    width: 100%;
}

/* === MANEJO DE IMÁGENES ROTAS === */
img.pdf-logo:not([src]),
img.pdf-logo[src=""],
img.pdf-hero-img:not([src]),
img.pdf-hero-img[src=""],
.pdf-hero-image-minimal:has(img:not([src])),
.pdf-hero-image-minimal:has(img[src=""]),
.pdf-gallery-figure:has(img:not([src])),
.pdf-gallery-figure:has(img[src=""]),
.pdf-map-minimal:has(img:not([src])),
.pdf-map-minimal:has(img[src=""]) {
    display: none !important;
}

/* === LOADING SPINNER === */
.pdf-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 20px;
}

.pdf-loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f4f6;
    border-top-color: #8b2d33;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pdf-loading-text {
    color: #374151;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.pdf-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    border-radius: 0 0 12px 12px;
}

.pdf-modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.pdf-modal-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    stroke: currentColor;
}

.pdf-modal-btn-print {
    background: #8b2d33 !important;
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.pdf-modal-btn-print svg {
    fill: white !important;
    stroke: white !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.pdf-modal-btn-print:hover {
    background: #a23d44 !important;
    transform: translateY(-1px);
}

/* === HEADER MINIMALISTA === */
.pdf-header {
    background: linear-gradient(135deg, #8b2d33, #a23d44);
    color: white;
    padding: 12px 20px;
    margin-bottom: 0;
}

.pdf-header-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.pdf-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.pdf-header-right {
    text-align: right;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.pdf-codes-row {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.pdf-meta-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 10px;
    border-radius: 6px;
}

.pdf-meta-date,
.pdf-meta-id {
    font-size: 9px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    margin: 0;
    line-height: 1.3;
}

.pdf-qr-item {
    background: white;
    padding: 6px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.pdf-qr-image {
    width: 60px;
    height: 60px;
    display: block;
    margin: 0 auto;
}

.pdf-code-number {
    font-size: 7px;
    color: #374151;
    font-weight: 700;
    display: block;
    letter-spacing: 0.5px;
}

.pdf-header-text h1,
.pdf-company {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: white;
}

.pdf-header-text p,
.pdf-tagline {
    font-size: 8px;
    opacity: 0.9;
    margin: 2px 0 0 0;
    color: white;
    word-break: break-all;
}

.pdf-logo {
    width: 60px;
    height: 60px;
    background: white;
    padding: 4px;
    border-radius: 6px;
}

.pdf-header-right {
    text-align: right;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.pdf-meta-date {
    font-size: 10px;
    font-weight: 600;
    color: white;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 12px;
    border-radius: 6px;
    white-space: nowrap;
    align-self: center;
}

.pdf-barcode-image {
    width: 80px;
    height: 80px;
    display: block;
    margin: 0 auto 4px auto;
    object-fit: contain;
}

/* === HERO MINIMALISTA === */
.pdf-hero-minimal {
    background: linear-gradient(to bottom, #fffaf4, white);
    padding: 24px;
    margin-bottom: 24px;
    border-bottom: 3px solid #f4a261;
}

.pdf-hero-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 24px;
    align-items: center;
}

.pdf-hero-content {
    flex: 1;
    text-align: left;
}

.pdf-main-title {
    font-size: 18px;
    font-weight: 900;
    color: #8b2d33;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.pdf-hero-image-minimal {
    flex-shrink: 0;
    width: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.pdf-hero-image-minimal img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.pdf-price-minimal {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 8px;
    background: white;
    border: 2px solid #f4a261;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pdf-price-from {
    font-size: 11px;
    color: #b36f4f;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.pdf-price-value {
    font-size: 16px;
    font-weight: 900;
    color: #8b2d33;
}

.pdf-price-per {
    font-size: 11px;
    color: #6b7280;
}

/* === CONTENIDO MINIMALISTA === */
.pdf-content-minimal {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.pdf-section-minimal {
    margin-bottom: 32px;
    page-break-inside: avoid;
}

.pdf-section-header {
    margin-bottom: 16px;
}

.pdf-section-title-minimal {
    font-size: 20px;
    font-weight: 700;
    color: #8b2d33;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* === ICONOS SVG === */
.pdf-title-icon,
.pdf-badge-icon,
.pdf-icon-sm,
.pdf-inline-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}

.pdf-title-icon {
    width: 18px;
    height: 18px;
}

.pdf-badge-icon {
    width: 16px;
    height: 16px;
}

.pdf-icon-sm {
    width: 14px;
    height: 14px;
}

.pdf-inline-icon {
    width: 12px;
    height: 12px;
    margin-right: 3px;
}

/* Estilo para los SVG */
.pdf-title-icon svg,
.pdf-badge-icon svg,
.pdf-icon-sm svg,
.pdf-inline-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    vertical-align: middle;
}

.pdf-divider {
    height: 3px;
    background: linear-gradient(to right, #f4a261, #f4a26150);
    border-radius: 2px;
}

.pdf-divider-red {
    height: 3px;
    background: linear-gradient(to right, #ef4444, #ef444450);
    border-radius: 2px;
}

.pdf-divider-warning {
    height: 3px;
    background: linear-gradient(to right, #f59e0b, #f59e0b50);
    border-radius: 2px;
}

.pdf-divider-warning {
    height: 3px;
    background: linear-gradient(to right, #f59e0b, #f59e0b50);
    border-radius: 2px;
}

.pdf-text {
    font-size: 13px;
    line-height: 1.7;
    color: #374151;
}

.pdf-text p {
    margin-bottom: 10px;
}

.pdf-text ul,
.pdf-text ol {
    margin-left: 20px;
    margin-bottom: 12px;
}

.pdf-text li {
    margin-bottom: 6px;
}

.pdf-text-sm {
    font-size: 12px;
    line-height: 1.6;
    color: #4b5563;
}

/* === RESUMEN DESTACADO === */
.pdf-highlight-box {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-left: 4px solid #3b82f6;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
}

.pdf-highlight-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e40af;
    margin: 0 0 8px 0;
}

/* === DESCRIPCIÓN MEJORADA === */
.pdf-section-descripcion {
    background: linear-gradient(to bottom, white, #f9fafb);
    padding: 20px;
    border-radius: 12px;
}

.pdf-description-content {
    background: white;
    padding: 16px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    margin-bottom: 16px;
}

/* Layout de dos columnas para resumen e itinerario */
.pdf-two-columns {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.pdf-column {
    flex: 1;
}

.pdf-itinerario-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-left: 3px solid #8b2d33;
    padding: 14px;
    border-radius: 6px;
    height: 100%;
}

.pdf-itinerario-title {
    font-size: 13px;
    font-weight: 700;
    color: #8b2d33;
    margin: 0 0 10px 0;
}

.pdf-timeline-compact {
    font-size: 11px;
    line-height: 1.7;
    color: #374151;
}

.pdf-timeline-compact h3 {
    font-size: 12px;
    font-weight: 700;
    color: #1f2937;
    margin: 10px 0 4px 0;
    padding-left: 18px;
    position: relative;
}

.pdf-timeline-compact h3::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #8b2d33;
    font-size: 16px;
}

.pdf-timeline-compact p {
    font-size: 11px;
    margin: 0 0 10px 0;
    color: #4b5563;
    line-height: 1.6;
}

/* === ITINERARIO DETALLADO === */
.pdf-section-itinerario {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.pdf-itinerario-intro {
    background: #f9fafb;
    border-left: 3px solid #8b2d33;
    padding: 12px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.pdf-itinerario-intro p {
    font-size: 12px;
    color: #374151;
    margin: 0;
    font-style: italic;
}

.pdf-timeline-enhanced {
    position: relative;
    padding-left: 28px;
}

.pdf-timeline-enhanced h3 {
    font-size: 13px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px 0;
    position: relative;
    background: white;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    border-left: 3px solid #8b2d33;
}

.pdf-timeline-enhanced h3::before {
    content: '➤';
    position: absolute;
    left: -28px;
    top: 10px;
    color: #8b2d33;
    font-size: 14px;
}

.pdf-timeline-enhanced p {
    font-size: 11px;
    color: #4b5563;
    margin: 0 0 16px 0;
    padding: 8px 12px;
    background: #f9fafb;
    border-radius: 4px;
    line-height: 1.6;
}

/* === RECOMENDACIONES === */
.pdf-section-recomendaciones {
    background: linear-gradient(135deg, #fef3c7, #fffbeb);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #fbbf24;
}

.pdf-recomendaciones-content {
    background: white;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
}

.pdf-recomendaciones-content ul,
.pdf-recomendaciones-content ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pdf-recomendaciones-content li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    margin-bottom: 8px;
    background: linear-gradient(to right, #fffbeb, white);
    border-radius: 6px;
    border-left: 3px solid #fbbf24;
    font-size: 12px;
    color: #374151;
}

.pdf-recomendaciones-content li::before {
    content: '💡';
    font-size: 16px;
    flex-shrink: 0;
}

.pdf-recomendaciones-content h3 {
    font-size: 14px;
    font-weight: 700;
    color: #92400e;
    margin: 12px 0 8px 0;
}

.pdf-recomendaciones-content p {
    font-size: 12px;
    color: #4b5563;
    margin: 0 0 8px 0;
    line-height: 1.6;
}

/* === ITINERARIO TIMELINE === */
.pdf-timeline {
    position: relative;
    padding-left: 24px;
    border-left: 3px solid #f4a261;
}

.pdf-timeline h3 {
    font-size: 15px;
    font-weight: 700;
    color: #8b2d33;
    margin: 0 0 8px 0;
    position: relative;
}

.pdf-timeline h3::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 4px;
    width: 12px;
    height: 12px;
    background: #f4a261;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #f4a261;
}

.pdf-timeline p {
    font-size: 12px;
    color: #4b5563;
    margin-bottom: 16px;
}

/* === INCLUYE Y TARIFAS (LAYOUT HORIZONTAL) === */
.pdf-section-incluye-tarifas {
    margin-bottom: 32px;
    page-break-inside: avoid;
}

.pdf-two-columns-incluye {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.pdf-column-incluye,
.pdf-column-tarifas {
    flex: 1;
}

.pdf-column-incluye {
    background: #fff;
    padding: 0;
    border-radius: 0;
    border: none;
}

.pdf-column-tarifas {
    background: #fafafa;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

/* === INCLUYE GRID MINIMALISTA === */
/* === INCLUYE - DISEÑO MINIMALISTA === */
/* 
 * Estructura esperada del HTML:
 * <h2>SERVICIOS INCLUIDOS EN LA EXPERIENCIA</h2>
 * <ul>
 *   <li><strong>Título:</strong> Descripción</li>
 * </ul>
 * <h2>SERVICIOS NO INCLUIDOS</h2>
 * <ul>
 *   <li><strong>Título:</strong> Descripción</li>
 * </ul>
 */
.pdf-section-incluye-minimal {
    margin-bottom: 24px;
    page-break-inside: avoid;
}

/* Ocultar los H2 del contenido ACF */
.pdf-incluye-grid h2 {
    display: none;
}

/* Estilos base para las listas - REDUCIDO DRÁSTICAMENTE */
.pdf-incluye-grid ul {
    list-style: none;
    padding: 0;
    margin: 0 0 8px 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pdf-incluye-grid ul:last-child {
    margin-bottom: 0;
}

/* Estilo base de los ítems (INCLUIDOS) - COMPACTO */
.pdf-incluye-grid li {
    display: block;
    padding: 4px 0 4px 18px;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

.pdf-incluye-grid li:last-child {
    border-bottom: none;
}

/* Check verde - MÁS PEQUEÑO */
.pdf-incluye-grid li::before {
    content: "✔";
    color: #22c55e;
    font-size: 10px;
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 5px;
}

/* Título y descripción - REDUCIDOS */
.pdf-incluye-grid strong {
    display: block;
    font-weight: 700;
    font-size: 9px;
    color: #1f2937;
    margin-bottom: 2px;
    line-height: 1.2;
}

.pdf-incluye-grid li p,
.pdf-incluye-grid li span,
.pdf-incluye-grid li text {
    display: block;
    font-size: 8px;
    color: #6b7280;
    line-height: 1.3;
    margin: 0;
}

/* === SERVICIOS NO INCLUIDOS - COMPACTO === */
.pdf-incluye-grid ul:nth-of-type(2) {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #fecaca;
    position: relative;
}

/* Título automático - MÁS PEQUEÑO */
.pdf-incluye-grid ul:nth-of-type(2)::before {
    content: "⛔ SERVICIOS NO INCLUIDOS";
    display: block;
    color: #991b1b;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 6px;
}

/* X roja - MÁS PEQUEÑA */
.pdf-incluye-grid ul:nth-of-type(2) li::before {
    content: "✖";
    color: #dc2626;
    font-size: 10px;
}

/* Textos en rojo para NO INCLUIDOS */
.pdf-incluye-grid ul:nth-of-type(2) li {
    border-bottom-color: #fecaca;
}

.pdf-incluye-grid ul:nth-of-type(2) strong {
    color: #991b1b;
    font-size: 9px;
}

.pdf-incluye-grid ul:nth-of-type(2) li p,
.pdf-incluye-grid ul:nth-of-type(2) li span,
.pdf-incluye-grid ul:nth-of-type(2) li text {
    color: #7f1d1d;
    font-size: 8px;
}

/* === RECOMENDACIONES === */
.pdf-section-recomendaciones {
    background: linear-gradient(135deg, #fef3c7, #fffbeb);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #fbbf24;
}

/* === RECOMENDACIONES Y CONSIDERACIONES HORIZONTAL === */
.pdf-section-rec-cons {
    margin: 10px 0;
    page-break-inside: avoid;
    width: 100%;
}

/* ELIMINADO - Solo usar reglas en @media print */

/* === MAPA, VIDEO Y FAQ HORIZONTAL === */
.pdf-section-mapa-video-faq {
    margin: 8px 0;
    page-break-inside: avoid;
    width: 100%;
}

.pdf-mapa-video-faq-grid {
    display: table;
    width: 100%;
    table-layout: fixed;
}

/* Columna Izquierda: Mapa + Video (Vertical) - COMPACTO */
.pdf-mapa-video-vertical {
    display: table-cell;
    width: 50%;
    vertical-align: top;
    padding-right: 8px;
}

.pdf-faq-column {
    display: table-cell;
    width: 50%;
    vertical-align: top;
    padding-left: 8px;
}

.pdf-mapa-box {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 6px;
    border-radius: 4px;
    border: 1px solid #7dd3fc;
}

.pdf-video-box {
    background: linear-gradient(135deg, #fef3c7, #fef08a);
    padding: 6px;
    border-radius: 4px;
    border: 1px solid #fbbf24;
}

.pdf-map-minimal {
    margin-top: 4px;
}

.pdf-map-minimal img {
    width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid #0ea5e9;
    display: block;
}

.pdf-video-container {
    background: white;
    padding: 4px;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pdf-video-info {
    flex: 1;
}

.pdf-video-text {
    font-size: 7px;
    color: #374151;
    margin-bottom: 2px;
}

.pdf-video-link {
    font-size: 6px;
    color: #0ea5e9;
    word-break: break-all;
}

.pdf-video-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 4px;
    background: linear-gradient(135deg, #fef3c7, white);
    border-radius: 3px;
    border: 1px dashed #fbbf24;
}

.pdf-qr-video-image {
    width: 50px;
    height: 50px;
}

.pdf-qr-video-label {
    font-size: 6px;
    color: #92400e;
    font-weight: 600;
    text-align: center;
}

/* === POLÍTICAS DE PAGO Y CUENTAS BANCARIAS === */
.pdf-section-pagos {
    background: white;
    padding: 24px;
    margin-top: 32px;
    page-break-before: always;
}

.pdf-pagos-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pdf-politicas-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 16px;
    border-radius: 8px;
}

.pdf-politicas-title {
    font-size: 16px;
    font-weight: 700;
    color: #8b2d33;
    margin: 0 0 12px 0;
}

.pdf-politicas-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
}

.pdf-politicas-list li {
    padding: 6px 0;
    font-size: 11px;
    line-height: 1.6;
    color: #374151;
}

.pdf-politicas-list li strong {
    color: #1f2937;
}

.pdf-nota-importante {
    background: white;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 11px;
    color: #374151;
    margin: 0;
}

.pdf-cuentas-grid {
    width: 100%;
}

.pdf-cuenta-card {
    display: inline-block;
    width: 49%;
    vertical-align: top;
    margin-right: 1%;
    margin-bottom: 12px;
    background: white;
    border: 1px solid #8b2d33;
    border-radius: 4px;
    overflow: hidden;
    box-sizing: border-box;
}

.pdf-cuenta-card:nth-child(2n) {
    margin-right: 0;
}

.pdf-cuenta-header {
    background: white;
    padding: 10px 12px;
    border-bottom: 1px solid #8b2d33;
}

.pdf-cuenta-header strong {
    font-size: 11px;
    font-weight: 700;
    color: #8b2d33;
    display: block;
    margin-bottom: 2px;
}

.pdf-swift {
    font-size: 9px;
    color: #6b7280;
    display: block;
}

.pdf-cuenta-body {
    padding: 12px;
    background: white;
}

.pdf-titular {
    font-size: 11px;
    color: #1f2937;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.pdf-moneda-title {
    font-size: 10px;
    font-weight: 700;
    color: #8b2d33;
    margin: 8px 0 4px 0;
}

.pdf-cuenta-body p {
    font-size: 10px;
    color: #374151;
    margin: 3px 0;
    line-height: 1.5;
}

.pdf-cuenta-body p strong {
    color: #1f2937;
}

.pdf-contacto-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 16px;
    border-radius: 8px;
}

.pdf-contacto-box h3 {
    font-size: 14px;
    font-weight: 700;
    color: #8b2d33;
    margin: 0 0 12px 0;
}

.pdf-contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.pdf-contacto-grid p {
    font-size: 11px;
    color: #374151;
    margin: 4px 0;
    line-height: 1.5;
}

.pdf-contacto-grid p strong {
    color: #1f2937;
}

/* Columna Derecha: Preguntas Frecuentes - COMPACTO */
.pdf-faq-column {
    flex: 1;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    padding: 6px;
    border-radius: 4px;
    border: 1px solid #60a5fa;
    box-sizing: border-box;
}

.pdf-faq-content {
    background: white;
    padding: 4px;
    border-radius: 3px;
}

.pdf-faq-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pdf-faq-content li {
    display: block;
    padding: 3px 3px 3px 14px;
    margin-bottom: 3px;
    background: linear-gradient(to right, #dbeafe, white);
    border-radius: 3px;
    border-left: 2px solid #3b82f6;
    font-size: 7px;
    color: #374151;
    line-height: 1.2;
    position: relative;
}

.pdf-faq-content li::before {
    content: '❓';
    position: absolute;
    left: 1px;
    top: 3px;
    font-size: 8px;
}

.pdf-faq-content li strong {
    display: block;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 1px;
    font-size: 7px;
}

.pdf-faq-content li .faq-answer {
    display: block;
    color: #4b5563;
    line-height: 1.2;
    font-size: 6px;
}

.pdf-faq-content li:last-child {
    margin-bottom: 0;
}

/* === TARIFAS - DISEÑO PROFESIONAL Y MODERNO === */
.pdf-pricing-table {
    padding: 0;
    margin: 0;
}

/* Badge de categoría */
.pdf-pricing-category {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #15803d;
    font-weight: 700;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 4px 10px;
    border-radius: 14px;
    margin-bottom: 8px;
    border: 1px solid #86efac;
}

.pdf-pricing-category.private {
    background: linear-gradient(135deg, #e9d5ff, #d8b4fe);
    color: #6b21a8;
    border-color: #c084fc;
}

.pdf-pricing-category::before {
    content: "👥";
    font-size: 10px;
}

.pdf-pricing-category.private::before {
    content: "⭐";
}

/* Subtítulo descriptivo */
.pdf-pricing-subtitle {
    font-size: 10px;
    color: #6b7280;
    margin-bottom: 10px;
    line-height: 1.5;
    font-style: italic;
}

/* Alerta de disponibilidad */
.pdf-pricing-alert {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-left: 3px solid #f59e0b;
    padding: 6px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    font-size: 9px;
    color: #78350f;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pdf-pricing-alert::before {
    content: "⚠️";
    font-size: 11px;
    flex-shrink: 0;
}

/* Separador entre secciones */
.pdf-pricing-divider {
    height: 2px;
    background: linear-gradient(to right, #e5e7eb, transparent);
    margin: 24px 0;
}

/* Fila de precio */
.pdf-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #f9fafb, #ffffff);
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.pdf-price-row:last-child {
    margin-bottom: 0;
}

.pdf-price-row:hover {
    border-color: #f4a261;
    box-shadow: 0 2px 8px rgba(139, 45, 51, 0.08);
}

/* Etiqueta del servicio */
.pdf-price-row span {
    color: #1f2937;
    font-weight: 600;
    font-size: 11px;
    line-height: 1.4;
    flex: 1;
}

/* Subtexto "Price per traveler" */
.pdf-price-row .price-subtitle {
    display: block;
    font-size: 9px;
    color: #9ca3af;
    font-weight: 400;
    margin-top: 2px;
}

/* Precio destacado */
.pdf-price-row strong {
    color: #8b2d33;
    font-weight: 800;
    font-size: 13px;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    padding: 6px 12px;
    border-radius: 16px;
    border: 2px solid #fed7aa;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* Icono de dólar */
.pdf-price-row strong::before {
    content: "$";
    font-size: 11px;
    color: #f97316;
    font-weight: 800;
}

/* Nota informativa */
.pdf-note {
    font-size: 12px;
    color: #78350f;
    font-weight: 500;
    margin: 16px 0 0 0;
    padding: 12px 16px;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border-radius: 6px;
    border-left: 4px solid #f59e0b;
    font-style: normal;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.6;
}

.pdf-note::before {
    content: "ℹ️";
    font-size: 16px;
    flex-shrink: 0;
}

/* === GALERÍA MINIMALISTA - TABLA 2x2 === */
.pdf-section-galeria-minimal {
    background: white;
    padding: 5px;
    margin: 0;
    page-break-inside: avoid;
}

.pdf-gallery-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 4px;
    margin: 0;
    padding: 0;
}

.pdf-gallery-cell {
    width: 50%;
    vertical-align: top;
    padding: 0;
    margin: 0;
}

.pdf-gallery-item {
    background: white;
    border: 1px solid #d1d5db;
    overflow: hidden;
}

.pdf-gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}

.pdf-gallery-caption {
    padding: 3px 5px;
    background: #f3f4f6;
}

.pdf-gallery-caption strong {
    font-size: 8px;
    font-weight: 700;
    color: #8b2d33;
    display: block;
    margin: 0 0 1px 0;
    line-height: 1.1;
}

.pdf-gallery-caption span {
    font-size: 7px;
    color: #6b7280;
    display: block;
    margin: 0;
    line-height: 1.1;
}

/* === BOXES DE ALERTA === */
/* === PREGUNTAS FRECUENTES === */
.pdf-section-faq {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #60a5fa;
}

.pdf-faq-content {
    background: white;
    padding: 16px;
    border-radius: 8px;
}

.pdf-faq-content h3 {
    font-size: 14px;
    font-weight: 700;
    color: #1e40af;
    margin: 16px 0 8px 0;
    padding: 10px 12px;
    background: linear-gradient(to right, #dbeafe, white);
    border-radius: 6px;
    border-left: 4px solid #3b82f6;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pdf-faq-content h3::before {
    content: '❓';
    font-size: 16px;
    flex-shrink: 0;
}

.pdf-faq-content p {
    font-size: 12px;
    color: #4b5563;
    margin: 0 0 12px 0;
    padding: 8px 12px;
    background: #f9fafb;
    border-radius: 6px;
    line-height: 1.6;
}

/* === VIDEO CON QR === */
.pdf-section-video {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #38bdf8;
}

.pdf-video-container {
    display: flex;
    gap: 16px;
    align-items: center;
    background: white;
    padding: 16px;
    border-radius: 8px;
    border: 2px solid #3b82f6;
}

.pdf-video-info {
    flex: 1;
}

.pdf-video-text {
    font-size: 12px;
    color: #1e40af;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.pdf-video-link {
    font-size: 13px;
    color: #3b82f6;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    padding: 8px 12px;
    background: linear-gradient(to right, #dbeafe, #eff6ff);
    border-radius: 6px;
    border: 1px solid #60a5fa;
}

.pdf-video-qr {
    text-align: center;
    background: white;
    padding: 10px;
    border-radius: 8px;
    border: 2px solid #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.pdf-qr-video-image {
    width: 120px;
    height: 120px;
    display: block;
    margin: 0 auto 6px auto;
}

.pdf-qr-video-label {
    font-size: 9px;
    color: #1e40af;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: block;
}

/* === MAPA === */
.pdf-map-minimal {
    margin-top: 12px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e5e7eb;
}

.pdf-map-minimal img {
    width: 100%;
    height: auto;
    display: block;
}

/* === FOOTER MINIMALISTA === */
.pdf-footer {
    background: #fff;
    border-top: 2px solid #f4a261;
    padding: 18px 0 0 0;
    color: #8b2d33;
    font-size: 12px;
    margin-top: 32px;
}

.pdf-footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.pdf-footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.pdf-logo-footer {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.pdf-footer-company {
    font-size: 14px;
    font-weight: 700;
    color: #8b2d33;
    margin: 0;
}

.pdf-footer-subtitle {
    font-size: 10px;
    color: #a23d44;
    margin: 0;
    font-weight: 500;
}

.pdf-footer-address {
    font-size: 10px;
    color: #6b7280;
    text-align: center;
    margin: 0;
}

.pdf-footer-copyright {
    font-size: 10px;
    color: #b36f4f;
    text-align: center;
    margin-top: 6px;
}

.pdf-footer-copyright p {
    margin: 0;
    font-size: 10px;
    font-weight: 400;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .pdf-modal {
        padding: 0;
    }
    
    .pdf-modal-content {
        max-width: 100vw;
        max-height: 100vh;
        width: 100vw;
        height: 100vh;
        border-radius: 0;
        margin: 0;
    }
    
    .pdf-modal-header {
        border-radius: 0;
        padding: 8px 12px;
    }
    
    .pdf-modal-header h2 {
        font-size: 14px;
        gap: 6px;
    }
    
    .pdf-modal-header h2 svg {
        width: 16px;
        height: 16px;
    }
    
    .pdf-modal-close {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
    
    .pdf-modal-footer {
        border-radius: 0;
        padding: 10px 12px;
    }
    
    .pdf-modal-btn {
        padding: 8px 12px;
        font-size: 12px;
        background: #8b2d33 !important;
        color: white !important;
    }
    
    .pdf-modal-btn svg {
        width: 14px;
        height: 14px;
        fill: white !important;
        stroke: white !important;
    }
    
    /* Contenedor con scroll */
    .pdf-modal-body {
        width: 100%;
        height: auto;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Mantener ancho fijo PC */
    .pdf-modal-body .pdf-content {
        min-width: 800px;
        width: 800px;
    }
    
    /* Forzar estructura horizontal en hero */
    .pdf-modal-body .pdf-hero-container {
        display: flex !important;
        flex-direction: row !important;
        gap: 24px !important;
        align-items: center !important;
    }
    
    .pdf-modal-body .pdf-hero-content {
        flex: 1 !important;
    }
    
    .pdf-modal-body .pdf-hero-image-minimal {
        flex-shrink: 0 !important;
        width: 400px !important;
    }
    
    /* Forzar estructura horizontal en header */
    .pdf-modal-body .pdf-header-content {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 20px !important;
    }
    
    .pdf-modal-body .pdf-header-left {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
        flex: 1 !important;
    }
    
    .pdf-modal-body .pdf-header-right {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex: 1 !important;
    }
    
    /* Reducir tamaños en header */
    .pdf-modal-body .pdf-header {
        padding: 8px 16px !important;
    }
    
    .pdf-modal-body .pdf-logo {
        width: 45px !important;
        height: 45px !important;
        padding: 3px !important;
    }
    
    .pdf-modal-body .pdf-company {
        font-size: 13px !important;
    }
    
    .pdf-modal-body .pdf-tagline {
        font-size: 7px !important;
    }
    
    .pdf-modal-body .pdf-qr-image {
        width: 50px !important;
        height: 50px !important;
    }
    
    .pdf-modal-body .pdf-meta-info {
        padding: 5px 8px !important;
    }
    
    .pdf-modal-body .pdf-meta-date,
    .pdf-modal-body .pdf-meta-id {
        font-size: 8px !important;
    }
    
    /* Reducir tamaños en hero */
    .pdf-modal-body .pdf-hero-minimal {
        padding: 12px !important;
        margin-bottom: 12px !important;
    }
    
    .pdf-modal-body .pdf-main-title {
        font-size: 16px !important;
        margin: 0 0 10px 0 !important;
        line-height: 1.2 !important;
    }
    
    .pdf-modal-body .pdf-hero-image-minimal {
        width: 280px !important;
    }
    
    .pdf-modal-body .pdf-hero-image-minimal img {
        height: 170px !important;
    }
    
    .pdf-modal-body .pdf-price-minimal {
        padding: 6px 10px !important;
        gap: 4px !important;
    }
    
    .pdf-modal-body .pdf-price-from {
        font-size: 8px !important;
    }
    
    .pdf-modal-body .pdf-price-value {
        font-size: 13px !important;
    }
    
    .pdf-modal-body .pdf-price-per {
        font-size: 8px !important;
    }
    
    /* Reducir tamaños en contenido */
    .pdf-modal-body .pdf-content-minimal {
        padding: 0 16px !important;
    }
    
    .pdf-modal-body .pdf-section-minimal {
        margin-bottom: 20px !important;
    }
    
    .pdf-modal-body .pdf-section-title-minimal {
        font-size: 14px !important;
        margin: 0 0 8px 0 !important;
        gap: 6px !important;
    }
    
    .pdf-modal-body .pdf-title-icon {
        font-size: 16px !important;
    }
    
    .pdf-modal-body .pdf-divider {
        margin: 6px 0 10px 0 !important;
    }
    
    /* Reducir textos de descripción */
    .pdf-modal-body .pdf-text {
        font-size: 11px !important;
        line-height: 1.5 !important;
    }
    
    .pdf-modal-body .pdf-text p {
        margin-bottom: 8px !important;
    }
    
    /* Reducir resumen e itinerario */
    .pdf-modal-body .pdf-two-columns .pdf-column {
        padding: 0 !important;
    }
    
    .pdf-modal-body .pdf-highlight-box {
        padding: 8px !important;
        margin-bottom: 8px !important;
        border-radius: 5px !important;
    }
    
    .pdf-modal-body .pdf-highlight-title {
        font-size: 10px !important;
        margin-bottom: 5px !important;
    }
    
    .pdf-modal-body .pdf-text-sm {
        font-size: 7px !important;
        line-height: 1.3 !important;
    }
    
    .pdf-modal-body .pdf-text-sm h2,
    .pdf-modal-body .pdf-text-sm h3,
    .pdf-modal-body .pdf-text-sm h4 {
        font-size: 9px !important;
        margin: 4px 0 3px 0 !important;
        font-weight: 700 !important;
    }
    
    .pdf-modal-body .pdf-text-sm p {
        font-size: 7px !important;
        line-height: 1.3 !important;
        margin-bottom: 3px !important;
    }
    
    .pdf-modal-body .pdf-text-sm ul,
    .pdf-modal-body .pdf-text-sm ol {
        font-size: 7px !important;
        margin: 3px 0 !important;
        padding-left: 12px !important;
    }
    
    .pdf-modal-body .pdf-text-sm li {
        font-size: 7px !important;
        line-height: 1.3 !important;
        margin-bottom: 2px !important;
    }
    
    .pdf-modal-body .pdf-description-content {
        gap: 6px !important;
    }
    
    .pdf-modal-body .pdf-description-content p {
        font-size: 7px !important;
        line-height: 1.3 !important;
        margin-bottom: 3px !important;
    }
    
    .pdf-modal-body .pdf-description-content h2,
    .pdf-modal-body .pdf-description-content h3 {
        font-size: 9px !important;
        margin: 4px 0 3px 0 !important;
        font-weight: 700 !important;
    }
    
    .pdf-modal-body .pdf-itinerario-box {
        padding: 8px !important;
        border-radius: 5px !important;
    }
    
    .pdf-modal-body .pdf-itinerario-title {
        font-size: 12px !important;
        margin-bottom: 5px !important;
    }
    
    .pdf-modal-body .pdf-timeline-compact h2,
    .pdf-modal-body .pdf-timeline-enhanced h2 {
        font-size: 9px !important;
        margin-bottom: 3px !important;
        font-weight: 700 !important;
    }
    
    .pdf-modal-body .pdf-timeline-compact h3,
    .pdf-modal-body .pdf-timeline-enhanced h3 {
        font-size: 9px !important;
        padding-left: 16px !important;
        margin-bottom: 2px !important;
        font-weight: 700 !important;
    }
    
    .pdf-modal-body .pdf-timeline-compact h3::before,
    .pdf-modal-body .pdf-timeline-enhanced h3::before {
        width: 8px !important;
        height: 8px !important;
        left: 0 !important;
        top: 2px !important;
    }
    
    .pdf-modal-body .pdf-timeline-compact p,
    .pdf-modal-body .pdf-timeline-enhanced p {
        font-size: 7px !important;
        padding-left: 16px !important;
        margin-bottom: 4px !important;
        line-height: 1.3 !important;
    }
    
    .pdf-modal-body .pdf-itinerario-intro {
        padding: 6px !important;
        margin-bottom: 6px !important;
    }
    
    .pdf-modal-body .pdf-itinerario-intro p {
        font-size: 7px !important;
        line-height: 1.3 !important;
    }
    
    /* Reducir badges */
    .pdf-modal-body .pdf-info-badges {
        display: flex !important;
        flex-direction: row !important;
        gap: 6px !important;
        margin-top: 10px !important;
        flex-wrap: nowrap !important;
    }
    
    .pdf-modal-body .pdf-badge-item {
        display: flex !important;
        align-items: center !important;
        padding: 5px 8px !important;
        gap: 4px !important;
        font-size: 9px !important;
        border-radius: 15px !important;
        white-space: nowrap !important;
    }
    
    .pdf-modal-body .pdf-badge-icon {
        font-size: 12px !important;
    }
    
    .pdf-modal-body .pdf-badge-text {
        font-size: 9px !important;
        font-weight: 600 !important;
    }
    
    /* Forzar grids de 2 columnas */
    .pdf-modal-body .pdf-two-columns,
    .pdf-modal-body .pdf-two-columns-incluye,
    .pdf-modal-body .pdf-rec-cons-grid,
    .pdf-modal-body .pdf-mapa-video-faq-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
    }
    
    /* Reducir tamaños en Incluye */
    .pdf-modal-body .pdf-incluye-grid ul {
        gap: 6px !important;
    }
    
    .pdf-modal-body .pdf-incluye-grid li {
        padding: 6px 6px 6px 22px !important;
        font-size: 10px !important;
        line-height: 1.4 !important;
    }
    
    .pdf-modal-body .pdf-incluye-grid li::before {
        font-size: 12px !important;
        left: 6px !important;
    }
    
    .pdf-modal-body .pdf-incluye-grid strong {
        font-size: 10px !important;
        font-weight: 700 !important;
    }
    
    .pdf-modal-body .pdf-incluye-grid li p,
    .pdf-modal-body .pdf-incluye-grid li span {
        font-size: 9px !important;
        line-height: 1.3 !important;
    }
    
    /* Reducir tamaños en Tarifas */
    .pdf-modal-body .pdf-pricing-subtitle {
        font-size: 10px !important;
        margin-bottom: 6px !important;
    }
    
    .pdf-modal-body .pdf-pricing-alert {
        font-size: 9px !important;
        padding: 6px 8px !important;
        margin-bottom: 8px !important;
    }
    
    .pdf-modal-body .pdf-pricing-category {
        font-size: 10px !important;
        padding: 4px 10px !important;
        margin-bottom: 6px !important;
    }
    
    .pdf-modal-body .pdf-price-row {
        padding: 8px 10px !important;
        gap: 8px !important;
        margin-bottom: 6px !important;
    }
    
    .pdf-modal-body .pdf-price-row span {
        font-size: 10px !important;
        line-height: 1.4 !important;
    }
    
    .pdf-modal-body .pdf-price-row .price-subtitle {
        font-size: 8px !important;
        margin-top: 1px !important;
    }
    
    .pdf-modal-body .pdf-price-row strong {
        font-size: 15px !important;
        font-weight: 800 !important;
        padding: 6px 12px !important;
        border-radius: 15px !important;
        border: 1px solid #fed7aa !important;
        gap: 2px !important;
    }
    
    .pdf-modal-body .pdf-price-row strong::before {
        font-size: 11px !important;
    }
    
    .pdf-modal-body .pdf-note {
        font-size: 9px !important;
        padding: 6px 8px !important;
        margin-top: 8px !important;
    }
    
    .pdf-modal-body .pdf-note::before {
        font-size: 11px !important;
    }
    
    /* Reducir tamaños en Recomendaciones y Consideraciones */
    .pdf-modal-body .pdf-recomendaciones-content ul,
    .pdf-modal-body .pdf-consideraciones-content ul,
    .pdf-modal-body .pdf-recomendaciones-content ol,
    .pdf-modal-body .pdf-consideraciones-content ol {
        gap: 4px !important;
    }
    
    .pdf-modal-body .pdf-recomendaciones-content li,
    .pdf-modal-body .pdf-consideraciones-content li {
        padding: 4px 4px 4px 18px !important;
        font-size: 8px !important;
        line-height: 1.3 !important;
    }
    
    .pdf-modal-body .pdf-recomendaciones-content li::before,
    .pdf-modal-body .pdf-consideraciones-content li::before {
        font-size: 10px !important;
        left: 4px !important;
    }
    
    .pdf-modal-body .pdf-recomendaciones-content h3,
    .pdf-modal-body .pdf-consideraciones-content h3 {
        font-size: 11px !important;
        margin-bottom: 6px !important;
    }
    
    .pdf-modal-body .pdf-recomendaciones-content p,
    .pdf-modal-body .pdf-consideraciones-content p {
        font-size: 8px !important;
        line-height: 1.3 !important;
        margin-bottom: 4px !important;
    }
    
    /* Reducir tamaños en Mapa, Video y FAQ */
    .pdf-modal-body .pdf-mapa-video-vertical {
        gap: 10px !important;
    }
    
    .pdf-modal-body .pdf-mapa-box,
    .pdf-modal-body .pdf-video-box {
        padding: 10px !important;
    }
    
    .pdf-modal-body .pdf-map-minimal img {
        height: 150px !important;
        border-radius: 6px !important;
    }
    
    .pdf-modal-body .pdf-mapa-titulo {
        font-size: 12px !important;
        margin-bottom: 6px !important;
    }
    
    .pdf-modal-body .pdf-mapa-detalle {
        font-size: 9px !important;
    }
    
    .pdf-modal-body .pdf-video-container {
        padding: 10px !important;
        gap: 8px !important;
    }
    
    .pdf-modal-body .pdf-video-text {
        font-size: 9px !important;
        line-height: 1.3 !important;
    }
    
    .pdf-modal-body .pdf-video-link {
        font-size: 8px !important;
    }
    
    .pdf-modal-body .pdf-qr-video-image {
        width: 50px !important;
        height: 50px !important;
    }
    
    .pdf-modal-body .pdf-qr-video-label {
        font-size: 7px !important;
    }
    
    /* Reducir tamaños en FAQ */
    .pdf-modal-body .pdf-faq-column {
        padding: 10px !important;
    }
    
    .pdf-modal-body .pdf-faq-content ul {
        gap: 6px !important;
    }
    
    .pdf-modal-body .pdf-faq-content li {
        padding: 6px 6px 6px 20px !important;
        font-size: 9px !important;
        line-height: 1.3 !important;
    }
    
    .pdf-modal-body .pdf-faq-content li::before {
        font-size: 11px !important;
        left: 6px !important;
    }
    
    .pdf-modal-body .pdf-faq-content li strong {
        font-size: 10px !important;
        margin-bottom: 3px !important;
    }
    
    .pdf-modal-body .pdf-faq-content li .faq-answer,
    .pdf-modal-body .pdf-faq-content li p {
        font-size: 8px !important;
        line-height: 1.3 !important;
        margin-top: 2px !important;
    }
    
    /* Reducir tamaños en Políticas de Pago y Cuentas Bancarias */
    .pdf-modal-body .pdf-section-pagos {
        margin-bottom: 16px !important;
    }
    
    .pdf-modal-body .pdf-politicas-box {
        padding: 10px !important;
        margin-bottom: 10px !important;
    }
    
    .pdf-modal-body .pdf-politicas-title {
        font-size: 11px !important;
        margin-bottom: 6px !important;
    }
    
    .pdf-modal-body .pdf-politicas-list {
        gap: 4px !important;
    }
    
    .pdf-modal-body .pdf-politicas-list li {
        font-size: 8px !important;
        line-height: 1.3 !important;
        padding-left: 14px !important;
        margin-bottom: 3px !important;
    }
    
    .pdf-modal-body .pdf-politicas-list li strong {
        font-size: 9px !important;
    }
    
    .pdf-modal-body .pdf-nota-importante {
        font-size: 8px !important;
        padding: 5px 8px !important;
        margin-top: 6px !important;
    }
    
    .pdf-modal-body .pdf-cuentas-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    
    .pdf-modal-body .pdf-cuenta-card {
        padding: 8px !important;
        border-radius: 6px !important;
    }
    
    .pdf-modal-body .pdf-cuenta-header {
        margin-bottom: 5px !important;
        padding-bottom: 4px !important;
    }
    
    .pdf-modal-body .pdf-cuenta-header strong {
        font-size: 9px !important;
        line-height: 1.2 !important;
    }
    
    .pdf-modal-body .pdf-swift {
        font-size: 7px !important;
        margin-top: 2px !important;
    }
    
    .pdf-modal-body .pdf-cuenta-body {
        gap: 3px !important;
    }
    
    .pdf-modal-body .pdf-titular {
        font-size: 9px !important;
        margin-bottom: 4px !important;
        padding-bottom: 3px !important;
    }
    
    .pdf-modal-body .pdf-moneda-title {
        font-size: 8px !important;
        margin: 4px 0 3px 0 !important;
    }
    
    .pdf-modal-body .pdf-cuenta-body p {
        font-size: 8px !important;
        line-height: 1.3 !important;
        margin-bottom: 3px !important;
    }
    
    .pdf-modal-body .pdf-cuenta-body p strong {
        font-size: 8px !important;
    }
    
    .pdf-modal-body .pdf-contacto-box {
        padding: 10px !important;
        margin-top: 10px !important;
    }
    
    .pdf-modal-body .pdf-contacto-box h3 {
        font-size: 11px !important;
        margin-bottom: 6px !important;
    }
    
    .pdf-modal-body .pdf-contacto-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
    }
    
    .pdf-modal-body .pdf-contacto-grid p {
        font-size: 8px !important;
        line-height: 1.3 !important;
    }
    
    .pdf-modal-body .pdf-contacto-grid p strong {
        font-size: 9px !important;
    }
    
    .pdf-modal-body .pdf-gallery-minimal {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .pdf-modal-body .pdf-cuentas-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    /* Eliminar reglas que rompen el layout */
    .pdf-header-content {
        flex-direction: column;
        gap: 12px;
    }
    
    .pdf-qr-codes {
        flex-direction: row;
    }
    
    .pdf-qr-item {
        padding: 6px;
    }
    
    .pdf-qr-image {
        width: 60px;
        height: 60px;
    }
    
    .pdf-incluye-grid ul,
    .pdf-gallery-minimal,
    .pdf-no-incluye-grid {
        grid-template-columns: 1fr;
    }
    
    .pdf-info-badges {
        flex-direction: column;
    }
    
    .pdf-video-container {
        flex-direction: column;
        text-align: center;
    }
}

@media print {
    .pdf-qr-codes {
        display: flex !important;
    }
    
    .pdf-qr-item {
        background: white !important;
        border: 1px solid #e5e7eb !important;
    }
    
    .pdf-barcode {
        display: flex !important;
    }
    
    .pdf-barcode-image {
        opacity: 1 !important;
    }
    
    .pdf-no-incluye-item {
        border-bottom: 1px solid #fee2e2 !important;
    }
    
    .pdf-badge-item {
        background: #fffbeb !important;
        border-color: #fbbf24 !important;
    }
    
    .pdf-timeline-enhanced h3 {
        background: #fffbeb !important;
        border-color: #fbbf24 !important;
    }
    
    .pdf-section-recomendaciones {
        background: #fef3c7 !important;
        border-color: #fbbf24 !important;
    }
    
    .pdf-recomendaciones-content li {
        background: #fffbeb !important;
        border-color: #fbbf24 !important;
    }
    
    .pdf-section-consideraciones {
        background: #fef2f2 !important;
        border-color: #fb923c !important;
    }
    
    .pdf-consideraciones-content li {
        background: #fff7ed !important;
        border-color: #fb923c !important;
    }
    
    .pdf-section-faq {
        background: #eff6ff !important;
        border-color: #60a5fa !important;
    }
    
    .pdf-faq-content h3 {
        background: #dbeafe !important;
        border-color: #3b82f6 !important;
    }
    
    .pdf-section-video {
        background: #f0f9ff !important;
        border-color: #38bdf8 !important;
    }
    
    .pdf-video-container {
        background: white !important;
        border-color: #3b82f6 !important;
    }
    
    .pdf-video-qr {
        background: white !important;
        border-color: #3b82f6 !important;
    }
    
    /* Ocultar emojis en impresión - REFUERZO FINAL */
    .pdf-title-icon,
    .pdf-badge-icon {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        font-size: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
}
