/* Layout amélioré pour l'affichage des prix et surfaces */

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px !important;
    border-top: 2px solid var(--color-border) !important;
    margin-top: 15px;
}

.property-footer .property-features {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    flex: 0 0 auto;
}

.property-footer .property-price {
    margin: 0 !important;
    text-align: right;
    flex: 0 0 auto;
}

/* Prix principal - tout sur une ligne */
.property-price {
    white-space: nowrap !important;
    overflow: visible !important;
    padding-right: 5px !important;
    max-width: none !important;
}

.property-price span {
    display: inline !important;
    vertical-align: baseline;
}

/* Prix principal */
.property-price .price-amount {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #30D54A !important;
    display: inline !important;
}

/* Type de prix et période - inline, plus petit */
.property-price .price-type,
.property-price .price-period {
    display: inline !important;
    font-size: 10px !important;
    color: #6C757D !important;
    font-weight: 500;
    margin-left: 3px;
    white-space: nowrap !important;
}

/* Prix sur demande */
.property-price:not(:has(.price-amount)) {
    font-size: 14px !important;
    color: #495057 !important;
    font-style: italic !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    white-space: nowrap;
    max-width: 100px;
}

/* Surface à gauche */
.property-footer .property-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-dark);
}

.property-footer .property-feature i {
    color: #30D54A !important;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .property-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .property-footer .property-price {
        text-align: left;
        width: 100%;
    }
}
