/* 购物车页面样式 */
.cart-header {
    background: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.cart-title {
    font-size: 18px;
    font-weight: bold;
}

.cart-action {
    color: #666;
    font-size: 14px;
}

/* 常买商品区 */
.frequent-buys {
    background: #fff;
    margin-top: 10px;
    padding: 15px;
}

.section-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-more {
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

/* 商品网格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.product-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.product-info {
    padding: 10px;
}

.product-name {
    font-size: 14px;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    color: #ff4d4f;
    font-size: 16px;
    font-weight: bold;
}

/* 空购物车状态 */
.empty-cart {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
}

.empty-cart img {
    width: 150px;
    margin-bottom: 20px;
}

.empty-cart .title {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.empty-cart .subtitle {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.empty-cart .btn {
    background: #1890ff;
    color: #fff;
    padding: 8px 24px;
    border-radius: 20px;
    display: inline-block;
    font-size: 14px;
}

/* 推荐商品 */
.recommendations {
    margin-top: 20px;
    padding: 15px;
    background: #fff;
}

.food-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.food-image {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    margin-right: 12px;
}

.food-info {
    flex: 1;
}

.food-name {
    font-size: 15px;
    margin-bottom: 5px;
}

.food-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.food-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.food-price {
    color: #ff4d4f;
    font-size: 16px;
    font-weight: bold;
}

.food-distance {
    font-size: 12px;
    color: #999;
}

/* 快捷操作按钮 */
.quick-actions {
    display: flex;
    padding: 15px;
    background: #fff;
    margin-bottom: 10px;
}

.quick-action {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-right: 1px solid #f0f0f0;
}

.quick-action:last-child {
    border-right: none;
}

.quick-action i {
    font-size: 20px;
    color: #1890ff;
    margin-bottom: 5px;
}

.quick-action span {
    font-size: 12px;
    color: #666;
}
