.orders-list,
.favorites-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.order-item,
.favorite-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.order-item:hover,
.favorite-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.order-item .dish-image,
.favorite-item .dish-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.order-item .dish-image:hover,
.favorite-item .dish-image:hover {
    transform: scale(1.03);
}

.order-item h3,
.favorite-item h3 {
    color: #000000;
    margin-bottom: 12px;
    font-weight: 600;
}

.reorder-btn {
    width: 100%;
    max-width: 200px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin: 15px auto 0;
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.reorder-btn:hover {
    background: linear-gradient(135deg, #333333, #000000);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
}

.favorite-item .item-actions {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    align-items: center;
    justify-content: center;
}

.favorite-item .add-to-cart {
    flex: 1;
    max-width: 160px;
    padding: 10px 16px;
    font-size: 13px;
}

.remove-favorite-icon {
    width: 32px;
    height: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: grayscale(100%) brightness(0.5);
    border-radius: 6px;
    padding: 4px;
    background: transparent;
    border: none;
}

.remove-favorite-icon:hover {
    transform: scale(1.4);
    filter: grayscale(0%) brightness(1.2) hue-rotate(0deg);
    background: rgba(220, 53, 69, 0.15);
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.6);
    border-radius: 8px;
}