.excursions-map-container {
    width: 100%;
    max-width: 87.5rem;
    height: 90vh;
    margin: 2.5rem auto;
    padding: 0;
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    box-shadow: 0 0.625rem 2.5rem rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.excursions-filters {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin: 0;
    padding: 0;
}

.filter-btn {
    padding: 0.75rem 1.25rem;
    background: #ffffff;
    border: 0.125rem solid #EFEAE5;
    border-radius: 1.5625rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.875rem;
    color: #666;
}

.filter-btn:hover {
    border-color: #E5DDD6;
    color: #333;
    transform: translateY(-0.125rem);
    box-shadow: 0 0.25rem 0.75rem rgba(239, 234, 229, 0.4);
}

.filter-btn.active {
    background: #EFEAE5;
    border-color: #EFEAE5;
    color: #333;
}

.excursions-content {
    display: grid;
    grid-template-columns: 1fr 25rem;
    height: 90vh;
    gap: 0;
    overflow: hidden;
}

.excursions-map-wrapper {
    position: relative;
    height: 90vh;
}

.excursions-map {
    width: 100%;
    height: 90vh;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.excursions-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 90vh;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 5rem 1rem 2rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    scroll-behavior: smooth;
}

.excursions-list::-webkit-scrollbar {
    width: 0.8rem;
    background: #8B7355;
    cursor: grab;
}

.excursions-list::-webkit-scrollbar-track {
    background: rgba(239, 234, 229, 0.2);
    border-radius: 0.25rem;
    cursor: grab;
}

.excursions-list::-webkit-scrollbar-thumb {
    background: #8B7355;
    border-radius: 0.25rem;
    transition: background 0.3s ease;
    cursor: grab;
}

.excursions-list::-webkit-scrollbar-thumb:hover {
    background: #8B7355;
    cursor: grab;
}

.excursions-list::-webkit-scrollbar-thumb:active {
    cursor: grabbing;
}

.pCard_card {
    width: 100%;
    max-width: 22rem;
    height: 27rem;
    margin: 0 auto;
    border-radius: 1.875rem;
    background-color: #f6fcfe;
    box-shadow: 0 1.25rem 4.375rem 0 rgba(0, 0, 0, 0.21);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 0.125rem solid transparent;
    flex-shrink: 0;
}

.pCard_card:hover {
    transform: translateY(-0.5rem) scale(1.02);
    box-shadow: 0 2rem 5rem rgba(239, 234, 229, 0.4);
    border-color: #EFEAE5;
}

.pCard_card.active {
    border-color: #EFEAE5;
    background: #fdfcfb;
    transform: translateY(-0.25rem);
}

.pCard_card.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

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

.pCard_up {
    position: absolute;
    width: 100%;
    height: 15rem;
    background-position: 50%;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #EFEAE5;
    z-index: 3;
    text-align: center;
    border-top-left-radius: 1.875rem;
    border-top-right-radius: 1.875rem;
    transition: 0.5s ease-in-out;
}

.pCard_up .pCard_text {
    position: absolute;
    top: 9rem;
    left: 0;
    right: 0;
    color: #ffffff;
    transition: 0.5s ease-in-out;
    text-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.7);
}

.pCard_up .pCard_text h2 {
    margin: 0;
    font-size: 1.5625rem;
    font-weight: 600;
}

.pCard_down {
    background-color: #fff;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 11.125rem;
    z-index: 2;
    border-bottom-left-radius: 1.875rem;
    border-bottom-right-radius: 1.875rem;
    transition: 0.5s ease-in-out;
    padding: 1.5rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.excursion-content-text {
    flex: 1;
    display: flex;
    align-items: center;
}

.excursion-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.excursion-subtitle {
    margin: 0;
    color: #6c757d;
    font-size: 0.92rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0.85;
}

.excursion-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 0.0625rem solid rgba(239, 234, 229, 0.3);
}

.excursion-price {
    font-weight: 700;
    color: #8B7355;
    font-size: 0.7rem;
    letter-spacing: -0.01em;
}

.excursion-link-container {
    flex-shrink: 0;
}

.excursion-link-btn {
    color: #8B7355;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.75rem;
    background: rgba(239, 234, 229, 0.2);
    transition: all 0.3s ease;
    border: 0.0625rem solid rgba(239, 234, 229, 0.4);
    display: inline-block;
}

.excursion-link-btn:hover {
    color: #64403E;
    background: #EFEAE5;
    transform: translateY(-0.0625rem);
    box-shadow: 0 0.25rem 0.75rem rgba(239, 234, 229, 0.4);
}

.excursion-popup {
    min-width: 200px;
}

.excursion-popup h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 1.1em;
}

.excursion-popup p {
    margin: 0 0 10px 0;
    color: #7f8c8d;
    font-size: 0.9em;
}

.popup-price {
    font-weight: 600;
    color: #2c3e50;
}

.popup-link {
    display: inline-block;
    color: #8B7355;
    text-decoration: none;
    font-weight: 500;
    margin-top: 5px;
}

.popup-link:hover {
    color: #64403E;
}

@media (max-width: 768px) {
    .excursions-map-container {
        margin: 1.25rem auto;
        border-radius: 1rem;
        width: 100%;
        height: 90vh;
    }
    
    .excursions-content {
        grid-template-columns: 1fr; /* Une seule colonne */
        grid-template-rows: 1fr; /* Une seule ligne */
        height: 90vh;
        width: 100%;
    }
    
    .excursions-map {
        height: 90vh;
        width: 100%;
    }
    
    .excursions-map-wrapper {
        height: 90vh;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    /* CACHER complètement la colonne de droite sur mobile */
    .excursions-list {
        display: none;
    }
    
    .excursions-filters {
        left: 0.9375rem;
        right: 0.9375rem;
        top: 0.9375rem;
    }
    
    .filter-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .excursions-map-container {
        margin: 0.625rem auto;
        width: 100%;
    }
    
    .excursions-content {
        height: 90vh;
        width: 100%;
    }
    
    .excursions-map-wrapper {
        height: 90vh;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .excursions-map {
        height: 90vh;
        width: 100%;
    }
    
    .excursions-filters {
        left: 0.625rem;
        right: 0.625rem;
        top: 0.625rem;
        gap: 0.375rem;
    }
    
    .excursions-list {
        padding: 3rem 0.5rem 1rem 0.5rem;
    }
    
    .pCard_card {
        height: 25rem;
    }
    
    .pCard_up {
        height: 16rem;
    }
    
    .pCard_up .pCard_text {
        top: 11rem;
    }
    
    .pCard_up .pCard_text h2 {
        font-size: 1.125rem;
    }
    
    .pCard_down {
        height: 9rem;
        padding: 0.75rem;
    }
    
    .excursion-title {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .excursion-subtitle {
        font-size: 0.8rem;
        -webkit-line-clamp: 1;
    }
    
    .excursion-bottom-row {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .excursion-price {
        font-size: 0.9rem;
    }
    
    .filter-btn {
        padding: 0.375rem 0.625rem;
        font-size: 0.75rem;
    }
    
    .excursion-link-btn {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
}