
.theme-ws .qerys-product--item,
.theme-ws ul.products li.product{
    list-style: none;
}

.theme-ws .qerys-product--item li {
    position: relative;
    overflow: hidden;
}

.theme-ws .qerys-product--item a.woocommerce-LoopProduct-link,
.theme-ws ul.products li.product a.woocommerce-LoopProduct-link{
    background-color: var(--qerys-quaternary-color);
    display: block;
    text-decoration: none;
    height: 100%;
    display: flex !important;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.theme-ws .qerys-product--item a.woocommerce-LoopProduct-link .woocommerce-loop-product__title,
.theme-ws ul.products li.product a.woocommerce-LoopProduct-link .woocommerce-loop-product__title{
    height: 100%;
    padding: 19px 26px 25px 26px;
    font-size: 16px;
    font-weight: normal;
    color: #000;
    font-style: normal;
    line-height: 21px; 
}

.theme-ws .qerys-product--item a.woocommerce-LoopProduct-link img,
.theme-ws ul.products li.product a.woocommerce-LoopProduct-link img{
    margin-bottom: 0;
    border: 6px solid var(--qerys-quaternary-color);
    padding:20px;
    width: 100%;
    background-color: #fff;
}

.theme-ws .qerys-product--item a.woocommerce-LoopProduct-link .qerys-button,
.theme-ws ul.products li.product a.woocommerce-LoopProduct-link .qerys-button{
    width: 100%;
    margin-top:auto;
}

.theme-ws .qerys-product--item a.woocommerce-LoopProduct-link:hover .woocommerce-loop-product__button,
.theme-ws ul.products li.product a.woocommerce-LoopProduct-link:hover .woocommerce-loop-product__button{
    background-color: var(--qerys-tertiary-color);
}

.theme-ws .qerys-product--item a.woocommerce-LoopProduct-link:hover .woocommerce-loop-product__button > span,
.theme-ws ul.products li.product a.woocommerce-LoopProduct-link:hover .woocommerce-loop-product__button > span{
    color: var(--qerys-secondary-color);
}

.theme-ws .qerys-product--item a.woocommerce-LoopProduct-link:hover .woocommerce-loop-product__button > svg,
.theme-ws .qerys-product--item a.woocommerce-LoopProduct-link:hover .woocommerce-loop-product__button > i,
.theme-ws ul.products li.product a.woocommerce-LoopProduct-link:hover .woocommerce-loop-product__button > svg,
.theme-ws ul.products li.product a.woocommerce-LoopProduct-link:hover .woocommerce-loop-product__button > i {
    color: var(--qerys-primary-color);
}

.theme-ws .product-compare-button{
    position: absolute;
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity .4s, transform .4s;
}

.theme-ws .qerys-product--item a.woocommerce-LoopProduct-link:hover .product-compare-button,
.theme-ws ul.products li.product a.woocommerce-LoopProduct-link:hover .product-compare-button{
    opacity: 1;
    transform: translateY(0);
}