.elementor-638 .elementor-element.elementor-element-6be0c76a{--display:flex;}:root{--page-title-display:none;}/* Start custom CSS *//* ==========================================================================
   RESULTADOS DE BÚSQUEDA MOTOPRESS (SEARCH RESULTS) - ULTRA CLEAN
   ========================================================================== */

/* 1. Contenedor General de la página */
.mphb_sc_search_results-wrapper {
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px 16px;
    box-sizing: border-box;
}

.mphb_sc_search_results-info {
    font-size: 15px;
    color: #515962;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #dee3ed;
}

/* 2. Tarjeta superior: Recomendado según tu búsqueda */
.mphb-recommendation-title {
    font-size: 20px;
    font-weight: 700;
    color: #142238;
    margin-bottom: 12px;
}

#mphb-recommendation {
    background: #142238;
    color: #ffffff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(201, 176, 116, 0.4);
    box-shadow: 0 10px 25px rgba(20, 34, 56, 0.15);
    margin-bottom: 40px;
}

#mphb-recommendation .mphb-recommendation-details-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

#mphb-recommendation a {
    color: #C9B074;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

#mphb-recommendation .mphb-recommendation-total {
    font-size: 18px;
    font-weight: 600;
    margin: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 14px;
}

#mphb-recommendation .mphb-recommendation-total .mphb-price {
    color: #C9B074;
    font-size: 22px;
    font-weight: 700;
}

#mphb-recommendation .mphb-recommendation-reserve-button {
    background-color: #C9B074;
    color: #142238;
    font-weight: 700;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
}

#mphb-recommendation .mphb-recommendation-reserve-button:hover {
    background-color: #dfc88e;
}

/* Ocultar el aviso redundante de carrito vacío si no se usa */
#mphb-reservation-cart.mphb-empty-cart {
    display: none;
}

/* 3. Tarjeta de Alojamiento (Card Principal) */
.mphb-room-type {
    display: grid;
    grid-template-columns: 460px 1fr;
    column-gap: 36px;
    background: #ffffff;
    border: 1px solid #dee3ed;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    align-items: start;
    overflow: hidden;
}

/* 4. Galería: reparar el colapso de FlexSlider */
.mphb-room-type .mphb-room-type-images {
    grid-column: 1;
    grid-row: 1 / span 10; /* Abarca toda la altura lateral */
    min-width: 0;          /* CLAVE: evita el desborde y rotura del slider JS */
    width: 100%;
}

/* Evitar que al hacer clic en la foto te redirija */
.mphb-room-type-images a {
    pointer-events: none !important;
    cursor: default;
}

/* Mantener activas las flechas de navegación */
.mphb-room-type-images .flex-direction-nav a {
    pointer-events: auto !important;
    cursor: pointer;
}

.mphb-room-type-images .flex-viewport {
    border-radius: 10px;
    overflow: hidden;
}

.mphb-room-type-images img {
    border-radius: 10px;
    object-fit: cover;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
}

/* Ocultar las 15 miniaturas desordenadas de abajo */
.mphb-room-type-images .mphb-gallery-thumbnails-slider {
    display: none !important;
}

/* 5. Columna Derecha: Título, Atributos, Precio y CTA */
.mphb-room-type-title.entry-title {
    grid-column: 2;
    margin: 0 0 12px 0;
    font-size: 22px;
    font-weight: 700;
}

.mphb-room-type-title.entry-title a {
    color: #142238;
    text-decoration: none;
    transition: color 0.2s;
}

.mphb-room-type-title.entry-title a:hover {
    color: #C9B074;
}

/* Párrafo descriptivo */
.mphb-room-type > p:not(.mphb-regular-price):not(.mphb-view-details-button-wrapper) {
    grid-column: 2;
    color: #5e636e;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

/* Ocultar encabezado redundante 'Detalles' */
.mphb-room-type-details-title {
    display: none;
}

/* Badges de Detalles (Invitados, Tamaño, Cama) */
.mphb-loop-room-type-attributes {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.mphb-loop-room-type-attributes li {
    background: #f1f3f9;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: #2f3237;
}

.mphb-loop-room-type-attributes .mphb-attribute-title {
    font-weight: 600;
    color: #142238;
    margin-right: 4px;
}

/* Bloque de Precio */
.mphb-regular-price {
    grid-column: 2;
    background: #fafaf9;
    border-left: 3px solid #C9B074;
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    margin: 0 0 20px 0;
    font-size: 13px;
    color: #5e636e;
}

.mphb-regular-price strong {
    color: #142238;
}

.mphb-regular-price .mphb-price {
    font-size: 22px;
    font-weight: 700;
    color: #142238;
    margin-left: 4px;
}

/* Botón 'Ver detalles' secundario */
.mphb-view-details-button-wrapper {
    grid-column: 2;
    margin: 0 0 16px 0;
}

.mphb-view-details-button {
    font-size: 13px;
    color: #142238;
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* 6. Sección de Reserva (Select y Botón Principal) */
.mphb-reserve-room-section {
    grid-column: 2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.mphb-rooms-quantity-wrapper {
    margin: 0;
}

.mphb-rooms-quantity {
    height: 48px;
    padding: 0 12px;
    border: 1px solid #dee3ed;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    color: #142238;
}

/* Botón 'Libro' -> 'RESERVAR' llamativo */
.mphb-reserve-room-section .mphb-book-button {
    font-size: 0 !important; /* Oculta 'Libro' */
    background-color: #C9B074;
    border: none;
    border-radius: 25px;
    padding: 0 32px;
    height: 48px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(201, 176, 116, 0.4);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mphb-reserve-room-section .mphb-book-button::after {
    content: "RESERVAR AHORA";
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #142238;
}

.mphb-reserve-room-section .mphb-book-button:hover {
    background-color: #dfc88e;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(201, 176, 116, 0.5);
}

/* Botón secundario de confirmar dentro de la sección */
.mphb-reserve-room-section .mphb-confirm-reservation {
    background-color: #142238;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 0 24px;
    height: 48px;
    font-weight: 600;
    cursor: pointer;
}

/* ==========================================================================
   ADAPTACIÓN MOBILE
   ========================================================================== */
@media (max-width: 900px) {
    .mphb-room-type {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 16px;
    }

    .mphb-room-type .mphb-room-type-images {
        grid-column: 1;
        grid-row: auto;
        max-width: 100%;
    }

    .mphb-room-type-title.entry-title,
    .mphb-room-type > p:not(.mphb-regular-price):not(.mphb-view-details-button-wrapper),
    .mphb-loop-room-type-attributes,
    .mphb-regular-price,
    .mphb-view-details-button-wrapper,
    .mphb-reserve-room-section {
        grid-column: 1;
    }

    .mphb-reserve-room-section {
        flex-direction: column;
        align-items: stretch;
    }

    .mphb-reserve-room-section .mphb-book-button,
    .mphb-rooms-quantity {
        width: 100%;
    }
}/* End custom CSS */