/* 
 * ESTILOS PÃšBLICOS - Hotel Booking Peru
 * -----------------------------------------------------------------------------
 * Este archivo define la apariencia premium de los componentes del frontend.
 * DISEÃ‘O: Estrictamente cuadrado (sin bordes redondeados).
 * -----------------------------------------------------------------------------
 */

/* --- 1. CONFIGURACIÃ“N GLOBAL Y VARIABLES --- */
:root {
    --hbp-primary-color: #E85F4C;
    --hbp-secondary-color: #292836;
    --hbp-text-color: #6B6A71;
    --hbp-heading-color: #292836;
    --hbp-gray-color: #F9F8F4;
    --hbp-border-color: #E7E6E1;
    --hbp-black: #292836;
    --hbp-label: #6B6A71;
}

/* Importar tipografÃ­a Urbanist */
@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;500;600;700&display=swap');

.hbp-advanced-search-wrap {
    max-width: 1170px;
    margin: 20px auto;
    font-family: 'Urbanist', sans-serif !important;
    text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(41, 40, 54, 0);
    color: var(--hbp-text-color);
}

/* --- 2. BUSCADOR AVANZADO (Desktop) --- */
.hbp-advanced-search-wrap .input-group {
    background: var(--hbp-gray-color);
    display: flex;
    align-items: stretch;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 40px 0px;
    height: 78px;
    box-sizing: border-box;
    position: relative;
    border-radius: 0 !important;
    overflow: visible;
    border: none !important;
    /* Bordes internos manejados por campos */
}

.hbp-advanced-search-wrap .search-date,
.hbp-advanced-search-wrap .search_guests_field,
.hbp-advanced-search-wrap .add_input_field {
    flex: 1;
    padding: 0 15px;
    border: 1px solid var(--hbp-border-color);
    border-right: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
    box-sizing: border-box;
    min-width: 0;
}

.hbp-advanced-search-wrap .search-date:hover,
.hbp-advanced-search-wrap .search_guests_field:hover,
.hbp-advanced-search-wrap .add_input_field:hover {
    background: var(--hbp-gray-color);
}

.hbp-advanced-search-wrap .field-group-content {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hbp-advanced-search-wrap .hbp-icon {
    font-size: 1.2rem;
    color: var(--hbp-primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
}

.hbp-advanced-search-wrap .field-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    height: 100%;
}

.hbp-advanced-search-wrap label.title-field,
.hbp-advanced-search-wrap .search_guests_title,
.hbp-advanced-search-wrap .title-field {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--hbp-label);
    font-weight: 700;
    margin-bottom: 2px;
    letter-spacing: 0.8px;
    line-height: normal;
}

.hbp-advanced-search-wrap .search_date,
.hbp-advanced-search-wrap .search_guests_title_value,
.hbp-advanced-search-wrap .add_ids_title_value {
    font-size: 15px;
    font-weight: 600;
    color: var(--hbp-secondary-color);
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    cursor: pointer;
    outline: none;
    font-family: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: normal;
}

/* --- 3. DROPDOWNS Y SELECTORES --- */
.hbp-advanced-search-wrap .search_guests_select_wrapper,
.hbp-advanced-search-wrap .add_ids_list {
    display: none;
    position: absolute;
    top: 100%;
    left: -1px;
    background: #fff;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border-radius: 0 !important;
    padding: 0;
    width: 322px;
    border: 1px solid var(--hbp-border-color);
    z-index: 100;
}

.hbp-advanced-search-wrap .add_ids_list {
    max-height: 250px;
    overflow-y: auto;
}

/* Scrollbar personalizada para el dropdown */
.hbp-advanced-search-wrap .add_ids_list::-webkit-scrollbar {
    width: 6px;
}

.hbp-advanced-search-wrap .add_ids_list::-webkit-scrollbar-track {
    background: var(--hbp-gray-color);
}

.hbp-advanced-search-wrap .add_ids_list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 0;
}

.hbp-advanced-search-wrap .add_ids_list::-webkit-scrollbar-thumb:hover {
    background: var(--hbp-primary-color);
}

.hbp-advanced-search-wrap .add_ids_list li {
    padding: 15px 25px;
    border-bottom: 1px solid var(--hbp-gray-color);
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    color: var(--hbp-secondary-color);
    list-style: none;
    margin: 0;
}

.hbp-advanced-search-wrap .add_ids_list li:hover {
    background: var(--hbp-gray-color);
    color: var(--hbp-primary-color);
}

.hbp-advanced-search-wrap .add_ids_list li.is-active {
    background: var(--hbp-primary-color);
    color: #fff !important;
}

.hbp-advanced-search-wrap .search_guests_select_wrapper {
    padding: 25px;
}

