/* Cards de résultat de recherche - refonte visuelle du 22/08/2026, même principe que la
   carte d'identité de vuecommerce.aspx : CSS + réorganisation de balises statiques
   uniquement. Partagé par rechercher.aspx et les cards "derniers avis"/"derniers commerces"
   de l'accueil (_avisnew/_entnew) pour un look cohérent sur tout le site. */
.carte-resultat {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(20, 30, 20, 0.06), 0 8px 20px -12px rgba(20, 30, 20, 0.2);
    transition: transform .15s ease, box-shadow .15s ease;
}

    .carte-resultat:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(20, 30, 20, 0.08), 0 14px 28px -14px rgba(20, 30, 20, 0.26);
    }

.carte-resultat .card-img-wrapper {
    position: relative;
    height: 150px;
    overflow: hidden;
}

    .carte-resultat .card-img-wrapper img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

.carte-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    gap: 5px;
    z-index: 2;
}

    .carte-badges .badge {
        font-size: 0.64rem;
        font-weight: 800;
        letter-spacing: 0.02em;
        padding: 3px 7px;
        border-radius: 999px;
        box-shadow: 0 1px 2px rgba(0,0,0,0.18);
    }

    .carte-badges .badge.bg-primary {
        background-color: #0e7a5f !important;
    }

    .carte-badges .badge.bg-warning {
        background-color: #dd5a2c !important;
        color: #fff !important;
    }

.carte-distance {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(20, 24, 16, 0.68);
    color: #fff;
    font-size: 0.66rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    z-index: 2;
}

.carte-resultat .card-header {
    border-bottom: none;
    padding-bottom: 6px;
}

.carte-resultat .card-title {
    font-size: 1rem;
    font-weight: 700;
}

    .carte-resultat .card-title .badge {
        font-size: 0.64rem;
        font-weight: 800;
        padding: 3px 7px;
        border-radius: 999px;
        vertical-align: middle;
    }

    .carte-resultat .card-title .badge.bg-warning {
        background-color: #dd5a2c !important;
        color: #fff !important;
    }

.carte-meta-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.86rem;
}

    .carte-meta-row .prix {
        font-weight: 800;
        color: #0e7a5f;
    }

    .carte-meta-row .vues {
        margin-left: auto;
        color: #6c757d;
        font-size: 0.78rem;
    }

.carte-resultat .btn-avis-action {
    background-color: #0e7a5f;
    border-color: #0e7a5f;
    color: #fff;
    font-weight: 700;
}

    .carte-resultat .btn-avis-action:hover,
    .carte-resultat .btn-avis-action:focus {
        background-color: #0b6650;
        border-color: #0b6650;
        color: #fff;
    }

.carte-resultat .card-footer {
    background: transparent;
    border-top: 1px solid #eef1ea;
}
