﻿        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            background: #f5f3f0;
            color: #302925;
            font-family: 'IRANSans', Tahoma, Arial, sans-serif;
        }


        /* =========================================
           MAIN
        ========================================= */

        .menu-wrapper {
            max-width: 900px;
            margin: auto;
            background: #ffffff;
            min-height: 100vh;
        }


        /* =========================================
           HEADER
        ========================================= */

        .cafe-header {
            text-align: center;
            padding: 30px 15px 25px;
            background: linear-gradient(135deg, #38251e, #704938);
            color: #fff;
        }

        

        .cafe-header h1 {
            font-size: 25px;
            font-weight: bold;
            margin: 10px 10px;
        }

        .cafe-header p {
            margin: 0;
            font-size: 13px;
            opacity: .8;
        }


        /* =========================================
           CATEGORY MENU
        ========================================= */

        .category-sticky {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(255,255,255,.97);
            border-bottom: 1px solid #e7e1dc;
            box-shadow: 0 3px 15px rgba(0,0,0,.06);
        }


        /*
           مهم:
           این قسمت فقط افقی اسکرول می‌شود
           و خودش ارتفاع ثابتی دارد.
        */

        .category-scroll {
            display: flex;
            flex-wrap: nowrap;
            gap: 15px;
            overflow-x: auto;
            overflow-y: hidden;
            padding: 12px 15px;
            scrollbar-width: none;
-webkit-overflow-scrolling: touch;

        }


        .category-scroll::-webkit-scrollbar {
            display: none;
        }


        .category-item {
flex: 0 0 auto;
width: 90px;
text-decoration: none;
color: #4b4541;
text-align: center;
display: block;

        }


        .category-image {
 width: 75px;
    height: 75px;
border-radius: 50%;
object-fit: cover;
border: 2px solid #e5dfda;
padding: 3px;
background: #fff;
transition: .2s;

        }


        .category-title {
display: block;
margin-top: 5px;
font-size: 14px;
white-space: nowrap;

        }


        .category-item.active .category-image {
border-color: #704938;
transform: scale(1.06);

        }


        .category-item.active .category-title {
color: #704938;
font-weight: bold;

        }


        /* =========================================
           CONTENT
        ========================================= */

        .menu-content {
padding: 28px 15px 50px;
			background-color: #eee;

        }


        .menu-section {
scroll-margin-top: 105px;
margin-bottom: 45px;

        }


        .section-title {
font-size: 21px;
font-weight: bold;
margin-bottom: 18px;
padding: 12px 12px;
			
			border-right: 4px solid #704938;
			color: #3b302b;
			background-color: #fff;
			border-radius: 12px;

        }


        /* =========================================
           PRODUCT CARD
        ========================================= */

        .product-card {
background: #fff;
border: 1px solid #e4ded9;
border-radius: 18px;
overflow: hidden;
height: 100%;
transition: .2s;

        }


        .product-card:hover {
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(0,0,0,.07);

        }


        .product-image-wrapper {
position: relative;
width: 100%;
aspect-ratio: 1 / 1;
overflow: hidden;
background: #eee;

        }


        .product-image {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
transition: .3s;

        }


        .product-card:hover .product-image {
transform: scale(1.04);

        }


        .product-info {
padding: 14px;

        }


        .product-name {
font-size: 16px;
font-weight: bold;
margin-bottom: 7px;
color: #302925;

        }


        .product-description {
font-size: 12px;
line-height: 1.9;
color: #777;
margin-bottom: 12px;

        }


        .product-price {
color: #704938;
font-size: 15px;
font-weight: bold;

        }


        .product-price span {
font-size: 10px;
font-weight: normal;

        }


        /* =========================================
           MOBILE
        ========================================= */

        @media (max-width: 575px) {

.cafe-header {
    padding: 23px 15px 21px;
}

.cafe-logo {
    padding: 0px 0px;
}

.cafe-header h1 {
    font-size: 22px;
}

.category-scroll {
    gap: 12px;
    padding-right: 12px;
                padding-left: 12px;
}

.category-item {
    width: 90px;
}

.category-image {
    width: 75px;
    height: 75px;
}

.category-title {
    font-size: 14px;
}

.menu-content {
    padding: 22px 10px 40px;
}

/*
               مهم:
               در موبایل هر محصول یک ستون
               و کل عرض را می‌گیرد.
            */
.product-column {
    width: 100%;
}

.product-card {
    width: 100%;
    border-radius: 16px;
}

.product-image-wrapper {
    aspect-ratio: 16 / 9;
}

.product-name {
    font-size: 20px;
}

.product-description {
    font-size: 14px;
}

.product-price {
    font-size: 18px;
}

        }


        /* =========================================
           DESKTOP
        ========================================= */

        @media (min-width: 576px) {
.product-column {
    width: 50%;
}

        }


        @media (min-width: 768px) {
.product-column {
    width: 33.333333%;
}

        }
