.woocommerce-loop-product__title {
    text-align: center;
    font-weight: bold;
}

ul.products li.product .price {
    text-align: center;
    font-family: "Lato", sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #B7B7B7;
    letter-spacing: -1px;
}

ul.products li.product {
    text-align: center;
    position: relative;
}

ul.products li.product:hover .button {
    -webkit-transform: translatey(-150px) !important;
    transform: translatey(-150px) !important;
    opacity: 1;
    z-index: 11;
}

ul.products li.product .button {
    font-size: 12px;
    line-height: 15px;
    padding: 8px 12px;
    min-height: 15px;
    font-weight: bold;
    text-transform: uppercase;
    background-color: #F3D497 !important;
    color: white !important;
    margin: 0 !important;
}

ul.products li.product .additional_product_buttons {
    opacity: 0;
    -webkit-transform: translatey(0);
    transform: translatey(0);
    position: absolute;
    top: 90px;
    z-index: 11;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    white-space: nowrap;
    -webkit-transition: 0.35s;
    transition: 0.35s;
}

ul.products li.product .view_product_button,
ul.products li.product .fav_product_button {
    position: relative;
    font-size: 22px;
}

ul.products li.product .view_product_button::before,
ul.products li.product .fav_product_button::before {
    content: "";
    width: 100%;
    height: 100%;
    background-color: #363636;
    transform: rotate(45deg);
    display: inline-block;
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
}

ul.products li.product .fav_product_button::after {
    content: "\f004";
    font-family: "Font Awesome 5 Pro";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
}

ul.products li.product .fav_product_button.tinvwl-product-in-list::after {
    font-weight: 700;
}

ul.products li.product:hover .additional_product_buttons {
    opacity: 1;
    -webkit-transition: 0.35s;
    transition: 0.35s;
}

ul.products li.product:hover .additional_product_buttons a,
ul.products li.product:hover .additional_product_buttons a:link {
    -webkit-transition: 0.35s;
    transition: 0.35s;
    color: white !important;
    transform: scale(1) translateX(0%) !important;
}

ul.products li.product .additional_product_buttons a:first-of-type {
    transform: scale(0) translateX(350%);
}

ul.products li.product .additional_product_buttons a:last-of-type {
    transform: scale(0) translateX(-350%);
}

ul.products li.product .additional_product_buttons a,
ul.products li.product .additional_product_buttons a:link {
    padding: 10px 10px;
    display: inline-block;
    width: 50px;
    height: 50px;
    text-align: center;
    vertical-align: middle;
    outline: none !important;
    color: transparent !important;
}

ul.products li.product .additional_product_buttons a:hover {
    opacity: 0.8;
    -webkit-transition: 0.35s;
    transition: 0.35s;
}

@media (min-width: 1024px) {
    ul.products li.product .button {
        position: absolute;
        top: 0;
        -webkit-transform: translatey(0) !important;
        transform: translatey(0) !important;
        -webkit-transition: 0.35s;
        transition: 0.35s;
        margin: 0 !important;
        opacity: 0;
    }
}

ul.products li.product a img {
    object-fit: contain !important;
    object-position: center !important;
    height: 275px !important;
    max-width: 75% !important;
    margin: 0 auto !important;
    max-height: 275px !important;
}

/*section.acf-block ul.products li.product a img {
    object-fit: cover !important;
    object-position: center !important;
    height: 275px !important;
    max-width: 75% !important;
    margin: 0 auto !important;
    max-height: 275px !important;
}*/

ul.products li.product a h2 {
    margin-top: 10px !important;
    font-size: 1em;
}

span.onsale {
    top: 0;
    right: 0;
    background-color: transparent;
    border-radius: unset;
    position: absolute;
    z-index: 11;
    left: 0 !important;
    min-height: 3.5em;
    min-width: 3.5em;
    font-weight: 700;
    text-align: center;
    line-height: 3.5;
    color: #FFFFFF;
    font-size: .857em;
    padding: 0;
    margin: -.5em auto 0 auto;
}

span.onsale::before {
    content: "";
    width: 50px;
    height: 50px;
    background-color: #F3D497;
    transform: rotate(45deg);
    display: inline-block;
    position: absolute;
    z-index: -1;
    left: 0 !important;
    right: 0 !important;
    top: -2px;
    margin-left: auto !important;
    margin-right: auto !important;
}


a.added_to_cart {
    display: none;
}

ul.products li.product .additional_product_buttons a:hover {
    opacity: 1 !important;
}

