.container-fluid {
    .card {
        border: none;
        border-radius: 0;

        .card-img-top {
            border-radius: 10px;
            height: 300px;
            object-fit: contain;
        }
    }

    .row a {
        text-decoration: none !important;
        transition: box-shadow 0.3s ease;
    }

    .row a:hover {
        box-shadow:
            0 0 0 rgba(0, 0, 0, 0),
            0 15px 40px rgba(0, 0, 0, 0.35);
    }
}

.overflow-x-scroll {
    flex-wrap: nowrap;
}

@media (min-width: 992px) {
    .overflow-x-scroll::-webkit-scrollbar {
        display: none;
    }
}

.custom-scroll {
    position: relative;
}

.custom-grid {
    padding: 20px 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(320px, 1fr);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.custom-card {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    transition: all 0.3s ease;
    text-align: left;
    backdrop-filter: blur(6px);
    position: relative;

    img {
        height: 300px;
        object-fit: contain;
    }
}

.custom-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
}

/* Flèches */
.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(0, 0, 0, 0.35);
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 2;
    border-radius: 50px;
}

.scroll-arrow.left {
    left: 0;
}

.scroll-arrow.right {
    right: 0;
}

/* Visible */
.scroll-arrow.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile : plus discret */
@media (max-width: 768px) {
    .scroll-arrow {
        background: rgba(0, 0, 0, 0.25);
    }
}