* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #111111;
    --background: #f7f7f7;
    --card: #ffffff;
    --text: #171717;
    --muted: #777777;
    --border: #eeeeee;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Arial,
        Tahoma,
        sans-serif;

    background: var(--background);
    color: var(--text);

    min-height: 100vh;
}

/* =========================
   رأس المطعم
========================= */

.header {
    background: var(--card);

    text-align: center;

    padding: 30px 20px 25px;

    border-bottom: 1px solid var(--border);
}

.restaurant-logo {
    width: 90px;
    height: 90px;

    margin: 0 auto 15px;

    border-radius: 50%;

    overflow: hidden;

    background: #f0f0f0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.restaurant-logo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.header h1 {
    font-size: 25px;

    font-weight: 700;

    margin-bottom: 7px;
}

.header p {
    color: var(--muted);

    font-size: 14px;
}

/* =========================
   التصنيفات
========================= */

.categories {
    position: sticky;
    top: 0;

    z-index: 100;

    display: flex;

    gap: 8px;

    overflow-x: auto;

    padding: 12px 15px;

    background: rgba(255, 255, 255, 0.95);

    border-bottom: 1px solid var(--border);

    scrollbar-width: none;
}

.categories::-webkit-scrollbar {
    display: none;
}

.category-button {
    flex: 0 0 auto;

    border: 1px solid var(--border);

    background: #ffffff;

    color: var(--text);

    padding: 9px 16px;

    border-radius: 20px;

    font-size: 14px;

    cursor: pointer;

    transition: 0.2s;
}

.category-button.active {
    background: var(--primary);

    color: #ffffff;

    border-color: var(--primary);
}

/* =========================
   قائمة الطعام
========================= */

.menu {
    width: 100%;

    max-width: 700px;

    margin: 0 auto;

    padding: 20px 15px 40px;
}

.category-section {
    margin-bottom: 30px;
}

.category-title {
    font-size: 21px;

    margin-bottom: 15px;

    font-weight: 700;
}

/* =========================
   بطاقة المنتج
========================= */

.product-card {
    display: flex;

    align-items: center;

    gap: 14px;

    background: var(--card);

    border-radius: 15px;

    padding: 12px;

    margin-bottom: 12px;

    border: 1px solid var(--border);
}

.product-image {
    width: 95px;
    height: 95px;

    flex: 0 0 95px;

    border-radius: 12px;

    overflow: hidden;

    background: #eeeeee;
}

.product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.product-info {
    flex: 1;

    min-width: 0;
}

.product-name {
    font-size: 17px;

    font-weight: 700;

    margin-bottom: 6px;
}

.product-description {
    color: var(--muted);

    font-size: 13px;

    line-height: 1.6;

    margin-bottom: 9px;
}

.product-price {
    font-size: 16px;

    font-weight: 700;
}

/* =========================
   التحميل
========================= */

.loading {
    text-align: center;

    padding: 50px