/* =========================================
   TARJETA MARKETPLACE DE PRECIOS Y RESERVA
========================================= */

.marketplace-booking-card {
    background: #ffffff;
    border: 1px solid #e7edf3;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 14px 40px rgba(28, 52, 75, 0.10);
    position: sticky;
    top: 20px;
}

.booking-card-header {
    padding: 24px 24px 20px;
    background:
        linear-gradient(
            135deg,
            #fff8f4 0%,
            #ffffff 100%
        );
    border-bottom: 1px solid #eef2f5;
}

.booking-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: #fff0e8;
    color: #ff743d;
    font-size: 13px;
    font-weight: 700;
}

.booking-card-header h3 {
    margin: 0 0 8px;
    color: #17202a;
    font-size: 24px;
    font-weight: 800;
}

.booking-card-header p {
    margin: 0;
    color: #687684;
    font-size: 14px;
    line-height: 1.6;
}

.booking-card-body {
    padding: 22px 24px 24px;
}

.marketplace-price-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.marketplace-price-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e8eef3;
    border-radius: 16px;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.marketplace-price-item:hover {
    transform: translateY(-2px);
    border-color: #ffb08d;
    box-shadow:
        0 8px 22px rgba(40, 61, 79, 0.08);
}

.price-item-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.price-item-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #fff0e8;
    color: #ff743d;
    font-size: 16px;
}

.price-item-name {
    display: block;
    color: #202a33;
    font-size: 15px;
    font-weight: 700;
    word-break: break-word;
}

.price-item-info small {
    display: block;
    margin-top: 3px;
    color: #8a97a3;
    font-size: 12px;
}

.price-item-value {
    display: flex;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
    color: #14885f;
}

.price-currency {
    font-size: 14px;
    font-weight: 700;
}

.price-item-value strong {
    font-size: 22px;
    font-weight: 800;
}

.marketplace-free-price {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
    background:
        linear-gradient(
            135deg,
            #eafaf3,
            #f7fffb
        );
    border: 1px solid #bdebd7;
}

.free-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #d8f6e9;
    color: #15966a;
    font-size: 20px;
}

.marketplace-free-price small {
    display: block;
    color: #708079;
    font-size: 13px;
}

.marketplace-free-price strong {
    display: block;
    color: #12865f;
    font-size: 25px;
    font-weight: 800;
}

.booking-benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 22px 0;
    padding-top: 18px;
    border-top: 1px solid #edf1f4;
}

.booking-benefits div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #5b6874;
    font-size: 14px;
}

.booking-benefits i {
    color: #1ca574;
}

.marketplace-reserve-button {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    border: none;
    border-radius: 16px;
    background:
        linear-gradient(
            135deg,
            #ff7b43,
            #ff5f2e
        );
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 800;
    box-shadow:
        0 10px 24px rgba(255, 104, 51, 0.28);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.marketplace-reserve-button:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow:
        0 14px 28px rgba(255, 104, 51, 0.36);
}

.marketplace-reserve-button.disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.marketplace-whatsapp-link {
    width: 100%;
    min-height: 48px;
    margin-top: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 16px;
    border: 1px solid #cfe8dd;
    border-radius: 14px;
    background: #f3fcf8;
    color: #15865f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.marketplace-whatsapp-link:hover {
    color: #11704f;
    background: #e8f9f1;
    border-color: #9ed9c1;
}

.booking-card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 18px;
    background: #f8fafc;
    border-top: 1px solid #edf1f4;
    color: #81909c;
    font-size: 12px;
}

/* RESPONSIVE */

@media (max-width: 991px) {

    .marketplace-booking-card {
        position: static;
        margin-top: 25px;
    }
}

@media (max-width: 575px) {

    .booking-card-header,
    .booking-card-body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .marketplace-price-item {
        align-items: flex-start;
    }

    .price-item-value strong {
        font-size: 19px;
    }
}

/* video */
.video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 56.25%;
    border-radius: 18px;
    background: #000000;
}

.video-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* celular responsive */

/* =====================================================
   DETALLE DE ACTIVIDAD — DISEÑO SOLO PARA CELULARES
   Agregar al final de actividadver.css
===================================================== */