.hbp-advanced-search-wrap .input_select_field_guests {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hbp-advanced-search-wrap .btn-search-guests-change {
    width: 30px;
    height: 30px;
    border-radius: 0 !important;
    background: var(--hbp-primary-color) !important;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none !important;
}

.hbp-advanced-search-wrap .search_apply_btn {
    background: var(--hbp-secondary-color) !important;
    color: #fff !important;
    width: 100%;
    padding: 12px;
    border-radius: 0 !important;
    font-weight: 700;
    border: none !important;
    cursor: pointer;
    margin-top: 20px;
}

/* --- 4. CALENDARIO (Flatpickr) --- */
.flatpickr-calendar {
    font-family: 'Urbanist', sans-serif !important;
    border-radius: 0 !important;
    z-index: 10001 !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid var(--hbp-border-color) !important;
    background: #fff !important;
}

/* Forzar disposiciÃ³n un solo mes (Escritorio y MÃ³vil) */
.flatpickr-calendar {
    width: 308px !important;
}

.flatpickr-innerContainer,
.flatpickr-rContainer,
.flatpickr-days,
.dayContainer,
.flatpickr-weekdays {
    width: 308px !important;
    min-width: 308px !important;
    max-width: 308px !important;
}

.flatpickr-innerContainer {
    display: block !important;
}

.flatpickr-months {
    display: flex !important;
}

.flatpickr-month {
    height: 40px !important;
}

.flatpickr-weekdays {
    display: flex !important;
    height: 30px !important;
}

.flatpickr-weekday {
    flex: 1 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--hbp-secondary-color) !important;
    text-transform: uppercase;
    text-align: center !important;
}

.flatpickr-days {
    display: flex !important;
}

.dayContainer {
    display: flex !important;
    flex-wrap: wrap !important;
}

.flatpickr-day {
    flex-basis: 14.2857% !important;
    max-width: 14.2857% !important;
    height: 40px !important;
    line-height: 40px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    font-weight: 500;
    box-sizing: border-box !important;
}

/* DÃ­as de los meses anterior/prÃ³ximo */
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    color: #ccced1 !important;
    background: transparent !important;
    border-color: transparent !important;
    cursor: default !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: var(--hbp-primary-color) !important;
    border-color: var(--hbp-primary-color) !important;
    color: #fff !important;
}

/* SelecciÃ³n Naranja */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
    background: var(--hbp-primary-color) !important;
    border-color: var(--hbp-primary-color) !important;
    color: #fff !important;
}

.flatpickr-day.inRange {
    background: rgba(232, 95, 76, 0.15) !important;
    border-color: transparent !important;
    box-shadow: -5px 0 0 rgba(232, 95, 76, 0.15), 5px 0 0 rgba(232, 95, 76, 0.15) !important;
}

/* --- 5. BOTÃ“N BUSCAR --- */
.hbp-advanced-search-wrap .submit {
    display: flex;
    align-items: stretch;
    height: 100%;
}

.hbp-advanced-search-wrap .btn-search {
    background: var(--hbp-primary-color) !important;
    color: #fff !important;
    border: none !important;
    width: 90px;
    height: 100% !important;
    font-size: 1.6rem;
    cursor: pointer;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    outline: none !important;
    box-shadow: none !important;
}

.hbp-advanced-search-wrap .btn-search:hover {
    filter: brightness(1.1) !important;
}

