/*
 Theme Name: Food4You Theme
 Template: leto
 Text Domain: food4you-theme
*/


:root {
    --cat-active-border: #ffcc33;
    --cat-active-bg: #ffcc33;
    --cat-active-color: #000;
}

html {
    scrollbar-width: thin;
}

.header-mobile-menu {
    order: 2;
}

.site-header {
    background-color: #fff;
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 2px 4px -1px;
}

.site-branding img {
    max-width: 160px;
}

.site-description {
    display: none;
}

.f4u-signup h2:after {
    content: ' ';
    display: block;
    border-bottom: 1px solid rgb(229, 229, 229);
    text-align: center;
    padding-top: 10px;
    margin-bottom: 30px;
}

.signup-text-line {
    color: rgb(58, 58, 58);
    font-size: 28px;
    border-bottom: 1px solid rgb(229, 229, 229);
    padding-bottom: 20px;

}

.site-footer {
    background-color: #B01D1F !important;
    color: #FFF !important;
    padding-left: 10%;
    padding-right: 10%;
    width: 100%;
    display: inline-block;
    padding-bottom: 0px !important;
    border-top: none !important;
    font-size: 18px !important;
}

.site-footer a {
    color: #FFF !important;
}

.has-hero .site-header {
    position: absolute;
    width: 100%;
    z-index: 998;
    top: 0;
    left: 0;
    background-color: #FFF !important;
    transition: none !important;
    -webkit-transition: none !important;
}

.f4u-user-icon {
    background-image: url('assets/images/user-profile.png');
    width: 18px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}

.f4u-cart-icon {
    background-image: url('assets/images/bag.png');
    width: 15px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}

.prefix {
    margin-left: 5px;
}

@media screen and (max-width: 992px) {
    .nav-link-right .nav-link-cart .prefix {
        display: none;
    }
}

@media screen and (max-width: 992px) {
    .nav-link-right {
        margin-left: 0;
        margin-right: 30px;
    }
}

.f4u-mini-cart {
    border-radius: 25px;
    background-color: #ffcc33;
    padding: 10px;
}

.f4u-cart-text {
    color: #242424;
    font-size: 16px !important;
}

.f4u-header-cart {
    border-radius: 25px;
    background-color: #ffcc33;
    padding: 10px;
}

.f4u-header-cart:hover {
    color: #242424 !important;
}

.nav-link-right .nav-link-cart .header-cart-link {
    font-size: 16px !important;
    position: relative;
    color: #000;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#content .category-list .active a {
    color: #FFF !important;
}

nav .woocommerce-breadcrumb,
.breadcrumbs {
    display: none !important;
}

nav.woocommerce-breadcrumb {
    display: none !important;
}

.page-header h1 {
    display: none !important;
}

.category-list {
    text-align: center;
    font-size: 16px;
}

#response {
    text-align: center;
    margin-top: 50px;
}

.category-name {
    font-weight: bold;
}


.f4u_extra_fields {
    font-weight: bold;
}

.single-product .page-header {
    background-color: #fff;
}

.woocommerce-product-details__short-description {
    color: #000;
}

div.wccf_field_container ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
    border: solid 2px #04A681;
    padding: 20px;
}

.woocommerce.single-product .cart,
.woocommerce .single-product .cart {
    margin-top: 0px !important;
}

.woocommerce div.product form.cart .button {
    vertical-align: middle;
    float: left;
    border-radius: 25px;
    background-color: #ffcc33;
    padding: 10px;
    color: #242424;
}

.woocommerce.single-product .single-product>input[type="checkbox"]+label:before {
    color: #777 !important;
    content: '';
    position: relative;
    left: 0px !important;
    display: inline-block !important;
    min-height: 20px !important;
    height: 20px !important;
    width: 20px !important;
    border: 2px solid #777 !important;
    font-size: 15px !important;
    vertical-align: top !important;
    text-align: center !important;
    transition: all 0.2s ease-in !important;
    content: '';
}


.woocommerce.single-product .product_title,
.woocommerce .single-product .product_title {
    font-size: 28px !important;
}


.wccf_product_field_checkbox {
    height: 20px !important;
    margin-right: 10px !important;
}

.wccf_field_container_product_field_checkbox label {
    vertical-align: middle;
    height: 30px;
}

.woocommerce.single-product .summary .amount,
.woocommerce .single-product .summary .amount {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    display: inline-block;
}

