body {
    margin: 0;
    background: #f9f9f9;
    color: #333;
    font-family: Vazir !important;, serif;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FFD700;
    padding: 10px;
}

.logo {
    font-size: 1.1rem;
    font-weight: bold;
}

.back-btn {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #333;
    margin: 10px;
    text-decoration: none;
}

.back-btn i {
    margin-left: 5px;
}

.menu-list {
    padding: 10px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
}

.menu-info {
    flex: 1;
    margin-right: 10px;
}

.menu-info h3 {
    margin: 0 0 5px;
    font-size: 1rem;
}

.menu-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}

.menu-price {
    font-size: 0.9rem;
    color: #000;
    font-weight: bold;
    margin-top: 5px;
}

.menu-item img {
    width: 70px;
    height: 70px;
    border-radius: 10%;
    object-fit: cover;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    background: #000;
    color: #fff;
    padding: 8px 0;
}

.bottom-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    text-align: center;
}

.bottom-nav i {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 3px;
}


#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1e272e;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

#loader.active {
    opacity: 1;
    pointer-events: all;
}

.spinner {
    position: relative;
    width: 70px;
    height: 70px;
}

.spinner div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffdd59;
    border-radius: 50%;
    animation: pulse 1.5s infinite ease-in-out;
}

.spinner div:nth-child(2) {
    animation-delay: 0.75s;
}

@keyframes pulse {
    0% {
        transform: scale(0);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}


.product-card {
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}


.product-card {
    cursor: pointer;
}

.modal-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: .5rem;
}

@media (min-width: 768px) {
    .modal-product-img {
        height: 320px;
    }
}

.price-badge {
    font-size: 1.15rem;
    font-weight: 700;
}


.favorite-icon {
    color: #ff4d4d;
    cursor: pointer;
    margin-left: 0.5rem;
    transition: transform 0.2s;
}

.favorite-icon.favorited {
    color: red;
    transform: scale(1.2);
}

.contact-box {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-icon {
    font-size: 28px;
    color: #ff4757;
    margin-bottom: 8px;
}

.contact-item {
    background: #f1f2f6;
    border-radius: 12px;
    padding: 15px;
    transition: 0.3s;
}

.contact-item:hover {
    background: #ffeaa7;
    transform: translateY(-3px);
}
