/* ============ 套餐详情页样式 ============ */

.breadcrumb { padding: 16px 20px 0; font-size: 13px; color: var(--text-light); }
.breadcrumb a { color: var(--text-sub); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text); }

.detail-body { padding: 24px 0 8px; }
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

/* 左侧图片 */
.detail-gallery { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.detail-main-img {
  height: 360px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1e3a5f, #2e6f9e);
}
.detail-emoji { font-size: 120px; filter: drop-shadow(0 8px 16px rgba(0,0,0,.3)); }
.detail-gallery-tip { text-align: center; font-size: 12px; color: var(--text-light); padding: 10px; }

/* 右侧信息 */
.detail-info { background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.detail-title { font-size: 26px; font-weight: 800; color: #0f2b4a; line-height: 1.4; }
.detail-sub { font-size: 14px; color: var(--text-sub); margin-top: 8px; }

.detail-meta { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.detail-score { color: var(--accent); font-weight: 700; }
.detail-sold { color: var(--text-light); font-size: 13px; }
.detail-location { color: var(--text-sub); font-size: 13px; }

.detail-price-box { display: flex; align-items: baseline; gap: 14px; margin-top: 20px; padding: 16px; background: #fff7f0; border-radius: 10px; }
.detail-price { color: #e53e3e; font-weight: 800; font-size: 20px; }
.detail-price .price-num { font-size: 40px; }
.detail-price-old { color: var(--text-light); font-size: 14px; text-decoration: line-through; }
.detail-save-tag { background: var(--accent); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 4px; }

.detail-block { margin-top: 24px; }
.detail-block-title { font-size: 15px; font-weight: 700; color: #0f2b4a; margin-bottom: 12px; }

.spec-group { display: flex; flex-wrap: wrap; gap: 10px; }
.spec-item {
  padding: 10px 18px; font-size: 14px; border: 1px solid var(--border);
  border-radius: 8px; background: #fff; color: var(--text); cursor: pointer;
  transition: all .2s;
}
.spec-item span { color: #e53e3e; font-weight: 600; }
.spec-item:hover { border-color: var(--primary); }
.spec-item.active { border-color: var(--accent); background: #fff7f0; color: var(--accent); }

.quantity-box { display: flex; align-items: center; gap: 0; }
.qty-btn {
  width: 40px; height: 40px; font-size: 20px; border: 1px solid var(--border);
  background: #fff; cursor: pointer; color: var(--text);
}
.qty-btn:first-child { border-radius: 8px 0 0 8px; }
.qty-btn:last-of-type { border-radius: 0 8px 8px 0; }
.qty-btn:hover { background: #f5f8fc; }
.qty-input { width: 56px; height: 40px; text-align: center; border: 1px solid var(--border); border-left: none; border-right: none; font-size: 16px; }
.qty-tip { margin-left: 14px; font-size: 12px; color: var(--text-light); }

.detail-total { margin-top: 24px; padding-top: 16px; border-top: 1px dashed var(--border); display: flex; align-items: baseline; justify-content: flex-end; gap: 8px; }
.detail-total span { font-size: 15px; color: var(--text-sub); }
.detail-total-price { font-size: 26px; font-weight: 800; color: #e53e3e; }

.detail-btns { display: flex; gap: 14px; margin-top: 20px; }
.detail-btns .btn { flex: 1; }

.detail-disclaimer { font-size: 12px; color: var(--text-light); margin-top: 14px; line-height: 1.7; }
.detail-disclaimer a { color: var(--primary); }

/* 购买须知 */
.detail-notes { background: var(--bg); }
.notes-card { background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.notes-title { font-size: 20px; font-weight: 700; color: #0f2b4a; margin-bottom: 16px; }
.notes-list { list-style: disc; padding-left: 22px; }
.notes-list li { font-size: 14px; color: var(--text-sub); line-height: 2; }

/* 响应式 */
@media (max-width: 992px) {
  .detail-layout { grid-template-columns: 1fr; }
}