/* --- 6. DISEÃ‘O RESPONSIVO (MÃ³vil) --- */
@media (max-width: 992px) {
    .hbp-advanced-search-wrap .input-group {
        flex-direction: column;
        height: auto;
        border: none !important;
        box-shadow: none;
        background: transparent;
        padding: 0;
    }

    .hbp-advanced-search-wrap .search-date,
    .hbp-advanced-search-wrap .search_guests_field,
    .hbp-advanced-search-wrap .add_input_field {
        border: 1px solid var(--hbp-border-color) !important;
        margin-bottom: 12px;
        padding: 20px;
        height: auto;
        min-height: 80px;
        width: 100%;
        display: flex;
        background: #fff !important;
        box-shadow: rgba(0, 0, 0, 0.05) 0px 5px 15px 0px;
    }

    .hbp-advanced-search-wrap .field-group-content {
        justify-content: space-between;
        flex-direction: row-reverse;
        gap: 0;
    }

    .hbp-advanced-search-wrap .field-content {
        align-items: flex-start;
        height: auto;
    }

    .hbp-advanced-search-wrap .hbp-icon {
        min-width: unset;
        font-size: 1.5rem;
    }

    .hbp-advanced-search-wrap .submit {
        height: 60px !important;
        margin-top: 5px;
        width: 100%;
    }

    .hbp-advanced-search-wrap .btn-search {
        width: 100%;
        height: 100% !important;
        font-size: 1.8rem;
    }

    .hbp-advanced-search-wrap .search_guests_select_wrapper,
    .hbp-advanced-search-wrap .add_ids_list {
        width: 100%;
        left: 0;
    }

    .flatpickr-calendar {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

/* --- 6. HBP ROOM CARD (Premium Refined) --- */
@import url("https://fonts.googleapis.com/css2?family=Urbanist:wght@400;600;700;800&family=Prata&display=swap");

.booking-one__single {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin: 0 auto 30px auto;
    font-family: "Urbanist", sans-serif;
    border: 1px solid #f0f0f0;
    max-width: 500px;
    height: 600px !important;
    /* Altura total bloqueada para uniformidad */
    display: flex !important;
    flex-direction: column !important;
}

.booking-one__single:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.booking-one__image {
    position: relative !important;
    overflow: hidden !important;
    height: 280px !important;
    /* Unificación forzada */
    width: 100% !important;
}

.booking-one__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.booking-one__single:hover .booking-one__image img {
    transform: scale(1.05);
}

.booking__item-labels {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.hbp-booking__item-label {
    background: #1a1a3d;
    color: #fff;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    border-radius: 0;
}

.hbp-wishlist-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.wishlist-icon a {
    background: rgba(0, 0, 0, 0.3) !important;
    color: #fff !important;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    text-decoration: none;
    backdrop-filter: blur(2px);
    transition: all 0.3s ease;
}

.hbp-wishlist-icon a:hover {
    background: #E85F4C !important;
}

.booking-one__media-icons {
    position: absolute;
    bottom: -1px;
    right: 30px;
    background: #fff;
    display: flex;
    padding: 8px 15px;
    border-radius: 0;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
    z-index: 3;
    gap: 15px;
    border: 1px solid #eee;
    border-bottom: none;
}

.booking-one__media-icons .hbp-media-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #888;
    font-size: 14px;
}

.booking-one__media-icons .hbp-media-item i {
    font-size: 18px;
    transition: color 0.3s ease;
}

.booking-one__media-icons .hbp-media-item:hover i {
    color: #E85F4C;
}

.hbp-media-photos .hbp-count {
    background: #E85F4C;
    color: #fff;
    font-size: 10px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1px;
    left: 23px;
    font-weight: 800;
    border: 2px solid #fff;
}

.booking-one__content {
    padding: 25px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    justify-content: space-between !important;
    overflow: visible !important;
    /* Para asegurar que el footer se vea */
}


.booking-one__title {
    font-family: Marcellus, sans-serif;
    font-size: 28px;
    margin: 0 0 10px 0;
    line-height: 1.2;
    min-height: 68px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    line-clamp: 2 !important;
    /* Estándar */
    overflow: hidden !important;
    white-space: normal !important;
}

.booking-one__title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.booking-one__title a:hover {
    color: #E85F4C;
}

.booking-one__price {
    margin-bottom: 25px;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.hbp-price-value {
    color: #E85F4C;
    font-size: 30px;
    font-weight: 400;
    font-family: "Urbanist", sans-serif;
}

.hbp-price-suffix {
    color: #888;
    font-size: 16px;
    font-weight: 500;
    font-family: "Urbanist", sans-serif;
}

.booking-one__meta-footer {
    background: #fdf8f5;
    padding: 12px 25px;
    border-radius: 0;
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    /* Empuja el footer al final */
}

.hbp-meta-footer-item {
    font-size: 15px;
    font-family: "Urbanist", sans-serif;
    color: #555;
    display: flex;
    gap: 8px;
    align-items: center;
}

.hbp-meta-footer-item .hbp-meta-label {
    color: #888;
    font-weight: 500;
    font-family: "Urbanist", sans-serif;
}

.hbp-meta-footer-item .hbp-meta-value {
    color: #1a1a1a;
    font-weight: 700;
    font-family: "Urbanist", sans-serif;
}

/* --- 7. ROOM CARD GALLERY LIGHTBOX --- */
#hbp-gallery-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.hbp-gallery-container {
    position: relative;
    width: 90%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hbp-gallery-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hbp-gallery-content img {
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 0;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.hbp-gallery-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 50px;
    cursor: pointer;
    z-index: 100010;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.hbp-gallery-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    padding: 0 40px;
}

.hbp-prev,
.hbp-next {
    color: #fff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 60px;
    pointer-events: auto;
    transition: all 0.3s ease;
    background: none;
    border: none;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.hbp-prev:hover,
.hbp-next:hover {
    color: #fff;
    transform: none;
}

/* --- 8. SIDEBAR SEARCH [hbp_search_sidebar] --- */
.hbp-search-sidebar-wrap {
    background: #fff;
    padding: 30px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.hbp-sidebar-form .sidebar-field {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    position: relative;
    cursor: pointer;
}

.hbp-sidebar-form .sidebar-field:first-child {
    padding-top: 0;
}

.hbp-sidebar-form .field-group-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hbp-sidebar-form .title-field {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.hbp-sidebar-form input.search_date,
.hbp-sidebar-form .search_guests_title_value,
.hbp-sidebar-form .add_ids_title_value {
    font-family: "Marcellus", sans-serif;
    font-size: 20px;
    color: #1a1a1a;
    border: none;
    background: transparent;
    padding: 0;
    width: 100%;
    cursor: pointer;
}

.hbp-sidebar-form .hbp-icon {
    color: #E85F4C;
    font-size: 24px;
}

.hbp-sidebar-form .submit {
    margin-top: 30px;
}

.hbp-sidebar-form .btn-search {
    width: 100%;
    background: #E85F4C;
    color: #fff;
    border: none;
    padding: 20px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hbp-sidebar-form .btn-search:hover {
    background: #1a1a3d;
}

.hbp-sidebar-form .btn-search i {
    font-size: 28px;
}

/* Ajustes para el dropdown de huï¿½spedes en sidebar */
.hbp-search-sidebar-wrap .search_guests_select_wrapper {
    top: 100%;
    left: 0;
    width: 100%;
    box-sizing: border-box;
}

.hbp-search-sidebar-wrap .add_ids_list {
    width: 100%;
    left: 0;
}


/* Estilos para dropdowns del sidebar como tarjetas flotantes */
.hbp-search-sidebar-wrap .search_guests_select_wrapper,
.hbp-search-sidebar-wrap .add_ids_list {
    position: absolute;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 0px;
    z-index: 999;
    padding: 20px;
    min-width: 300px;
    margin-top: 10px;
    border: 1px solid #eee;
}

.hbp-search-sidebar-wrap .add_ids_list {
    max-height: 250px;
    overflow-y: auto;
    list-style: none;
    padding: 10px 0;
}

.hbp-search-sidebar-wrap .add_ids_list li {
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.hbp-search-sidebar-wrap .add_ids_list li:hover {
    background: #f8f9fa;
}

.hbp-search-sidebar-wrap .sidebar-field {
    position: relative;
}

.hbp-search-sidebar-wrap .add_ids_list::-webkit-scrollbar {
    width: 6px;
}

.hbp-search-sidebar-wrap .add_ids_list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.hbp-search-sidebar-wrap .add_ids_list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 0px;
}

.hbp-search-sidebar-wrap .add_ids_list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.hbp-search-sidebar-wrap .add_input_field .term_item:hover {
    color: var(--hbp-primary-color);
}

/* ROOM RESULTS VIEW */
.hbp-room-results-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
    font-family: inherit;
}

.hbp-results-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.hbp-results-sidebar {
    flex: 0 0 350px;
    position: sticky;
    top: 20px;
}

.hbp-results-content {
    flex: 1;
}

.hbp-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.hbp-results-count {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--hbp-secondary-color);
}

.hbp-count-number {
    font-size: 24px;
    color: var(--hbp-primary-color);
}

.hbp-results-sorting {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hbp-sort-select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    background: #fff;
    color: var(--hbp-label);
    cursor: pointer;
    font-size: 16px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 600;
    border-radius: 0;
    height: 55 px;
    min-width: 185px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23292836' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 32px;
    transition: border-color 0.2s;
}

.hbp-sort-select:focus {
    outline: none;
    border-color: var(--hbp-primary-color);
}

/* HORIZONTAL ROOM CARD */
.booking-list__wrap {
    display: flex;
    background: #fff;
    border: 1px solid #eee;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    overflow: hidden;
    min-height: 280px;
}

.booking-list__wrap:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.booking-list__image {
    flex: 0 0 400px;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.booking-list__thumbnail {
    display: block;
    width: 100%;
    height: 100%;
}

.booking-list__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.booking-list__wrap:hover .booking-list__thumbnail img {
    transform: scale(1.05);
}

.booking-list__labels {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}

.hbp-booking-list__featured {
    background: var(--hbp-secondary-color);
    color: #fff;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wishlist-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
}

.hbp-wishlist-add {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hbp-secondary-color);
    transition: all 0.2s;
}

.wishlist-add:hover {
    background: var(--hbp-primary-color);
    color: #fff;
}

.booking-list__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 30px;
}

.booking-list__content-inner {
    flex: 1;
}

.booking-list__content-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.hbp-post-total-rating i {
    color: #FFB400;
    font-size: 14px;
    margin-right: 2px;
}

.hbp-post-total-rating-value {
    margin-left: 10px;
    font-size: 13px;
    color: var(--hbp-text-color);
}

.ba-gallery {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--hbp-secondary-color);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.hbp-ba-gallery:hover {
    color: var(--hbp-primary-color);
}

.booking-list__title {
    font-family: "Marcellus", serif;
    font-size: 26px;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.booking-list__title a {
    color: var(--hbp-secondary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.booking-list__title a:hover {
    color: var(--hbp-primary-color);
}

.booking-list__address {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--hbp-text-color);
    font-size: 14px;
    margin-bottom: 20px;
}

.booking-list__address i {
    color: var(--hbp-primary-color);
}

.booking-list__price {
    font-size: 14px;
    color: var(--hbp-text-color);
}

.hbp-price-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--hbp-primary-color);
    font-family: "Marcellus", serif;
}

.booking-list__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: #F9F5F2;
    /* Beige claro de referencia */
    margin: auto -30px -30px -30px;
}

.booking-list__meta-left,
.booking-list__meta-right {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #444;
}

.booking-list__meta label {
    font-weight: 500;
    color: #666;
    text-transform: capitalize;
    font-size: 15px;
    letter-spacing: 0;
}

.booking-list__item-area,
.booking-list__item-user {
    font-weight: 600;
    color: #1a1a1a;
}

/* RESPONSIVE RESULTS */
@media (max-width: 991px) {
    .hbp-results-layout {
        flex-direction: column;
    }

    .hbp-results-sidebar {
        flex: 1;
        width: 100%;
        position: relative;
        margin-bottom: 40px;
    }

    .booking-list__image {
        flex: 0 0 300px;
    }
}

@media (max-width: 767px) {
    .booking-list__wrap {
        flex-direction: column;
    }

    .booking-list__image {
        flex: none;
        height: 250px;
    }

    .booking-list__content {
        padding: 20px;
    }

    .booking-list__meta {
        margin-bottom: -20px;
        margin-left: -20px;
        margin-right: -20px;
    }

    .booking-list__title {
        font-size: 22px;
    }

    .price-value {
        font-size: 26px;
    }
}

/**
 * HABITACIONES GRID VIEW
 */
.hbp-rooms-grid-wrapper {
    width: 100%;
    margin-bottom: 50px;
    margin-top: 30px;
}

.hbp-rooms-grid-header {
    margin-bottom: 30px;
}

.hbp-rooms-grid-header .grid-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--hbp-secondary-color);
}

.hbp-rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 991px) {
    .hbp-rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .hbp-rooms-grid {
        grid-template-columns: 1fr;
    }
}

