/*!
Theme Name: Weblorem Theme Foodica Child
Theme URI: https://weblorem.com
Author: Eugene Mazuryk
Author URI: https://mazuryk-e.weblorem.com
Description: Custom WordPress theme with WooCommerce support.
Template: foodica
Version: 1.5
Tested up to: 7.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: weblorem
*/

/*********************************************************************************************

Site Fonts

*********************************************************************************************/

@font-face {
    font-family: 'payment-webfont';
    src: url('assets/fonts/payment-webfont.eot');
    src: url('assets/fonts/payment-webfont.eot') format('embedded-opentype'),
    url('assets/fonts/payment-webfont.ttf') format('truetype'),
    url('assets/fonts/payment-webfont.woff') format('woff'),
    url('assets/fonts/payment-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

/*********************************************************************************************

Site Main

*********************************************************************************************/

h1, h2, h3, h4, h5, h6 {
    margin: 0.67em 0;
}

body.custom-background {
    background-size: 40px auto !important;
    background-repeat: repeat-y !important;
}

.page h1.entry-title {
    font-size: 24px;
    line-height: 1.4;
}

.site-header {
    /*background-color: #FFFFFF;*/
}

.main-navbar {
    background-color: #FFFFFF;
}

@media screen and (max-width: 1300px) {
    .inner-wrap {
        padding: 0 4% 0 6% !important;
    }
}

@media screen and (max-width: 979px) {
    .inner-wrap {
        padding: 0 4% 0 8% !important;
    }
}

@media screen and (max-width: 768px) {
    .inner-wrap {
        padding: 0 4% 0 12% !important;
    }
}

.content-area {
    width: 100%;
}

.site-footer {
    padding: 0 20px;
    background: #FAFAFA;
}

.entry-content a {
    color: #222;
}

.entry-content a:hover {
    color: #818592;
}

.footer-menu {
    background: unset;
    padding: 40px 0 10px !important;
}

.pw {
    font-family: 'payment-webfont';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    font-size: 32px;
    color: #363940;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.pw-mastercard:before {
    content: "\e602";
}

.pw-visa:before {
    content: "\e601";
}

.finest-item img {
    width: 100%;
    height: auto;
}

.fixed-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-brand-wpz {
    transition: all 0.3s ease;
}

.fixed-logo {
    position: absolute;
    left: 2%;
    margin-right: 30px;
    display: none;
}

.fixed-logo.show {
    display: block;
}

.fixed-logo img {
    max-height: 48px;
    width: auto;
}

.fixed-logo .site-description {
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #c7c7c7;
    font-size: 1.4rem;
}

@media screen and (max-width: 979px) {
    .fixed-logo.show .site-description {
        display: none;
    }
}

/*********************************************************************************************

Woocommerce

*********************************************************************************************/

.woocommerce ul.products li.product .badges .onsale {
    margin: 6px 4px 0;
}

.woocommerce li.product .badges {
    display: flex;
    position: absolute;
    left: 3.8%;
    top: 0;
}

.woocommerce div.product .badges {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    top: 0;
}

@media screen and (max-width: 768px) {
    .woocommerce li.product .badges {
        flex-direction: column;
    }
}

.woocommerce .badges .onsale {
    min-height: 2.4em;
    min-width: 6.236em;
    font-weight: 700;
    text-align: center;
    line-height: 2.4;
    border-radius: 100%;
    color: #fff;
    z-index: 9
}

.woocommerce .onsale {
    top: 0;
    left: 0;
    margin: 6px;
    padding: 0 10px;
    background-color: #f4db11;
}

.woocommerce .new {
    background-color: #f00000;
}

.woocommerce .exclusive {
    background-color: #ff8921;
}

.woocommerce .bestseller {
    background-color: #2bb673;
}

.product .cat-product-item-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product .cat-product-item-wrapper .woocommerce-loop-product__link {
    /*width: 48%;*/
    margin: 0 3.8%;
}

.product .cat-product-item-wrapper .cat-product-item-summary {
    width: 48%;
}

.product .cat-product-item-wrapper .cat-product-item-summary .woocommerce-loop-product__title {
    font-size: 1.8em !important;
}

.product .cat-product-item-wrapper .cat-product-item-summary .woocommerce-product-details__short-description {
    text-align: left;
}

.woocommerce ul.products[class*="columns-"] li.product, .woocommerce-page ul.products[class*="columns-"] li.product {
    width: 100%;
}

.woocommerce ul.products li.product .price {
    font-size: 1.157em;
}

.woocommerce a.button.disabled {
    padding: 13px 30px;
    opacity: unset;
}

.woocommerce a.button.disabled:hover {
    background: #818592;
}

@media screen and (max-width: 768px) {
    .product .cat-product-item-wrapper {
        display: block;
    }

    .product .cat-product-item-wrapper .cat-product-item-summary {
        width: 100%;
    }

    .woocommerce nav.woocommerce-pagination ul {
        font-size: 14px;
    }

    .woocommerce nav.woocommerce-pagination ul li {
        margin: 0 4px;
    }

    .woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
        padding: 10px 10px;
    }
}

.select2-selection--single {
    padding: 8px 12px !important;
    font-size: 16px !important;
    font-weight: normal !important;
    background: white !important;
    border: 1px solid #e2e2e2 !important;
    width: auto !important;
    color: #444 !important;
    transition: 0.2s ease all !important;
    border-radius: 2px !important;
    height: auto !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
}

#finest-count:hover {
    background: #818592;
    border-radius: 50px;
}