.page-content,
.entry-content,
.entry-summary {
    margin: .7em 0 0;
}

.woocommerce a.added_to_cart {
    padding-top: 0.5em;
    white-space: nowrap;
    display: none !important;
}

.woocommerce .cart-mini-wrapper,
.woocommerce .cart-mini-wrapper,
.cart-mini-wrapper {
    width: 330px;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    right: 0;
    top: 100%;
    margin-top: 30px;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: none !important;
    transition: none !important;
    z-index: 110;
}

/* General */

body {
    font-family: Poppins, Sans-Serif;
}


/* Products */
.active {
    background-color: #ffcc33 !important;
    font-weight: 400;
    border: 2px #ffcc33 solid;
    color: #000;
}

#content .category-list a {
    border-color: #ffcc33;
    border-style: solid;
    border-width: 2px;
    border-top-left-radius: 99px;
    border-top-right-radius: 99px;
    border-bottom-left-radius: 99px;
    border-bottom-right-radius: 99px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 6px;
    padding-bottom: 6px;
    margin-left: 6px;
    margin-right: 6px;
}


@media screen and (max-width: 1200px) {
    #content .category-list {
        display: flex;
        flex-flow: wrap;
        align-items: center;
        justify-content: center;
        width: auto;
        height: auto;
        align-content: center;
    }

    #response .grid {
        display: flex;
        flex-flow: wrap;
        align-items: center;
        justify-content: center;
        width: auto;
        height: auto;
        align-content: center;
    }

    #content .category-list a {

        height: 40px;
        margin-top: 6px;
        margin-bottom: 6px;
    }
}

#response .category-name {
    font-size: 32px;
    text-shadow: rgba(0, 0, 0, 0.3) 0px 1px 1px;
}

#response .grid {
    display: inline-grid;
}

#response .grid .card {
    width: 290px !important;
    height: 352px;
}

@media screen and (min-width: 1360px) {
    #response .grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}


@media (min-width: 992px) and (max-width: 1359px) {
    #response .grid {
        grid-template-columns: 1fr 1fr;
    }
}


@media (min-width: 640px) and (max-width: 991px) {
    #response .grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 639px) {
    #response .grid {
        grid-template-columns: 1fr;
    }
}

#response .grid .card {
    margin: 10px;
    padding: 20px;
}

#response .card img {
    max-width: 250px;
    max-height: 250px;
    min-height: 250px;
    min-width: 250px;
    object-fit: contain;
}

/* Fixes 11.3.2021 Version 1.1 */

.page-header {
    padding-top: 40px;
    padding-bottom: 0px !important;
    margin-bottom: 0px !important;
}

.container {
    padding: 0px !important;
}

body {
    position: static;
}

#content .category-list a {
    font-size: 16px;
    display: inline-block;
}

#content .category-list {
    margin-left: auto;
    margin-right: auto;
}

@media screen and (min-width: 1200px) {
    #page #content .container-full .row .category-list {
        width: 50% !important;
    }

    #content .category-list a {
        margin-top: 6px;
        margin-bottom: 6px;
    }
}

.single-product form.cart span.total_amount_single,
.single-product form.cart button.plusq {
    margin-left: 2px !important;
}

.single-product form.cart span.total_amount_single,
.single-product form.cart button.plusq {
    margin-right: 10px;
}

.single-product form.cart span.total_amount_single,
.single-product form.cart button.minusq {
    margin-left: 10px;
}

div.quantity input[type=number] {
    width: 0px;
}

.total_pcs,
.total_amount_single {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    display: inline-block;
}

input.minus,
input.plus {
    width: 35px;
    height: 35px !important;
    border-radius: 10%;
    font-size: 33px;
    background: #01A67E !important;
    color: #fff !important;
    padding-bottom: 5px !important;
    margin-top: 5px !important;
}

input.minus {
    margin-left: 6px;
}

input.plus {
    margin-right: 6px;
}

.woocommerce div.product form.cart .button {
    float: none !important;
}

.quantity {
    display: none;
}

button.plusq,
button.minusq {
    width: 35px !important;
    height: 35px !important;
    background: #535353;
    color: #fff;
    border-radius: 4px;
    outline: none;
    border: none;
}

.woocommerce.single-product .woocommerce-product-gallery .slick-active img,
.woocommerce .single-product .woocommerce-product-gallery .slick-active img {
    cursor: default !important;
}

