/* ======================================
PRODUCT PAGE
====================================== */

.kuali-product{

    max-width:1450px;

    margin:70px auto;

    padding:0 35px;

    display:grid;

    grid-template-columns:
    58%
    42%;

    gap:70px;

}

.kuali-gallery{

    width:100%;

}

.kuali-info{

    display:flex;

    flex-direction:column;

}

.kuali-title{

    font-size:4rem;

    line-height:1.1;

    margin-bottom:20px;

    font-family:'Lora',serif;

}

.kuali-price{

    font-size:2rem;

    margin:20px 0;

}

.kuali-duration{

    color:#666;

}

.kuali-location{

    color:#888;

    margin-bottom:30px;

}

.kuali-booking{

    margin:30px 0;

}

.kuali-description{

    margin-top:35px;

    line-height:1.8;

}

.kuali-related{

    max-width:1450px;

    margin:100px auto;

    padding:0 35px;

}


/*==========================
GALERÍA
===========================*/

.kuali-gallery{

display:flex;

flex-direction:column;

gap:20px;

}

.kuali-main-image img{

width:100%;

height:720px;

object-fit:cover;

border-radius:18px;

display:block;

}

.kuali-thumbnails{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:15px;

}

.kuali-thumbnails img{

width:100%;

height:110px;

object-fit:cover;

cursor:pointer;

border-radius:10px;

transition:.25s;

opacity:.65;

}

.kuali-thumbnails img:hover{

opacity:1;

}

.active-thumb{

opacity:1!important;

border:3px solid #C3592D;

}




/*==================================
DATOS DEL TOUR
==================================*/

.kuali-tour-info{

display:flex;

flex-direction:column;

gap:18px;

margin:35px 0;

}

.tour-item{

display:flex;

align-items:center;

gap:12px;

font-size:1.08rem;

color:#444;

padding-bottom:15px;

border-bottom:1px solid #ececec;

}

.tour-price{

font-size:2.4rem;

font-weight:700;

margin:25px 0;

color:#222;

}

/* =========================================================
   ACORDEONES DEL TOUR
   ========================================================= */

.kuali-accordions {
    width: 100%;
    margin-top: 35px;
    border-top: 1px solid #dedbd5;
}

.kuali-accordion {
    border-bottom: 1px solid #dedbd5;
}

.kuali-accordion-button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 22px 0;

    border: 0;
    background: transparent;

    color: #222;
    font-size: 18px;
    font-weight: 600;

    text-align: left;
    cursor: pointer;
}

.kuali-accordion-button:hover {
    color: #C3592D;
}

.kuali-accordion-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    flex-shrink: 0;

    font-size: 25px;
    font-weight: 300;

    transition: transform 0.25s ease;
}

.kuali-accordion-content {
    display: grid;
    grid-template-rows: 0fr;

    overflow: hidden;

    transition: grid-template-rows 0.3s ease;
}

.kuali-accordion-inner {
    min-height: 0;
    overflow: hidden;

    color: #555;
    font-size: 15px;
    line-height: 1.7;
}

.kuali-accordion.active .kuali-accordion-content {
    grid-template-rows: 1fr;
}

.kuali-accordion.active .kuali-accordion-inner {
    padding-bottom: 24px;
}

.kuali-accordion.active .kuali-accordion-icon {
    transform: rotate(45deg);
}

/* ==========================================================
   AVAILABILITY
========================================================== */

.kuali-availability-box{

    margin-top:20px;
    padding:16px 20px;

    border-radius:12px;

    background:#F7F5F1;

    border:1px solid #E4DED4;

}

#kualiAvailabilityMessage{

    font-size:16px;
    font-weight:600;
    color:#2E7D32;

}

/* ==========================================================
   KUALI BOOKING BOX
========================================================== */

.kuali-booking-box {
    margin-top: 30px;
    padding: 25px;
    border: 1px solid #e5e1da;
    border-radius: 14px;
    background: #ffffff;
}

.kuali-booking-date label,
.kuali-booking-people h3 {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

.kuali-booking-date select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d8d2c8;
    border-radius: 8px;
    background: #fff;
    font-size: 15px;
}

.kuali-booking-people {
    margin-top: 25px;
}

.kuali-person-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #ece7df;
}

.kuali-person-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kuali-person-info strong {
    font-size: 16px;
}

.kuali-person-info span {
    font-size: 13px;
    color: #777;
}

.kuali-counter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.kuali-counter button {
    width: 34px;
    height: 34px;
    border: 1px solid #d6d0c8;
    border-radius: 50%;
    background: #fff;
    font-size: 20px;
    cursor: pointer;
}

.kuali-counter button:hover {
    background: #f5f1eb;
}

.kuali-counter span {
    min-width: 20px;
    text-align: center;
    font-weight: 600;
}

