
 

.airlines-slider-container {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 20px 60px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    overflow: hidden;
}

/* SLIDER */
.airlines-slider {
    visibility: hidden;
}

    .airlines-slider.slick-initialized {
        visibility: visible;
    }

    /* SCROLL BONITO */
    .airlines-slider::-webkit-scrollbar {
        height: 6px;
    }

    .airlines-slider::-webkit-scrollbar-thumb {
        background: #d0d7e2;
        border-radius: 20px;
    }

/* CARD */
.airline-card {
    width: 240px;
    display: inline-block;
    vertical-align: top;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    margin-right: 15px;
    transition: .3s;
    overflow: hidden;
}

    /* HOVER */
    .airline-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,.08);
    }

/* ACTIVO */
.active-airline {
    border: 2px solid #0d6efd;
    box-shadow: 0 6px 18px rgba(13,110,253,.18);
}

/* LOGO */
.airline-logo {
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f1f1f1;
    padding: 15px;
}

/* PRECIOS */
.airline-prices {
    padding: 10px 15px;
}

/* FILAS */
.price-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
}

    .price-row:last-child {
        border-bottom: none;
    }

    .price-row strong {
        color: #0b3a75;
        font-size: 12px;
    }

/* FLECHAS */
/* FLECHAS SLICK */
.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff !important;
    border: none !important;
    z-index: 30;
    box-shadow: 0 4px 15px rgba(0,0,0,.15);
    transition: .3s;
    overflow: hidden;
}

/* IZQUIERDA */
.slick-prev {
    left: -15px;
}

/* DERECHA */
.slick-next {
    right: -15px;
}

    /* OCULTAR TEXTO Previous/Next */
    .slick-prev:before,
    .slick-next:before {
        font-family: 'slick';
        font-size: 26px;
        line-height: 1;
        opacity: 1;
        color: #0d6efd;
    }

    /* HOVER */
    .slick-prev:hover,
    .slick-next:hover {
        background: #0d6efd !important;
    }

        .slick-prev:hover:before,
        .slick-next:hover:before {
            color: #fff;
        }

    /* ELIMINA OUTLINE FEO */
    .slick-prev:focus,
    .slick-next:focus {
        outline: none;
    }

    /* BOTONES */
    .slick-prev:before,
    .slick-next:before {
        color: #0d6efd;
        font-size: 40px;
    }

    /* HOVER */
    .slick-prev:hover:before,
    .slick-next:hover:before {
        color: #0b3a75;
    }

.resultados-vuelos {
    position: sticky;
    bottom: 0;
    z-index: 50;
}

/* EFECTO HOVER EN PRECIO */
.price-row strong {
    color: #0b3a75;
    font-size: 12px;
    transition: .3s;
    cursor: pointer;
}

/* HOVER */
.price-row:hover strong {
    color: #dc3545;
    transform: scale(1.08);
}

/* HOVER EN TODA LA FILA */
.price-row:hover {
    background: #fff5f5;
    border-radius: 8px;
    padding-left: 8px;
    padding-right: 8px;
}

    .price-row:hover strong {
        color: #ff2b2b;
        text-shadow: 0 0 8px rgba(255,0,0,.25);
    }

.price-row {
    cursor: pointer;
    transition: .3s;
}

.airline-card:hover .airline-logo img {
    transform: scale(1.08);
}

.airline-logo img {
    transition: .3s;
}
/* OCULTAR SCROLL HORIZONTAL */
.airlines-wrapper,
.airlines-slider,
.slick-list,
.slick-track {
    overflow: hidden !important;
}
 

.resultados-vuelos {
    margin-top: 25px;
    margin-bottom: 20px;
}

/* CARD */
.flight-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 15px;
    min-height: 200px;
    position: relative;
    overflow: hidden;
    transition: all .3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

    /* HOVER */
    .flight-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 22px rgba(0,0,0,.10);
    }

