.room-box {
    height: 100%;
    position: relative;
    display: flex;              /* ✅ EKLENDİ */
    flex-direction: column;     /* ✅ EKLENDİ */
}

/* ✅ EKLENDİ — görsel sarmalayıcıya sabit yükseklik */
.room-media-wrap {
    height: 320px;
    flex-shrink: 0;
}

.room-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 22px;
    text-decoration: none;
    background: #111;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    transition: transform .3s ease, box-shadow .3s ease;
    height: 100%;               /* ✅ EKLENDİ — wrap'i tamamen doldursun */
}

.room-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .14);
}

.room-card img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.room-card:hover > img {
    transform: scale(1.05);
}

.room-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to top,
            rgba(0, 0, 0, .92) 0%,
            rgba(0, 0, 0, .45) 45%,
            rgba(0, 0, 0, .12) 100%
    );
    z-index: 1;
}

.room-card-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 20px;
}

.room-card-title {
    color: #fff;
    margin: 0;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.35;
    text-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.room-feature-icons-bottom {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;                    /* ✅ EKLENDİ — kalan alanı doldursun */
}

/* ✅ EKLENDİ — butonları her zaman alta iter */
.room-actions {
    margin-top: auto;
}

.room-feature-badge-bottom {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 8px 18px rgba(0,0,0,.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
    transition: all .25s ease;
}

.room-feature-badge-bottom:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,0,0,.15);
    z-index: 99;
}

.room-feature-badge-bottom img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.room-feature-text-bottom {
    color: #111;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.room-feature-tooltip-bottom {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: rgba(20, 20, 20, .96);
    color: #fff;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .2s ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
    z-index: 9;
}

.room-feature-badge-bottom:hover .room-feature-tooltip-bottom {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 575.98px) {
    .room-card-body {
        padding: 16px;
    }

    .room-feature-badge-bottom {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .room-feature-badge-bottom img {
        width: 18px;
        height: 18px;
    }
}