/* ==========================================================================
   ESTILOS HOSPITALIDAD V8.3 (Optimizado: Variables Nativas y Clases Limpias)
   Carga solo en single-hospitalidad.php
   ========================================================================== */

.hosp-page-container {
    background-color: #f5f7fa;
}

.booking-container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 20px;
}

/* --- HEADER --- */
.booking-header { margin-bottom: 20px; }
.hosp-breadcrumb-wrapper { margin-bottom: 10px; font-size: 0.85rem; color: #666; }
.booking-title-row { display: flex; justify-content: space-between; align-items: flex-start; }
.b-title-wrap { flex: 1; }
.b-type-badge { background-color: #f0f0f0; color: #666; font-size: 0.7rem; padding: 3px 8px; border-radius: 4px; text-transform: uppercase; font-weight: 700; }
.b-title { font-family: var(--font-titles); font-size: 2rem; color: var(--text-muted); margin: 5px 0; font-weight: 800; line-height: 1.1; }
.b-stars { color: #febb02; font-size: 1.2rem; letter-spacing: 2px; }
.b-address { color: #0071c2; font-size: 0.95rem; font-weight: 600; margin-top: 8px; }

/* --- GALERÍA HÍBRIDA --- */
.booking-gallery-wrapper { margin-bottom: 25px; position: relative; }

.booking-gallery-slider {
    display: grid;
    gap: 8px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: 
        "main side1 side2"
        "main side3 side4";
}

.bg-slide-item { position: relative; cursor: zoom-in; overflow: hidden; }
.bg-slide-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.bg-slide-item:hover img { transform: scale(1.03); }

.bg-slide-item.main { grid-area: main; }
.bg-slide-item.side1 { grid-area: side1; }
.bg-slide-item.side1 img { filter: brightness(0.95); }
.bg-slide-item.side2 { grid-area: side2; }
.bg-slide-item.side2 img { filter: brightness(0.9); }
.bg-slide-item.side3 { grid-area: side3; }
.bg-slide-item.side3 img { filter: brightness(0.85); }
.bg-slide-item.side4 { grid-area: side4; }
.bg-slide-item.side4 img { filter: brightness(0.8); }

.mobile-gallery-hint { display: none; font-size: 0.8rem; color: #666; text-align: center; margin-top: 8px; }

/* --- DESTACADOS --- */
.booking-highlights-bar {
    display: flex; gap: 15px; margin-bottom: 25px; padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0; flex-wrap: wrap;
}
.hl-item {
    display: flex; align-items: center; gap: 8px; background: #fff;
    padding: 8px 12px; border-radius: 20px; border: 1px solid #eee;
    font-size: 0.9rem; color: #333; font-weight: 600;
}
.hl-icon { display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }

/* --- LAYOUT PRINCIPAL (Grid con Areas) --- */
.booking-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    grid-template-areas: "content sidebar";
    gap: 30px;
    align-items: start;
}

/* Contenido Principal */
.booking-content { grid-area: content; min-width: 0; }

.booking-section { background: #fff; padding: 25px; border-radius: 12px; border: 1px solid #e7e7e7; margin-bottom: 20px; }
.description-section { box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
.b-section-title { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 18px; font-weight: 800; }

/* Servicios Grid */
.b-services-grid.full-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.b-services-grid li { font-size: 0.95rem; color: #444; display: flex; gap: 8px; margin-bottom: 0; }

/* --- SIDEBAR ÚNICA --- */
.booking-sidebar {
    grid-area: sidebar; position: sticky; top: 30px; min-width: 0;
}

.b-price-card-master {
    background: #EBF3FF; border: 1px solid #cce1ff;
    padding: 25px; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.b-card-title { margin-top: 0; font-size: 1.1rem; color: var(--text-muted); margin-bottom: 15px; font-weight: 700; }
.b-price-box { margin-bottom: 20px; }
.b-price-label { display: block; font-size: 0.85rem; color: #666; margin-bottom: 4px; }
.b-price-value { font-size: 1.8rem; font-weight: 800; color: var(--text-muted); }
.b-card-features { margin-bottom: 20px; font-size: 0.9rem; color: #333; }
.b-feat { margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }

/* Botones Sidebar */
.btn-booking-primary {
    display: inline-block; background-color: var(--brand-lime); color: #fff; font-weight: 700; text-align: center;
    text-decoration: none; padding: 10px 20px; border-radius: 6px; transition: all 0.2s; border: none; cursor: pointer;
}
.btn-booking-primary:hover { background-color: #d85c48; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(239, 110, 89, 0.3); color: #fff; }
.btn-booking-primary.full { display: block; width: 100%; font-size: 1.1rem; padding: 14px; }

.b-btn-outline { background: #fff; color: var(--text-muted); border: 2px solid var(--text-muted); margin-top: 10px; font-size: 0.95rem; }
.b-btn-outline:hover { background: var(--text-muted); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(28, 61, 68, 0.2); }

.b-phone-contact { margin-top: 20px; font-size: 0.85rem; text-align: center; color: #555; }

/* Redes Sociales Sidebar */
.traveler-socials { margin-top: 25px; padding-top: 20px; border-top: 1px dashed #cce1ff; text-align: center; }
.traveler-socials span { display: block; font-size: 0.8rem; text-transform: uppercase; color: #666; font-weight: 700; margin-bottom: 10px; }
.ts-icons { display: flex; justify-content: center; gap: 12px; }
.ts-icons a { color: var(--text-muted); display: flex; align-items: center; transition: color 0.2s; }
.ts-icons a:hover { color: var(--brand-lime); }

/* ==========================================================================
   RESPONSIVE MOBILE
   ========================================================================== */
@media (max-width: 991px) {
    .booking-container { padding: 15px; }
    .b-title { font-size: 1.7rem; }

    .booking-gallery-slider {
        display: flex; gap: 10px; height: 280px; overflow-x: auto;
        scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
        border-radius: 0; margin-left: -15px; margin-right: -15px; padding-left: 15px;
    }
    .bg-slide-item { flex: 0 0 85%; scroll-snap-align: center; border-radius: 12px; height: 100%; }
    .mobile-gallery-hint { display: block; }
    
    .booking-layout { 
        grid-template-columns: 1fr; 
        grid-template-areas: "sidebar" "content";
        gap: 20px; 
    }
    .booking-sidebar { position: static; }
    .booking-highlights-bar { gap: 10px; overflow-x: auto; padding-bottom: 10px; flex-wrap: nowrap; }
    .hl-item { white-space: nowrap; }
}