.hbp-grid-item .booking-one__single {
    width: 100%;
}

/* ==========================================================================
   ROOMS SIDEBAR WIDGET (LAST MINUTE DEALS)
   ========================================================================== */
.hbp-sidebar-widget {
    background: rgb(250, 245, 239);
    padding: 40px;
    border-radius: 0;
    font-family: "Urbanist", sans-serif;
    color: rgb(107, 106, 113);
    margin: 10px 0;
}

.hbp-sidebar-widget .widget-title {
    font-family: \Marcellus\, serif;
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 25px;
    margin-top: 0;
}

.hbp-sidebar-room-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e5e5;
    align-items: center;
}

.hbp-sidebar-room-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.hbp-sidebar-room-item .room-image {
    flex: 0 0 100px;
}

.hbp-sidebar-room-item .room-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.hbp-sidebar-room-item .room-content {
    flex: 1;
}

.hbp-sidebar-room-item .room-rating {
    margin-bottom: 5px;
    font-size: 10px;
}

.hbp-sidebar-room-item .room-rating i {
    color: #f1c40f;
}

.hbp-sidebar-room-item .room-title {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
}

.hbp-sidebar-room-item .room-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s;
}

.hbp-sidebar-room-item .room-title a:hover {
    color: #E85F4C;
}

