.result-card.is-active { outline: 3px solid #111; border-radius: 14px; }
.result-card.is-hover { outline: 2px solid #999; border-radius: 14px; }

.farm-marker.is-active { transform: scale(1.15); filter: drop-shadow(0 8px 10px rgba(0,0,0,.25)); }
.farm-marker.is-hover { transform: scale(1.08); filter: drop-shadow(0 6px 8px rgba(0,0,0,.20)); }
.geo-suggest {
    position: absolute;
    z-index: 9999;
    left: 0; right: 0;
    margin-top: 6px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
    max-height: 280px;
    overflow: auto;
}
.geo-suggest button {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
}
.geo-suggest button:hover {
    background: #f7f7f7;
}


/* Popup Leaflet style "card" - ajusté sans footer agent/price */
.leaflet-popup.farm-popup .leaflet-popup-content-wrapper {
    border-radius: 18px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0,0,0,.25);
}

.leaflet-popup.farm-popup .leaflet-popup-content {
    margin: 0;
    width: 520px;
    max-width: calc(100vw - 40px);
}

.leaflet-popup.farm-popup .leaflet-popup-close-button {
    width: 34px;
    height: 34px;
    line-height: 34px;
    border-radius: 999px;
    right: 10px;
    top: 10px;
    background: rgba(255,255,255,.92);
    color: #111;
    font-size: 18px;
    text-align: center;
    box-shadow: 0 8px 18px rgba(0,0,0,.15);
}

.farm-popup-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #fff;
    align-items: stretch;
}

.farm-popup-media {
    width: 180px;
    min-width: 180px;
    height: 132px;
    border-radius: 14px;
    overflow: hidden;
    background: #f3f3f3;
    border: 1px solid #eee;
}

.farm-popup-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.farm-popup-body {
    flex: 1;
    min-width: 0;
}

.farm-popup-address {
    display: flex;
    gap: 8px;
    align-items: center;
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.farm-popup-title {
    font-weight: 800;
    font-size: 20px;
    line-height: 1.15;
    margin: 0 0 10px 0;
    color: #111;
}

/* Meta small tags (categories) */
.farm-popup-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.farm-popup-tags .tag {
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 999px;
    border: 1px solid #eee;
    background: #fafafa;
    color: #374151;
}

/* Product list */
.farm-popup-products {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.farm-popup-products li {
    background: #fff;
    border: 1px solid #eee;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 13px;
    color: #374151;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nice-select .list .option.option-group{
    font-weight: 700;
    opacity: .75;
    cursor: default;
    pointer-events: none;
    background: rgba(0,0,0,.04);
}

/* Petit décalage des items sous le groupe */
.nice-select .list .option.option-group + .option{
    /* optionnel */
}
.product-chip{
        display:inline-flex;
        align-items:center;
        gap:.35rem;
        padding:.25rem .5rem;
        border-radius:999px;
        border:1px solid rgba(0,0,0,.08);
        background:#fff;
        font-size:.85rem;
        line-height:1;
    }
    .product-chip__icon{ font-size:1rem; }
    .product-stack{
        width:100%;
        height:220px;              /* adapte à ton design */
        display:flex;
        align-items:center;
        justify-content:center;
        gap:0;
        position:relative;
        background:linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.01));
    }

    .product-stack__item{
        width:64px;
        height:64px;
        border-radius:999px;
        display:flex;
        align-items:center;
        justify-content:center;
        background:#fff;
        border:1px solid rgba(0,0,0,.08);
        font-size:28px;
        box-shadow:0 8px 20px rgba(0,0,0,.08);
        position:relative;
    }
    
    .product-stack__item:nth-child(1){ transform:translateX(24px); z-index:4; }
    .product-stack__item:nth-child(2){ transform:translateX(8px);  z-index:3; }
    .product-stack__item:nth-child(3){ transform:translateX(-8px); z-index:2; }
    .product-stack__item:nth-child(4){ transform:translateX(-24px);z-index:1; }
    .product-stack--small{
        width:100%;
        height:68px; /* hauteur du bloc dans la liste */
        display:flex;
        align-items:center;
        justify-content:center;
        position:relative;
        background:linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.01));
    }

    .product-stack--small .product-stack__item{
        width:34px;
        height:34px;
        font-size:18px;
        border-radius:999px;
        display:flex;
        align-items:center;
        justify-content:center;
        background:#fff;
        border:1px solid rgba(0,0,0,.08);
        box-shadow:0 6px 14px rgba(0,0,0,.08);
        position:relative;
    }

    .product-stack--small .product-stack__item:nth-child(1){ transform:translateX(14px); z-index:4; }
    .product-stack--small .product-stack__item:nth-child(2){ transform:translateX(4px);  z-index:3; }
    .product-stack--small .product-stack__item:nth-child(3){ transform:translateX(-4px); z-index:2; }
    .product-stack--small .product-stack__item:nth-child(4){ transform:translateX(-14px);z-index:1; }
    .wd-amenities .amenities-item { margin-bottom: .35rem; }
    .wd-amenities label { cursor: pointer; }
    .wd-amenities label span:first-child { width: 1.4em; text-align:center; }