/**
 * Estilos para Planes Turísticos - MTZ Slider
 */

/* Fuente Poppins */
.mtz-tourist-plan-wrapper,
.mtz-tourist-plan-wrapper *,
.mtz-tourist-plans-archive,
.mtz-tourist-plans-archive * {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

/* ========================================
   SINGLE PLAN TEMPLATE
   ======================================== */

.mtz-tourist-plan-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box; /* Asegurar que el padding se incluya en el max-width */
}

/* En pantallas grandes, asegurar que el ancho sea fijo y consistente */
@media (min-width: 1240px) {
    .mtz-tourist-plan-wrapper {
        max-width: 1200px;
        width: 1200px; /* Ancho fijo en pantallas grandes */
        padding: 20px;
        box-sizing: border-box;
    }

    /* Asegurar que el contenido interno siempre respete el ancho del wrapper */
    .mtz-tourist-plan-single {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .mtz-plan-content-container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

.mtz-tourist-plan-single {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.mtz-plan-featured-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.mtz-plan-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mtz-plan-banner {
    width: 100%;
    height: 60vh;
    margin: 30px 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mtz-plan-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .mtz-plan-banner {
        height: 40vh;
        margin: 20px 0;
        border-radius: 8px;
    }
}

.mtz-plan-badge-featured {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #f56e28 0%, #ff8c42 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mtz-plan-badge-featured i {
    width: 16px;
    height: 16px;
}

.mtz-plan-content-container {
    padding: 40px;
    box-sizing: border-box;
    /* El wrapper tiene 1200px total con padding de 20px a cada lado (40px total) */
    /* Por lo tanto, el ancho útil del contenido dentro del wrapper es: 1200px - 40px = 1160px */
    /* Este contenedor usa parte de ese espacio con su propio padding de 40px */
}

.mtz-plan-header {
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
}

.mtz-plan-title-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.mtz-plan-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.2;
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.mtz-plan-title-separator {
    color: #999;
    font-weight: 400;
    margin: 0 5px;
}

.mtz-plan-destination-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-weight: 500;
    font-size: 1.8rem;
}

.mtz-plan-destination-title i {
    width: 20px;
    height: 20px;
    color: #f56e28;
    flex-shrink: 0;
}

.mtz-plan-badge-featured-header {
    background: linear-gradient(135deg, #f56e28 0%, #ff8c42 100%);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.mtz-plan-badge-featured-header i {
    width: 18px;
    height: 18px;
}

.mtz-plan-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}

.mtz-plan-duration,
.mtz-plan-taxonomies {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 16px;
}

.mtz-plan-duration i,
.mtz-plan-taxonomies i {
    width: 18px;
    height: 18px;
    color: #f56e28;
}

.mtz-plan-duration i[data-lucide="sun"] {
    color: #ffc107;
}

.mtz-plan-duration i[data-lucide="moon"] {
    color: #6c757d;
}

.mtz-plan-duration-price {
    margin-left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    font-size: 16px;
    white-space: nowrap;
}

.mtz-plan-original-price-striked {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

.mtz-plan-discount-info {
    color: #dc3545;
    font-weight: 500;
    margin-right: 10px;
}

.mtz-plan-final-price {
    color: #dc3545;
    font-weight: 600;
}

.mtz-plan-pricing {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

/* En pantallas grandes, asegurar que el pricing siempre ocupe el mismo ancho */
@media (min-width: 1240px) {
    .mtz-plan-pricing {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

.mtz-plan-price-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

.mtz-plan-price-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-right: 10px;
}

.mtz-plan-current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f56e28;
}

.mtz-plan-old-price {
    font-size: 1.5rem;
    color: #999;
    text-decoration: line-through;
}

.mtz-plan-original-price-pricing {
    font-size: 1.8rem;
    color: #ccc;
    text-decoration: line-through;
    font-weight: 500;
}

.mtz-plan-final-price-pricing {
    font-size: 2.5rem;
    font-weight: 700;
    color: #dc3545;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.mtz-plan-final-price-pricing i {
    width: 24px;
    height: 24px;
    color: #dc3545;
}

/* Fecha de vigencia del descuento */
.mtz-plan-discount-validity {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.9em;
    color: #666;
}

.mtz-plan-discount-validity i[data-lucide="calendar"] {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.mtz-plan-discount-badge {
    background: #dc3545;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Línea de pasajeros */
.mtz-plan-passengers-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

.mtz-plan-passengers-line i {
    width: 20px;
    height: 20px;
    color: #f56e28;
    flex-shrink: 0;
}

.mtz-plan-booking-wrapper {
    margin-top: 20px;
}

.mtz-plan-booking-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f56e28 0%, #ff8c42 100%);
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(245, 110, 40, 0.3);
}

.mtz-plan-booking-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 110, 40, 0.4);
    color: #fff;
}

.mtz-plan-booking-button i {
    width: 20px;
    height: 20px;
}

.mtz-plan-content {
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.mtz-plan-content h2,
.mtz-plan-content h3,
.mtz-plan-content h4 {
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.mtz-plan-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* En pantallas grandes, siempre mostrar 3 columnas con el mismo ancho */
@media (min-width: 992px) {
    .mtz-plan-details {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    /* Asegurar que cada sección ocupe exactamente 1/3 del ancho */
    .mtz-plan-details .mtz-plan-section {
        width: 100%;
        max-width: 100%;
        min-width: 0; /* Permite que se contraiga si es necesario */
    }
}

.mtz-plan-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #f56e28;
}

.mtz-plan-section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mtz-plan-section-title i {
    width: 24px;
    height: 24px;
    color: #f56e28;
}

.mtz-plan-includes .mtz-plan-section-title i {
    color: #28a745;
}

.mtz-plan-not-includes .mtz-plan-section-title i {
    color: #dc3545;
}

.mtz-plan-requirements .mtz-plan-section-title i {
    color: #007bff;
}

.mtz-plan-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mtz-plan-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
    line-height: 1.6;
}

/* Checkmark para "Incluye" */
.mtz-plan-includes .mtz-plan-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 18px;
    line-height: 1.2;
}

/* X para "No incluye" */
.mtz-plan-not-includes .mtz-plan-list li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: bold;
    font-size: 18px;
    line-height: 1.2;
}

/* Checkmark para "Requisitos" también */
.mtz-plan-requirements .mtz-plan-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 18px;
    line-height: 1.2;
}

/* ========================================
   ARCHIVE TEMPLATE
   ======================================== */

.mtz-tourist-plans-archive {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0px 20px;
}

.mtz-archive-header {
    text-align: center;
    margin-bottom: 50px;
}

.mtz-archive-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
}

