.room-detail-container {
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* 新增：占位容器样式 */
.room-card-placeholder {
    width: 100%;
    transition: height 0.3s ease;
}

.room-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    width: 100%;
    box-sizing: border-box;
}

/* 新增：固定定位样式 */
.fixed-card {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1200px;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.card-info {
    flex: 1;
}

.breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #00329F;
}

.room-name {
    color: #000;
    font-weight: 500;
}

.room-desc {
    display: flex;
    align-items: center;
    gap: 24px;
}

.roome-label {
    background-color: #FFA200;
    color: #fff;
    font-size: 12px;
    padding: 3px 16px;
    border-radius: 40px;
    flex-shrink: 0;
}

.room-title {
    font-size: 24px;
    font-weight: 600;
    color: #222;
    margin-bottom: 4px;
}

.room-subtitle {
    font-size: 14px;
    color: #666;
}

.book-btn {
    padding: 8px 16px;
    background: #00329F;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.room-info {
    margin-top: 24px;
    padding: 0 24px;
}

/* 屏幕宽度<768px时生效 */
@media screen and (max-width: 769px) {
    .room-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .book-btn {
        align-self: flex-end;
    }

    /* 适配移动端固定样式 */
    .fixed-card {
        left: 0;
        transform: none;
        max-width: 100%;
        border-radius: 0;
    }

    .room-info {
        padding: 0 20px;
    }
}