.kuali-booking-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e5e1da;
    font-size: 18px;
}

.kuali-booking-total strong {
    font-size: 22px;
}

.kuali-booking-button {
    width: 100%;
    margin-top: 20px;
    padding: 14px 20px;
    border: none;
    border-radius: 25px;
    background: #c3592d;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.kuali-booking-button:hover {
    background: #a34720;
}

.kuali-booking-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.kuali-booking-message {
    margin-top: 12px;
    font-size: 14px;
}



.kuali-subtitle {
    font-size: 20px;
    line-height: 1.4;
    margin-top: 10px;
    margin-bottom: 22px;
    color: #333;
}

/* ==========================================================
   PICKUP - KUALI BOOKING
   ========================================================== */

.kuali-booking-pickup {
    margin-top: 24px;
    padding: 22px 0;
    border-top: 1px solid #e5e1dc;
    border-bottom: 1px solid #e5e1dc;
}

.kuali-booking-pickup h3 {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
}

.kuali-pickup-options {
    display: flex;
    gap: 12px;
}

.kuali-pickup-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    padding: 11px 22px;
    border: 1px solid #d9d3cd;
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.kuali-pickup-option:hover {
    border-color: #c95b2c;
}

.kuali-pickup-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.kuali-pickup-option span {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.kuali-pickup-option.is-selected {
    border-color: #c95b2c;
    background: #c95b2c;
}

.kuali-pickup-option.is-selected span {
    color: #fff;
}

.kuali-pickup-option:active {
    transform: scale(0.98);
}





.kuali-gallery {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kuali-gallery .kuali-description {
    margin-top: 5px;
    margin-bottom: 0;
    width: 100%;
}

.kuali-gallery .kuali-description h2 {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 600;
}

.kuali-gallery .kuali-description p {
    margin: 0 0 10px;
    line-height: 1.65;
}

.kuali-gallery .kuali-accordions {
    margin-top: 5px !important;
}



/* ==========================================================
   GOOGLE MAPS LINK
   ========================================================== */

.tour-item a[href*="google"] {
    color: #C3592D;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.tour-item a[href*="google"]:hover {
    color: #A34720;
    text-decoration: underline;
}

.tour-item a[href*="google"]:visited {
    color: #C3592D;
}



/* ==========================================================
   KUALI PRODUCT - IDIOMAS
   ========================================================== */

.kuali-lang-content {
    display: none !important;
}


/* Título */

.kuali-title .kuali-lang-content {
    display: none !important;
}

.kuali-title .kuali-lang-content[style*="block"] {
    display: inline !important;
}




/* ==========================================================
   LISTAS DE LOS CONTENIDOS KUALI
   ========================================================== */

.kuali-accordion-inner ul {
    list-style-type: disc !important;
    list-style-position: outside !important;
    margin: 0 0 20px 24px !important;
    padding-left: 20px !important;
}

.kuali-accordion-inner ol {
    list-style-type: decimal !important;
    list-style-position: outside !important;
    margin: 0 0 20px 24px !important;
    padding-left: 20px !important;
}

.kuali-accordion-inner li {
    display: list-item !important;
    margin-bottom: 8px !important;
}







/* ==========================================================
   FORMATO DEL CONTENIDO DE ITINERARY Y ACORDEONES
   ========================================================== */

.kuali-accordion-inner p {
    margin: 0 0 18px !important;
    line-height: 1.7 !important;
}

.kuali-accordion-inner p:last-child {
    margin-bottom: 0 !important;
}

.kuali-accordion-inner h1,
.kuali-accordion-inner h2,
.kuali-accordion-inner h3,
.kuali-accordion-inner h4,
.kuali-accordion-inner h5,
.kuali-accordion-inner h6 {
    margin-top: 24px !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
}

.kuali-accordion-inner h1:first-child,
.kuali-accordion-inner h2:first-child,
.kuali-accordion-inner h3:first-child,
.kuali-accordion-inner h4:first-child,
.kuali-accordion-inner h5:first-child,
.kuali-accordion-inner h6:first-child {
    margin-top: 0 !important;
}

.kuali-accordion-inner strong {
    font-weight: 700;
}





/* ==========================================================
   PRODUCTOS RELACIONADOS
   ========================================================== */

.kuali-related-products {
    width: 100%;
    margin-top: 90px;
    padding: 0 0 80px;
}

.kuali-related-products-container {
    width: min(1400px, 92%);
    margin: 0 auto;
}


/* ==========================================================
   TÍTULO
   ========================================================== */

.kuali-related-products-heading {
    margin-bottom: 30px;
}

.kuali-related-products-heading h2 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;

    color: #111;
}


/* ==========================================================
   GRID
   ========================================================== */

.kuali-related-products-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 24px;
}


/* ==========================================================
   CARD
   ========================================================== */

