/* --- Базовый стиль бейджа --- */
.custom-property-badge {
    padding: 0px 16px !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    border-radius: 30px !important; 
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10;
    backdrop-filter: blur(4px) !important; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important; 
    border: 1px solid rgba(255, 255, 255, 0.2) !important; 
}

/* --- Цветовые схемы --- */
/* Доступен (Зеленый) */
.badge-available { background-color: rgba(31, 130, 78, 1) !important; } 
/* Продано (Бордово-красный) */
.badge-sold { background-color: rgba(211, 0, 0, 0.9) !important; }      
/* Сдан (Терракотовый/Оранжево-красный) */
.badge-rented { background-color: rgba(211, 0, 0, 0.9) !important; }    
/* Не доступен (Строгий темно-серый) */
.badge-unavailable { background-color: rgba(52, 73, 94, 0.9) !important; } 

/* --- Затемнение карточек в каталоге --- */
.status-sold, 
.status-rented, 
.status-unavailable {
    opacity: 0.65;
    
    transition: all 0.3s ease;
}

.status-sold img, 
.status-rented img, 
.status-unavailable img {
    filter: grayscale(100%);
}