/* ========== 全局样式 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif; background: #f5f6f7; color: #333; min-width: 1200px; }

/* ========== 顶部导航 ========== */
.header { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 999; border-bottom: 1px solid #eee; }
.header-inner { width: 100%; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; height: 60px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-icon { width: 36px; height: 36px; background: linear-gradient(135deg, #4caf50, #81c784); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; font-weight: bold; margin-right: 10px; }
.logo-text { font-size: 20px; font-weight: bold; color: #2c3e50; }
.logo-sub { font-size: 12px; color: #999; margin-left: 6px; }
.header-nav { display: flex; gap: 5px; }
.header-nav a { color: #666; text-decoration: none; padding: 8px 16px; border-radius: 4px; font-size: 14px; transition: all .3s; }
.header-nav a:hover, .header-nav a.active { color: #4caf50; background: #e8f5e9; }

.search-box { display: flex; align-items: center; }
.search-box input { width: 260px; height: 36px; border: 2px solid #e0e0e0; border-radius: 4px 0 0 4px; padding: 0 12px; font-size: 14px; outline: none; background: #f5f6f7; color: #333; transition: border-color .2s; }
.search-box input:focus { border-color: #4caf50; }
.search-box input::placeholder { color: #bbb; }
.search-box button { height: 36px; padding: 0 20px; background: #4caf50; color: #fff; border: none; border-radius: 0 4px 4px 0; cursor: pointer; font-size: 14px; }
.search-box button:hover { background: #388e3c; }

.header-right { display: flex; align-items: center; gap: 12px; }
.header-login-btn { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 14px; border: 1px solid #4caf50; border-radius: 4px; font-size: 13px; color: #4caf50; text-decoration: none; background: #fff; transition: all .2s; }
.header-login-btn:hover { background: #4caf50; color: #fff; }


/* ========== 分类导航栏 ========== */
.category-bar { background: #4caf50; border-bottom: 1px solid #388e3c; margin-bottom: 15px; border-radius: 8px; overflow: hidden; }
.category-bar-inner { width: 100%; display: flex; align-items: center; padding: 10px 20px; gap: 6px; flex-wrap: wrap; }
.cat-item { padding: 5px 14px; border-radius: 16px; font-size: 14px; color: #fff; cursor: pointer; transition: all .3s; white-space: nowrap; border: 1px solid transparent; background: rgba(255,255,255,.12); }
.cat-item:hover { color: #fff; background: rgba(255,255,255,.25); }
.cat-item.active { color: #4caf50; background: #fff; border-color: #fff; font-weight: 500; }

/* ========== 主布局 ========== */
.main-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 首页双栏 */
.home-layout { display: flex; gap: 20px; align-items: flex-start; min-height: 50vh; }
.home-main-col { flex: 1; min-width: 0; }
.home-sidebar { width: 300px; flex-shrink: 0; }

/* ========== 商品卡片（横向列表） ========== */
.product-list { display: flex; flex-direction: column; gap: 12px; padding: 0 0 25px; }

.product-card { background: #fff; border-radius: 8px; overflow: hidden; transition: all .3s; cursor: pointer; position: relative; display: flex; padding: 14px; gap: 16px; border: 1px solid #eee; }
.product-card:hover { box-shadow: 0 4px 15px rgba(0,0,0,.08); border-color: #c8e6c9; }
.product-card .card-img-wrap { width: 160px; height: 120px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: #f5f5f5; }
.product-card .card-img { width: 100%; height: 100%; object-fit: cover; }
.product-card .card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 0; }
.product-card .card-title { font-size: 16px; color: #333; line-height: 1.5; max-height: 48px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: 6px; }
.product-card .card-title a { color: #333; text-decoration: none; }
.product-card .card-title a:hover { color: #4caf50; }
.product-card .card-desc { font-size: 13px; color: #888; margin-bottom: 8px; max-height: 38px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

.card-price-box { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.card-price { font-size: 20px; font-weight: bold; color: #4caf50; }
.card-price-original { font-size: 12px; color: #bbb; text-decoration: line-through; }
.card-discount { font-size: 11px; background: #4caf50; color: #fff; padding: 1px 6px; border-radius: 3px; }

.card-footer { display: flex; justify-content: space-between; align-items: center; }
.card-source { font-size: 12px; padding: 2px 8px; border-radius: 3px; color: #fff; }
.card-source.tag-footer, .card-tag-footer { background: linear-gradient(135deg, #66bb6a, #4caf50); }
.source-jd { background: #e74c3c; } .source-tmall { background: #ff6b6b; } .source-pdd { background: #e84225; }
.source-dewu { background: #333; } .source-dangdang { background: #ff4757; } .source-huawei { background: #cf111b; }
.source-decathlon { background: #0076c0; } .source-other { background: #888; }

.card-stats { display: flex; gap: 12px; font-size: 12px; color: #999; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.card-tag { font-size: 11px; padding: 2px 8px; border-radius: 3px; color: #fff; background: linear-gradient(135deg, #66bb6a, #4caf50); }
.card-tag.hot { background: linear-gradient(135deg, #81c784, #4caf50); }

/* 直达链接按钮 */
.card-go-btn { display: inline-flex; align-items: center; padding: 6px 16px; background: #4caf50; color: #fff; border-radius: 16px; font-size: 13px; text-decoration: none; transition: background .2s; }
.card-go-btn:hover { background: #388e3c; }

/* 首页右侧边栏 */
.home-sidebar .sidebar-stat { background: #fff; border-radius: 8px; padding: 16px 20px; margin-bottom: 15px; border: 1px solid #eee; }
.sidebar-stat-title { font-size: 15px; font-weight: 600; color: #4caf50; margin-bottom: 12px; border-bottom: 1px solid #e8f5e9; padding-bottom: 8px; }
.sidebar-stat-row { display: flex; justify-content: space-between; font-size: 13px; color: #666; margin-bottom: 8px; }
.sidebar-stat-row:last-child { margin-bottom: 0; }
.sidebar-stat-row strong { color: #4caf50; font-size: 16px; }

.home-sidebar .sidebar-box { background: #fff; border-radius: 8px; padding: 16px 20px; margin-bottom: 15px; border: 1px solid #eee; }
.sidebar-box-title { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.sidebar-box-title i { color: #4caf50; }

.sidebar-hot-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f0f0f0; cursor: pointer; }
.sidebar-hot-item:last-child { border-bottom: 0; }
.sidebar-hot-rank { width: 20px; height: 20px; border-radius: 50%; background: #e0e0e0; color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.sidebar-hot-item:nth-child(1) .sidebar-hot-rank { background: #ff5722; }
.sidebar-hot-item:nth-child(2) .sidebar-hot-rank { background: #ff9800; }
.sidebar-hot-item:nth-child(3) .sidebar-hot-rank { background: #ffc107; }
.sidebar-hot-info { flex: 1; min-width: 0; }
.sidebar-hot-title { font-size: 13px; color: #333; line-height: 1.5; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sidebar-hot-item:hover .sidebar-hot-title { color: #4caf50; }
.sidebar-hot-price { font-size: 14px; font-weight: bold; color: #4caf50; margin-top: 4px; }

.site-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.site-nav a { display: inline-block; padding: 5px 12px; border: 1px solid #e0e0e0; border-radius: 4px; font-size: 13px; color: #666; text-decoration: none; transition: all .2s; }
.site-nav a:hover { border-color: #4caf50; color: #4caf50; background: #e8f5e9; }

/* ========== 加载更多 ========== */
.load-more-box { text-align: center; padding: 20px 0 40px; }
.load-more-box .loading-text { color: #999; font-size: 14px; }
.load-more-box button { padding: 10px 40px; background: #fff; border: 1px solid #ddd; border-radius: 4px; cursor: pointer; font-size: 14px; color: #666; }
.load-more-box button:hover { border-color: #4caf50; color: #4caf50; }

/* ========== 面包屑分隔符 ========== */
.layui-breadcrumb { visibility: visible !important; }
.layui-breadcrumb > *:not(:last-child)::after {
  content: ">";
  margin: 0 8px;
  color: #bbb;
}

/* ========== 详情页双栏布局 ========== */
.detail-layout { display: flex; gap: 20px; margin: 15px 0; align-items: flex-start; }
.detail-main-col { flex: 1; min-width: 0; }
.detail-sidebar { width: 280px; flex-shrink: 0; }

/* ========== 详情页内容区 ========== */
.detail-container { background: #fff; border-radius: 8px; padding: 25px; }
.detail-main { display: flex; gap: 25px; }
.detail-gallery { width: 380px; flex-shrink: 0; }
.detail-gallery .main-img { width: 100%; height: 340px; object-fit: cover; border-radius: 8px; background: #f5f5f5; }
.detail-gallery .thumb-list { display: flex; gap: 8px; margin-top: 10px; }
.detail-gallery .thumb-item { width: 80px; height: 60px; object-fit: cover; border-radius: 4px; cursor: pointer; border: 2px solid transparent; opacity: .6; transition: all .3s; }
.detail-gallery .thumb-item:hover, .detail-gallery .thumb-item.active { border-color: #4caf50; opacity: 1; }

.detail-info { flex: 1; min-width: 0; }
.detail-info .detail-title { font-size: 22px; font-weight: 600; line-height: 1.5; margin-bottom: 15px; color: #333; word-break: break-all; }
.detail-info .detail-meta { display: flex; flex-wrap: wrap; gap: 15px; font-size: 14px; color: #999; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee; }

.detail-price-section { background: linear-gradient(135deg, #e8f5e9, #f1f8e9); padding: 20px; border-radius: 8px; margin-bottom: 20px; }
.detail-price-section .price-label { font-size: 14px; color: #999; }
.detail-price-section .price-now { font-size: 36px; font-weight: bold; color: #4caf50; margin: 5px 0; }
.detail-price-section .price-old-wrap { font-size: 14px; color: #999; }
.detail-price-section .price-old { text-decoration: line-through; margin-right: 8px; }
.detail-price-section .price-tag { display: inline-block; background: #4caf50; color: #fff; padding: 2px 8px; border-radius: 3px; font-size: 12px; }

.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.btn-buy { padding: 12px 24px; background: linear-gradient(135deg, #4caf50, #66bb6a); color: #fff; border: none; border-radius: 6px; font-size: 16px; cursor: pointer; text-decoration: none; display: inline-block; text-align: center; transition: all .3s; }
.btn-buy:hover { opacity: .9; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(76,175,80,.4); }
.btn-like { padding: 10px 20px; background: #fff; color: #4caf50; border: 2px solid #4caf50; border-radius: 6px; font-size: 14px; cursor: pointer; transition: all .3s; }
.btn-like:hover { background: #e8f5e9; }

.detail-section { margin-top: 30px; }
.section-title { font-size: 18px; font-weight: 600; padding-bottom: 10px; border-bottom: 2px solid #4caf50; margin-bottom: 15px; display: flex; align-items: center; }
.section-title::before { content: ''; width: 4px; height: 20px; background: #4caf50; margin-right: 8px; border-radius: 2px; }
.detail-images img { width: 100%; border-radius: 4px; margin-bottom: 15px; }
.detail-content { font-size: 15px; line-height: 2; color: #555; }
.detail-content p { margin-bottom: 10px; }

/* ========== 空状态 ========== */
.empty-state { text-align: center; padding: 60px 0; }
.empty-state i { font-size: 60px; color: #ddd; }
.empty-state p { font-size: 16px; color: #999; margin-top: 15px; }

/* ========== 页脚 ========== */
.footer { background: #f0f2f5; color: #999; text-align: center; padding: 25px 0; font-size: 13px; margin-top: 30px; border-top: 1px solid #e0e0e0; }

/* ========== Banner ========== */
.banner { background: linear-gradient(135deg, #4caf50 0%, #66bb6a 50%, #81c784 100%); margin-bottom: 15px; border-radius: 8px; overflow: hidden; }
.banner-inner { max-width: 1400px; margin: 0 auto; padding: 30px 40px; display: flex; align-items: center; justify-content: space-between; }
.banner-text h2 { font-size: 28px; color: #fff; margin-bottom: 10px; }
.banner-text p { font-size: 14px; color: rgba(255,255,255,.8); }
.banner-stats { display: flex; gap: 30px; }
.banner-stat { text-align: center; color: #fff; }
.banner-stat .num { font-size: 28px; font-weight: bold; }
.banner-stat .label { font-size: 12px; opacity: .8; }

/* ========== 响应式 hot 标签 ========== */
.hot-badge { background: linear-gradient(135deg, #ff6b6b, #f5576c); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 3px; margin-left: 6px; }

/* ========== 后台框架布局 ========== */
.admin-layout-body { overflow: hidden; min-width: auto; background: #2c3e50; }
.admin-layout-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
.admin-layout-header .header-nav a { cursor: pointer; }
.admin-layout-wrapper { display: flex; position: fixed; top: 60px; left: 0; right: 0; bottom: 0; }
.admin-layout-sidebar {
  width: 220px; background: #1e2d3d; flex-shrink: 0;
  overflow-y: auto; overflow-x: hidden;
}
.admin-layout-sidebar::-webkit-scrollbar { width: 4px; }
.admin-layout-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 2px; }
.sidebar-scroll { padding-top: 6px; padding-bottom: 20px; }
.admin-layout-content { flex: 1; background: #eef1f5; overflow: hidden; }
.admin-layout-content iframe {
  width: 100%; height: 100%; border: none; display: block;
  background: #eef1f5;
}

/* ========== 后台公共样式 ========== */
.admin-wrapper { display: flex; min-height: calc(100vh - 60px); }
.admin-sidebar { width: 220px; background: #1e2d3d; padding-top: 10px; flex-shrink: 0; }
.admin-sidebar .layui-nav { background: transparent; }
.admin-sidebar .layui-nav-item a { color: #b0bec5 !important; font-size: 14px; }
.admin-sidebar .layui-nav-item.layui-this a { color: #fff !important; background: #e74c3c !important; }
.admin-sidebar .layui-nav-item a:hover { color: #fff !important; }

/* 侧边栏分组样式 */
.sidebar-group { margin-bottom: 6px; }
.sidebar-group-title {
  color: #7f8c8d; font-size: 12px; padding: 14px 20px 8px;
  text-transform: uppercase; letter-spacing: 1px;
  display: flex; align-items: center; gap: 6px;
}
.sidebar-group-title i { font-size: 14px; color: #95a5a6; }
.sidebar-item {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 20px; color: #b0bec5; text-decoration: none;
  font-size: 14px; transition: all .2s; border-left: 3px solid transparent;
}
.sidebar-item:hover { color: #fff; background: rgba(255,255,255,.06); }
.sidebar-item.active {
  color: #fff !important; background: rgba(231,76,60,.25);
  border-left-color: #e74c3c;
}
.sidebar-item i { font-size: 16px; width: 20px; text-align: center; }

.admin-main { flex: 1; padding: 20px; background: #eef1f5; overflow-x: auto; }
/* 后台分页保持红色主题 */
.admin-main .pagination-box a:hover { border-color: #e74c3c; color: #e74c3c; }
.admin-main .pagination-box a.active { background: #e74c3c; color: #fff; border-color: #e74c3c; }
.admin-card { background: #fff; border-radius: 8px; padding: 25px; }
.admin-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.admin-card-header h3 { font-size: 18px; color: #333; }
.admin-filter { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; align-items: center; }

/* 统一后台按钮和输入框高度 */
.admin-card-header .layui-btn,
.admin-filter .layui-btn,
.admin-filter input,
.admin-filter select {
  height: 34px;
  line-height: 34px;
  padding: 0 14px;
  font-size: 14px;
}
.admin-filter input,
.admin-filter select {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  outline: none;
  background: #fff;
  color: #333;
}
.admin-filter input:focus,
.admin-filter select:focus { border-color: #e74c3c; }
.admin-filter input::placeholder { color: #bbb; }
.admin-card-header .layui-btn i,
.admin-filter .layui-btn i { font-size: 14px; margin-right: 4px; }

/* 后台表格图片 */
.table-img { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; }
.status-on { color: #5fb878; }
.status-off { color: #ff5722; }

/* Toast */
.toast { position: fixed; top: 80px; left: 50%; transform: translateX(-50%); z-index: 9999; padding: 12px 24px; border-radius: 6px; color: #fff; font-size: 14px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.toast.show { opacity: 1; }
.toast.success { background: #5fb878; }
.toast.error { background: #ff5722; }
.toast.info { background: #1e9fff; }

/* 分页 */
.pagination-box { display: flex; justify-content: center; gap: 5px; margin-top: 20px; }
.pagination-box a { padding: 8px 14px; border: 1px solid #ddd; border-radius: 4px; color: #666; text-decoration: none; font-size: 14px; transition: all .3s; }
.pagination-box a:hover { border-color: #4caf50; color: #4caf50; }
.pagination-box a.active { background: #4caf50; color: #fff; border-color: #4caf50; }
.pagination-box span { padding: 8px 14px; color: #999; font-size: 14px; }

/* ========== 评论区域 ========== */
.comment-section { background: #fff; border-radius: 8px; padding: 25px; margin-top: 20px; }
.section-title { font-size: 18px; font-weight: 600; padding-bottom: 10px; border-bottom: 2px solid #4caf50; margin-bottom: 20px; }
.section-title::before { content: ''; width: 4px; height: 20px; background: #4caf50; margin-right: 8px; border-radius: 2px; display: inline-block; vertical-align: middle; }
.section-title span { font-size: 13px; font-weight: 400; color: #999; margin-left: 6px; }

/* 评论输入 */
.comment-form { margin-bottom: 25px; }
.comment-textarea {
  width: 100%; padding: 12px; border: 1px solid #e0e0e0; border-radius: 6px;
  font-size: 14px; resize: vertical; outline: none; transition: border-color .2s;
  font-family: inherit; line-height: 1.6;
}
.comment-textarea:focus { border-color: #4caf50; }
.comment-submit {
  margin-top: 10px; padding: 8px 24px; background: #4caf50; color: #fff;
  border: none; border-radius: 4px; font-size: 14px; cursor: pointer; transition: background .2s;
}
.comment-submit:hover { background: #388e3c; }
.comment-login-tip { text-align: center; padding: 25px; color: #999; font-size: 14px; background: #fafafa; border-radius: 6px; margin-bottom: 20px; }
.comment-login-tip a { color: #4caf50; cursor: pointer; }

/* 评论列表 */
.comment-item { display: flex; gap: 12px; padding: 18px 0; border-bottom: 1px solid #f0f0f0; }
.comment-item:last-child { border-bottom: 0; }
.comment-reply {
  display: flex; gap: 12px; padding: 12px 0 12px 44px;
  border-bottom: 1px solid #f0f0f0; background: #fafafa; margin: 0 -12px; padding-left: 56px;
}
.comment-avatar { width: 40px; height: 40px; flex-shrink: 0; }
.comment-avatar-img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.comment-avatar-text {
  width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #4caf50, #66bb6a);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600;
}
.comment-body { flex: 1; min-width: 0; }
.comment-header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.comment-author { font-size: 14px; font-weight: 600; color: #333; }
.comment-time { font-size: 12px; color: #bbb; }
.comment-reply-btn, .comment-del { font-size: 12px; color: #999; cursor: pointer; text-decoration: none; }
.comment-reply-btn:hover { color: #4caf50; }
.comment-del:hover { color: #ff5722; }
.comment-content { font-size: 14px; color: #555; line-height: 1.7; word-break: break-all; }
.comment-loadmore { text-align: center; padding: 15px 0; }

/* ========== 登录弹窗 ========== */
.login-tabs { display: flex; gap: 0; border-bottom: 2px solid #eee; }
.login-tab {
  flex: 1; text-align: center; padding: 12px; font-size: 15px; cursor: pointer;
  color: #999; transition: all .2s; position: relative;
}
.login-tab.active { color: #4caf50; font-weight: 600; }
.login-tab.active::after {
  content: ''; position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 3px; background: #4caf50; border-radius: 2px;
}
.login-btn {
  width: 100%; padding: 12px; background: #4caf50; color: #fff; border: none;
  border-radius: 6px; font-size: 16px; cursor: pointer; transition: background .2s;
  margin-top: 5px;
}
.login-btn:hover { background: #388e3c; }

/* ========== 收藏按钮 ========== */
.btn-fav {
  padding: 10px 20px; background: #fff; color: #f39c12; border: 2px solid #f39c12;
  border-radius: 6px; font-size: 14px; cursor: pointer; transition: all .3s;
}
.btn-fav:hover { background: #fff8e1; }
.btn-fav.active { background: #f39c12; color: #fff; }
.btn-like.active { background: #4caf50; color: #fff; }

/* ========== 右侧栏-用户爆料 ========== */
.tip-section { background: #fff; border-radius: 8px; padding: 20px; margin-bottom: 20px; }
.tip-section .section-title { font-size: 16px; margin-bottom: 15px; }
.tip-form-group { margin-bottom: 12px; }
.tip-form-group label { display: block; font-size: 13px; color: #666; margin-bottom: 5px; font-weight: 500; }
.tip-form-group input,
.tip-form-group textarea {
  width: 100%; padding: 8px 10px; border: 1px solid #e0e0e0; border-radius: 4px;
  font-size: 13px; outline: none; transition: border-color .2s; font-family: inherit;
  background: #fafafa;
}
.tip-form-group input:focus,
.tip-form-group textarea:focus { border-color: #4caf50; background: #fff; }
.tip-form-group textarea { resize: vertical; min-height: 60px; }
.tip-submit {
  width: 100%; padding: 9px 0; background: linear-gradient(135deg, #4caf50, #66bb6a);
  color: #fff; border: none; border-radius: 4px; font-size: 14px; cursor: pointer;
  transition: opacity .2s;
}
.tip-submit:hover { opacity: .9; }
.tip-login-tip { text-align: center; font-size: 13px; color: #999; margin-top: 10px; }
.tip-login-tip a { color: #4caf50; text-decoration: none; }

/* ========== 右侧栏-相关商品 ========== */
.sidebar-related { background: #fff; border-radius: 8px; padding: 20px; }
.sidebar-related .section-title { font-size: 16px; margin-bottom: 15px; }
.sidebar-related-item {
  display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid #f0f0f0;
  cursor: pointer; transition: background .2s;
}
.sidebar-related-item:hover { background: #fafafa; margin: 0 -10px; padding-left: 10px; padding-right: 10px; border-radius: 4px; }
.sidebar-related-item:last-child { border-bottom: 0; }
.sidebar-related-img {
  width: 80px; height: 80px; object-fit: cover; border-radius: 4px;
  flex-shrink: 0; background: #f5f5f5;
}
.sidebar-related-info { flex: 1; min-width: 0; }
.sidebar-related-title {
  font-size: 13px; color: #333; line-height: 1.5; height: 39px; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.sidebar-related-price { font-size: 16px; font-weight: bold; color: #4caf50; margin-top: 6px; }
.sidebar-related-price .original { font-size: 12px; color: #bbb; text-decoration: line-through; margin-left: 6px; }

/* ========== 加载更多按钮 ========== */
.load-more-btn {
  padding: 8px 28px; background: #fff; border: 1px solid #ddd; border-radius: 4px;
  color: #666; font-size: 13px; cursor: pointer; transition: all .2s;
}
.load-more-btn:hover { border-color: #4caf50; color: #4caf50; }
