.menu-page {
    background: #f8fafc;
}

.menu-page .navbar {
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95) !important;
}

.menu-section {
    padding: 40px 0;
}

.section-header {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 10px auto;
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.menu-item-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    border: 1px solid #f1f5f9;
}

.menu-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.menu-item-image {
    height: 100%;
    min-height: 150px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.menu-item-card:hover .menu-item-image img {
    transform: scale(1.05);
}

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.menu-item-body {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.menu-item-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    line-height: 1.3;
}

.menu-item-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    background: #f0f9ff;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.menu-item-description {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.5;
    margin: 10px 0;
    flex-grow: 1;
}

.menu-item-meta {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.empty-state, .account-inactive {
    padding: 60px 20px;
    text-align: center;
}

.empty-state i, .account-inactive i {
    margin-bottom: 20px;
}

.menu-page .navbar-nav .nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s;
}

.menu-page .navbar-nav .nav-link:hover {
    background: var(--primary);
    color: white !important;
}

@media (max-width: 768px) {
    .menu-item-card {
        margin-bottom: 20px;
    }
    
    .menu-item-image {
        min-height: 120px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .menu-page .navbar-nav {
        text-align: center;
        margin-top: 15px;
    }
    
    .menu-page .navbar-nav .nav-link {
        display: block;
        margin: 5px 0;
    }
}

@media print {
    .navbar, .footer, .btn {
        display: none !important;
    }
    
    .menu-item-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .menu-page {
        background: white !important;
    }
    
    .container {
        max-width: 100% !important;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-item-card {
    animation: fadeInUp 0.5s ease-out;
}

.menu-item-card:nth-child(odd) {
    animation-delay: 0.1s;
}

.menu-item-card:nth-child(even) {
    animation-delay: 0.2s;
}

.menu-section:target .section-title {
    color: var(--primary);
}

.menu-section:target .section-title::after {
    width: 100px;
    background: var(--accent);
}