/* --- CARTE --- */
.campings-map-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
}

.campings-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.campings-map-noresult {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.5);
    z-index: 999;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.custom-div-icon {
    background: transparent;
    border: none;
}

.camping-pin {
    width: 22px;
    height: 22px;
    background: #bdd353;
    position: relative;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

.camping-pin::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* --- GALERIE --- */
.camping-stars {
    color: #c0d000;
}

/* --- POPUP LEAFLET --- */
.camping-popup .leaflet-popup-content {
    margin: 0;
}

.camping-popup .leaflet-popup-content-wrapper {
    padding: 0;
}

.camping-popup-card {
    width: 400px;
    text-align: center;
    font-family: inherit;
}

.camping-popup-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 8px 8px 0 0;
    margin: 0;
}

.camping-popup-content {
    padding: 12px;
}

.camping-popup-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.camping-popup-stars {
    color: #c0d000;
    margin-bottom: 10px;
    font-size: 14px;
}

/* --- FILTRES --- */
.camping-filters-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2px;
}

@media (max-width: 960px) {
    .camping-filters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.camping-filter-box {
    background: #fff;
    padding: 5px;
    border-radius: 8px;
}

.camping-filter-title {
    font-weight: 600;
    margin-bottom: 0;
    font-size: 15px;
}

.camping-filter-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 0;
}

.camping-filter-item {
    display: flex;
    align-items: center;
    font-size: 12px;
    cursor: pointer;
    margin: -4px;
}

.camping-filter-item input {
    margin-right: 5px;
}

.camping-filter-item small {
    margin-left: 6px;
    color: #999;
}

.camping-filter-item.is-hidden {
    display: none;
}

.camping-filter-item.is-disabled {
    opacity: .35;
}

.camping-see-more {
    margin-top: 10px;
    font-size: 13px;
    background: none;
    border: 0;
    color: #c0d000;
    cursor: pointer;
    padding: 0;
    text-align: left;
}

/* --- UIkit override --- */
.camping-filters-grid .uk-accordion-content {
    display: block !important;
}

.uk-button-default,
.uk-button-default a,
.uk-button.uk-button-default {
    color: #ffffff !important;
}

/* --- ANIMATION GALERIE --- */
.js-filter > div {
    transition: opacity .35s ease, transform .35s ease;
}

.js-filter > div.is-hidden {
    opacity: 0;
    transform: scale(.96);
    pointer-events: none;
}