.finest-count-number {
    box-shadow: 1px 1px 5px #363940;
}

.added_to_cart {
    display: block !important;
}

table thead, table tfoot {
    background: #ebe9eb;
}

.button-back-to-cart {
    color: #000 !important;
    border: 1px solid #363940 !important;
    border-radius: 3px !important;
    background-color: #ffffff !important;
    display: block !important;
}

.button-back-to-cart:hover {
    color: #ffffff !important;
    background-color: #818592 !important;
}

.woocommerce-product-details__short-description ul {
    list-style: initial !important;
    padding: 0 0 0 25px !important;
}

.woocommerce-product-details__short-description ul li {
    list-style: unset !important;
}

.woocommerce-product-details__short-description strong {
    display: unset !important;
}

.woocommerce-error {
    margin: 0 0 20px 0 !important;
}

@media screen and (max-width: 640px) {
    .woocommerce form .form-row-first, .woocommerce form .form-row-last, .woocommerce-page form .form-row-first, .woocommerce-page form .form-row-last {
        width: 100%;
    }
}

#add_payment_method #payment ul.payment_methods, .woocommerce-cart #payment ul.payment_methods, .woocommerce-checkout #payment ul.payment_methods {
    border-bottom: none;
}

.woocommerce .apply-order-buttons {
    display: flex;
    flex-direction: column;
}

.woocommerce .apply-order-buttons .button {
    margin: 5px 0;
}

.woocommerce table.shop_table td .quantity, .woocommerce table.shop_table td .remove {
    display: inline-block;
}

.woocommerce-variation-price {
    padding-bottom: 18px;
}

/*********************************************************************************************

Gutenberg

*********************************************************************************************/

.wp-element-button {
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: "Roboto Condensed", sans-serif;
    display: inline-block;
    color: #fff !important;
    padding: 13px 30px;
    background: #363940;
    border-radius: 3px;
    transition-duration: 200ms;
}

.wp-element-button:hover {
    background: #818592;
}

.advgb-images-slider-block {
    padding: 0 10px 1px 5px !important;
}

.screen-reader-text-unset .screen-reader-text {
    clip-path: unset !important;
    height: unset !important;
    margin: 0 0 10px !important;
    padding: unset !important;
    position: unset !important;
    width: unset !important;
}

.payment_method_ecommerceconnect img {
    display: none;
}