
/* ===== hero 自身样式 =====
   注:.btn / .btn-vip / .btn-primary / .btn-jd 等通用按钮样式由父页面 newindex.html 全局定义,
       hero 也复用它们,这里不重复 */
.hero { background: transparent; border: none; border-radius: 0; padding: 0; display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; }
.hero-img { width: 200px; height: 200px; background: linear-gradient(135deg, #0a1929 0%, #1e3a5f 100%); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #0071c5; font-size: 36px; font-weight: 700; position: relative; overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block; }
.hero-info h1 { font-size: 26px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; color: #14171e; margin-bottom: 6px; }
.title-row { display: contents; }
.hero-thumb { display: none; }
@media (max-width: 640px) {
    .hero { grid-template-columns: 1fr; }
    .hero-img { display: none; }
    .title-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
    .hero-thumb { display: block; width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex-shrink: 0; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
    .hero-info h1 { font-size: 19px; margin-bottom: 0; line-height: 1.3; }
}
.hero-info .sub { display: flex; align-items: center; gap: 8px; color: #7c7a8a; font-size: 13px; margin-bottom: 14px; flex-wrap: wrap; }
.hero-info .sub .dot { width: 3px; height: 3px; background: #7c7a8a; border-radius: 50%; opacity: .5; }
.hero-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
@media (max-width: 480px) { .hero-specs { grid-template-columns: repeat(2, 1fr); } }
.spec-cell { background: #f1f1f4; border-radius: 8px; padding: 8px 10px; }
.spec-cell .k { font-size: 11px; color: #7c7a8a; margin-bottom: 2px; letter-spacing: .02em; }
.spec-cell .v { font-size: 14px; font-weight: 600; color: #14171e; font-family: 'JetBrains Mono', monospace; }
.price-row { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.price-now { font-size: 28px; font-weight: 700; color: #f43f5e; font-family: 'JetBrains Mono', monospace; line-height: 1; }
.price-now .unit { font-size: 14px; font-weight: 500; margin-right: 2px; }
.price-was { font-size: 14px; color: #7c7a8a; text-decoration: line-through; }
.price-trend { font-size: 12px; color: #10b981; background: #e6f7f0; padding: 3px 8px; border-radius: 12px; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.price-empty { font-size: 13px; color: #7c7a8a; }
.actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
/* 收藏按钮 active 状态(已收藏时背景变红) */
.tb-fav.active { background: #fee2e2 !important; border-color: #fecaca !important; color: #dc2626 !important; }
.tb-fav.active svg { stroke: #ef4444; fill: #ef4444; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 8px; font-size: 13px; font-weight: 500; transition: all .15s; border: 1px solid #e9e9ee; background: #fff; color: #14171e; cursor: pointer; }
@media (max-width: 640px) {
    .hero-info .sub { margin-bottom: 0; }
}