@media (max-width: 680px) {

    /* =================================================
       CONTENEDOR GENERAL
    ================================================= */

    .page {
        width: 100%;
        max-width: 100%;

        margin: 0;

        padding-left: 14px;
        padding-right: 14px;

        overflow: hidden;
    }

    .main-col {
        width: 100%;
        min-width: 0;
    }


    /* =================================================
       DATOS SUPERIORES: EDADES, LLAMAR Y WEB
    ================================================= */

    .hero-meta {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .hero-meta .meta-row {
        width: 100%;

        display: flex;
        align-items: center;
        flex-wrap: wrap;

        gap: 7px 10px;

        font-size: 14px;
        line-height: 1.4;
    }

    .hero-meta .meta-row span,
    .hero-meta .meta-row a {
        max-width: 100%;
    }

    .hero-meta .meta-row strong {
        display: inline-block;

        color: #263442;

        font-size: 14px;
        font-weight: 700;

        white-space: normal;
    }

    .hero-meta .meta-row .sep {
        margin: 0 2px;

        color: #a5adb5;
    }

    .hero-meta .meta-row .link {
        font-size: 14px;
        font-weight: 700;

        white-space: nowrap;
    }


    /* =================================================
       PESTAÑAS MÁS PEQUEÑAS
    ================================================= */

    .tabs {
        width: 100%;
        min-width: 0;

        margin-top: 18px;

        overflow: hidden;
    }

    .tabs__list {
        width: 100%;

        display: flex;
        align-items: center;
        flex-wrap: nowrap;

        gap: 8px;

        padding:
            2px
            2px
            10px;

        margin: 0;

        overflow-x: auto;
        overflow-y: hidden;

        scroll-snap-type: x proximity;
        scroll-behavior: smooth;

        scrollbar-width: none;

        -webkit-overflow-scrolling: touch;
    }

    .tabs__list::-webkit-scrollbar {
        display: none;
    }

    .tabs__list .tab {
        flex:
            0
            0
            auto;

        min-width: auto;
        min-height: 40px;

        margin: 0;

        padding:
            8px
            14px;

        border-width: 1px;
        border-radius: 999px;

        font-size: 13px;
        font-weight: 700;
        line-height: 1.2;

        white-space: nowrap;

        scroll-snap-align: start;
    }

    .tabs__list .tab.is-active {
        padding-left: 15px;
        padding-right: 15px;
    }

    /*
     * El botón verde también queda compacto.
     */

    .tabs__list .tab[data-tab="resena"] {
        min-height: 40px;

        padding:
            8px
            15px;

        font-size: 12px;
    }


    /* =================================================
       PANEL DE DESCRIPCIÓN
    ================================================= */

    .tabpane {
        width: 100%;
        min-width: 0;
    }

    #descripcion {
        width: 100%;
    }

    #descripcion .card {
        width: 100%;
        max-width: 100%;

        margin-top: 10px;

        padding:
            20px
            18px;

        border-radius: 18px;

        overflow: hidden;

        box-sizing: border-box;
    }


    /* =================================================
       CABECERA DE LA TARJETA
    ================================================= */

    #descripcion .card__header {
        width: 100%;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;

        gap: 10px;

        margin: 0;

        padding: 0;

        overflow: visible;
    }

    /*
     * Título de la actividad.
     */

    #descripcion .card__header h2 {
        width: 100%;
        max-width: 100%;

        margin:
            0
            0
            3px;

        color: #26323d;

        font-size: 20px;
        font-weight: 800;
        line-height: 1.18;

        overflow-wrap: anywhere;
        word-break: normal;
    }


    /* =================================================
       CHIPS DE INFORMACIÓN
    ================================================= */

    #descripcion .card__header .chip {
        width: 100%;
        max-width: 100%;
        min-height: 42px;

        display: flex;
        align-items: center;
        justify-content: flex-start;

        margin: 0;

        padding:
            10px
            13px;

        border: 1px solid #c9e4f3;
        border-radius: 12px;

        background: #f2f9fd;

        color: #39566c;

        font-size: 13px;
        font-weight: 700;
        line-height: 1.35;

        white-space: normal;

        overflow: visible;
        overflow-wrap: anywhere;

        box-sizing: border-box;
    }

    /*
     * Primer chip:
     * Información actualizada.
     */

    #descripcion .card__header .chip:nth-of-type(1) {
        border-color: #bfe1f2;

        background:
            linear-gradient(
                135deg,
                #eff9fe,
                #f8fcff
            );

        color: #285672;
    }

    /*
     * Segundo chip:
     * Edades.
     */

    #descripcion .card__header .chip:nth-of-type(2) {
        border-color: #d9d0f3;

        background:
            linear-gradient(
                135deg,
                #f6f2ff,
                #fbf9ff
            );

        color: #66528b;
    }


    /* =================================================
       TEXTO DE LA DESCRIPCIÓN
    ================================================= */

    #descripcion .readmore {
        width: 100%;
        max-width: 100%;

        margin-top: 18px !important;
        margin-bottom: 0;

        color: #2f3a44;

        font-size: 15px;
        line-height: 1.68;

        overflow-wrap: anywhere;
        word-break: normal;
    }


    /* =================================================
       RESTO DE TARJETAS DE LAS PESTAÑAS
    ================================================= */

    .tabpane .card {
        width: 100%;
        max-width: 100%;

        padding:
            20px
            18px;

        border-radius: 18px;

        box-sizing: border-box;
    }

    .tabpane .card h2 {
        max-width: 100%;

        font-size: 20px;
        line-height: 1.25;

        overflow-wrap: anywhere;
    }


    /* =================================================
       MAPA Y VIDEO
    ================================================= */

    .video-container,
    .map {
        width: 100%;
        max-width: 100%;

        border-radius: 14px;

        overflow: hidden;
    }

    .map iframe {
        width: 100%;
        max-width: 100%;
    }
}


/* =====================================================
   AJUSTE PARA CELULARES MUY PEQUEÑOS
===================================================== */

@media (max-width: 390px) {

    .page {
        padding-left: 11px;
        padding-right: 11px;
    }

    .tabs__list {
        gap: 6px;
    }

    .tabs__list .tab {
        min-height: 37px;

        padding:
            7px
            12px;

        font-size: 12px;
    }

    .tabs__list .tab[data-tab="resena"] {
        min-height: 37px;

        padding:
            7px
            12px;

        font-size: 11px;
    }

    #descripcion .card {
        padding:
            17px
            15px;
    }

    #descripcion .card__header h2 {
        font-size: 18px;
    }

    #descripcion .card__header .chip {
        min-height: 40px;

        padding:
            9px
            11px;

        font-size: 12px;
    }

    #descripcion .readmore {
        font-size: 14px;
        line-height: 1.62;
    }
}