.mtz-archive-description {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.mtz-archive-search {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.mtz-archive-search .mtz-plans-search-wrapper {
    margin: 0 auto;
}

.mtz-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.mtz-plan-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.mtz-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.mtz-plan-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.mtz-plan-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.mtz-plan-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.mtz-plan-card:hover .mtz-plan-thumbnail {
    transform: scale(1.1);
}

.mtz-plan-card-badge-featured,
.mtz-plan-card-badge-discount {
    position: absolute;
    top: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 1;
}

.mtz-plan-card-badge-featured {
    left: 15px;
    background: linear-gradient(135deg, #f56e28 0%, #ff8c42 100%);
    color: #fff;
}

.mtz-plan-card-badge-featured i {
    width: 14px;
    height: 14px;
}

.mtz-plan-card-badge-discount {
    right: 15px;
    background: #dc3545;
    color: #fff;
}

/* Badge "OFERTA" - Esquina superior izquierda */
.mtz-plan-card-badge-offer {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #F56E28;
    color: #fff;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Ajuste para cuando hay badge de descuento también */
.mtz-plan-card-image-shortcode {
    position: relative;
}

.mtz-plan-card-image-shortcode .mtz-plan-card-badge-offer {
    top: 12px;
    left: 12px;
    background: #F56E28;
    color: #fff;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.mtz-plan-card-image-shortcode .mtz-plan-card-badge-discount {
    top: 15px;
    right: 15px;
}

.mtz-plan-card-image-shortcode .mtz-plan-featured-badge {
    top: 12px;
    right: 12px;
}

.mtz-plan-card-content {
    padding: 25px;
}

.mtz-plan-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.mtz-plan-card-meta {
    margin-bottom: 10px;
}

.mtz-plan-card-duration {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 14px;
}

.mtz-plan-card-duration i {
    width: 16px;
    height: 16px;
    color: #f56e28;
}

.mtz-plan-card-destinations {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.mtz-plan-card-destinations i {
    width: 16px;
    height: 16px;
    color: #f56e28;
}

.mtz-plan-card-excerpt {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.mtz-plan-card-pricing {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.mtz-plan-card-current-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f56e28;
}

.mtz-plan-card-old-price {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
}

.mtz-plan-card-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f56e28;
    font-weight: 600;
    font-size: 16px;
    transition: gap 0.2s;
}

.mtz-plan-card:hover .mtz-plan-card-read-more {
    gap: 12px;
}

.mtz-plan-card-read-more i {
    width: 18px;
    height: 18px;
    transition: transform 0.2s;
}

.mtz-plan-card:hover .mtz-plan-card-read-more i {
    transform: translateX(5px);
}

.mtz-no-plans {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 18px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .mtz-plan-content-container {
        padding: 25px 20px;
    }

    .mtz-plan-title {
        font-size: 2rem;
    }

    .mtz-plan-pricing {
        padding: 20px;
    }

    .mtz-plan-current-price {
        font-size: 2rem;
    }

    /* En pantallas medianas y móviles, mantener 1 columna */
    .mtz-plan-details {
        grid-template-columns: 1fr;
    }

    .mtz-plans-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mtz-archive-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .mtz-plan-title {
        font-size: 1.6rem;
    }

    .mtz-plan-destination-title {
        font-size: 1.3rem;
    }

    .mtz-plan-destination-title i {
        width: 18px;
        height: 18px;
    }

    .mtz-plan-current-price {
        font-size: 1.6rem;
    }

    .mtz-plan-booking-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    .mtz-plan-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
    }

    .mtz-plan-gallery-item {
        aspect-ratio: 1 / 1; /* Mantener cuadrado en móviles pequeños */
    }
}

/* ========================================
   GALERÍA DE IMÁGENES
   ======================================== */

.mtz-plan-gallery {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

.mtz-plan-gallery-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 30px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mtz-plan-gallery-title i {
    width: 28px;
    height: 28px;
    color: #f56e28;
}

.mtz-plan-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.mtz-plan-gallery-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Mantener ratio 1:1 (cuadrado perfecto) */
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    background: #f0f0f0;
}

.mtz-plan-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.mtz-plan-gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegurar que la imagen cubra todo el espacio manteniendo proporción */
    border-radius: 12px;
    transition: transform 0.3s;
    display: block;
}

.mtz-plan-gallery-item:hover img {
    transform: scale(1.1);
}

/* ========================================
   LIGHTBOX
   ======================================== */

.mtz-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.mtz-lightbox.show {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.mtz-lightbox-close,
.mtz-lightbox-prev,
.mtz-lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    z-index: 1000000;
}

.mtz-lightbox-close:hover,
.mtz-lightbox-prev:hover,
.mtz-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.mtz-lightbox-close {
    top: 20px;
    right: 20px;
}

.mtz-lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.mtz-lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.mtz-lightbox-close i,
.mtz-lightbox-prev i,
.mtz-lightbox-next i {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

.mtz-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mtz-lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.mtz-lightbox-caption {
    color: #fff;
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
    max-width: 800px;
}

.mtz-lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

/* Responsive Lightbox */
@media (max-width: 768px) {
    .mtz-plan-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .mtz-plan-gallery-item {
        aspect-ratio: 1 / 1; /* Mantener cuadrado en móviles */
    }

    .mtz-lightbox-close,
    .mtz-lightbox-prev,
    .mtz-lightbox-next {
        width: 40px;
        height: 40px;
    }

    .mtz-lightbox-close {
        top: 10px;
        right: 10px;
    }

    .mtz-lightbox-prev {
        left: 10px;
    }

    .mtz-lightbox-next {
        right: 10px;
    }

    .mtz-lightbox-content img {
        max-height: 80vh;
    }

    .mtz-lightbox-counter {
        bottom: 20px;
        font-size: 16px;
        padding: 8px 16px;
    }
}

/* ========================================
   PANEL PÚBLICO DE TODOS LOS PLANES
   ======================================== */

.mtz-all-plans-display-wrapper {
    width: 100%;
    min-height: 100vh;
    background: #f9fafb;
    padding: 40px 20px;
    box-sizing: border-box;
}

.mtz-all-plans-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
}

.mtz-all-plans-header {
    text-align: center;
    margin-bottom: 40px;
}

.mtz-all-plans-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px 0;
    font-family: 'Poppins', sans-serif;
}

.mtz-all-plans-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.mtz-all-plans-search-section {
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.mtz-all-plans-grid-section {
    width: 100%;
}

/* Grid de 3 columnas para el panel público */
.mtz-all-plans-grid-section .mtz-plans-shortcode-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 30px auto;
    max-width: 1200px;
    width: 100%;
    justify-content: center;
    justify-items: stretch;
    box-sizing: border-box;
    padding: 0;
}

/* Responsive: 2 columnas en tablets */
@media (max-width: 991px) {
    .mtz-all-plans-grid-section .mtz-plans-shortcode-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0;
    }
}

/* Responsive: 1 columna en móviles */
@media (max-width: 767px) {
    .mtz-all-plans-grid-section .mtz-plans-shortcode-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }
}

