body {
    background-color: #ccd2db;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-bottom: 3rem;
}

/* Header */
.logo-btn {
    background-color: #fff;
    color: #bca068;
    font-weight: 800;
    font-size: 1.8rem;
    padding: 0.3rem 1.5rem;
    border-radius: 12px;
    border: none;
    display: inline-block;
    letter-spacing: 1px;
}

.search-bar {
    background-color: #fff;
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 400px;
    margin: 0 auto;
}

.search-bar .fa-chevron-down,
.search-bar .fa-magnifying-glass {
    color: #4a4a4a;
    font-size: 1.1rem;
}

.action-btn {
    background-color: #fff;
    color: #333;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.7rem 1.5rem;
    border-radius: 12px;
    border: none;
}

/* Category Pills */
.category-pills {
    display: flex;
    overflow-x: auto;
    gap: 0.8rem;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}

.category-pills::-webkit-scrollbar {
    display: none;
}

.pill-btn {
    background-color: #fff;
    color: #333;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    border: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.pill-btn.active {
    background-color: #bca068;
    color: #fff;
}

.pill-btn:hover:not(.active) {
    background-color: #f0f0f0;
}

/* Section Header */
.section-header {
    color: #3a3a3a;
    font-weight: 800;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Card */
.menu-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
}

.food-img-container {
    width: 120px;
    flex-shrink: 0;
}

.food-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}

.price-badge {
    background-color: #bca068;
    color: #000;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    white-space: nowrap;
}

.gold-square {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #bca068;
    margin-right: 0.4rem;
    vertical-align: middle;
}

/* Modified for left-to-right alignment */
.rtl-square {
    margin-right: 0.4rem;
    margin-left: 0;
}

.food-title {
    font-size: 1rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 0.2rem;
}

.food-desc {
    font-size: 0.8rem;
    color: #777;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Arabic Text */
.text-arabic {
    text-align: left;
    direction: ltr;
    font-family: 'Zain', sans-serif;
}

/* Options */
.option-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.option-name {
    font-size: 0.8rem;
    color: #444;
    font-weight: 700;
}

/* Fade animation */
.fade-in-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .section-header {
        font-size: 1.5rem;
    }

    .action-btn {
        display: none;
    }
}

/* Modal and Option Modifications */
.menu-card {
    cursor: pointer;
}

@media (max-width: 767px) {
    .custom-modal-width {
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
    }

    .custom-modal-content {
        border-radius: 0 !important;
        border: none !important;
        min-height: auto;
    }

    #modalImg {
        border-bottom-left-radius: 12px !important;
        border-bottom-right-radius: 12px !important;
    }
}

@media (min-width: 768px) {
    .custom-modal-width {
        max-width: 70%;
        margin: 2rem auto;
    }

    .custom-modal-content {
        border-radius: 20px;
        border: 1px solid #ebd8a0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }
}