.main--cont{
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: end;
    overflow: hidden;
}
.cover--cont{
    width: 100%;
    height: 100%;
    background-image: url('../../assets/img/covers/cover_sec_05.webp');
    background-position: center;
    background-size: cover;
    opacity: 0.7;
}
.title--main--cont{
    position: absolute;
    font-size: 50pt;
    padding: 40px 30px;
    font-family: var(--DCC_Ash);
}

.body--cont{
    display: flex;
    padding: 20px;
    justify-content: space-between;
}
/* filter cont*/
.filter--cont{
    width: 20%;
    height: auto;
    padding: 20px;
}
.title--filter{
    font-size: 20pt;
    margin-bottom: 15px;
    font-family: var(--RussoOneRegular);
}
.prod--filter{
    font-size: 1.08vw;
    margin-bottom: 10px;
    cursor: pointer;
    text-transform: uppercase;
}
.prod--filter a{
    text-decoration: none;
    color: #fff;
}
.filter--bar{
    width: 0;
    height: 3px;
    background-color: red;
    transition: width 0.5s ease-in-out;
}
.--active{
    width: 100%;
}
.prod--filter:hover > .filter--bar{
    width: 100%;
}



/* prod list cont */
.prodlist--cont{
    width: 100%;
    border: #1D252B 2px solid;
    padding: 2vw;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 5vw;
}
.product{
    width: 32%;
    height: 30vw;
    background-color: #1D252B;
    cursor: pointer;
    overflow: hidden;
}
.prod--cover{
    height: 75%;
    margin: 10px 30px;
    display: flex;
    justify-content: center;
    align-items: start;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.prod--cover div{
    height: 75%;
    margin: 0 auto;
    width: 100%;
}
.prod--name{
    font-size: 15pt;
    text-align: center;
}
.prod--price{
    font-size: 1.2vw
}
.prime{
    width: 40%;
    margin: auto;
    display: flex;
    justify-content: center;
    font-weight:600;
    background-color: red;
    border-radius: 5px;
    color: #FFF;
}

.wa--cont{
    width: 0;
    height: 50px;
    position: absolute;
    margin-top: 15px;
    transition: width 0.5s ease-in-out;
    background-image: url('../../assets/icons/wa.svg');
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;
}
.product:hover > .wa--cont{
    width: 45vh
}

.cotizar{
    text-align: center;
    display:none;
    background-color:#009734;
}

/* CONDIMENTOS Y ESPECIAS */
.condesp--banner{
    width: 100%;
    height: 80vh;
    padding: 30px;
    background-image: url('../../assets/img/covers/Fon_Especias.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
}
.condesp--titlecover{
    width: 35vw;
    height: 80vh;
    background-image: url('../../assets/img/logos/TodasEspecias.svg');
    background-position:top;
    background-repeat: no-repeat;
    background-size: contain;
}
.condesp--desc{
    text-align: right;
    font-size: 10pt;
    padding: 5% 7.5% 0 0 ;
}

/* LOADING CONT */
.opaque--cont{
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    background-color: #262626;
    opacity: .5;
    display: none;
}
.loading--cont{
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    /* change to flex */
    display: none;
    z-index: 20;
    justify-content: center;
    align-items: center;

}
.spin {
    border: 5px solid hsla(185, 100%, 62%, 0.2);
    border-top-color: red;
    border-radius: 50%;
    width: 7em;
    height: 7em;
    animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
} 

@media screen and (max-width:720px) {
    .title--main--cont{
        font-size: 40pt;
    }
}

/* to product list */
@media screen and (max-width:970px) {
    .product{
        width: 48%;
        height: 35vw;
        padding: 0px;
        /* pointer-events: none; */
    }
    .prod--name{
        font-size: 1.9vw;
    }
    .prod--price{
        font-size: 1.5vw
    }
    .wa--cont{
        width: 60vh;
        height: 40px;
    }
    .condesp--desc{
        display: none;
    }
    .condesp--titlecover{
        width: 100vw;
        height: 80vh;
    }
}
/* to product list */
@media screen and (max-width:768px) {
    .body--cont{
        display: flex;
        flex-direction: column;
        row-gap: 2vw;
    }
    .filter--cont, .prodlist--cont{
        width: 100%;
    }
    .prodlist--cont{
        justify-content: center;
    }

    .filter--cont{
        overflow: hidden;
        max-height:60px;
        transition: max-height 0.5s ease-in-out;
    }
    .title--filter{
        font-size: 4vw;
        display: flex;
        justify-content: space-between;
        cursor: pointer;
        align-items: center;
    }
    .prod--filter{
        font-size: 3.5vw;
    }
    .show--btn{
        width: 6vw;
        height: 6vw;
        background-image: url('../../assets/icons/white-arrow.png');
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        transition: transform 0.5s ease-in-out;
        transform: rotate(90deg);
    }

    .product{
        width: 90%;
        height: 70vw;
        padding: 10px;
    }
    .prod--name{
        font-size: 3.8vw;
    }
    .prod--price{
        font-size: 3.2vw
    }
    .prod--cover{
        height: 70%;
    }
    .wa--cont{
        width: 0;
    }
    .cotizar{
        display:block;
    }
}