.hbp-sidebar-room-item .room-price {
    font-size: 14px;
}

.hbp-sidebar-room-item .room-price .amount {
    color: #E85F4C;
    font-weight: 600;
}

/* ==========================================================================
   ROOMS SLIDER STYLES
   ========================================================================== */

.hbp-rooms-slider-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
    padding: 0 15px;
    box-sizing: border-box;
}

.hbp-slider-title {
    font-family: 'Marcellus', serif;
    font-size: 40px;
    margin-bottom: 30px;
    text-align: center;
    color: #292836;
}

.hbp-rooms-slider-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hbp-rooms-slider-track {
    display: flex;
    overflow: visible;
    padding-bottom: 20px;
}

.hbp-rooms-slider-track::-webkit-scrollbar {
    display: none;
    /* WebKit */
}

.hbp-slider-slide {
    height: auto;
}

/* Make sure inner cards fill height */
.hbp-slider-slide .booking-one__single {
    height: 100%;
    display: flex;
}

.hbp-slider-slide .booking-one__wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.hbp-slider-slide .booking-one__content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.hbp-slider-slide .booking-one__meta-footer {
    margin-top: auto;
}

/* Slider Controls */
.hbp-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: #fff;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    color: #292836;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    padding: 0;
    margin-top: 0;
    /* Override Swiper default */
}

.swiper-button-prev::after,
.swiper-button-next::after {
    display: none !important;
}

.hbp-slider-btn.prev-btn {
    left: 15px !important;
    /* Ajustado para que no se salga del contenedor si es necesario */
}

.hbp-slider-btn.next-btn {
    right: 15px !important;
}

/* Hide buttons on mobile if desired */
@media (max-width: 767px) {
    .hbp-slider-btn {
        display: none;
    }
}

/* ==========================================================================
   DETAILED ROOM SHORTCODES
   ========================================================================== */

.hbp-hero-title {
    box-sizing: border-box;
    color: rgb(255, 255, 255);
    display: block;
    /* Modificado para asegurar el centrado */
    font-family: Marcellus, sans-serif;
    font-size: 3rem;
    font-weight: 400;
    height: auto;
    line-height: 68.32px;
    text-align: center;
    text-size-adjust: 100%;
    width: 100%;
    -webkit-tap-highlight-color: rgba(41, 40, 54, 0);
    margin: 0 auto;
    justify-content: center;
}

.hbp-hero-desc {
    box-sizing: border-box;
    color: rgb(255, 255, 255);
    display: block;
    font-family: Urbanist, sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 28.8px;
    padding: 10px 0 0 0;
    text-align: center;
    text-size-adjust: 100%;
    unicode-bidi: isolate;
    -webkit-tap-highlight-color: rgba(41, 40, 54, 0);
}

.hbp-secondary-title {
    box-sizing: border-box;
    color: rgb(41, 40, 54);
    display: inline;
    font-family: Marcellus, sans-serif;
    font-size: 26px;
    font-weight: 400;
    height: auto;
    line-height: 31.72px;
    text-size-adjust: 100%;
    width: auto;
    -webkit-tap-highlight-color: rgba(41, 40, 54, 0);
}

.hbp-price-formatted {
    display: flex;
    align-items: baseline;
    gap: 8px;
    -webkit-tap-highlight-color: rgba(41, 40, 54, 0);
}

.hbp-price-formatted .price-prefix,
.hbp-price-formatted .price-suffix {
    color: #ccc;
    font-family: Urbanist, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 19.2px;
    text-size-adjust: 100%;
}

.hbp-price-formatted .price-amount {
    box-sizing: border-box;
    color: rgb(232, 95, 76);
    display: inline;
    font-family: Urbanist, sans-serif;
    font-size: 24px;
    font-weight: 500;
    height: auto;
    line-height: 28.8px;
    text-size-adjust: 100%;
    width: auto;
}

.hbp-room-specs {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.hbp-spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #292836;
    font-family: Urbanist, sans-serif;
    font-size: 16px;
    font-weight: 500;
}

