.sl-collections,
.sl-collections * {
    box-sizing: border-box;
}

.sl-collections {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 65px 24px 70px;
    overflow: hidden;
    background: #f7f1e9;
}

.sl-collections__header {
    margin-bottom: 38px;
    text-align: center;
}

.sl-collections__title {
    margin: 0 0 10px;
    color: #111111;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sl-collections__subtitle {
    margin: 0;
    color: #666666;
    font-size: 15px;
}

.sl-collections__subtitle span {
    margin-left: 5px;
}

.sl-collections__list {
    display: grid;
    justify-content: center;
    gap: clamp(14px, 2vw, 28px);
    width: min(1650px, 100%);
    margin: 0 auto;
}

.sl-collections__list--3 {
    grid-template-columns: repeat(3, minmax(0, 300px));
}

.sl-collections__list--4 {
    grid-template-columns: repeat(4, minmax(0, 300px));
}

.sl-collections__list--5 {
    grid-template-columns: repeat(5, minmax(0, 300px));
}

.sl-collection-card {
    display: block;
    min-width: 0;
    color: #111111;
    text-align: center;
    text-decoration: none;
}

.sl-collection-card:hover {
    color: #111111;
    text-decoration: none;
}

.sl-collection-card__visual {
    position: relative;
    aspect-ratio: 4 / 5;
    margin-bottom: 18px;
    overflow: hidden;
    background: #eee5da;
}

.sl-collection-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.sl-collection-card:hover .sl-collection-card__image {
    transform: scale(1.04);
}

.sl-collection-card__title {
    margin: 0 0 6px;
    color: #111111;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.sl-collection-card__text {
    margin: 0;
    color: #77706a;
    font-size: 14px;
    line-height: 1.4;
}

/* Mobile : cartes sur une ligne avec défilement horizontal */
@media (max-width: 767.98px) {
    .sl-collections {
        padding: 42px 0 48px;
    }

    .sl-collections__header {
        margin-bottom: 25px;
        padding: 0 18px;
    }

    .sl-collections__title {
        font-size: 23px;
        letter-spacing: 0.06em;
    }

    .sl-collections__subtitle {
        font-size: 13px;
    }

    .sl-collections__list {
        display: flex;
        justify-content: flex-start;
        gap: 14px;
        width: 100%;
        padding: 0 18px 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .sl-collections__list::-webkit-scrollbar {
        display: none;
    }

    .sl-collection-card {
        flex: 0 0 42%;
        scroll-snap-align: start;
    }

    .sl-collection-card__visual {
        margin-bottom: 12px;
    }

    .sl-collection-card__title {
        margin-bottom: 4px;
        font-size: 14px;
    }

    .sl-collection-card__text {
        font-size: 11px;
    }
}