/* Estilos para las tarjetas en el panel público */
.mtz-all-plans-grid-section .mtz-plan-card-shortcode {
    width: 100%;
    max-width: 100%;
    min-height: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    overflow: visible !important;
    padding-bottom: 0;
    align-items: stretch;
}

.mtz-all-plans-grid-section .mtz-plan-card-link {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: auto;
    text-decoration: none;
    color: inherit;
    overflow: visible;
}

.mtz-all-plans-grid-section .mtz-plan-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f0f0f0;
    border-radius: 12px 12px 0 0;
}

.mtz-all-plans-grid-section .mtz-plan-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.mtz-all-plans-grid-section .mtz-plan-card-shortcode:hover .mtz-plan-card-image img {
    transform: scale(1.1);
}

.mtz-all-plans-grid-section .mtz-plan-card-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.mtz-all-plans-grid-section .mtz-plan-card-no-image i {
    width: 64px;
    height: 64px;
    color: #fff;
}

.mtz-all-plans-grid-section .mtz-plan-featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(59, 130, 246, 0.95);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
}

.mtz-all-plans-grid-section .mtz-plan-featured-badge i {
    width: 14px;
    height: 14px;
    color: #fff;
}

/* Badge "OFERTA" para el grid de todos los planes */
.mtz-all-plans-grid-section .mtz-plan-card-badge-offer {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #F56E28;
    color: #fff;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.mtz-all-plans-grid-section .mtz-plan-card-image-shortcode .mtz-plan-card-badge-offer {
    top: 12px;
    left: 12px;
}