.wccf_label {
    text-transform: uppercase;
}

@media screen and (max-width: 1200px) {
    #content .category-list a {
        padding-top: 4px;
    }
}

@media screen and (max-width: 767px) {
    #content {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Header */
.nav-link-cart .header-cart-link .f4u-header-cart {
    background-color: #ffcc33;
    font-weight: 600;
    padding-left: 20px;
    padding-right: 20px;
}

@media screen and (max-width: 767px) {
    .nav-link-cart .header-cart-link .f4u-header-cart {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media screen and (max-width: 767px) {
    .site-branding {
        margin-left: 0;
    }
}

.header-mobile-menu {
    order: 2;
}

.header-cart-link .f4u-header-cart .icon {
    margin-left: 6px;
    margin-right: 6px;
}

/* Home Page */
.home .container {
    max-width: 100%;
}

.home #content {
    padding-left: 0px;
    padding-right: 0px;
}

/* Footer */
.f4u-column {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: 0px 40px 20px 40px;
    font-size: 14px;
    color: #999999;
}

.f4u-left,
.f4u-right {
    width: 25%;
    padding-bottom: 5px;
}

.f4u-middle {
    width: 50%;
}

.f4u-row:after {
    content: "";
    display: table;
    clear: both;
}

.f4u-column-logo {
    background-image: url('assets/images/Food4You-logo.png');
    background-repeat: no-repeat;
    background-size: 78px;
    width: 78px;
    height: 24px;
    display: inline-block;
}

@media screen and (max-width: 768px) {
    .f4u-left {
        text-align: center;
    }
}

@media screen and (max-width: 600px) {
    .f4u-column {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .f4u-column {
        padding: 5px 40px 20px 40px;
    }
}

.f4u-column a {
    color: #999999;
}

.f4u-column:nth-child(2) {
    text-align: center;
}

.footer-links {
    font-size: 14px;
}

.footer-links:after {
    content: " | ";
    margin: 0 3px;
}

.footer-links:last-of-type:after {
    content: none;
    margin: 0;
}

.product-category {
    margin: 20px 0 20px 0;
}

.is-new-product {
    background-color: #009933;
    color: #fff;
    font-weight: 600;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 99px;
    text-transform: uppercase;
}

.hide {
    display: none;
}

.food4you-extra-fields {
    font-weight: 600;
    margin-bottom: 10px;
}

.delimeter {
    font-weight: 600;
}

.delimeter:after {
    content: "/";
    padding: 0 5px 0 5px;
}

#response .category-name {
    margin-bottom: -20px;
    margin-top: 80px;
}


/* Basic menu style */

.product_extra_field {
    color: #9D9D9D;
    font-size: 18px;
    display: block;
}

.product-basic-title {
    font-size: 24px;
}

.product-basic-price {
    font-size: 18px;
    display: block;
}

.is-new-product-basic {
    background-color: #009933;
    color: #fff;
    font-weight: 600;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 99px;
    text-transform: uppercase;
    font-size: 14px;
    vertical-align: top;
    margin-left: .5rem;
}

#response .product-basic {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 20px;
    text-align: left;
    border-bottom-width: 1px;
    border-bottom-style: dashed;
    border-bottom-color: #dddddd;
    margin-bottom: 20px;
}

#response .product-basic-title {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 20px;
}

#response .product-basic-price {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
}

#response .product_extra_field {
    grid-column: 1;
    grid-row: 2;
}

@media screen and (max-width: 1200px) {
    #response .product-basic {
        width: 100%;
    }
}

#response div h4 {
    font-size: 18px;
    font-weight: 600;
}

#response .product_extra_field {
    font-size: 14px;
    margin-right: 60px;
}

#response .product-basic-price {
    font-weight: 600;
    text-align: right;
    position: relative;
}

@media screen and (max-width: 480px) {
    #response .product-basic-price {
        left: -20px;
    }
}

.woocommerce span.onsale {
    position: absolute;
    background: #3c4e5b;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    display: block;
    line-height: 1;
    padding: 3px 8px;
    top: 10px;
    right: unset !important;
    left: 10px !important;
    border-radius: 10px;
    z-index: 12;
}

/* END Basic menu style */


#response {
    transition: opacity .2s ease;
}

.loading-products {
    text-align: center;
    padding: 40px;
    font-size: 16px;
    opacity: .6;
}