/* 商品详情 */
.detail-wrap{padding:10px 0 34px}
.d-top{display:grid;grid-template-columns:460px 1fr;gap:22px;background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:22px;margin-bottom:18px}
/* 图集 */
.gallery .g-main{height:340px;border-radius:10px;overflow:hidden;background:#0e1830;position:relative}
.gallery .g-main img{width:100%;height:100%;object-fit:cover}
.g-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:10px}
.g-thumbs img{height:66px;width:100%;object-fit:cover;border-radius:7px;cursor:pointer;border:2px solid transparent;background:#0e1830}
.g-thumbs img.on{border-color:var(--gold)}
/* 右侧信息 */
.d-info .d-title{font-size:22px;font-weight:800;line-height:1.4;margin-bottom:10px}
.d-tags{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px}
.d-tags .tag{font-size:12px;padding:3px 10px}
.d-quick{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:16px}
.d-quick .dq{background:#f6f9ff;border-radius:9px;padding:10px;text-align:center}
.d-quick .dq small{display:block;color:var(--text-3);font-size:11px}
.d-quick .dq b{font-size:16px;color:var(--primary)}
.price-panel{background:linear-gradient(135deg,#f7faff,#eef3fc);border:1px solid #e3eaf7;border-radius:12px;padding:16px 18px;margin-bottom:16px}
.pp-row{display:flex;justify-content:space-between;font-size:13px;color:var(--text-2);padding:4px 0}
.pp-row.total{border-top:1px dashed #cdd8ec;margin-top:8px;padding-top:12px;font-size:15px;color:var(--text);font-weight:700}
.pp-row.total .pp-total{color:var(--red);font-size:24px;font-weight:800}
.d-actions{display:flex;gap:12px}
.d-actions .btn{flex:1;height:48px;font-size:16px}
.btn-fav{flex:0 0 120px !important;background:#fff;color:var(--primary);border:1.5px solid var(--primary)}
.btn-fav.on{background:#fff0f0;color:var(--red);border-color:var(--red)}
.d-seller{display:flex;align-items:center;gap:10px;margin-top:16px;padding-top:14px;border-top:1px solid var(--border);font-size:13px;color:var(--text-2)}
.d-seller .ds-ava{width:38px;height:38px;border-radius:50%;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;overflow:hidden;flex-shrink:0}
.d-seller .ds-ava img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}

/* 下方标签内容 */
.d-sections{display:grid;grid-template-columns:1fr 300px;gap:18px;align-items:start}
.attr-card{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:20px 22px;margin-bottom:18px}
.attr-card h3{font-size:16px;margin-bottom:14px;padding-left:10px;border-left:4px solid var(--gold)}
.attr-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border:1px solid var(--border);border-radius:8px;overflow:hidden}
.attr-grid .ag{padding:11px 14px;border-bottom:1px solid var(--border);border-right:1px solid var(--border);font-size:13px;background:#fbfcfe}
.attr-grid .ag:nth-child(3n){border-right:none}
.attr-grid .ag small{color:var(--text-3);display:block;font-size:11px}
.attr-grid .ag b{color:var(--text)}
.remark-box{white-space:pre-wrap;line-height:1.9;font-size:14px;color:var(--text-2)}
.notice-box{background:#fff8ec;border:1px solid #f4e2bd;border-radius:10px;padding:14px 16px;font-size:13px;line-height:1.9;color:#8a6420;white-space:pre-wrap}
.side-card{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:18px}
.side-card h3{font-size:15px;margin-bottom:12px}
.side-card p{font-size:13px;color:var(--text-2);line-height:1.9}
.cons-list .cl-item{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px dashed var(--border);font-size:13px}
.cons-list .cl-item b{color:var(--primary)}

@media (max-width:900px){
  .d-top{grid-template-columns:1fr;padding:14px}
  .gallery .g-main{height:240px}
  .d-sections{grid-template-columns:1fr}
  .attr-grid{grid-template-columns:repeat(2,1fr)}
  .attr-grid .ag:nth-child(3n){border-right:1px solid var(--border)}
  .attr-grid .ag:nth-child(2n){border-right:none}
}
