/* 
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.0.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 */
html,body{
    scroll-behavior: smooth !important;
}
.menu-category-title {
    margin: 60px 0 50px 0;
    font-size: 25px;
    font-weight: 700;
    text-align: right;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 3;
}
.menu-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 767px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
    .desktop-hide{
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .desktop-hide{
        display: none !important;
    }
}

@media (min-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .menu-category-title {
        margin: 35px 0 35px 0;
        font-size: 20px;
    }
}

/* کارت غذا */
.menu-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    transition: transform 0.2s ease;
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}
.menu-card-img {
    padding: 20px;
}
.menu-card-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
}

.menu-card-body {
    padding: 10px 20px 20px;
    text-align: right;
}

.menu-item-title {
    font-size: 18px;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.menu-item-desc {
    font-size: 13px;
    color: #555;
    margin-bottom: 12px;
    min-height: 50px;
    font-weight: 300;
    letter-spacing: -0.4px;
    line-height: 24px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.menu-item-price {
    font-size: 16px;
    font-weight: 700;
    color: #e53935;
    margin: 0;
}

/* categories */
.menu-category-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-cat-item {
    text-decoration: none !important;
    color: inherit !important;
}

.menu-cat-card {
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform .2s, background .2s;
    display: flex;
    align-items: center;
}

.menu-cat-card img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-left: 10px;
}

.menu-cat-card p {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
}

.menu-cat-item.active .menu-cat-card {
    background: #000;
    color: #fff;
}
.ovh{
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}
.ovh::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
}
.menu-grid > a{transition: 0.3s all;}
.menu-grid:hover > a {opacity: 0.6;}
.menu-grid > a:hover{opacity: 1 !important;}
.sh-cpr {
    text-align: center;
    font-size: 14px;
    padding: 30px 0 100px 0;
}
@media (max-width: 1024px) {
    .mobile-hide{
        display: none !important;
    }
    .restaurant-menu-wrapper {
        padding-top: 220px;
    }
    .menu-category-sidebar {
        display: flex;
        flex-direction: row;
        gap: 12px;
        overflow-x: auto;
        align-items: center;
        padding: 15px 20px !important;
    }
    .menu-cat-card {
        width: max-content !important;
        padding: 8px 18px 12px 18px;
        flex-direction: column;
        justify-content: center;
    }
    .menu-cat-card img {
        width: 45px;
        height: 45px;
        margin: 0 !important;
    }
    .menu-cat-card p {
        font-size: 14px;
        font-weight: 600;
    }
    .menu-grid{
        margin-bottom: 0 !important;
        padding: 0 15px;
    }
    .menu-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: unset !important;
    }
    .menu-card-img {
        padding: 15px;
        width: 45%;
    }
    .menu-card-body {
        padding: 10px;
        width: 55%;
    }
    .menu-card-img img {
        height: 120px;
    }
    .menu-item-title {
        font-size: 14px;
        margin: 0 0 10px 0;
        font-weight: 600;
    }
    .menu-item-desc {
        font-size: 12px;
        margin-bottom: 10px;
    }
    .menu-item-price {
        font-size: 14px;
        font-weight: 600;
    }
    .menu-category-title {
        margin: 35px 20px 35px 20px;
        font-size: 18px;
        font-weight: 600;
    }
}