﻿ 
body {
    font-family: 'Cairo', sans-serif;
    background: #f9f9f9;
    margin: 0;
    padding: 0;
    direction: rtl;
}

.container {
    max-width: 700px;
    margin: auto;
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.social {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 24px;
}



h2 {
    text-align: center;
    color: #130844;
    margin-top: 24px;
}

.menu {
    /* display: inline-block;*/
    /*     grid-template-columns: 1fr 1fr;*/
    gap: 6px;
    direction: rtl;
}

.item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 12px; /* ✅ Add padding */
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 8px 8px rgba(0,0,0,0.1);

    overflow: hidden;
}

.price {
    position: absolute;
    font-family: 'Cairo', sans-serif;
    top: 0px;
    left: 0px;
    background-color: #FFA500; /* Orange background */
    color: black;
    padding: 5px 10px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
}

.details {
    flex: 1;
    padding: 0 8px;
    text-align: right;
}

    .details .name {
        font-weight: bold;
        color: #130844;
    }

    .details .calories {
        font-size: 12px;
        color: #444;
    }

.image img {
    width: 80px;
    height: 85px;
    object-fit: cover;
    border-radius: 8px;
}

.footer {
    background: orange;
    text-align: center;
    padding: 12px;
    font-weight: bold;
    border-radius: 8px;
    margin-top: 16px;
}

.categories {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px;
    gap: 10px;
    scrollbar-width: thin; /* Optional: style scrollbar */
    direction: rtl;
}

.category {
    flex: 0 0 auto;
    background-color: #eee;
    padding: 10px 20px;
    border-radius: 15px;
    cursor: pointer;
    white-space: nowrap;
}

    .category.active {
        background-color: #1e0c58;
        color: white;
    }

 
