.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 150px;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-actions {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.product-actions button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.edit-btn {
    background: #3b82f6;
}

.edit-btn:hover {
    background: #2563eb;
}

.delete-btn {
    background: #ef4444;
}

.delete-btn:hover {
    background: #dc2626;
}

.product-info {
    padding: 1rem;
}

.product-info h4 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    color: #1f2937;
}

.product-group {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0 0 0.5rem;
}

.product-price {
    color: #3b82f6;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.product-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.product-stock {
    color: #6b7280;
}

.product-status {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
}

.product-status input {
    display: none;
}

.product-status span {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.75rem;
    transition: all 0.2s ease;
}

.product-status.available span {
    background: #dcfce7;
    color: #16a34a;
}

.product-status input:checked + span {
    background: #dcfce7;
    color: #16a34a;
}

/* Category Filters */
.menu-filter {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.category-filter {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.category-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    color: #6b7280;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-btn i {
    font-size: 1rem;
}

.category-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.category-btn.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }

    .product-image {
        height: 120px;
    }

    .product-info {
        padding: 0.75rem;
    }

    .product-info h4 {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .category-filter {
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .category-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}