/* ===== MENU SECTIONS ===== */
.menu-section {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.section-icon {
    width: 28px;
    height: 28px;
    background: #f8fafc;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #6b7280;
}

/* Category header with image - Lieferando style */
.section-header-with-image {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.category-image-container {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.menu-section:hover .category-image {
    transform: scale(1.05);
}

.category-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    padding: 40px 24px 20px;
}

.section-title-overlay {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .category-image-container {
        height: 140px;
    }
    
    .category-image-overlay {
        padding: 30px 16px 16px;
    }
    
    .section-title-overlay {
        font-size: 24px;
    }
}

.menu-items {
    display: grid;
    gap: 6px;
}

/* ===== MENU ITEMS - LIEFERANDO STYLE ===== */
.menu-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    min-height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.menu-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.menu-item-content {
    flex: 1;
    display: block;
}

.menu-item-info {
    flex: 1;
    min-width: 0;
}

.menu-item-header {
    margin-bottom: 8px;
}

.menu-item-name {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.menu-item-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 8px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.menu-item-price {
    font-size: 16px;
    font-weight: 700;
    color: #059669;
    white-space: nowrap;
    margin: 0;
}

.menu-item-meta {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #f3f4f6;
    border-radius: 4px;
    font-size: 12px;
    color: #6b7280;
}

.meta-tag i {
    font-size: 10px;
}

.meta-tag.spicy {
    background: #fef2f2;
    color: #dc2626;
}

.meta-tag.vegetarian {
    background: #f0fdf4;
    color: #16a34a;
}

/* Image container */
.menu-item-image {
    width: 100px;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

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

/* Actions */
.menu-item-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Mobile specific */
@media (max-width: 768px) {
    .menu-item {
        padding: 14px;
    }
    
    .menu-item-name {
        font-size: 15px;
    }
    
    .menu-item-price {
        font-size: 15px;
    }
    
    .menu-item-description {
        font-size: 13px;
    }
    
    .menu-item-image {
        width: 80px;
        height: 80px;
    }
}

/* Skeleton loading states */
.skeleton {
    animation: skeleton-loading 1s linear infinite alternate;
}

@keyframes skeleton-loading {
    0% {
        background-color: #f3f4f6;
    }
    100% {
        background-color: #e5e7eb;
    }
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
    border-radius: 4px;
}

.skeleton-text:last-child {
    width: 80%;
}