#respond input#submit.added::after,
a.button.added::after,
button.button.added::after,
input.button.added::after {
    margin-left: 0;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

ul.products li.product .button.added,
.single_add_to_cart_button.added,
#respond input#submit.added,
a.button.added,
button.button.added,
input.button.added,
.single_add_to_cart_button.loading,
ul.products li.product .button.loading,
#respond input#submit.loading,
a.button.loading,
button.button.loading,
input.button.loading {
    color: transparent !important;
}

ul.products li.product .button.added:hover:after,
.single_add_to_cart_button.added:hover:after,
#respond input#submit.added:hover:after,
a.button.added:hover:after,
button.button.added:hover:after,
input.button.added:hover:after,
ul.products li.product .button.added:after,
.single_add_to_cart_button.added:after,
#respond input#submit.added:after,
a.button.added:after,
button.button.added:after,
input.button.added:after {
    transition: 0ms !important;
}

ul.products li.product .button.loading:hover:after,
#respond input#submit.loading:hover:after,
.single_add_to_cart_button.loading:hover:after,
a.button.loading:hover:after,
button.button.loading:hover:after,
input.button.loading:hover:after {
    transition: 0ms !important;
}

ul.products li.product .button:after,
#respond input#submit:after,
.single_add_to_cart_button:after,
a.button:after,
button.button:after,
input.button:after {
    transform-origin: center;
    line-height: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
}


ul.products li.product .button.loading:after,
#respond input#submit.loading:after,
.single_add_to_cart_button.loading:after,
a.button.loading:after,
button.button.loading:after,
input.button.loading:after {
    transition: 0ms !important;
    background-color: transparent !important;
    color: white;
    margin: 0 auto;
    font-size: 20px;
    display: inline-table;
    font-family: WooCommerce;
    content: "\e01c";
    position: absolute;
    text-align: center;
    height: 100%;
    vertical-align: middle;
    padding: 0;
    font-weight: 400;
    -webkit-animation: customspin 2s linear infinite;
    animation: customspin 2s linear infinite;
}

@keyframes customspin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


#respond input#submit.loading,
a.button.loading,
.single_add_to_cart_button.loading,
button.button.loading,
input.button.loading {
    opacity: .25;
    padding-right: 2.618em;
}

#respond input#submit.added::after,
.single_add_to_cart_button.added::after,
a.button.added::after,
button.button.added::after,
input.button.added::after {
    font-family: WooCommerce;
    content: "\e017";
    vertical-align: bottom;
}

ul.products li.product .button.added:after,
#respond input#submit.added:after,
.single_add_to_cart_button.added:after,
a.button.added:after,
button.button.added:after,
input.button.added:after {
    height: 100%;
}


ul.products li.product .button.added:before,
#respond input#submit.added:before,
.single_add_to_cart_button.added:before,
a.button.added:before,
button.button.added:before,
input.button.added:before,
.single_add_to_cart_button.loading:before,
ul.products li.product .button.loading:before,
#respond input#submit.loading:before,
a.button.loading:before,
button.button.loading:before,
input.button.loading:before {
    opacity: 0;
}


/* Responsive */

@media only screen and (min-width: 1921px) {

}

@media only screen and (max-width: 1920px) {

}

@media only screen and (max-width: 1599.98px) {

}

@media only screen and (max-width: 1399.98px) {

}

@media only screen and (max-width: 1199.98px) {

}

@media only screen and (max-width: 1023.98px) {
    ul.products li.product:hover .button, .woocommerce ul.products li.product:hover .button {
        -webkit-transform: translatey(0px) !important;
        transform: translatey(0px) !important;
    }

    ul.products li.product {
        min-height: 415px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 0 5px;
    }

    ul.products li.product a img {
        max-width: 95% !important;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        padding: 0 0;
    }
}

@media only screen and (max-width: 991.98px) {

    /*span.onsale {
        min-height: 3.9em;
        min-width: 3.9em;
        line-height: 3.9;
    }*/

}

@media only screen and (max-width: 767.98px) {

    .acf-block ul.products li.product a img {
        height: 225px !important;
    }

    .acf-block ul.products li.product {
        min-height: 395px;
    }

    ul.products li.product {
        min-height: 395px;
    }

    /*span.onsale {
        min-height: 4.3em;
        min-width: 4.3em;
        line-height: 4.3;
    }*/

}

@media only screen and (max-width: 575.98px) {

    ul.products li.product a img {
        height: 225px !important;
    }

    ul.products li.product {
        min-height: 345px;
    }

    .acf-block ul.products li.product {
        min-height: 360px;
    }

}

@media only screen and (max-width: 499.98px) {

}

@media only screen and (max-width: 459.98px) {

    .acf-block ul.products li.product {
        min-height: 370px;
    }

}

@media only screen and (max-width: 449.98px) {

    .woocommerce .products ul, .woocommerce ul.products {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .woocommerce ul.products li.product {
        width: 350px !important;
        max-width: 100% !important;
        margin: 0 0 60px !important;
    }

    .woocommerce ul.products li.product .button {
        align-self: center;
    }

    ul.products li.product a img {
        height: 275px !important;
    }

    .acf-block ul.products li.product {
        min-height: 345px;
    }

}

@media only screen and (max-width: 399.98px) {

}

@media only screen and (max-width: 349.98px) {

}

@media only screen and (max-width: 319.98px) {

}
