.rooms-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.rooms-wrap .rooms-list-empty {
    margin: 0;
    padding: 48px 20px;
    text-align: center;
    color: #666;
    font-size: 15px;
}

.rooms-wrap .room-item {
    display: flex;
    gap: 40px;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.rooms-wrap .room-item:first-child {
    border-top: 2px solid #111;
}

.rooms-wrap .room-thumb {
    position: relative;
    width: 45%;
}

.rooms-wrap .room-thumb .room-swiper {
    position: relative;
    overflow: hidden;
}

.rooms-wrap .room-thumb .swiper-slide {
    height: 300px;
}

.rooms-wrap .room-thumb .swiper-slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* room-modal과 유사: 원형 prev/next, 우측 상단 fraction */
/* 기본 숨김 */
.rooms-wrap .room-thumb .swiper-button-prev,
.rooms-wrap .room-thumb .swiper-button-next {
    width: 40px;
    height: 40px;
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 10;

    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}

/* hover 시 노출 */
.rooms-wrap .room-thumb:hover .swiper-button-prev,
.rooms-wrap .room-thumb:hover .swiper-button-next {
    opacity: 1;
    visibility: visible;
}

.rooms-wrap .room-thumb .swiper-button-prev img,
.rooms-wrap .room-thumb .swiper-button-next img {
    width: 8px;
}

.rooms-wrap .room-thumb .swiper-button-prev {
    left: 10px;
    right: auto;
}

.rooms-wrap .room-thumb .swiper-button-next {
    right: 10px;
    left: auto;
}

.rooms-wrap .room-thumb .swiper-button-prev::after,
.rooms-wrap .room-thumb .swiper-button-next::after {
    font-size: 14px;
    font-weight: 700;
}

.rooms-wrap .room-thumb .swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.rooms-wrap .room-thumb .swiper-fraction {
    position: absolute;
    bottom: 10px;
    right: 10px;
    left: auto;
    width: auto;
    margin: 0;
    padding: 4px 10px;
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
    z-index: 10;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 12px;
}

.rooms-wrap .room-thumb .swiper-pagination-fraction {
    color: #fff;
}

.rooms-wrap .room-info {
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rooms-wrap .room-top {
    display: flex;
    gap: 8px;
}

.rooms-wrap .badge {
    background: #333;
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
}

.rooms-wrap .badge.light {
    background: #eee;
    color: #333;
}

.rooms-wrap .room-name {
    font-size: 28px;
    font-weight: 600;
    margin: 20px 0;
}

.rooms-wrap .room-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}

.rooms-wrap .room-meta li {
    display: inline-flex;
    align-items: center;
}

.rooms-wrap .room-meta li strong {
    font-weight: 500;
}

/* 구분선 */
.rooms-wrap .room-meta li strong::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 11px;
    background: #ccc;
    margin: 0 10px;
}
.rooms-wrap .room-bottom {
    margin-top: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 12px;
}

/* 공통 버튼 */
.rooms-wrap .room-bottom a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 28px;
    height: 46px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all .3s ease;
}

.rooms-wrap .room-bottom a span {
    font-size: .9rem;
}

/* 공통 arrow */
.rooms-wrap .room-bottom a .arrow {
    width: 16px;
    height: 16px;
    background: url('../images/arrow.svg') no-repeat center / contain;
    transition: transform .3s ease;
}

/* 공통 hover 퍼짐 */
.rooms-wrap .room-bottom a::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width .4s ease, height .4s ease;
}

.rooms-wrap .room-bottom a:hover::after {
    width: 200%;
    height: 500%;
}

.rooms-wrap .room-bottom a:hover .arrow {
    transform: translateX(6px);
}

/* 개별 스타일 */
.rooms-wrap .btn-detail {
    background: #111;
    color: #fff;
}

.rooms-wrap .btn-detail::after {
    background: rgba(255,255,255,0.1);
}

.rooms-wrap .btn-book {
    background: #fff;
    color: #111;
    border: 1px solid #111;
}

.rooms-wrap .btn-book .arrow {
    filter: brightness(0);
}

.rooms-wrap .btn-book::after {
    background: rgba(0,0,0,0.05);
}

@media (max-width:500px) {
    .rooms-wrap {
        padding: 0 16px;
    }

    .rooms-wrap .room-item {
        flex-direction: column;
        gap: 18px;
        padding: 28px 0;
    }

    .rooms-wrap .room-thumb,
    .rooms-wrap .room-info {
        width: 100%;
    }

    .rooms-wrap .room-thumb .swiper-slide {
        height: 220px;
    }

    .rooms-wrap .room-name {
        font-size: 22px;
        margin: 14px 0;
    }

    .rooms-wrap .room-bottom {
        margin-top: 20px;
        justify-content: stretch;
        gap: 8px;
    }

    .rooms-wrap .room-bottom a {
        flex: 1;
        justify-content: center;
        padding: 0 14px;
        height: 42px;
    }
}