/* 面包屑 */
.breadcrumb { background: #fff; border-top: 2px solid #f26a1b;}
.breadcrumb .container { padding: 12px 0; font-size: 13px; color: #999; }
.breadcrumb a { color: #666; }
.breadcrumb a:hover { color: #f26a1b; }
.breadcrumb .sep { margin: 0 6px; color: #ccc; }
.breadcrumb .cur { color: #333; font-weight: 500; }

/* 主体布局 */
.main { padding: 18px 0; }
.main-body { float: left; width: 860px; }
.main-side { float: right; width: 310px; }

/* 详情主卡片 */
.detail-card { background: rgba(255,255,255,.97); border: 0; border-radius: 12px; box-shadow: 0 12px 34px rgba(20,28,40,.07); margin-bottom: 18px; overflow: hidden; }
.detail-head { padding: 20px 22px 16px; border-bottom: 1px solid #f5f5f5; }
.detail-title { font-size: 20px; font-weight: bold; color: #333; line-height: 1.5; margin-bottom: 12px; }
.detail-badges { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.badge { display: inline-block; padding: 2px 8px; font-size: 12px; border-radius: 4px; }
.badge-top { background: #f26a1b; color: #fff; }
.badge-cat { background: #fff4ec; color: #f26a1b; border: 1px solid #ffd4c2; }
.badge-rec { background: #2c8b68; color: #fff; }
.badge-new { background: #e74c3c; color: #fff; }
.detail-meta-row { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: #999; }
.detail-meta-row span strong { color: #333; font-weight: 500; }
.detail-meta-row .price-big { font-size: 24px; font-weight: bold; color: #e74c3c; }
.detail-meta-row .price-label { font-size: 13px; color: #999; }

/* 图片+基本信息区 */
.detail-content { display: flex; gap: 24px; padding: 22px; }
.detail-imgs { width: 340px; flex-shrink: 0; }
.main-img { width: 100%; height: 255px; background: #f5f5f5; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #bbb; font-size: 14px; margin-bottom: 10px; overflow: hidden; }
.main-img img { width: 100%; height: 100%; object-fit: cover; }
.thumb-row { display: flex; gap: 8px; }
.thumb { width: 64px; height: 48px; background: #f5f5f5; border-radius: 6px; border: 2px solid transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #ccc; font-size: 10px; overflow: hidden; }
.thumb.active { border-color: #f26a1b; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-info { flex: 1; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px dashed #f0f0f0; }
.info-table tr:last-child { border-bottom: none; }
.info-table td { padding: 10px 6px; font-size: 13px; vertical-align: top; }
.info-table td:first-child { color: #999; width: 90px; }
.info-table td:last-child { color: #333; font-weight: 500; }
.info-table td .highlight { color: #e74c3c; font-weight: bold; font-size: 16px; }

/* 联系模块 */
.contact-box { background: #fffbf9; border: 1px solid #ffe8df; border-radius: 10px; padding: 18px; margin-top: 16px; }
.contact-name { font-size: 15px; font-weight: bold; color: #333; margin-bottom: 10px; }
.contact-phone { font-size: 22px; font-weight: bold; color: #f26a1b; margin-bottom: 10px; letter-spacing: 1px; }
.contact-btns { display: flex; gap: 10px; }
.btn-primary { padding: 10px 28px; background: linear-gradient(135deg,#ff7a1a,#f05212); color: #fff; border-radius: 8px; font-size: 14px; font-weight: bold; cursor: pointer; border: none; }
.btn-primary:hover { background: #e65a12; }
.btn-secondary { padding: 10px 22px; background: #fff; color: #f26a1b; border: 1px solid #f26a1b; border-radius: 8px; font-size: 14px; cursor: pointer; }
.btn-secondary:hover { background: #fff4ec; }
.btn-orange { padding: 10px 22px; background: #f26a1b; color: #fff; border-radius: 8px; font-size: 14px; cursor: pointer; border: none; }
.btn-orange:hover { background: #e55a00; }

/* 详情描述 */
.desc-section { padding: 0 22px 22px; }
.section-tab { display: flex; border-bottom: 2px solid #f0f0f0; margin-bottom: 18px; }
.section-tab .tab { padding: 10px 24px; font-size: 14px; color: #666; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; }
.section-tab .tab.active { color: #f26a1b; font-weight: bold; border-bottom-color: #f26a1b; }
.desc-text { font-size: 14px; color: #555; line-height: 2; }
.desc-text img { max-width: 100%; height: auto; }
.desc-text p { margin-bottom: 10px; }
.desc-text ul { padding-left: 20px; list-style: disc; }
.desc-text ul li { margin-bottom: 6px; color: #555; }

/* 举报/分享 */
.action-bar { padding: 14px 22px; border-top: 1px solid #f5f5f5; display: flex; align-items: center; gap: 20px; font-size: 13px; color: #999; flex-wrap: wrap; }
.action-bar a { color: #999; }
.action-bar a:hover { color: #f26a1b; }

/* 相关信息推荐 */
.related-section { background: rgba(255,255,255,.97); border: 0; border-radius: 12px; box-shadow: 0 12px 34px rgba(20,28,40,.07); margin-bottom: 18px; overflow: hidden; }
.related-list li { display: flex; gap: 12px; padding: 14px 18px; border-bottom: 1px dashed #f0f0f0; transition: background .15s; }
.related-list li:last-child { border-bottom: none; }
.related-list li:hover { background: #fffbf9; }
.related-thumb { width: 90px; height: 65px; background: #f5f5f5; border-radius: 6px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #ccc; font-size: 11px; overflow: hidden; }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-info { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.related-title { font-size: 13px; color: #333; font-weight: bold; line-height: 1.5; }
.related-title:hover { color: #f26a1b; }
.related-meta { font-size: 12px; color: #999; }
.related-price { font-size: 14px; color: #e74c3c; font-weight: bold; }

/* 右侧 */
.side-list li { padding: 10px 15px; border-bottom: 1px dashed #f0f0f0; font-size: 13px; color: #555; cursor: pointer; display: flex; gap: 10px; align-items: flex-start; }
.side-list li:last-child { border-bottom: none; }
.side-list li:hover { background: #fffbf9; color: #f26a1b; }
.side-list li .dot { width: 6px; height: 6px; border-radius: 50%; background: #f26a1b; flex-shrink: 0; margin-top: 7px; }
.rank-list li { padding: 9px 15px; border-bottom: 1px dashed #f0f0f0; font-size: 13px; color: #555; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.rank-list li:last-child { border-bottom: none; }
.rank-list li:hover { color: #f26a1b; background: #fffbf9; }
.rank-num { display: inline-block; width: 18px; height: 18px; background: #f0f0f0; color: #666; font-size: 11px; text-align: center; line-height: 18px; border-radius: 4px; flex-shrink: 0; }
.rank-list li:nth-child(-n+3) .rank-num { background: #f26a1b; color: #fff; }
.quick-pub { display: block; margin: 12px; padding: 11px; background: linear-gradient(135deg,#ff7a1a,#f05212); color: #fff; text-align: center; font-size: 14px; font-weight: bold; border-radius: 8px; }
.quick-pub:hover { background: #e65a12; }

@media(max-width:1220px){.main-body{width:680px}}

/* 联系方式弹窗 */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.45); z-index: 9999; justify-content: center; align-items: center; }
.modal.show { display: flex; }
.modal-content { position: relative; background: #fff; border-radius: 10px; padding: 28px; box-shadow: 0 8px 30px rgba(0,0,0,.18); max-width: 90%; }
.modal-close { position: absolute; top: 10px; right: 14px; font-size: 24px; color: #999; cursor: pointer; line-height: 1; }
.modal-close:hover { color: #333; }
