/* Container */
.mrt-room-card {
    display: flex;
    flex-direction: column;
    background: #F4EFE3; /* Updated to theme background color */
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #1c1c1c;
    margin-bottom: 20px;
}

@media (min-width: 992px) {
    .mrt-room-card {
        flex-direction: row;
    }
}

/* Image Column with Carousel */
.mrt-room-image-col {
    flex: 0 0 100%;
    position: relative;
    background: #e8e2d4; /* Slightly darker than theme bg for contrast */
}

@media (min-width: 992px) {
    .mrt-room-image-col {
        flex: 0 0 300px;
        max-width: 300px;
    }
}

.mrt-static-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mrt-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 200px;
    overflow: hidden;
}

.mrt-carousel-stage {
    position: relative;
    width: 100%;
    height: 100%;
}

.mrt-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    z-index: 1;
}

.mrt-carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.mrt-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mrt-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background 0.2s;
    padding-bottom: 3px;
}

.mrt-nav-btn:hover {
    background: rgba(0,0,0,0.8);
}

.mrt-prev { left: 10px; }
.mrt-next { right: 10px; }

.mrt-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.mrt-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    margin: 0 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.mrt-dot.active {
    background: white;
}


/* Info Column */
.mrt-room-info-col {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.mrt-badge {
    align-self: flex-start;
    background: #1c1c1c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 8px;
    margin-bottom: 12px;
    border-radius: 2px;
}

.mrt-room-title {
    margin: 0 0 12px 0;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
}

.mrt-room-desc {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.mrt-amenities {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.mrt-amenities li {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #555;
}

.mrt-amenities li i,
.mrt-amenities li svg {
    margin-right: 8px;
    font-size: 14px;
    width: 14px;
    height: 14px;
    fill: currentColor;
    color: #1c1c1c;
}

.mrt-details-link {
    margin-top: auto;
    color: #1c1c1c;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.mrt-details-link:hover {
    text-decoration: underline;
}

/* Booking Column */
.mrt-room-booking-col {
    flex: 0 0 100%;
    background: #efe9da; /* Slightly darker than theme bg for contrast */
    border-top: 1px solid #e0e0e0;
}

@media (min-width: 992px) {
    .mrt-room-booking-col {
        flex: 0 0 350px;
        max-width: 350px;
        border-top: none;
        border-left: 1px solid #e0e0e0;
    }
}

.mrt-rates-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mrt-rate-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.mrt-rate-option:last-child {
    border-bottom: none;
}

.mrt-rate-info {
    padding-right: 15px;
}

.mrt-rate-name {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 700;
}

.mrt-rate-desc {
    display: block;
    font-size: 12px;
    color: #777;
}

.mrt-rate-action {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.mrt-rate-price {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 8px;
}

.mrt-rate-btn-wrapper {
    min-width: 100px;
}

/* Default styling for HTML buttons if they use our classes */
.mrt-btn {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border: 1px solid #1c1c1c;
    background: transparent;
    color: #1c1c1c;
    border-radius: 2px;
    transition: all 0.2s;
    width: 100%;
}

.mrt-btn:hover {
    background: #e0d8c8;
}

.mrt-btn-primary {
    background: #1c1c1c;
    color: #fff;
}

.mrt-btn-primary:hover {
    background: #333;
}