.mtz-all-plans-grid-section .mtz-plan-card-content {
    padding: 20px 20px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: auto;
    overflow: visible;
    box-sizing: border-box;
    text-align: center;
    align-items: center;
}

.mtz-all-plans-grid-section .mtz-plan-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.3;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    width: 100%;
}

.mtz-all-plans-grid-section .mtz-plan-card-destination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #666;
    font-size: 14px;
    margin-bottom: 4px;
}

.mtz-all-plans-grid-section .mtz-plan-card-destination i {
    width: 16px;
    height: 16px;
    color: #666;
}

.mtz-all-plans-grid-section .mtz-plan-card-duration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #666;
    font-size: 14px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.mtz-all-plans-grid-section .mtz-duration-icon {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mtz-all-plans-grid-section .mtz-duration-icon i {
    width: 16px;
    height: 16px;
}

.mtz-all-plans-grid-section .mtz-duration-icon i[data-lucide="sun"] {
    color: #ffc107;
}

.mtz-all-plans-grid-section .mtz-duration-icon i[data-lucide="moon"] {
    color: #6c757d;
}

.mtz-all-plans-grid-section .mtz-duration-icon i[data-lucide="users"] {
    color: #3b82f6;
}

.mtz-all-plans-grid-section .mtz-duration-separator {
    color: #d1d5db;
    margin: 0 4px;
}

.mtz-all-plans-grid-section .mtz-plan-card-hotel {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 14px;
    margin-bottom: 4px;
}

.mtz-all-plans-grid-section .mtz-plan-card-hotel i {
    width: 16px;
    height: 16px;
    color: #666;
}

.mtz-all-plans-grid-section .mtz-plan-card-pricing {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    align-items: center;
    width: 100%;
}

.mtz-all-plans-grid-section .mtz-plan-price-original {
    font-size: 1rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.mtz-all-plans-grid-section .mtz-plan-price-discount {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mtz-all-plans-grid-section .mtz-discount-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #dc3545;
    color: #fff;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.mtz-all-plans-grid-section .mtz-plan-price-final {
    font-size: 1.6rem;
    font-weight: 700;
    color: #dc3545;
}

.mtz-all-plans-grid-section .mtz-plan-price-simple {
    font-size: 1.6rem;
    font-weight: 700;
    color: #f56e28;
}

.mtz-all-plans-grid-section .mtz-plan-card-actions {
    margin-top: 15px;
    padding-top: 8px;
    padding-bottom: 0;
    width: 100%;
    box-sizing: border-box;
}

.mtz-all-plans-grid-section .mtz-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    overflow: visible;
}

.mtz-all-plans-grid-section .mtz-btn-primary {
    background: linear-gradient(135deg, #f56e28 0%, #ff8c42 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(245, 110, 40, 0.3);
}

.mtz-all-plans-grid-section .mtz-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 110, 40, 0.4);
    color: #fff;
    text-decoration: none;
}

