.search-filter-bar {


    position: sticky;
    top: 85px;
    z-index: 999;
    background: white;
    margin: auto auto;
    border-radius: 15px;
    width: 80%;
    margin-top: 90px;
    background: white;
    border-bottom: 1px solid #e0e0e0;
    z-index: 999;
    padding: 16px 20px;
}

.search-container {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    background: #f7f7f7;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    padding: 12px 20px;
    transition: all 0.2s ease;
}

.search-input-wrapper:focus-within {
    border-color: #ed8936;
    box-shadow: 0 0 0 3px rgba(255, 56, 92, 0.1);
}

.search-icon {
    width: 20px;
    height: 20px;
    color: #666;
    margin-right: 12px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    outline: none;
    color: #333;
}

.search-input::placeholder {
    color: #999;
}

.filter-btn {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.filter-btn:hover {
    border-color: #ed8936;
    background: #fff5f5;
}

.filter-icon {
    width: 20px;
    height: 20px;
    color: #333;
}

.categories-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: center; 

}

.categories-scroll::-webkit-scrollbar {
    display: none;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.2s ease;
    min-width: 80px;
    text-decoration: none;
    color: #666;
}

.category-item:hover {
    background: #f7f7f7;
    color: #333;
}

.category-item.active {
    color: #ed8936;
    background: rgba(255, 56, 92, 0.05);
}

.category-icon {
    width: 24px;
    height: 24px;
    color: currentColor;
}

.category-label {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

/* Contenu principal */
.main-content {
    padding: 20px;
    padding-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards de localisation */
.loc-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.loc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.loc-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.loc-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.1));
    z-index: 1;
}

.loc-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255,255,255,0.95);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    z-index: 2;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.favorite-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    font-size: 18px;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.favorite-btn:hover {
    background: rgba(255, 56, 92, 0.1);
    color: #ed8936;
    transform: scale(1.1);
}

.favorite-btn.liked {
    background: #ed8936;
    color: white;
}

.favorite-btn.liked:hover {
    background: #ed8936;
}

.loc-info {
    padding: 20px;
}

.loc-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.3;
}

.loc-price {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}



.reserve-btn {
    background: linear-gradient(135deg, #ed8936, #f6ad55);
    padding: 12px 24px;
    border-radius: 15px;
    border: none;
    color: white;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(237, 137, 54, 0.3);
}

.reserve-btn:hover {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.4);
}

.reserve-btn:active {
    transform: translateY(0);
}

/* Animations */
.loc-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Grid responsive */
@media (min-width: 768px) {
    .main-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 20px;
    }
}

@media (min-width: 1024px) {
    .main-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        padding: 24px;
    }
}

/* Animation différée pour chaque carte */
.loc-card:nth-child(1) { animation-delay: 0.1s; }
.loc-card:nth-child(2) { animation-delay: 0.2s; }
.loc-card:nth-child(3) { animation-delay: 0.3s; }
.loc-card:nth-child(4) { animation-delay: 0.4s; }
.loc-card:nth-child(5) { animation-delay: 0.5s; }
.loc-card:nth-child(6) { animation-delay: 0.6s; }

/* Effet de brillance au survol */
.loc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.loc-card:hover::before {
    left: 100%;
}


@media (max-width: 1024px) {
    .search-filter-bar {
        width: 90%;
        top:75px;
        padding: 14px 16px;
    }

    .search-container {
        gap: 10px;
    }

    .search-input-wrapper {
        padding: 10px 16px;
    }

    .filter-btn {
        width: 44px;
        height: 44px;
    }

    .category-label {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .search-filter-bar {
        width: 95%;
        top:75px;

        margin-top: 70px;
        padding: 12px 14px;
    }

    .search-container {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .search-input-wrapper {
        width: 100%;
    }

    .filter-btn {
        align-self: flex-end;
    }

    .categories-scroll {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .search-filter-bar {
        top:50px;
        padding: 10px 12px;
    }

    .search-input-wrapper {
        padding: 8px 12px;
    }

    .search-icon {
        width: 18px;
        height: 18px;
        margin-right: 8px;
    }

    .search-input {
        font-size: 14px;
    }

    .filter-btn {
        width: 40px;
        height: 40px;
    }

    .category-label {
        font-size: 10px;
    }

    .category-icon {
        width: 20px;
        height: 20px;
    }
}