.hbp-spec-item i {
    color: #E85F4C;
    font-size: 20px;
}

/* ==========================================================================
   GALERÍA SINGLE ROOM (SWIPER/SCROLL)
   ========================================================================== */
.hbp-single-gallery-container {
    position: relative !important;
    width: 100% !important;
    margin-bottom: 40px !important;
    height: 450px !important;
    /* Altura aumentada para fotos más completas */
    overflow: hidden !important;
    display: block !important;
    background: #000;
}

.hbp-single-gallery-track {
    display: flex !important;
    height: 100% !important;
    align-items: stretch !important;
}

.hbp-single-gallery-track::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome/Safari */
}

.hbp-single-gallery-slide {
    width: 100% !important;
    height: 100% !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0 !important;
}

/* Gallery Navigation Buttons */
.hbp-single-gallery-container .hbp-gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    color: #292836;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    /* Ocultos por defecto */
}

.hbp-single-gallery-container:hover .hbp-gallery-btn {
    opacity: 1;
    /* Visible al hacer hover */
    background-color: #fff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.hbp-single-gallery-container .hbp-gallery-btn:hover {
    background-color: rgba(41, 40, 54, 1);
}

.hbp-single-gallery-container .prev-btn {
    left: 0;
}

.hbp-single-gallery-container .next-btn {
    right: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hbp-single-gallery-container {
        height: 400px;
    }

    .hbp-single-gallery-container .hbp-gallery-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .hbp-single-gallery-container .prev-btn {
        left: 20px;
    }

    .hbp-single-gallery-container .next-btn {
        right: 20px;
    }
}

/* ==========================================================================
   AMENIDADES SINGLE ROOM
   ========================================================================== */
.hbp-room-amenities-container {
    margin-bottom: 30px;
    width: 100%;
}

.hbp-room-amenities-container .ba-meta-title {
    font-family: Marcellus, sans-serif;
    font-size: 26px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #292836;
}

.hbp-room-amenities-container .hbp-amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
    /* row and column gap */
}

.hbp-room-amenities-container .term-item {
    font-family: Urbanist, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: rgb(107, 106, 113);
    line-height: 28.8px;
    width: calc(50% - 15px);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hbp-room-amenities-container .term-item i {
    color: #E85F4C;
    font-size: 20px;
}

@media (max-width: 768px) {
    .hbp-room-amenities-container .term-item {
        width: 100%;
    }
}

/* Gallery Meta Overlay */
.hbp-single-gallery-container .hbp-gallery-meta-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    background-color: rgba(41, 40, 54, 0.85);
    color: #fff;
    padding: 12px 18px;
    z-index: 10;
}

.hbp-single-gallery-container .meta-item {
    display: flex;
    align-items: center;
    margin-left: 15px;
    position: relative;
    font-size: 20px;
}

.hbp-single-gallery-container .meta-item:first-child {
    margin-left: 0;
}

.hbp-single-gallery-container .camera-meta .meta-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #E85F4C;
    color: #fff;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 0PX;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Adjusting overlay position for slider images like design */
.hbp-single-gallery-container .hbp-gallery-meta-overlay {
    bottom: 0;
    right: 0;
    margin-right: calc(50% - 191px);
    /* align with image */
}

/* --- 10. HBP WC BOOKING FORM [hbp_booking_form] --- */
.hbp-wc-booking-form {
    background: #fff;
    border: 1px solid var(--hbp-border-color);
    padding: 0;
    font-family: 'Urbanist', sans-serif;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.hbp-wc-form-header {
    background: var(--hbp-secondary-color);
    color: #fff;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.hbp-wc-form-icon {
    font-size: 32px;
}

.hbp-wc-form-title {
    color: #fff;
    margin: 0;
    font-size: 20px;
    font-family: 'Marcellus', serif;
    line-height: 1.2;
}

.hbp-wc-form-price {
    margin-top: 5px;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.hbp-wc-form-price .price-amount {
    font-size: 24px;
    font-weight: 700;
}

.hbp-wc-form-price .price-suffix {
    font-size: 14px;
    opacity: 0.8;
}

.hbp-wc-form-body {
    padding: 25px;
}

.hbp-wc-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.hbp-wc-field {
    margin-bottom: 20px;
}

.hbp-wc-field label {
    display: block;
    font-size: 16px;
    color: var(--hbp-label);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.hbp-wc-field .field-icon {
    margin-right: 5px;
    color: var(--hbp-primary-color);
}

.hbp-wc-field input[type="date"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--hbp-border-color);
    border-radius: 0px;
    font-family: 'Marcellus', serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--hbp-secondary-color);
    background: var(--hbp-gray-color);
}

.hbp-wc-guests-control {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--hbp-gray-color);
    padding: 5px;
    border: 1px solid var(--hbp-border-color);
}

.hbp-wc-guests-control button {
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid var(--hbp-border-color);
    color: var(--hbp-secondary-color);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.hbp-wc-guests-control button:hover {
    background: var(--hbp-primary-color);
    color: #fff;
    border-color: var(--hbp-primary-color);
}

.hbp-wc-guests-control input {
    width: 45px;
    height: 36px;
    text-align: center;
    border: 1px solid var(--hbp-border-color);
    background: #fff;
    font-weight: 700;
    font-size: 16px;
    color: var(--hbp-text-color);
    border-radius: 0;
    appearance: none;
    -moz-appearance: textfield;
}

/* --- CONTACT SECTION IN SIDEBAR --- */
.hbp-wc-contact-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed #ddd;
}

