.contenedor-productos{
    padding: 18vh 0;
    min-height: 100vh;
    box-sizing: border-box;
    .main-container{
        flex-direction: column;
    }
    .contenedor-filtro{
        display: flex;
        align-items: center;
        justify-content: center;
        padding-bottom: 32px;
        @media (max-width: 699px) {
            flex-wrap: wrap;
            justify-content: flex-start;
        }
        .item{
            // margin-right: 32px;
            position: relative;
            overflow: hidden;
            padding: 22px 32px;
            @media (max-width: 699px) {
                padding: 14px 24px;
            }
            &:last-child{
                margin-right: 0;
            }
            &:hover, &.active{
                span{
                    font-weight: bold;
                }
            }
            .contenedor-background{
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                width: 100%;
                height: 100%;
                svg{
                    object-fit: contain;
                    width: 100%;
                    height: 100%;
                    path{
                        stroke-dasharray: 0px, 999999px; 
                        stroke-dashoffset: 0.001;
                    }
                }
            }
        }
    }
    .contenedor-productos-grid{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        .item{
            width: 24%;
            height: calc(85vw * 0.24);
            margin-right: calc((85vw * 0.04) / 3);
            margin-bottom: calc((85vw * 0.04) / 3);
            // background-color: #cacaca;
            box-sizing: border-box;
            position: relative;
            overflow: hidden;
            &:nth-child(4n + 4){
                margin-right: 0;
            }
            @media (max-width: 1059px) {
                width: 32%;
                height: calc(90vw * 0.32);
                margin-right: calc((90vw * 0.04) / 2);
                margin-bottom: calc((90vw * 0.04) / 2);
                &:nth-child(4n + 4){
                    margin-right: calc((90vw * 0.04) / 2);
                }
                &:nth-child(2n + 2){
                    margin-right: 0;
                }
            }
            @media (max-width: 699px) {
                width: 100%;
                height: auto;
                margin-right: 0 !important;
                margin-bottom: 48px;
            }
            &:hover{
                .contenedor-hover{
                    h4, .price-product{
                        opacity: 1;
                    }
                    &:before{
                        transform: translate(-1%, 0);
                    }
                    &:after{
                        transform: translate(0, -1%);
                    }
                }
                @media (max-width: 699px) {
                    .contenedor-hover{
                        h4, .price-product{
                            opacity: 0;
                        }
                        &:before{
                            transform: translate(100%, -100%);
                        }
                        &:after{
                            transform: translate(-100%, 100%);
                        }
                    }
                }
            }
            img{
                object-fit: cover;
                width: 100%;
                height: 100%;
                @media (max-width: 699px) {
                    height: 90vw;
                }
            }
            .contenedor-hover{
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                transition: all 1ms ease-in-out 300ms;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                box-sizing: border-box;
                padding: 32px;
                h4, .price-product{
                    z-index: 2;
                    opacity: 0;
                    transition: all 500ms ease-in-out;
                    text-align: center;
                }
                &:before{
                    content: '';
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 102%;
                    height: 102%;
                    background-color: $color-yellow;
                    clip-path: polygon(100% 0, 0 0, 100% 100%);
                    transition: all 500ms ease-in-out;
                    transform: translate(100%, -100%);
                }
                &:after{
                    content: '';
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 102%;
                    height: 102%;
                    background-color: $color-yellow;
                    clip-path: polygon(0 100%, 0 0, 100% 100%);
                    transition: all 500ms ease-in-out;
                    transform: translate(-100%, 100%);
                }
            }
            .contenedor-titulo-mobile{
                display: none;
                @media (max-width: 699px) {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    margin-top: 16px;
                }
            }
        }
    }
}