/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/

/* Prevent horizontal scroll/swipe on mobile */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}
body {
    overscroll-behavior-x: none;
}

/* Simple Mobile Nav */
#simple-mobile-nav {
    display: none;
}
#simple-mobile-nav.open {
    display: block;
}
#simple-mobile-nav-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 100000;
}
#simple-mobile-nav-panel {
    position: fixed;
    top: 0; left: 0;
    width: 80%;
    max-width: 340px;
    height: 100%;
    background: #fff;
    z-index: 100001;
    overflow-y: auto;
    padding: 20px 0;
    box-shadow: 3px 0 15px rgba(0,0,0,0.2);
}
#simple-mobile-nav-close {
    background: none;
    border: none;
    font-size: 22px;
    float: right;
    margin-right: 20px;
    cursor: pointer;
    color: #333;
    line-height: 1;
    padding: 0;
    margin-bottom: 10px;
}
#simple-mobile-nav-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
    clear: both;
}
#simple-mobile-nav-panel > ul > li {
    border-bottom: 1px solid #eee;
}
#simple-mobile-nav-panel a,
#simple-mobile-nav-panel .has-sub > span {
    display: block;
    padding: 15px 25px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
}
#simple-mobile-nav-panel a:hover,
#simple-mobile-nav-panel .has-sub > span:hover {
    color: #CF137E;
}
#simple-mobile-nav-panel .has-sub > ul {
    display: none;
    background: #f8f8f8;
}
#simple-mobile-nav-panel .has-sub.expanded > ul {
    display: block;
}
#simple-mobile-nav-panel .has-sub > ul a {
    padding-left: 35px;
    font-weight: 400;
    font-size: 13px;
}
.error-select {
    border: 1px solid #dc3545!important;
}

/* Botón Reservar con WhatsApp en tarjetas de excursiones */
.btn_reservar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    padding: 11px 22px;
    border-radius: 30px;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(37,211,102,0.35);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn_reservar:hover,
.btn_reservar:focus {
    background: #1da851;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(37,211,102,0.45);
    text-decoration: none;
}
.btn_reservar img {
    width: 18px;
    height: 18px;
    display: inline-block;
}
/* En pantallas pequeñas el botón ocupa todo el ancho para verse bien */
@media (max-width: 575px) {
    .box_list .d-flex.align-items-center.justify-content-between {
        flex-wrap: wrap;
        gap: 12px;
    }
    .box_list .d-flex.align-items-center.justify-content-between > div {
        width: 100%;
    }
    .box_list .btn_reservar {
        width: 100%;
        min-width: 0;
        padding-left: 14px;
        padding-right: 14px;
    }
}

/* Sección "Nuestras excursiones": tarjetas a ancho completo en móvil/tablet
   (las columnas col-2/col-8 no colapsaban y dejaban las tarjetas estrechas) */
@media (max-width: 991px) {
    .container-custom .row.row-sm > .col-2 {
        display: none;
    }
    .container-custom .row.row-sm > .col-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Mapa de Google en el footer (nuestra ubicación) */
.footer-map {
    line-height: 0;
}
.footer-map iframe {
    width: 100%;
    height: 320px;
    border: 0;
    display: block;
}
@media (max-width: 575px) {
    .footer-map iframe {
        height: 230px;
    }
}