.mtz-all-plans-grid-section .mtz-no-plans {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
    font-size: 1.2rem;
}

/* Responsive para el panel público */
@media (max-width: 991px) {
    .mtz-all-plans-title {
        font-size: 2rem;
    }

    .mtz-all-plans-subtitle {
        font-size: 1rem;
    }

    .mtz-all-plans-display-wrapper {
        padding: 30px 15px;
    }
}

@media (max-width: 767px) {
    .mtz-all-plans-title {
        font-size: 1.75rem;
    }

    .mtz-all-plans-header {
        margin-bottom: 30px;
    }

    .mtz-all-plans-search-section {
        margin-bottom: 30px;
    }
}

/* ========================================
   SHORTCODE PLANESTURISTICOS
   ======================================== */

.mtz-plans-shortcode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 280px);
    gap: 30px;
    margin: 30px auto;
    max-width: 1200px;
    width: 100%;
    justify-content: center;
    justify-items: center;
    box-sizing: border-box;
    padding: 0 20px;
}

/* Máximo 5 columnas - tamaño fijo basado en 5 cards por línea */
@media (min-width: 1600px) {
    .mtz-plans-shortcode-grid {
        grid-template-columns: repeat(5, calc((1200px - 120px) / 5)); /* 1200px - (4 gaps * 30px) / 5 cards */
        gap: 30px;
        max-width: 1200px;
    }

    .mtz-plan-card-shortcode {
        width: 100%;
        max-width: calc((1200px - 120px) / 5);
    }
}