/* CARD ACTIVA */
.active-card {
    background: linear-gradient(135deg,#0c2d5a,#0d4c92);
    color: #fff;
    border: none;
}

/* HEADER */
.card-header.headerVuelos {
    margin-bottom: 8px;
    padding: 2px;
}

.card-icon {
    font-size: 22px;
    margin-right: 8px;
    vertical-align: middle;
}

.card-title {
    font-size: 15px;
    font-weight: 600;
    vertical-align: middle;
}

/* SUBTITULO */
.card-subtitle {
    color: #888;
    font-size: 13px;
    margin-bottom: 15px;
}
  .card-subtitle.headerVuelos {
        margin-bottom: 8px;
        padding: 2px;
    }
.active-card .card-subtitle {
    color: #dbe8f7;
}

/* PRECIO */
.card-price {
    font-size: 20px;
    font-weight: bold;
    line-height: 8px;
    margin-bottom: 10px;
}

/* DURACION */
.card-duration {
    font-size: 10px;
    margin-bottom: 5px;
}

/* DIFERENCIA */
.card-difference {
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
}

.active-card .card-difference {
    color: #dbe8f7;
}

/* BOTON */
.card-button.headerVuelos {
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
}

/* LABEL */
.label-success {
    background: #2fb344;
    font-size: 11px;
    padding: 5px 8px;
    border-radius: 20px;
}

.contenedor-aerolineas {
    max-height: 300px; /* o el alto que necesites */
    overflow-y: auto; /* scroll vertical */
    overflow-x: hidden; /* evita scroll horizontal */
}

    .contenedor-aerolineas::-webkit-scrollbar {
        width: 6px;
    }

    .contenedor-aerolineas::-webkit-scrollbar-thumb {
        background-color: #ccc;
        border-radius: 4px;
    }

/* CONTENEDOR PRINCIPAL */
.switch-search-mode {
    width: 100%;
    max-width: 720px;
    margin: 30px auto 10px;
    background: #fff;
    border-radius: 18px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 18px rgba(0,0,0,.06);
    gap: 18px; /* ← separación entre botones */
}

    /* BOTONES */
    .switch-search-mode a {
        flex: 1;
        border: none;
        background: transparent;
        padding: 18px 20px;
        border-radius: 14px;
        font-size: 15px;
        font-weight: 600;
        color: #4b5563;
        cursor: pointer;
        position: relative;
        transition: all .25s ease;
    }

        /* HOVER */
        .switch-search-mode a:hover {
            background: #f6f3ff;
            color: #dc3545;
        }

        /* BOTÓN ACTIVO */
        .switch-search-mode a.active {
            background: #faf7ff;
            color: #dc3545;
        }

            /* LÍNEA INFERIOR MORADA */
            .switch-search-mode a.active::after {
                content: '';
                position: absolute;
                left: 18px;
                right: 18px;
                bottom: 6px;
                height: 3px;
                border-radius: 10px;
                background: #dc3545;
            }

    /* DIVISOR CENTRAL */
    .switch-search-mode .dividerheaderVuelos {
        width: 1px;
        height: 34px;
        background: #e5e7eb;
    }

/* RESPONSIVE */
@media(max-width:768px) {

    .switch-search-mode {
        flex-direction: column;
        gap: 12px;
    }

        .switch-search-mode .dividerheaderVuelos {
            display: none;
        }

        .switch-search-mode button {
            width: 100%;
        }
}


/* RESPONSIVE */
@media(max-width:991px) {

    .flight-card {
        min-height: auto;
    }

    .card-title {
        font-size: 20px;
    }

    .card-price {
        font-size: 13px;
    }
}

@media(max-width:767px) {

    .resultados-vuelos {
        margin-top: 15px;
    }

    .flight-card {
        padding: 18px;
    }

    .card-title {
        font-size: 20px;
    }

    .card-price {
        font-size: 10px;
    }




}





 






/* nuevo carrito  */

/* =========================================================
   FLIGHT RESULTS ULTRA MODERN V5
   VERSION COMPACTA PROFESIONAL
========================================================= */

.frsv4-wrapper {
    background: #f4f7fb;
    padding: 14px;
    border-radius: 24px;
    font-family: 'Segoe UI',sans-serif;
}

/* =========================================================
   CARD GENERAL
========================================================= */

.frsv4-card {
    background: #ffffff;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid #e8eef7;
    box-shadow: 0 6px 18px rgba(15,23,42,.04), 0 1px 4px rgba(15,23,42,.03);
    backdrop-filter: blur(10px);
    padding: 5px;
    margin-bottom: 5px;
}

/* =========================================================
   COLUMNAS
========================================================= */

.frsv4-lefts {
    padding: 5px;
    border-right: 1px solid #edf2f7;
}

.frsv4-right {
    background: #fff;
    padding: 14px;
    height: 100%;
}

/* =========================================================
   TITULOS
========================================================= */

.frsv4-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.frsv4-title-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.frsv4-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient( 135deg, #eef4ff, #f8fbff );
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(37,99,235,.06);
}

    .frsv4-icon-box img {
        width: 18px;
    }

.frsv4-title-text {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
}

.frsv4-date {
    font-size: 13px;
    color: #64748b;
    font-weight: 700;
}

/* =========================================================
   OPCION VUELO
========================================================= */

.frsv4-option {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 22px;
    padding: 18px 18px;
    margin-bottom: 14px;
    transition: .22s ease;
    cursor: pointer;
}

    .frsv4-option:hover {
        transform: translateY(-1px);
        border-color: #cbdcf8;
        box-shadow: 0 6px 18px rgba(37,99,235,.06);
    }

    /* =========================================================
   ACTIVE AZUL
========================================================= */

    .frsv4-option.active-blue:hover {
        border: 2px solid #2563eb; 
    }
    .frsv4-option.active-blue {
        border: 2px solid #91aeef85;
        background: linear-gradient( 180deg, #ffffff 0%, #f8fbff 100% );
        box-shadow: 0 8px 22px rgba(37,99,235,.10);
    }
    /* =========================================================
   ACTIVE VERDE
========================================================= */

    .frsv4-option.active-green {
        border: 2px solid #10b981;
        background: linear-gradient( 180deg, #ffffff 0%, #f5fffb 100% );
        box-shadow: 0 8px 22px rgba(16,185,129,.10);
    }

/* =========================================================
   ROW
========================================================= */

.frsv4-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

/* =========================================================
   AEROLINEA
========================================================= */

.frsv4-airline {
    width: 50px;
}

.frsv4-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-bottom: 6px;
}

.frsv4-airline-name {
    font-size: 11px;
    color: #475569;
    font-weight: 700;
    line-height: 1.4;
}
.oculto-vuelo {
    display: none;
    animation: fadeFlight .25s ease;
}

@keyframes fadeFlight {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
 
 
/* =========================================================
   HORARIOS
========================================================= */

.frsv4-hour {
    min-width: 60px;
}

.frsv4-hour-big {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
}

.frsv4-airport {
    font-size: 13px;
    color: #334155;
    margin-top: 4px;
    font-weight: 600;
}

/* =========================================================
   CENTRO
========================================================= */

.frsv4-center {
    flex: 1;
    text-align: center;
}

.frsv4-duration {
    font-size: 12px;
    font-weight: 800;
    color: #334155;
    margin-bottom: 8px;
}

/* =========================================================
   LINEA
========================================================= */

.frsv4-line {
    height: 2px;
    background: #dbe4f0;
    position: relative;
    margin-bottom: 10px;
}

    .frsv4-line:before,
    .frsv4-line:after {
        content: '';
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #94a3b8;
        position: absolute;
        top: -3px;
    }

    .frsv4-line:before {
        left: 0;
    }

    .frsv4-line:after {
        right: 0;
    }

/* =========================================================
   ESCALA
========================================================= */

.frsv4-scale {
    display: inline-block;
    background: #fff1f2;
    color: #ef4444;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    margin-bottom: 4px;
}

.frsv4-stop {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

/* =========================================================
   ICONOS
========================================================= */

.frsv4-icons {
    min-width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 18px;
}

 .frsv4-icons i {
        font-size: 13px;
        color: #2563eb;
    }

/* =========================================================
   RADIO
========================================================= */

.frsv4-radio input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* =========================================================
   VER MAS
========================================================= */

.frsv4-more {
    text-align: center;
    padding: 8px 0 12px;
}

    .frsv4-more a {
        color: #2563eb;
        font-size: 13px;
        font-weight: 800;
        text-decoration: none;
    }

        .frsv4-more a:hover {
            text-decoration: underline;
        }

/* =========================================================
   DIVIDER
========================================================= */

.frsv4-divider {
    border-top: 1px solid #edf2f7;
    margin: 20px 0 24px;
}

/* =========================================================
   PANEL PRECIO
========================================================= */
 

.frsv4-price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.frsv4-price-label {
    font-size: 13px;
    color: #475569;
    font-weight: 800;
}

.frsv4-price-currency {
    font-size: 13px;
    color: #475569;
    font-weight: 800;
}

/* =========================================================
   TOTAL
========================================================= */

.frsv4-price-total {
    font-size: 23px;
    line-height: 1.05;
    color: #0f172a;
    margin-bottom: 18px;
    letter-spacing: -1px;
    word-break: break-word;
}

/* =========================================================
   BADGE
========================================================= */

.frsv4-badge {
    background: #f0fdf4;
    color: #047857;
    border-radius: 14px;
    padding: 10px;
    font-size: 10px;
    font-weight: 800;
    margin-bottom: 18px;
}

/* =========================================================
   DETAILS
========================================================= */

.frsv4-detail {
    padding: 14px 0;
    border-top: 1px dashed #dbe4f0;
}

.frsv4-detail-title {
    font-size: 13px;
    color: #334155;
    font-weight: 800;
    margin-bottom: 8px;
}

.frsv4-detail-text {
    font-size: 10px;
    color: #475569;
    line-height: 1.7;
    font-weight: 600;
}

/* =========================================================
   BENEFICIOS
========================================================= */

.frsv4-benefits {
    background: #fafcff;
    border: 1px solid #edf2f7;
    border-radius: 18px;
    padding: 14px;
    margin-top: 18px;
}

.frsv4-benefit {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

    .frsv4-benefit:last-child {
        margin-bottom: 0;
    }

.frsv4-benefit-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #eef4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 15px;
}

.frsv4-benefit-title {
    font-size: 13px;
    font-weight: 800;
    color: #1e293b;
}

.frsv4-benefit-desc {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
    line-height: 1.4;
}

/* =========================================================
   BOTON
========================================================= */

.frsv4-btn {
    width: 100%;
    border: none;
    border-radius: 16px;
    padding: 14px;
    margin-top: 20px;
    background: linear-gradient( 135deg, #ff3131, #e11d48 );
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    transition: .22s ease;
}

    .frsv4-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 22px rgba(225,29,72,.20);
    }

/* =========================================================
   SECURITY
========================================================= */

.frsv4-security {
    margin-top: 18px;
    border-top: 1px solid #edf2f7;
    padding-top: 16px;
    display: flex;
    gap: 10px;
}

.frsv4-security-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #ecfdf5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #059669;
    font-size: 15px;
}

.frsv4-security-title {
    font-size: 12px;
    font-weight: 800;
    color: #334155;
}

.frsv4-security-desc {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
    line-height: 1.4;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:991px) {

    .frsv4-lefts {
        border-right: none;
        border-bottom: 1px solid #edf2f7;
    }

    .frsv4-row {
        flex-wrap: wrap;
        gap: 14px;
    }

    .frsv4-price-total {
        font-size: 28px;
    }

    .frsv4-hour-big {
        font-size: 15px;
    }

    .frsv4-option {
        padding: 16px;
    }
}


/*********   data-tip   *********/
/* =========================================================
   MODERN DATA TIP / FLIGHT DETAIL
========================================================= */

.frsv4-tip {
    width: 100%;
    background: #ffffff;
    border-radius: 0 0 22px 22px;
    padding: 24px;
    border-top: 1px solid #edf2f7;
    animation: frsv4Fade .25s ease;
}

/* =========================================================
   TOP
========================================================= */

.frsv4-tip-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.frsv4-tip-airline {
    display: flex;
    align-items: center;
    gap: 14px;
}

    .frsv4-tip-airline img {
        width: 46px;
        height: 46px;
        object-fit: contain;
    }

.frsv4-tip-airline-name {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.frsv4-tip-flight {
    text-align: right;
    font-size: 13px;
    color: #64748b;
    line-height: 1.7;
    font-weight: 600;
}

/* =========================================================
   TIMELINE
========================================================= */
.frsv4-tip-item {
    position: relative;
    padding-left: 42px; 
}

    /* LINEA */

    .frsv4-tip-item:before {
        content: '';
        position: absolute;
        left: 8px;
        top: 10px;
        width: 2px;
        height: calc(100% + 90px);
        background: #dbe4f0;
    }

    /* ULTIMO ITEM */

    .frsv4-tip-item:last-child:before {
        display: none;
    }

/* dot */

.frsv4-tip-dot {
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #2563eb;
    border: 4px solid #dbeafe;
    z-index: 2;
}

/* =========================================================
   DATE
========================================================= */

.frsv4-tip-date {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 700;
    margin-bottom: 4px;
}

/* =========================================================
   HOUR
========================================================= */

.frsv4-tip-hour {
    font-size: 28px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 10px;
}

/* =========================================================
   AIRPORT
========================================================= */

.frsv4-tip-airport {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
}

/* =========================================================
   CITY
========================================================= */

.frsv4-tip-city {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

/* =========================================================
   CENTER INFO
========================================================= */

.frsv4-tip-center {
    margin: 18px 0 22px 32px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 18px;
    min-height: auto;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.frsv4-tip-duration {
    font-size: 15px; 
    color: #0f172a;
    margin: 0;
}

.frsv4-tip-local {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* =========================================================
   BADGES
========================================================= */

.frsv4-tip-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.frsv4-tip-badge {
    background: #eff6ff; 
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

/* =========================================================
   ANIMATION
========================================================= */

@keyframes frsv4Fade {

    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   OVERLAY
========================================================= */

.frsv4-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.55);
    backdrop-filter: blur(4px);
    z-index: 9998;
}

/* =========================================================
   MODAL
========================================================= */

.frsv4-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 750px;
    max-width: 95%;
    max-height: 90vh;
    overflow: auto;
    background: #fff;
    border-radius: 28px;
    z-index: 9999;
    box-shadow: 0 20px 60px rgba(0,0,0,.20);
    animation: frsv4Open .22s ease;
}

/* =========================================================
   CLOSE
========================================================= */

.frsv4-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 800;
    color: #334155;
}

/* =========================================================
   ANIMATION
========================================================= */

@keyframes frsv4Open {

    from {
        opacity: 0;
        transform: translate(-50%,-47%);
    }

    to {
        opacity: 1;
        transform: translate(-50%,-50%);
    }
}



















/* =========================================================
   MOBILE FILTER BUTTON
========================================================= */

.frsv4-mobile-filter-btn {
    display: none;
}

/* =========================================================
   MOBILE
========================================================= */

@media(max-width:991px) {

    /* BOTON */

    .frsv4-mobile-filter-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: #2563eb;
        color: #fff;
        border-radius: 14px;
        padding: 14px;
        margin-bottom: 18px;
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
    }

    /* FILTROS */

    .frsv4-filters-v4 {
        display: none;
        margin-bottom: 20px;
    }

        /* OPEN */

        .frsv4-filters-v4.opens {
            display: block;
        }

    .frsv4-tip-duration {
        font-size: 10px;
        color: #0f172a;
        margin: 0;
    }


    .frsv4-tip-local {
        font-size: 10px;
        color: #64748b;
        margin: 0;
    }

    .frsv4-tip-airline-name {
        font-size: 10px;
        font-weight: 800;
        color: #0f172a;
    }


    .frsv4-tip-flight {
        text-align: right;
        font-size: 10px;
        color: #64748b;
        line-height: 1.7;
        font-weight: 600;
    }
}
    /**********MatrixVuelos*************/



    /* =========================
   MATRIX VUELOS MODERNA
   Liviana para Bootstrap 3
========================= */

    .matrix-container-v4 {
        overflow-x: auto;
        border: 1px solid #eee;
        border-radius: 10px;
        background: #fff;
    }

    /* TABLA */

    .matrix-table-v4 {
        margin: 0;
        min-width: 700px;
        border-collapse: separate;
        border-spacing: 4px;
    }

        .matrix-table-v4 > thead > tr > th {
            background: #f2f2f2;
            border: 0 !important;
            text-align: center;
            font-weight: 600;
            color: #555;
            padding: 6px 4px;
            white-space: nowrap;
            position: sticky;
            top: 0;
            z-index: 5;
        }

        .matrix-table-v4 > tbody > tr > th {
            background: #f2f2f2;
            border: 0 !important;
            text-align: center;
            font-weight: 600;
            color: #555;
            vertical-align: middle !important;
            position: sticky;
            left: 0;
            z-index: 4;
        }

        /* CELDAS */

        .matrix-table-v4 td {
            border: 0 !important;
            padding: 0 !important;
            min-width: 45px;
            height: 35px;
            vertical-align: middle !important;
        }

    /* CARD INTERNA */

    .matrix-cell-v4 {
        height: 35px;   
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all .15s ease;
        cursor: pointer;
        border: 1px solid #f0f0f0;
    }

     

    /* BOTON BUSCAR */

.matrix-search-v4 {
    color: #0d4381;
}
 
    /* PRECIOS */

.matrix-price-v4 {
    font-size: 13px;
    line-height: 1;
    display: flex;
    flex-direction: row;
}
.matrix-price-icon-v4 {
    margin: 2px;
}
 

    .matrix-label-v4 {
        font-size: 10px;
        margin: 2px;
    }

    /* COLORES */

    .matrix-cheap-v4 {
        background: #e8f7ee;
        border-color: #cdebd8;
        color: #1d7a46;
    }

    .matrix-medium-v4 {
        background: #fff7e6;
        border-color: #ffe7b3;
        color: #b26a00;
    }

    .matrix-expensive-v4 {
        background: #fff0f0;
        border-color: #ffd4d4;
        color: #c0392b;
    }

    /* MEJOR PRECIO */

.matrix-best-v4 {
    background: #2fb344;
    color: #fff;
    text-align: center;
}


/* Clase para la celda diagonal */
.celda-diagonal {
    position: relative;
    /* Dibuja la línea diagonal de la esquina superior izquierda a la inferior derecha */
    background: linear-gradient(to top right, transparent calc(50% - 1px), #ccc calc(50% - 1px), #ccc calc(50% + 1px), transparent calc(50% + 1px));
    min-width: 120px;
    height: 60px;
}

    /* Texto inferior izquierdo (Encabezado de Filas) */
    .celda-diagonal .abajo {
        position: absolute;
        bottom: 5px;
        left: 5px;
    }

    /* Texto superior derecho (Encabezado de Columnas) */
    .celda-diagonal .arriba {
        position: absolute;
        top: 5px;
        right: 5px;
    }



    /* LOADING */

    .matrix-loading-v4 {
        color: #5bc0de;
    }

        .matrix-loading-v4 i {
            animation: spin 1s linear infinite;
        }

    /* SIN DISPONIBILIDAD */

    .matrix-empty-v4 {
        color: #bbb;
        background: #fcfcfc;
    }

    /* SCROLL */

    .matrix-container-v4::-webkit-scrollbar {
        height: 8px;
    }

    .matrix-container-v4::-webkit-scrollbar-thumb {
        background: #ddd;
        border-radius: 10px;
    }

 
 

/* ANIMACION */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
 
 
.matrix-hover-row,
.matrix-hover-col {
    background: rgba(13, 110, 253, 0.18) !important;
}

.matrix-hover-current {
    background: rgba(13, 110, 253, 0.35) !important;
    box-shadow: inset 0 0 0 2px #0d6efd;
}


}


/* ============================================
   TRAVELKIT - ESTILOS EXCLUSIVOS (TAMAÑOS AJUSTADOS)
   ============================================ */

/* Contenedor principal */
.travelkit-section {
    padding: 2rem 0;
}

/* Grid de tarjetas */
.travelkit-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

/* Columna */
.travelkit-col {
    width: 100%;
}

/* ============================================
   TARJETA PRINCIPAL
   ============================================ */

.travelkit-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    /*box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);*/
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

    .travelkit-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

/* ============================================
   IMAGEN Y OVERLAY
   ============================================ */

.travelkit-card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    flex-shrink: 0;
}

.travelkit-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.travelkit-card:hover .travelkit-img {
    transform: scale(1.05);
}

.travelkit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

/* ============================================
   LOGO TRAVELKIT
   ============================================ */

.travelkit-logo-container {
    position: absolute;
    bottom: 1rem;
    left: 1.2rem;
    z-index: 2;
}

.travelkit-logo {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.7rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
}

.travelkit-logo-icon {
    margin-right: 0.4rem;
    font-size: 0.7rem;
}

/* ============================================
   CUERPO DE LA TARJETA
   ============================================ */

.travelkit-body {
    padding: 1.2rem 1.5rem 0.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.travelkit-subtitle {
    text-transform: uppercase;
    color: #6c757d;
    font-size: 0.6rem;
    letter-spacing: 1.2px;
    font-weight: 600;
    margin-bottom: 0.1rem;
}

.travelkit-title-container {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.travelkit-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #2d3436;
    margin: 0;
    line-height: 1.2;
}

/* ============================================
   DIVISOR DECORATIVO
   ============================================ */

.travelkit-divider {
    width: 35px;
    height: 3px;
    background: linear-gradient(to right, #dc3545, #ff6b6b);
    border-radius: 10px;
    margin-bottom: 0.8rem;
    transition: width 0.4s ease;
}

.travelkit-card:hover .travelkit-divider {
    width: 55px;
}

/* ============================================
   DETALLES DEL PLAN
   ============================================ */

.travelkit-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.travelkit-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.travelkit-detail-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(220, 53, 69, 0.08);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.travelkit-card:hover .travelkit-detail-icon-wrapper {
    transform: scale(1.05);
    background: rgba(220, 53, 69, 0.15);
}

.travelkit-detail-icon {
    font-size: 0.7rem;
    color: #dc3545;
}

.travelkit-detail-label {
    font-size: 0.5rem;
    color: #6c757d;
    letter-spacing: 0.8px;
    font-weight: 600;
    display: block;
}

.travelkit-detail-value {
    font-size: 0.75rem;
    font-weight: 600;
    color: #2d3436;
    line-height: 1.2;
}

.travelkit-detail-unit {
    font-weight: 300;
    font-size: 0.6rem;
    margin-left: 0.2rem;
}

/* ============================================
   PRECIO
   ============================================ */

.travelkit-price-container {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 0.6rem 1rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    margin-top: auto;
}

.travelkit-card:hover .travelkit-price-container {
    border-color: rgba(220, 53, 69, 0.12);
    background: #f1f3f5;
}

.travelkit-price-label {
    text-transform: uppercase;
    color: #6c757d;
    font-size: 0.5rem;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.travelkit-price-wrapper {
    display: flex;
    align-items: baseline;
    margin-top: 0.1rem;
}

.travelkit-currency-symbol {
    color: #6c757d;
    font-size: 0.7rem;
    font-weight: 300;
    margin-right: 0.3rem;
}

.travelkit-price-amount {
    font-weight: 700;
    font-size: 1.3rem;
    color: #dc3545;
    line-height: 1;
}

.travelkit-currency-code {
    color: #6c757d;
    font-size: 0.6rem;
    font-weight: 300;
    margin-left: 0.3rem;
}

/* ============================================
   FOOTER Y BOTÓN
   ============================================ */

.travelkit-footer {
    padding: 0.6rem 1.5rem 1.2rem;
    flex-shrink: 0;
}

.travelkit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.55rem 1.2rem;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: #ffffff;
    border: none; 
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    .travelkit-btn::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.15);
        transform: translate(-50%, -50%);
        transition: width 0.5s ease, height 0.5s ease;
    }

    .travelkit-btn:hover::after {
        width: 250px;
        height: 250px;
    }

    .travelkit-btn:hover {
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(220, 53, 69, 0.35);
        background: linear-gradient(135deg, #c82333, #a71d2a);
        color: #ffffff;
        text-decoration: none;
    }

.travelkit-btn-icon {
    margin-right: 0.4rem;
    font-size: 0.7rem;
}

.travelkit-btn-arrow {
    margin-left: 0.4rem;
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}

.travelkit-btn:hover .travelkit-btn-arrow {
    transform: translateX(4px);
}


/***************/


.travelkit-btn-direct {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.55rem 1.2rem;
    background: #25d366;
    color: #ffffff;
    border: none; 
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    .travelkit-btn-direct::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.15);
        transform: translate(-50%, -50%);
        transition: width 0.5s ease, height 0.5s ease;
    }

    .travelkit-btn-direct:hover::after {
        width: 250px;
        height: 250px;
    }

    .travelkit-btn-direct:hover {
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(220, 53, 69, 0.35);
        background: linear-gradient(135deg, #c82333, #a71d2a);
        color: #ffffff;
        text-decoration: none;
    }

.travelkit-btn-direct-icon {
    margin-right: 0.4rem;
    font-size: 0.7rem;
}

.travelkit-btn-direct-arrow {
    margin-left: 0.4rem;
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}

.travelkit-btn-direct:hover .travelkit-btn-direct-arrow {
    transform: translateX(4px);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
    .travelkit-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .travelkit-section {
        padding: 1.5rem 0.5rem;
    }

    .travelkit-row {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .travelkit-card-image {
        height: 180px;
    }

    .travelkit-body {
        padding: 1rem 1.2rem 0.6rem;
    }

    .travelkit-footer {
        padding: 0.5rem 1.2rem 1rem;
    }

    .travelkit-title {
        font-size: 1rem;
    }

    .travelkit-price-amount {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .travelkit-card-image {
        height: 160px;
    }

    .travelkit-body {
        padding: 0.8rem 1rem 0.5rem;
    }

    .travelkit-footer {
        padding: 0.4rem 1rem 0.8rem;
    }

    .travelkit-title {
        font-size: 0.95rem;
    }

    .travelkit-price-amount {
        font-size: 1.1rem;
    }

    .travelkit-details {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }
}







/********** Upgrade y busqueda travel kit************/

/* ===== FUENTE Y RESET ===== */


/* ===== TÍTULO ===== */
.tk-title-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.tk-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a2e;
    letter-spacing: -0.3px;
    margin: 0;
}

/* ===== DIVISOR ===== */
.tk-divider {
    height: 2px;
    background: linear-gradient(90deg, #f8d7da, #c82333);
    margin: 12px 0 20px 0;
    border-radius: 4px;
}

/* ===== PRECIO ===== */
.tk-price-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 12px;
    display: inline-block;
    border: 1px solid #e8eaed;
}

.tk-price-label {
    font-size: 12px;
    font-weight: 500;
    color: #5f6368;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.tk-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.tk-currency {
    font-size: 14px;
    font-weight: 500;
    color: #5f6368;
}

.tk-amount {
    font-size: 20px;
    font-weight: 700;
    color: #c82333;
    letter-spacing: -0.5px;
}

/* ===== ITEMS DE DETALLE ===== */
.tk-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.tk-detail-icon-wrap {
    width: 36px;
    height: 36px;
    background: #f8d7da;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tk-detail-icon {
    color: #c82333;
    font-size: 16px;
}

.tk-detail-label {
    font-size: 12px;
    font-weight: 500;
    color: #5f6368;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.tk-detail-value {
    font-size: 10px;
    font-weight: 600;
    color: #1a1a2e;
}

.tk-detail-unit {
    font-size: 14px;
    font-weight: 400;
    color: #5f6368;
    margin-left: 4px;
}

/* ===== TABS BOOTSTRAP PERSONALIZADOS ===== */
.tk-tabs .nav-link {
    border: none;
    border-radius: 8px 8px 0 0;
    padding: 10px 20px;
    font-weight: 500;
    color: #5f6368;
    background: transparent;
    transition: all 0.2s ease;
    position: relative;
}

    .tk-tabs .nav-link:hover {
        background: #f8d7da;
        color: #1a1a2e;
        border: none;
    }

    .tk-tabs .nav-link.active {
        background: transparent;
        color: #c82333;
        font-weight: 600;
        border: none;
    }

        .tk-tabs .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 3px;
            background: #c82333;
            border-radius: 4px 4px 0 0;
        }

    .tk-tabs .nav-link strong {
        font-weight: inherit;
    }

    .tk-tabs .nav-link:focus {
        border: none;
        outline: none;
    }

/* ===== SUB-TABS ===== */
.tk-tabs-sm .nav-link {
    padding: 6px 16px;
    font-size: 13px;
}

/* ===== TAB CONTENT ===== */
.tk-tab-content {
    padding-top: 16px;
}

.tk-tab-pane {
    animation: tkFadeIn 0.25s ease;
}

@keyframes tkFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== TABLAS ===== */
.tk-table-wrap {
    border-radius: 12px;
    border: 1px solid #e8eaed;
    overflow: hidden;
}

    .tk-table-wrap .table {
        margin-bottom: 0;
    }

        .tk-table-wrap .table thead th {
            background: #f8f9fa;
            color: #3c4043;
            font-weight: 500;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            padding: 12px 14px;
            border-bottom: 2px solid #c82333;
            position: sticky;
            top: 0;
            z-index: 2;
        }

        .tk-table-wrap .table tbody td {
            padding: 12px 14px;
            border-bottom: 1px solid #f1f3f4;
            color: #1a1a2e;
            vertical-align: middle;
        }

        .tk-table-wrap .table tbody tr:hover {
            background: #f8f9fa;
        }

        .tk-table-wrap .table tbody tr:last-child td {
            border-bottom: none;
        }

/* ===== SCROLL ===== */
.tk-scroll {
    max-height: 400px;
    overflow-y: auto;
}



/* ===== ENLACES PDF ===== */
.tk-pdf-link {
    color: #c82333;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 16px;
    background: #f8d7da;
    transition: background 0.2s ease;
    display: inline-block;
}

    .tk-pdf-link:hover {
        background: #f5c6cb;
        text-decoration: none;
        color: #a71d2a;
    }



.tk-close-btn:hover {
    background: #c82333;
    border-color: #c82333;
    color: #ffffff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .tk-container {
        padding: 16px 12px;
    }

    .tk-title {
        font-size: 18px;
    }

    .tk-amount {
        font-size: 22px;
    }

    .tk-tabs .nav-link {
        padding: 8px 14px;
        font-size: 13px;
    }

    .tk-table-wrap .table thead th,
    .tk-table-wrap .table tbody td {
        padding: 8px 10px;
        font-size: 12px;
    }

    .tk-select {
        font-size: 12px;
        min-width: 100px;
    }

    .tk-detail-value {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .tk-price-wrap {
        flex-wrap: wrap;
    }

    .tk-detail-item {
        flex-wrap: wrap;
    }

    .tk-tabs .nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 4px;
    }

    .tk-tabs .nav-link {
        white-space: nowrap;
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* ============================================
   ESTILOS PERSONALIZADOS PARA UPGRADES
   TODAS LAS CLASES TIENEN PREFIJO "upgrade-"
   PARA EVITAR CONFLICTOS CON BOOTSTRAP
   ============================================ */

/* ============================================
   CONTENEDOR PRINCIPAL
   ============================================ */
.upgrade-table-wrapper {
    max-height: 600px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    margin-bottom: 20px;
}


/* ============================================
   NOMBRE DEL UPGRADE
   ============================================ */
.upgrade-nombre {
    font-size: 10px;
    color: #333;
    display: block;
    margin-bottom: 4px;
}

/* ============================================
   VALOR UNITARIO
   ============================================ */
.upgrade-valor-unitario {
    color: #28a745;
    font-size: 14px;
}

/* ============================================
   CONTENEDOR DE PASAJEROS (CON SCROLL)
   ============================================ */
.upgrade-pax-container {
    max-height: 150px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 5px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 4px;
    min-height: 40px;
}

    /* Scroll personalizado - Compatible con todos los navegadores */
    .upgrade-pax-container::-webkit-scrollbar {
        width: 6px;
    }

    .upgrade-pax-container::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }

    .upgrade-pax-container::-webkit-scrollbar-thumb {
        background: #c1c7cd;
        border-radius: 3px;
    }

        .upgrade-pax-container::-webkit-scrollbar-thumb:hover {
            background: #a8b0b8;
        }

/* Firefox scroll */
.upgrade-pax-container {
    scrollbar-width: thin;
    scrollbar-color: #c1c7cd #f1f1f1;
}

/* ============================================
   ITEM DE PASAJERO
   ============================================ */
.upgrade-pax-item {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    margin: 1px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 16px;
    transition: all 0.2s ease;
    font-size: 11px;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
}

    .upgrade-pax-item:hover {
        background: #e9ecef;
        border-color: #aaa;
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    }

/* ============================================
   CHECKBOX PERSONALIZADO
   ============================================ */
.upgrade-pax-checkbox {
    display: none;
}

    .upgrade-pax-checkbox + label {
        display: inline-flex;
        align-items: center;
        gap: 3px;
        cursor: pointer;
        padding: 1px 3px;
        border-radius: 12px;
        transition: all 0.2s ease;
        margin: 0;
        font-weight: normal;
        font-size: 11px;
        color: #555;
    }

        /* Checkbox custom */
        .upgrade-pax-checkbox + label::before {
            content: "";
            display: inline-block;
            width: 14px;
            height: 14px;
            background: white;
            border: 2px solid #aaa;
            border-radius: 3px;
            transition: all 0.2s ease;
            flex-shrink: 0;
        }

    /* Checkbox marcado */
    .upgrade-pax-checkbox:checked + label::before {
        background: #337ab7;
        border-color: #2e6da4;
        content: "✓";
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        font-weight: bold;
        line-height: 1;
    }

    /* Checkbox marcado - label */
    .upgrade-pax-checkbox:checked + label {
        color: #337ab7;
        font-weight: bold;
    }

/* ============================================
   ETIQUETAS DENTRO DEL CHECKBOX
   ============================================ */
.upgrade-pax-icon {
    font-size: 12px;
}

.upgrade-pax-tipo {
    font-size: 10px;
    font-weight: 500;
    color: #555;
}

.upgrade-pax-edad {
    font-size: 9px;
    color: #777;
    background: #f0f0f0;
    padding: 0 5px;
    border-radius: 8px;
}

.upgrade-pax-checkbox:checked + label .upgrade-pax-tipo {
    color: #337ab7;
}

.upgrade-pax-checkbox:checked + label .upgrade-pax-edad {
    background: #337ab7;
    color: white;
}

/* ============================================
   CONTADOR DE SELECCIONADOS
   ============================================ */
.upgrade-contador {
    margin-top: 4px;
    font-size: 11px;
}

.upgrade-badge {
    display: inline-block;
    padding: 2px 10px;
    background: #f0f0f0;
    color: #555;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

    .upgrade-badge.upgrade-badge-active {
        background: #337ab7;
        color: white;
        border-color: #2e6da4;
    }

/* ============================================
   SUBTOTAL
   ============================================ */
.upgrade-subtotal {
    font-size: 14px;
    color: #28a745;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 50px;
    text-align: right;
}

    .upgrade-subtotal.upgrade-subtotal-inactivo {
        color: #999;
        font-weight: normal;
    }

/* ============================================
   FOOTER - TOTAL GENERAL
   ============================================ */
.upgrade-footer {
    background: #f9f9f9;
    border-top: 2px solid #337ab7;
}

.upgrade-total-label {
    text-align: right;
    font-size: 15px;
    font-weight: bold;
    color: #333;
    padding: 12px 8px;
}

.upgrade-total-value {
    font-size: 18px;
    font-weight: bold;
    color: #337ab7;
    padding: 12px 8px;
}

    .upgrade-total-value.upgrade-total-inactivo {
        color: #999;
        font-weight: normal;
    }

/* ============================================
   BOTONES DE ACCIÓN
   ============================================ */
.upgrade-actions {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.upgrade-btn {
    display: inline-block;
    padding: 6px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1.5;
}

    .upgrade-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    }

    .upgrade-btn:active {
        transform: translateY(0px);
        box-shadow: none;
    }

.upgrade-btn-success {
    background: #5cb85c;
    color: white;
}

    .upgrade-btn-success:hover {
        background: #449d44;
    }

.upgrade-btn-info {
    background: #5bc0de;
    color: white;
}

    .upgrade-btn-info:hover {
        background: #31b0d5;
    }

.upgrade-btn-secondary {
    background: #777;
    color: white;
}

    .upgrade-btn-secondary:hover {
        background: #5e5e5e;
    }

.upgrade-btn-warning {
    background: #f0ad4e;
    color: white;
}

    .upgrade-btn-warning:hover {
        background: #ec971f;
    }

.upgrade-btn-danger {
    background: #d9534f;
    color: white;
}

    .upgrade-btn-danger:hover {
        background: #c9302c;
    }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .upgrade-pax-container {
        max-height: 120px;
    }

    .upgrade-pax-item {
        font-size: 10px;
        padding: 2px 5px;
    }

    .upgrade-pax-checkbox + label {
        font-size: 10px;
    }

        .upgrade-pax-checkbox + label::before {
            width: 12px;
            height: 12px;
        }

    .upgrade-table thead th {
        font-size: 11px;
        padding: 6px 4px;
    }

    .upgrade-table tbody td {
        padding: 6px 4px;
        font-size: 11px;
    }

    .upgrade-subtotal {
        font-size: 12px;
        min-width: 40px;
    }

    .upgrade-total-label {
        font-size: 13px;
    }

    .upgrade-total-value {
        font-size: 15px;
    }

    .upgrade-actions {
        padding: 10px;
        gap: 5px;
    }

    .upgrade-btn {
        padding: 4px 12px;
        font-size: 11px;
    }
}

/* ============================================
   IMPRESIÓN
   ============================================ */
@media print {
    .upgrade-pax-container {
        max-height: none;
        overflow: visible;
        border: 1px solid #ddd;
    }

    .upgrade-actions {
        display: none;
    }

    .upgrade-table thead th {
        position: static;
        background: #f5f5f5;
    }
}
/* ============================================
   FOOTER - TOTAL GENERAL (RESPETANDO ESTILO PADRE)
   ============================================ */
.upgrade-footer {
    position: sticky;
    bottom: 0;
    z-index: 100;
    background: #f9f9f9;
    border-top: 2px solid #337ab7;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
}

    .upgrade-footer td {
        padding: 10px 8px !important;
        vertical-align: middle !important;
        border-top: none !important;
        background: #f9f9f9;
    }

    .upgrade-footer .upgrade-total-label {
        text-align: right;
        font-size: 14px;
        font-weight: bold;
        color: #333;
        padding-right: 10px;
    }

        .upgrade-footer .upgrade-total-label .upgrade-total-icon {
            margin-right: 6px;
        }

    .upgrade-footer .upgrade-total-value {
        font-size: 18px;
        font-weight: bold;
        color: #337ab7;
        transition: all 0.3s ease;
        text-align: left;
        padding-left: 10px;
    }

        .upgrade-footer .upgrade-total-value.upgrade-total-inactivo {
            color: #999;
            font-weight: normal;
        }

/* Animación cuando cambia el total */
@keyframes upgrade-total-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.upgrade-footer .upgrade-total-value.upgrade-total-actualizado {
    animation: upgrade-total-pulse 0.3s ease;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .upgrade-footer td {
        padding: 6px 4px !important;
    }

    .upgrade-footer .upgrade-total-label {
        font-size: 12px;
    }

    .upgrade-footer .upgrade-total-value {
        font-size: 15px;
    }
}

/* ============================================
   IMPRESIÓN
   ============================================ */
@media print {
    .upgrade-footer {
        position: static;
        background: #f5f5f5 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

        .upgrade-footer td {
            background: #f5f5f5 !important;
        }
}





