.collection-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px 20px 30px;
    width: 100%;
    height: 100%;
    position: relative;
}


.collection-header-wrapper {
    position:relative;
    width: 100vw;
    height: 100vh;
    color:white;
    flex-shrink: 0;
    /* transition: width 300ms ease-out; */
    will-change: width;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.collection-grid-wrapper {
    flex-shrink: 0;
    width:100vw;
}

.collection-bkg{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(0.96);
    /* transition: transform 300ms ease-out; */
    will-change: transform;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    overflow: hidden;
}

.collection-bkg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    /* transition: transform 300ms ease-out; */
    will-change: transform;
}

.collection-header-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 500px;
    text-align: center;
}

.collection-header-content h1{
    font-size: 38px;
    line-height: 41px;
    font-family: 'Martell', sans-serif;
}

.collection-desc {
    margin-top: 32px;
}

.collection-grid {
    display:grid; 
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-gap: 10px;
    
}

.collection-gamme-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 32px 0px;
    gap: 20px;
}

.collection-gamme-header .buttons-wrapper {
    flex-shrink: 0;
}

.collection-item-wrapper {
    display:flex;
}

.collection-item {
    width: 100vw;
    position: relative;
    height: 200vh;
}

.collection-item-wrapper {
    display: flex;
    position: sticky;
    top: 0;
    overflow: hidden;
}

.collection-item-inner {
    display:flex;
    will-change: transform;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.collection-dropdown {
    display: none;
    position: fixed;
    z-index: 10;
    bottom: 6vh;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 500px;
    background: white;
    border-radius: 2px;
    filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.07));
    backdrop-filter: blur(7.5px);
    border-radius: 2px;
    background:#FFF;
}

.collection-item-inner {
    display: flex;
    width: 200vw; 
    will-change: transform;
}


.product-image {
    background-color: white;
}


@media (max-width: 991px) {
    .collection-header-content {
        width: 100%;
    }

    .collection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-gap: 5px;
    }

    .collection-item {
        width: 100vw;
        height:auto;
    }

    .collection-item-wrapper {
        position:relative;
        top: unset;
    }

    .collection-item-inner {
        width: 100%;
        flex-direction: column;
    }

    .collection-bkg {
        transform: scale(1);
    }

    .collection-grid-wrapper .collection-grid-item:first-child {
        margin-top: -200px;
    }

    .collection-dropdown {
        display: block;
    }

   .collection-gamme-header {
        flex-direction: column;
        gap: 20px;
    }
}