.hbp-wc-section-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: var(--hbp-secondary-color);
    font-weight: 700;
}

.hbp-wc-field-row {
    display: flex;
    gap: 12px;
    margin-bottom: 0;
    align-items: flex-start;
}

/* El campo "Tipo Doc." ocupa un ancho fijo pequeño (solo en la fila de documento) */
.hbp-doc-row>.hbp-wc-field:not(.hbp-wc-field-grow) {
    flex: 0 0 90px;
    min-width: 90px;
}

/* El campo "N° Documento" crece para ocupar el resto */
.hbp-wc-field-grow {
    flex: 1;
}

.hbp-wc-input-with-btn {
    display: flex;
    align-items: stretch;
    height: 42px;
    overflow: hidden;
    border: 1px solid var(--hbp-border-color);
}

.hbp-wc-input-with-btn input {
    flex: 1;
    height: 100%;
    padding: 0 12px !important;
    border: none !important;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    background: #fff;
    margin-bottom: 0 !important;
    box-sizing: border-box;
}

#hbp-cust-lookup-btn {
    flex: 0 0 42px;
    width: 42px;
    height: 100%;
    background: var(--hbp-primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
    border-radius: 0;
    position: static;
}

#hbp-cust-lookup-btn:hover {
    opacity: 0.9;
}

#hbp-cust-lookup-btn.working {
    pointer-events: none;
    background: #999;
}

#hbp-cust-lookup-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.hbp-wc-contact-section label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--hbp-label);
    margin-bottom: 5px;
}

.hbp-wc-contact-section input,
.hbp-wc-contact-section select {
    width: 100%;
    height: 42px;
    border: 1px solid var(--hbp-border-color);
    padding: 0 12px;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 0;
    background: #fff;
    box-sizing: border-box;
    border-radius: 0;
    line-height: normal;
}

.hbp-wc-contact-section input:focus,
.hbp-wc-contact-section select:focus {
    border-color: var(--hbp-primary-color);
    outline: none;
}

/* --- 11. HBP BOOKING SIDEBAR (OFF-CANVAS) --- */
.hbp-booking-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 14, 23, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hbp-booking-sidebar-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.hbp-booking-sidebar {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 95%;
    max-width: 900px;
    height: auto;
    max-height: 90vh;
    background: #fff;
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
}

.hbp-booking-sidebar.is-active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.hbp-sidebar-header {
    padding: 30px;
    background: var(--hbp-secondary-color);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hbp-sidebar-title {
    margin: 0;
    color: #fff;
    font-family: 'Marcellus', serif;
    font-size: 24px;
    letter-spacing: 0.5px;
}

.hbp-sidebar-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 30px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
}

.hbp-sidebar-close:hover {
    background: var(--hbp-primary-color);
}


.hbp-sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    background: #fcfcfc;
}

/* --- BOTONES PREMIUM --- */
.hbp-open-booking,
.hbp-wc-reserve-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: var(--hbp-secondary-color);
    color: #fff !important;
    text-decoration: none !important;
    font-family: 'Marcellus', serif;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hbp-open-booking::before,
.hbp-wc-reserve-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--hbp-primary-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.hbp-open-booking:hover,
.hbp-wc-reserve-btn:hover {
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hbp-open-booking:hover::before,
.hbp-wc-reserve-btn:hover::before {
    width: 100%;
}

.hbp-wc-reserve-btn {
    width: 100%;
    margin-top: 20px;
    background: var(--hbp-primary-color);
}

.hbp-wc-reserve-btn::before {
    background: var(--hbp-secondary-color);
}

/* Loader Styles */
.hbp-sidebar-loader {
    text-align: center;
    padding: 80px 20px;
    color: var(--hbp-text-color);
}

.hbp-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--hbp-primary-color);
    animation: hbp-spin 0.8s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
    margin: 0 auto 20px;
    border-radius: 50%;
}

@keyframes hbp-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hbp-sidebar-placeholder {
    color: #999;
    text-align: center;
    padding: 40px 20px;
    font-style: italic;
}

/* Selector de habitación premium */
.hbp-wc-room-selector-wrap {
    margin-bottom: 25px;
}

.hbp-wc-room-selector-wrap label {
    display: block;
    font-family: 'Marcellus', serif;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
    color: #777;
}

.hbp-wc-room-select {
    width: 100%;
    padding: 15px;
    border: 1px solid #eee;
    background: #fff;
    font-family: 'Marcellus', serif;
    font-size: 16px;
    color: var(--hbp-secondary-color);
    cursor: pointer;
    transition: border-color 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23292836' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
}

.hbp-wc-room-select:focus {
    outline: none;
    border-color: var(--hbp-primary-color);
}

/* Responsivo para Celular */
@media (max-width: 500px) {
    .hbp-booking-sidebar {
        width: 95%;
    }

    .hbp-sidebar-header {
        padding: 20px;
    }

    .hbp-sidebar-content {
        padding: 20px;
    }
}

/* Ajuste para el formulario dentro del sidebar */
.hbp-booking-sidebar .hbp-wc-booking-form {
    max-width: 100%;
    border: none;
    box-shadow: none;
    margin: 0;
}