@media (min-width: 1400px) and (max-width: 1599px) {
    .mtz-plans-shortcode-grid {
        grid-template-columns: repeat(auto-fit, calc((1200px - 90px) / 4)); /* 4 columnas máximo */
        gap: 30px;
        max-width: 1200px;
    }

    .mtz-plan-card-shortcode {
        width: 100%;
        max-width: calc((1200px - 90px) / 4);
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .mtz-plans-shortcode-grid {
        grid-template-columns: repeat(auto-fit, calc((1200px - 60px) / 3)); /* 3 columnas máximo */
        gap: 30px;
        max-width: 1200px;
    }

    .mtz-plan-card-shortcode {
        width: 100%;
        max-width: calc((1200px - 60px) / 3);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .mtz-plans-shortcode-grid {
        grid-template-columns: repeat(auto-fit, calc((100% - 60px) / 3)); /* 3 columnas máximo */
        gap: 30px;
        max-width: 1200px;
    }

    .mtz-plan-card-shortcode {
        width: 100%;
        max-width: calc((100% - 60px) / 3);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .mtz-plans-shortcode-grid {
        grid-template-columns: repeat(auto-fit, calc((100% - 40px) / 3)); /* 3 columnas máximo */
        gap: 20px;
        max-width: 1200px;
    }

    .mtz-plan-card-shortcode {
        width: 100%;
        max-width: calc((100% - 40px) / 3);
    }
}

@media (max-width: 767px) {
    .mtz-plans-shortcode-grid {
        grid-template-columns: repeat(auto-fit, 280px); /* Tamaño fijo en móviles */
        gap: 20px;
        max-width: 1200px;
    }

    .mtz-plan-card-shortcode {
        width: 280px;
        max-width: 280px;
    }
}

@media (max-width: 576px) {
    .mtz-plans-shortcode-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 1200px;
        padding: 0 15px;
    }

    .mtz-plan-card-shortcode {
        width: 100%;
        max-width: 100%;
    }
}

.mtz-plan-card-shortcode {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 280px;
    max-width: 280px;
}

/* En el panel público, permitir overflow visible para evitar cortes */
.mtz-all-plans-grid-section .mtz-plan-card-shortcode {
    overflow: visible !important;
}

.mtz-plan-card-shortcode:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.mtz-plan-card-link-wrapper-shortcode {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mtz-plan-card-image-shortcode-link {
    text-decoration: none;
    display: block;
}

.mtz-plan-card-image-shortcode {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Imagen cuadrada 1:1 */
    overflow: hidden;
    background: #f0f0f0;
    border-radius: 12px 12px 0 0; /* Esquinas redondeadas en la parte superior */
}

.mtz-plan-card-banner-shortcode {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s;
    border-radius: 12px 12px 0 0; /* Esquinas redondeadas en la parte superior */
    min-width: 100%;
    min-height: 100%;
}

.mtz-plan-card-shortcode:hover .mtz-plan-card-banner-shortcode {
    transform: scale(1.1);
}

.mtz-plan-card-content-shortcode {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: space-between; /* Distribuir contenido verticalmente */
}

.mtz-plan-card-title-link-shortcode {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    text-align: center;
}

.mtz-plan-card-title-link-shortcode:hover .mtz-plan-card-title-shortcode {
    color: #f56e28;
}

.mtz-plan-card-title-shortcode {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.3;
    transition: color 0.3s;
    text-align: center;
}

.mtz-plan-card-duration-shortcode {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.mtz-plan-card-duration-shortcode i[data-lucide="sun"] {
    color: #ffc107;
    width: 16px;
    height: 16px;
}

.mtz-plan-card-duration-shortcode i[data-lucide="moon"] {
    color: #6c757d;
    width: 16px;
    height: 16px;
}

/* Línea de pasajeros en los cards */
.mtz-plan-card-passengers-shortcode {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.mtz-plan-card-passengers-shortcode i {
    width: 16px;
    height: 16px;
    color: #f56e28;
    flex-shrink: 0;
}

.mtz-plan-card-pricing-shortcode {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    width: 100%;
    text-align: center;
}

.mtz-plan-card-price-original-with-discount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.mtz-plan-card-price-original-shortcode {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
    text-align: center;
}

.mtz-plan-card-discount-shortcode {
    background: #dc3545;
    color: #fff;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    width: fit-content;
    text-align: center;
    white-space: nowrap;
}

.mtz-plan-card-price-original-shortcode {
    text-align: center;
}

.mtz-plan-card-price-final-shortcode {
    font-size: 1.6rem;
    font-weight: 700;
    color: #f56e28;
    text-align: center;
}

.mtz-plan-card-price-simple-shortcode {
    font-size: 1.6rem;
    font-weight: 700;
    color: #f56e28;
    text-align: center;
}

.mtz-plan-card-booking-shortcode {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: center;
}

.mtz-plan-card-booking-button-shortcode {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f56e28 0%, #ff8c42 100%);
    color: #fff;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(245, 110, 40, 0.3);
    width: 100%;
    justify-content: center;
}

.mtz-plan-card-booking-button-shortcode:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 110, 40, 0.4);
    color: #fff;
}

.mtz-plan-card-booking-button-shortcode i {
    width: 18px;
    height: 18px;
    transition: transform 0.2s;
}

.mtz-plan-card-shortcode:hover .mtz-plan-card-booking-button-shortcode i {
    transform: translateX(5px);
}

/* ========================================
   CARRUSEL PLANESTURISTICOS_CARRUSEL
   ======================================== */

.mtz-plans-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 30px auto;
    padding: 10px 60px;
    box-sizing: border-box;
    overflow: visible; /* Permitir que los cards se muestren completos */
}

.mtz-plans-carousel-container {
    overflow-x: hidden; /* Solo ocultar overflow horizontal */
    overflow-y: visible; /* Permitir overflow vertical para mostrar cards completos */
    position: relative;
    width: 100%;
}

.mtz-plans-carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
    align-items: stretch; /* Estirar todos los cards a la misma altura */
}

.mtz-plan-card-carousel {
    flex: 0 0 280px;
    width: 280px;
    max-width: 280px;
    min-width: 280px;
    display: flex; /* Usar flex para estirar */
    align-items: stretch; /* Estirar al mismo alto */
}

/* Asegurar que los cards del carrusel mantengan las sombras y altura uniforme */
.mtz-plan-card-carousel .mtz-plan-card-link-wrapper-shortcode {
    width: 100%;
    height: 100%; /* Usar 100% para que todos tengan la misma altura */
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.mtz-plan-card-carousel:hover .mtz-plan-card-link-wrapper-shortcode {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Asegurar esquinas redondeadas en las imágenes del carrusel */
.mtz-plan-card-carousel .mtz-plan-card-image-shortcode {
    border-radius: 12px 12px 0 0; /* Esquinas redondeadas en la parte superior */
}

.mtz-plan-card-carousel .mtz-plan-card-banner-shortcode {
    border-radius: 12px 12px 0 0; /* Esquinas redondeadas en la parte superior */
}

/* Botones de navegación */
.mtz-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: #333333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    padding: 0;
}

.mtz-carousel-nav:hover:not(:disabled) {
    background: #3b82f6;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.mtz-carousel-nav:active:not(:disabled) {
    transform: translateY(-50%) scale(0.95);
}

.mtz-carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #f3f4f6;
    color: #9ca3af;
}

.mtz-carousel-nav-prev {
    left: 0;
}

.mtz-carousel-nav-next {
    right: 0;
}

.mtz-carousel-nav i {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

/* Responsive */
@media (max-width: 768px) {
    .mtz-plans-carousel-wrapper {
        padding: 0 50px;
    }

    .mtz-plan-card-carousel {
        flex: 0 0 260px;
        width: 260px;
        max-width: 260px;
        min-width: 260px;
    }

    .mtz-carousel-nav {
        width: 40px;
        height: 40px;
    }

    .mtz-carousel-nav i {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .mtz-plans-carousel-wrapper {
        padding: 0 45px;
    }

    .mtz-plan-card-carousel {
        flex: 0 0 240px;
        width: 240px;
        max-width: 240px;
        min-width: 240px;
    }

    .mtz-carousel-nav {
        width: 36px;
        height: 36px;
    }

    .mtz-carousel-nav i {
        width: 18px;
        height: 18px;
    }
}

/* ========================================
   BUSCADOR DE PLANES [buscadorplanes]
   ======================================== */

.mtz-plans-search-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    box-sizing: border-box;
    position: relative; /* Contenedor relativo para posicionar resultados */
}

.mtz-search-bar-container {
    display: flex;
    gap: 12px;
    margin-bottom: 0; /* Eliminar margen inferior */
    align-items: center;
    position: relative;
    z-index: 100; /* Asegurar que el buscador esté sobre otros elementos */
}

.mtz-search-input {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid #87878d !important;

    border-radius: 10px !important;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #333333;
}

.mtz-search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.mtz-search-button {
    padding: 16px 12px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    min-width: 48px;
    height: 48px;
}

.mtz-search-button:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.mtz-search-button i {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

.mtz-search-results-container {
    position: absolute;
    top: 100%;
    left: 0; /* Alinear desde el borde izquierdo del wrapper */
    right: 0; /* Alinear hasta el borde derecho del wrapper */
    width: 100%; /* Ocupar el ancho completo del wrapper */
    margin-top: 12px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    max-height: 600px;
    overflow-y: auto;
    z-index: 99; /* Debajo del buscador pero sobre el contenido */
    border: 2px solid #e5e7eb;
    display: none; /* Oculto por defecto */
    text-align: left; /* Alinear contenido a la izquierda */
}

.mtz-search-results-container.has-results {
    display: block; /* Mostrar cuando hay resultados */
}

.mtz-search-loading,
.mtz-search-no-results,
.mtz-search-error {
    text-align: left;
    padding: 40px 20px;
    color: #666666;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
}

.mtz-search-loading i {
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.mtz-search-results-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mtz-search-result-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.mtz-search-result-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
    text-decoration: none;
    color: inherit;
}

.mtz-search-result-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mtz-search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badge "OFERTA" en resultados de búsqueda */
.mtz-search-result-image .mtz-plan-card-badge-offer {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #F56E28;
    color: #fff;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.mtz-search-result-no-image {
    background: #f9fafb;
    color: #9ca3af;
}

.mtz-search-result-no-image i {
    width: 40px;
    height: 40px;
    stroke-width: 1.5;
}

.mtz-search-result-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    align-items: flex-start;
}

.mtz-search-result-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333333;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
    justify-content: flex-start;
}

.mtz-search-result-title i {
    width: 20px;
    height: 20px;
    color: #3b82f6;
    flex-shrink: 0;
}

/* Estilos para resultados de destino */
.mtz-search-result-destination-item {
    border-left: 4px solid #3b82f6;
}

.mtz-search-result-description {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 4px;
}

.mtz-search-result-plans-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
}