.kuali-related-card {
    min-width: 0;
}

.kuali-related-link {
    display: block;

    color: inherit;
    text-decoration: none;
}


/* ==========================================================
   IMAGE
   ========================================================== */

.kuali-related-image {
    width: 100%;
    aspect-ratio: 1 / 1.08;

    overflow: hidden;
}

.kuali-related-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.35s ease;
}

.kuali-related-link:hover
.kuali-related-image img {
    transform: scale(1.02);
}


/* ==========================================================
   CONTENT
   ========================================================== */

.kuali-related-content {
    padding-top: 12px;
}

.kuali-related-content h3 {
    margin: 0 0 8px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 21px;
    line-height: 1.2;
    font-weight: 700;

    color: #111;
}


/* ==========================================================
   PRICE
   ========================================================== */

.kuali-related-price {
    margin-bottom: 14px;

    font-size: 15px;
}


/* ==========================================================
   BUTTON
   ========================================================== */

.kuali-related-button {
    width: 100%;
    min-height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #111;
    border-radius: 30px;

    color: #111;

    font-size: 15px;
    font-weight: 500;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.kuali-related-link:hover
.kuali-related-button {
    background-color: #111;
    color: #fff;
}


/* ==========================================================
   IDIOMAS
   ========================================================== */

.kuali-related-products
.kuali-lang-content {
    display: none !important;
}

body.kuali-language-en
.kuali-related-products
.kuali-lang-en {
    display: inline !important;
}

body.kuali-language-es
.kuali-related-products
.kuali-lang-es {
    display: inline !important;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 900px) {

    .kuali-related-products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 600px) {

    .kuali-related-products {
        margin-top: 60px;
    }

    .kuali-related-products-grid {
        grid-template-columns: 1fr;
    }

}



/* ==========================================================
   ALINEAR PRODUCTOS RELACIONADOS
   ========================================================== */

.kuali-related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;

    align-items: stretch;
}

.kuali-related-card {
    display: flex;
    min-width: 0;
}

.kuali-related-link {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;

    color: inherit;
    text-decoration: none;
}

.kuali-related-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.kuali-related-content h3 {
    min-height: 50px;
    margin: 0 0 8px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 700;

    color: #111;
}

.kuali-related-price {
    margin-bottom: 14px;
}

.kuali-related-button {
    margin-top: auto;
}




/* ==========================================================
   PRODUCT PAGE - RESPONSIVE
   ========================================================== */

@media (max-width: 900px) {

    .kuali-product {
        width: 100%;
        max-width: 100%;

        margin: 40px auto;

        padding: 0 25px;

        display: grid;

        grid-template-columns: 1fr;

        gap: 40px;

        box-sizing: border-box;
    }

    .kuali-gallery,
    .kuali-info {
        width: 100%;
        min-width: 0;
    }

    .kuali-main-image img {
        width: 100%;
        height: auto;

        max-height: none;

        object-fit: cover;
    }

    .kuali-thumbnails {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 10px;
    }

    .kuali-thumbnails img {
        width: 100%;
        height: 80px;
    }

    .kuali-title {
        font-size: 3rem;

        line-height: 1.1;
    }

    .kuali-subtitle {
        font-size: 18px;
    }

    .kuali-price {
        font-size: 1.8rem;
    }

    .tour-price {
        font-size: 2rem;
    }

    .kuali-tour-info {
        margin: 25px 0;
    }

    .kuali-booking-box {
        width: 100%;
        padding: 20px;

        box-sizing: border-box;
    }

    .kuali-booking-date select {
        width: 100%;
        box-sizing: border-box;
    }

    .kuali-person-row {
        gap: 15px;
    }

    .kuali-accordion-button {
        font-size: 18px;
    }

}


@media (max-width: 600px) {

    .kuali-product {
        margin: 25px auto;

        padding: 0 18px;

        gap: 30px;
    }

    .kuali-title {
        font-size: 2.4rem;
    }

    .kuali-price {
        font-size: 1.6rem;
    }

    .tour-price {
        font-size: 1.8rem;
    }

    .kuali-thumbnails {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 8px;
    }

    .kuali-thumbnails img {
        height: 65px;
    }

    .kuali-booking-box {
        padding: 16px;
    }

    .kuali-accordion-button {
        padding: 20px 0;

        font-size: 17px;
    }

}

/* ==========================================================
   TÍTULO DEL PRODUCTO - DESKTOP / MOBILE
   ========================================================== */

/* Por defecto: ocultar versión móvil */
.kuali-mobile-product-heading {
    display: none;
}

/* Desktop: mostrar título de la columna derecha */
.kuali-info > h1.kuali-title {
    display: block;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 768px) {

    /* Mostrar título móvil */
    .kuali-mobile-product-heading {
        display: block;
    }

    /* Ocultar título de la columna derecha */
    .kuali-info > h1.kuali-title {
        display: none;
    }

}



