* {
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body.menu-page {
    margin: 0;
    background: linear-gradient(135deg, #d38f37, #c49c69, #644009);
    min-height: 100vh;
}
#sandwich-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.sandwich {
    position: absolute;
    width: 40px;
    opacity: 0.25;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-18px); }
    100% { transform: translateY(0); }
}

/* نخلي محتوى المنيو فوق الخلفية */
.menu-header,
.tabs,
.items {
    position: relative;
    z-index: 2;
}


/* الهيدر */
.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    color: #fff;
}

.back-top {
    background: #e5d7b2;
    color: #000000;
    padding: 8px 16px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: bold;
}

/* شريط الأصناف */
.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    padding: 10px;
}

.tab {
    background: #e5d7b2;
    border: none;
    padding: 10px 20px;
    border-radius: 22px;
    font-weight: bold;
    cursor: pointer;

    /* مهم جداً */
    display: inline-block;
    transition: transform 0.25s ease, background 0.25s ease;
}

.tab:hover {
    transform: scale(1.12);
}

.tab.active {
    background: #e78120;
    color: #000000;
    transform: scale(1.2);
}

/* المنتجات */
.items {
    padding: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.item {
    background: #e5d7b2;
    border-radius: 18px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    transition: 0.3s;
}

.item:hover {
    transform: translateY(-6px);
}

.item img {
    width: 100%;
    height: 140px;        /* ثبّت الارتفاع */
    object-fit: cover;   /* يقص الزائد بدون تشويه */
    object-position: center;
}


.item h3 {
    margin: 10px 0;
}