.mtz-plans-count-number {
    color: #3b82f6;
    font-weight: 600;
}

.mtz-plans-count-label {
    color: #6b7280;
}

.mtz-search-result-destination {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666666;
    font-size: 14px;
    justify-content: flex-start;
}

.mtz-search-result-destination i {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    color: #3b82f6;
}

/* Duración en resultados de búsqueda */
.mtz-search-result-duration {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666666;
    font-size: 14px;
    justify-content: flex-start;
    margin-bottom: 4px;
}

.mtz-search-result-duration i[data-lucide="sun"] {
    width: 16px;
    height: 16px;
    color: #ffc107;
}

.mtz-search-result-duration i[data-lucide="moon"] {
    width: 16px;
    height: 16px;
    color: #6c757d;
}

/* Pasajeros en resultados de búsqueda */
.mtz-search-result-passengers {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666666;
    font-size: 14px;
    justify-content: flex-start;
    margin-bottom: 4px;
}

.mtz-search-result-passengers i {
    width: 16px;
    height: 16px;
    color: #f56e28;
    flex-shrink: 0;
}

.mtz-search-result-pricing {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: auto;
    align-items: flex-start;
    text-align: left;
}

.mtz-search-result-price-original {
    font-size: 14px;
    color: #9ca3af;
    text-decoration: line-through;
}

.mtz-search-result-price-discount {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
}

.mtz-discount-badge {
    display: inline-block;
    padding: 4px 8px;
    background: #dc3545;
    color: #ffffff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.mtz-search-result-price-final {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc3545;
    font-family: 'Poppins', sans-serif;
}

.mtz-search-result-price-simple {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f56e28;
    font-family: 'Poppins', sans-serif;
}

/* Responsive */
@media (max-width: 768px) {
    .mtz-plans-search-wrapper {
        padding: 0 15px;
    }

    .mtz-search-bar-container {
        flex-direction: column;
    }

    .mtz-search-button {
        width: 100%;
    }

    .mtz-search-results-container {
        left: 15px;
        right: 15px;
    }

    .mtz-search-result-item {
        flex-direction: column;
    }

    .mtz-search-result-image {
        width: 100%;
        height: 200px;
    }
}