/* Occupancy badges */
.mfrsm-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
    vertical-align: middle;
    letter-spacing: 0.02em;
}
.mfrsm-badge-available     { background: #d4edda; color: #155724; }
.mfrsm-badge-occupied      { background: #f8d7da; color: #721c24; }
.mfrsm-badge-occupied-temp { background: #fff3cd; color: #856404; }

/* Pricing display */
.mfrsm-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mfrsm-price-line {
    font-size: 18px;
    color: #222;
}
.mfrsm-price-line strong {
    font-size: 22px;
    color: #000;
}
.mfrsm-price-unit {
    color: #666;
    font-size: 14px;
    font-weight: normal;
}

/* Simplified description */
.mfrsm-desc {
    line-height: 1.6;
}
.mfrsm-desc-toggle {
    margin-top: 10px;
    background: none;
    border: none;
    color: #2271b1;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
}
.mfrsm-desc-toggle:hover {
    text-decoration: underline;
}

/* Simplified amenities */
.mfrsm-amenities {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
}
.mfrsm-amenities li {
    padding: 8px 12px;
    background: #f6f7f7;
    border-radius: 4px;
    font-size: 14px;
}
.mfrsm-amenities-toggle {
    margin-top: 12px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}
.mfrsm-amenities-toggle:hover { background: #f6f7f7; }

/* Simplified gallery */
.mfrsm-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    position: relative;
}
.mfrsm-gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
}
.mfrsm-gallery-more {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}
.mfrsm-gallery-more:hover { background: rgba(0,0,0,0.9); }
.mfrsm-gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 60px 20px 20px;
    overflow: auto;
}
.mfrsm-modal-item {
    flex: 1 1 300px;
    max-width: 600px;
}
.mfrsm-modal-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}
.mfrsm-modal-close {
    position: fixed;
    top: 16px;
    right: 24px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: none;
    font-size: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
}
.mfrsm-modal-close:hover { background: rgba(255,255,255,0.25); }

@media (max-width: 768px) {
    .mfrsm-gallery { grid-template-columns: repeat(2, 1fr); }
    .mfrsm-gallery-item img { height: 140px; }
}