.hbp-booking-sidebar .hbp-wc-form-header {
    display: none;
    /* Ocultar el header repetido si ya está en el sidebar */
}

/* --- ROOMS SLIDER: Botones de navegación ocultos hasta hover --- */
.hbp-rooms-slider-wrapper .hbp-slider-btn,
.hbp-rooms-slider-wrapper .swiper-button-prev,
.hbp-rooms-slider-wrapper .swiper-button-next {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hbp-rooms-slider-wrapper:hover .hbp-slider-btn,
.hbp-rooms-slider-wrapper:hover .swiper-button-prev,
.hbp-rooms-slider-wrapper:hover .swiper-button-next {
    opacity: 1;
}

/* --- ROOMS GRID: Paginación --- */
.hbp-grid-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--hbp-border-color);
}

.hbp-page-btn {
    width: 42px;
    height: 42px;
    border: 1px solid var(--hbp-border-color);
    background: #fff;
    color: var(--hbp-secondary-color);
    font-family: 'Urbanist', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 0;
}

.hbp-page-btn:hover {
    background: var(--hbp-secondary-color);
    color: #fff;
    border-color: var(--hbp-secondary-color);
}

.hbp-page-btn.is-active {
    background: var(--hbp-primary-color);
    color: #fff;
    border-color: var(--hbp-primary-color);
}

.hbp-page-prev,
.hbp-page-next {
    font-size: 13px;
}

/* --- INTEGRATED WOOCOMMERCE CHECKOUT STYLES --- */
#hbp-integrated-checkout-section {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
}

.hbp-wc-checkout-wrapper .woocommerce {
    font-family: 'Urbanist', sans-serif;
}


/* Premium form fields */
.hbp-wc-checkout-wrapper .woocommerce form .form-row input.input-text,
.hbp-wc-checkout-wrapper .woocommerce form .form-row textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fdfdfd;
    transition: all 0.2s;
}

.hbp-wc-checkout-wrapper .woocommerce form .form-row input.input-text:focus {
    border-color: var(--hbp-primary-color);
    background: #fff;
    outline: none;
}

.hbp-wc-checkout-wrapper .woocommerce-checkout #payment {
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
}

.hbp-wc-checkout-wrapper .woocommerce-checkout #place_order {
    width: 100%;
    padding: 18px;
    font-family: 'Marcellus', serif;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--hbp-primary-color);
    border-radius: 0;
    transition: all 0.3s;
}

.hbp-wc-checkout-wrapper .woocommerce-checkout #place_order:hover {
    background: var(--hbp-secondary-color);
}

/* Botón premium Ver más información */
.booking-one__custom-button {
    padding: 0 25px 22px 25px;
    margin-top: 20px;
}

.hbp-btn-room {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--hbp-primary-color);
    color: #fff !important;
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    letter-spacing: 1.5px;
    padding: 14px 20px;
    border-radius: 0;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(232, 95, 76, 0.3);
    border: 2px solid var(--hbp-primary-color);
    box-sizing: border-box;
}

.hbp-btn-room::after {
    content: '→';
    font-size: 16px;
    transition: transform 0.2s ease;
}

.hbp-btn-room:hover {
    background: var(--hbp-secondary-color) !important;
    color: #fff !important;
    border-color: var(--hbp-secondary-color);
    box-shadow: 0 6px 20px rgba(41, 40, 54, 0.25);
    text-decoration: none !important;
}

.hbp-btn-room:hover::after {
    transform: translateX(4px);
}

/* --- GUEST DNI SECTION (ONLY) --- */
.hbp-wc-guest-info-section.hbp-dni-only {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed var(--hbp-border-color);
    margin-bottom: 20px;
}

.hbp-dni-only label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--hbp-label);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.hbp-wc-doc-wrap {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--hbp-border-color);
    height: 42px;
}

.hbp-wc-doc-wrap input {
    flex: 1;
    border: none !important;
    padding: 0 12px !important;
    font-size: 14px;
    background: transparent !important;
    margin: 0 !important;
    height: 100%;
}


/* --- GUEST DOC SECTION --- */
.hbp-doc-section .hbp-wc-field-row {
    display: flex !important;
    gap: 15px;
    align-items: flex-end;
    max-width: 400px; /* Ancho controlado como en la imagen */
    margin: 0 0 10px 0;
}

.hbp-doc-section .hbp-wc-field label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: #666;
    margin-bottom: 8px;
    display: block;
    letter-spacing: 0.5px;
}

.hbp-wc-doc-type {
    width: 100%;
    height: 42px;
    border: 1px solid var(--hbp-border-color);
    padding: 0 10px;
    border-radius: 0;
    background: #fff;
    cursor: pointer;
}

.hbp-wc-doc-wrap {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--hbp-border-color);
    height: 42px;
}

.hbp-wc-doc-wrap.no-lookup {
    transition: border-color 0.2s;
}

.hbp-wc-doc-wrap.no-lookup:focus-within {
    border-color: var(--hbp-primary-color);
}

.hbp-wc-doc-wrap input {
    flex: 1;
    border: none !important;
    padding: 0 12px !important;
    font-size: 14px;
    background: transparent !important;
    margin: 0 !important;
    height: 100%;
}

.hbp-field-help {
    display: block;
    font-size: 11px;
    color: #999;
    margin-top: 5px;
    font-style: italic;
}

