/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.7.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
h3.restaurant-item-heading {
    margin-top: 15px;
}

.restaurant-item-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.restaurant-item {
    border: 1px solid #dbd5d5;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
}

.restaurant-item-left {
    width: 60px;
}

.restaurant-item-thumb {
    display: flex;
    justify-content: center;
    align-items: center;
}

.restaurant-item-thumb img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 1px solid #dbd5d5;
    border-radius: 4px;
    cursor: pointer;
}

.restaurant-item-center {
    flex: 1;
}

.restaurant-item-name {
    font-size: 18px;
    font-weight: 600;
}

p.restaurant-item-description {
    font-size: 14px;
    line-height: 16px;
    display: block;
    margin: 0;
}

.restaurant-item-right {
    width: 120px;
}

.restaurant-item-Price {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.add-to-cart-popup-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    background: #0202028c;
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.add-to-cart-popup {
    display: flex;
    background: #fff;
    padding: 35px;
    border-radius: 10px;
    width: 800px;
    position: relative;
    transform: scale(0);
    transform-origin: center;
    transition: 0.5s;
    opacity: 1;
}

.product-details {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-image-wrap {
    display: flex;
    align-items: center;
    width: 50%;
    flex-direction: column;
}

.product-gallery-wrap,
.product-gallery-thumb-wrap {
    width: 100%;
}

.product-gallery-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    border: 1px solid transparent;
}

.product-gallery-thumb-wrap .product-gallery-image.slick-slide.slick-current img {
    border: 1px solid #000;
}

.slick-initialized .slick-slide {
    display: block;
}

h3.product-title {
    margin: 0;
    font-weight: 600;
}

p.product-description {
    margin-top: 10px;
}

.product-type {
    display: inline-block;
    width: max-content;
    border: 1px solid #c36;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}

.product-type button {
    border-radius: 0;
    border: none;
}

.product-type button.active {
    background-color: #c36;
    color: #fff;
}

p.product-price {
    font-size: 20px;
    margin-top: 5px;
    display: none;
}

p.product-price.active {
    display: block;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    display: none;
}

.product-actions.active {
    display: flex;
}

.product-actions input {
    width: 70px;
    padding: 10px;
}

.product-actions button {
    flex: 1;
    border-radius: 5px;
}

.add-to-cart-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.add-to-cart-popup-close svg {
    width: 25px;
    height: 25px;
}

.session-product-list.loading {
    opacity: 0.5;
    pointer-events: none;
}

button.nax-add-to-woo-cart {
    width: 100%;
}

.product-action>span {
    cursor: pointer;
}

.session-product-list-overlay,
.mobile-toggle-arrow {
    display: none;
}

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

    .session-product-list-overlay,
    .mobile-toggle-arrow {
        display: block;
    }

    .session-product-list-overlay.active {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        z-index: 998;
        background-color: #0000008a;
        cursor: not-allowed;
    }

    .session-product-list {
        position: fixed;
        bottom: 0;
        width: 100%;
        left: 0;
        background: #fff;
        padding: 20px;
        z-index: 999;
        max-height: 100%;
        overflow: auto;
        transform: translateY(calc(100% - 70px));
        border-top: 1px solid;
        transition: 0.3s;
    }

    .session-product-list.active {
        transform: none;
    }

    .mobile-toggle-arrow {
        height: 50px;
        padding: 20px;
        padding-top: 0;
        text-align: center;
        cursor: pointer;
    }

    .mobile-toggle-arrow svg {
        width: auto;
        height: 100%;
    }

    .mobile-toggle-arrow.active svg {
        transform: rotate(180deg);
    }

    .session-product-list.loading {
        opacity: 1;
    }

    table.session-product-table {
        margin: 0;
    }

    .session-product-list.loading .session-product-table {
        opacity: 0.5;
    }
}

@media only screen and (max-width: 825px) {
    .add-to-cart-popup {
        width: calc(100% - 20px);
    }

    .product-details {
        padding-left: 0;
    }
}

@media only screen and (max-width: 767px) {
    .add-to-cart-popup {
        flex-direction: column;
    }

    .product-image-wrap {
        width: 100%;
    }
}

@media only screen and (max-width: 500px) {
    .restaurant-item {
        flex-direction: column;
        align-items: flex-start;
    }

}