/* =====================================================
   CONTENEDOR
===================================================== */
 .habitaciones-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
}
 /* =====================================================
   TARJETA
===================================================== */
 .room-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 7px 22px rgba(0, 0, 0, 0.08);
    min-width: 0;
}
 /* =====================================================
   IMAGEN
===================================================== */
 .room-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1.45 / 1;
     background-size: cover;
    background-position: center;
     overflow: hidden;
}
 /* =====================================================
   OSCURECIMIENTO DE LA IMAGEN
===================================================== */
 .room-card-overlay {
    position: absolute;
    inset: 0;
     background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.08) 0%,
            rgba(0, 0, 0, 0) 38%,
            rgba(0, 0, 0, 0.68) 100%
        );
}
 /* =====================================================
   ETIQUETA SUPERIOR
===================================================== */
 .room-badge {
    position: absolute;
     top: 10px;
    left: 10px;
     z-index: 3;
     padding: 6px 11px;
     background: #943414;
    color: #fff;
     font-size: 10px;
    line-height: 1;
     font-weight: 700;
    letter-spacing: .8px;
     text-transform: uppercase;
}
 /* =====================================================
   INFORMACIÓN SOBRE LA FOTO
   SIN FONDO
===================================================== */
 .room-image-info {
    position: absolute;
     left: 0;
    right: 0;
    bottom: 0;
     z-index: 3;
     display: flex;
    align-items: center;
     gap: 12px;
     padding: 12px;
}
 /* Cada característica */
 .room-data {
    display: flex;
    align-items: center;
     gap: 5px;
     min-width: 0;
     color: #fff;
     font-size: 13px;
    line-height: 1.15;
    font-weight: 600;
     text-shadow:
        0 1px 3px rgba(0, 0, 0, .9);
}
 /* Iconos */
 .room-data .mdi {
    flex-shrink: 0;
     font-size: 17px;
}
 /* =====================================================
   CONTENIDO INFERIOR
===================================================== */
 .room-card-content {
    padding: 16px 16px 14px;
}
 /* Título */
 .room-card-content h3 {
    margin: 0 0 13px;
     color: #222;
     font-size: 17px;
    line-height: 1.2;
    font-weight: 500;
}
 /* =====================================================
   ACCIONES
===================================================== */
 .room-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
     width: 100%;
    min-width: 0;
     gap: 10px;
}
 /* =====================================================
   VER DETALLES
===================================================== */
 .room-details-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
     gap: 3px;
     min-width: 0;
     color: #E03600;
     font-size: 14px;
    font-weight: 500;
     text-decoration: none;
     white-space: nowrap;
}
 .room-details-link:hover {
    color: #E03600;
}
 .room-details-link .mdi {
    font-size: 18px;
}
 /* =====================================================
   BOTÓN RESERVAR
===================================================== */
 .room-book-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 125px;
    width: 125px;
    padding: 12px 10px !important;
    background: #E03600;
    color: #ffffff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
}
 .room-book-button:hover {
    background: #E03600;
    color: #ffffff;
     opacity: .85;
}
 /* =====================================================
   TABLET
   2 COLUMNAS
   FAMILIAR FULL WIDTH
===================================================== */
 @media (max-width: 991.98px) {
     .habitaciones-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
     .room-card-family {
        grid-column: 1 / -1;
    }
     .room-card-family .room-card-image {
        aspect-ratio: 2.5 / 1;
    }
 }
 /* =====================================================
   CELULAR
===================================================== */
 @media (max-width: 767.98px) {
     .habitaciones-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
         align-items: start;
    }
     /* =============================================
       TARJETAS
       IMPORTANTE: no estirar las tarjetas
    ============================================= */
     .room-card {
        height: fit-content;
        align-self: start;
    }
     /* =============================================
       IMAGEN
    ============================================= */
     .room-card-image {
        aspect-ratio: 1 / 1;
    }
     .room-card-family .room-card-image {
        aspect-ratio: 1.85 / 1;
    }
     /* =============================================
       BADGE
    ============================================= */
     .room-badge {
        top: 9px;
        left: 9px;
         padding: 5px 8px;
         font-size: 8px;
    }
     /* =============================================
       INFORMACIÓN SOBRE FOTO
    ============================================= */
     .room-image-info {
        padding: 8px;
        gap: 7px;
    }
     .room-data {
        font-size: 10px;
        gap: 4px;
        line-height: 1.1;
    }
     .room-data .mdi {
        font-size: 14px;
    }
     /* =============================================
       CONTENIDO
    ============================================= */
     .room-card-content {
        padding: 11px 10px 12px;
         display: flex;
        flex-direction: column;
    }
     /* =============================================
       TÍTULO
    ============================================= */
     .room-card-content h3 {
        margin: 0;
         font-size: 14px;
        line-height: 1.2;
        font-weight: 500;
    }
     /* =============================================
       ACCIONES
       Siempre debajo del título
    ============================================= */
     .room-card-actions {
        display: flex;
        align-items: center;
        justify-content: space-between;
         width: 100%;
         margin-top: 11px;
         gap: 7px;
    }
     /* =============================================
       VER DETALLES - SOLO ICONO
    ============================================= */
     .room-details-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
         flex: 0 0 34px;
         width: 34px;
        height: 34px;
         padding: 0;
         border: 1px solid #E03600;
        border-radius: 6px;
         box-sizing: border-box;
         color: #E03600;
         font-size: 0;
    }
     .room-details-link .details-text {
        display: none;
    }
     .room-details-link .mdi {
        margin: 0;
         font-size: 20px;
    }
     /* =============================================
       RESERVAR
    ============================================= */
     .room-book-button {
        flex: 1 1 auto;
         width: auto;
        min-width: 0;
         padding: 9px 8px !important;
         font-size: 11px;
         border-radius: 6px;
         box-sizing: border-box;
    }
     /* =============================================
       FAMILIAR FULL WIDTH
    ============================================= */
     .room-card-family {
        grid-column: 1 / -1;
    }
     .room-card-family .room-card-image {
        aspect-ratio: 1.85 / 1;
    }
 }
 /* =====================================================
   CELULARES MUY PEQUEÑOS
===================================================== */
 @media (max-width: 380px) {
     .habitaciones-grid {
        gap: 8px;
    }
     .room-card-content {
        padding: 10px 8px 11px;
    }
     .room-card-content h3 {
        font-size: 13px;
    }
     .room-card-actions {
        margin-top: 10px;
        gap: 6px;
    }
     .room-details-link {
        flex: 0 0 32px;
         width: 32px;
        height: 32px;
    }
     .room-details-link .mdi {
        font-size: 18px;
    }
     .room-book-button {
        padding: 8px 5px !important;
         font-size: 10px;
    }
 }