/* ==================== 商品推荐区域 ==================== */
.商品推荐区 {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: white;
}

.推荐标题 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.推荐商品列表 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.推荐商品卡片 {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 15px;
    color: #333;
    transition: transform 0.3s ease;
}

.推荐商品卡片:active {
    transform: scale(0.98);
}

.商品图片 {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.商品名称 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.商品描述 {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.商品价格区 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.商品现价 {
    font-size: 20px;
    font-weight: bold;
    color: #ff4757;
}

.商品原价 {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.商品标签 {
    display: inline-block;
    padding: 3px 8px;
    background: #ff4757;
    color: white;
    border-radius: 4px;
    font-size: 11px;
    margin-left: 5px;
}

.商品按钮 {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.商品按钮:active {
    opacity: 0.8;
}

/* ==================== 排行榜区域 ==================== */
.排行榜区 {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.排行榜标题 {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    color: #333;
}

.排行榜卡片 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 12px;
    padding: 20px;
    color: white;
    text-align: center;
    margin-bottom: 15px;
}

.排名数字 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.排名文案 {
    font-size: 16px;
    margin-bottom: 5px;
}

.排名百分比 {
    font-size: 14px;
    opacity: 0.9;
}

.分享按钮组 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.分享按钮 {
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.分享按钮:active {
    opacity: 0.8;
}

.分享按钮.朋友圈 {
    background: #07c160;
    color: white;
}

.分享按钮.微信好友 {
    background: #2db84d;
    color: white;
}

.分享按钮.生成海报 {
    background: #667eea;
    color: white;
}

/* ==================== 优惠券区域 ==================== */
.优惠券区 {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    border-radius: 16px;
}

.优惠券标题 {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    color: #333;
}

.优惠券卡片 {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.优惠券金额 {
    font-size: 32px;
    font-weight: bold;
    color: #ff4757;
    min-width: 80px;
    text-align: center;
}

.优惠券金额 span {
    font-size: 16px;
}

.优惠券信息 {
    flex: 1;
}

.优惠券名称 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.优惠券条件 {
    font-size: 12px;
    color: #666;
    margin-bottom: 3px;
}

.优惠券有效期 {
    font-size: 11px;
    color: #999;
}

.优惠券按钮 {
    padding: 8px 16px;
    background: #ff4757;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.优惠券按钮:active {
    opacity: 0.8;
}

.优惠券按钮.已领取 {
    background: #999;
    cursor: not-allowed;
}

.优惠券码 {
    margin-top: 10px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 6px;
    text-align: center;
    font-family: monospace;
    font-size: 16px;
    font-weight: bold;
    color: #ff4757;
    letter-spacing: 2px;
}

/* ==================== 企微跳转按钮 ==================== */
.企微按钮区 {
    margin-top: 20px;
    text-align: center;
}

.企微按钮 {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #07c160 0%, #2db84d 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 12px rgba(7, 193, 96, 0.3);
}

.企微按钮:active {
    opacity: 0.8;
}

.企微按钮图标 {
    margin-right: 8px;
}

/* ==================== 响应式适配 ==================== */
@media (max-width: 375px) {
    .商品推荐区,
    .排行榜区,
    .优惠券区 {
        padding: 15px;
    }
    
    .排名数字 {
        font-size: 40px;
    }
    
    .优惠券金额 {
        font-size: 28px;
        min-width: 70px;
    }
}