/* ==========================================================
   RELATED PRODUCTS - MOBILE CAROUSEL
   ========================================================== */

@media (max-width: 768px) {

    .kuali-related-products {
        width: 100%;
        overflow: hidden;
    }

    .kuali-related-products-container {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .kuali-related-products-heading {
        margin-bottom: 25px;
    }

    .kuali-related-products-grid {
        display: flex;

        flex-wrap: nowrap;

        gap: 18px;

        overflow-x: auto;
        overflow-y: hidden;

        scroll-snap-type: x mandatory;

        -webkit-overflow-scrolling: touch;

        padding-bottom: 15px;

        scrollbar-width: none;
    }

    .kuali-related-products-grid::-webkit-scrollbar {
        display: none;
    }


    /* ======================================================
       CADA PRODUCTO
       ====================================================== */

    .kuali-related-card {
        flex: 0 0 82%;

        min-width: 82%;
        max-width: 82%;

        scroll-snap-align: start;

        box-sizing: border-box;
    }


    /* ======================================================
       IMAGEN
       ====================================================== */

    .kuali-related-image {
        width: 100%;
    }

    .kuali-related-image img {
        width: 100%;
        height: 240px;

        object-fit: cover;

        display: block;
    }


    /* ======================================================
       TÍTULO
       ====================================================== */

    .kuali-related-content h3 {
        font-size: 24px;

        line-height: 1.15;

        margin: 15px 0 10px;

        overflow-wrap: break-word;
        word-break: normal;
    }


    /* ======================================================
       PRECIO
       ====================================================== */

    .kuali-related-price {
        font-size: 17px;

        margin-bottom: 15px;
    }


    /* ======================================================
       BOTÓN
       ====================================================== */

    .kuali-related-button {
        display: inline-flex;

        align-items: center;
        justify-content: center;

        min-height: 45px;

        padding: 0 22px;

        border: 1px solid #000;

        border-radius: 999px;

        box-sizing: border-box;
    }

}





/* ==========================================================
   INTERNATIONAL TOUR INQUIRY
   ========================================================== */

.kuali-international-inquiry {
    width: 100%;
    margin-top: 28px;
}

/* ==========================================================
   INTERNATIONAL TOUR - WPForms
   ========================================================== */

.kuali-international-inquiry .wpforms-container {
    width: 100%;
    margin: 0 !important;
}


.kuali-international-inquiry .wpforms-field-label {
    font-family: sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
}


.kuali-international-inquiry input,
.kuali-international-inquiry textarea {
    width: 100% !important;

    border: 1px solid #d9d5cf !important;
    border-radius: 6px !important;

    background: #fff !important;

    padding: 12px 14px !important;

    font-family: sans-serif;
    font-size: 15px;

    box-sizing: border-box;
}


.kuali-international-inquiry input:focus,
.kuali-international-inquiry textarea:focus {
    border-color: #C3592D !important;

    box-shadow: 0 0 0 1px #C3592D !important;

    outline: none !important;
}


.kuali-international-inquiry textarea {
    min-height: 130px;
    resize: vertical;
}


.kuali-international-inquiry .wpforms-submit {
    background: #C3592D !important;

    color: #fff !important;

    border: none !important;

    border-radius: 999px !important;

    padding: 12px 28px !important;

    font-family: sans-serif;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: .25s ease;
}


.kuali-international-inquiry .wpforms-submit:hover {
    opacity: .9;
}



/* ==========================================================
   INTERNATIONAL TOUR - WPForms 459
   CAMPOS UNIFORMES
   ========================================================== */

.kuali-international-inquiry #wpforms-459 {
    width: 100%;
}


.kuali-international-inquiry #wpforms-459 .wpforms-field {
    width: 100%;
    max-width: 100%;
}


/* Campos normales */

.kuali-international-inquiry #wpforms-459
.wpforms-field input[type="text"],
.kuali-international-inquiry #wpforms-459
.wpforms-field input[type="email"],
.kuali-international-inquiry #wpforms-459
.wpforms-field input[type="number"],
.kuali-international-inquiry #wpforms-459
.wpforms-field textarea {

    width: 100% !important;
    max-width: 100% !important;

    box-sizing: border-box !important;
}


/* Textarea de comentarios */

.kuali-international-inquiry #wpforms-459
.wpforms-field-textarea textarea {

    min-height: 120px;

}


/* Nombre / Apellidos */

.kuali-international-inquiry #wpforms-459
.wpforms-field-name .wpforms-field-row {

    display: flex;
    gap: 14px;
}


.kuali-international-inquiry #wpforms-459
.wpforms-field-name .wpforms-field-row-block {

    flex: 1;
    width: auto !important;
}