/* 东方建材城 · 产品详情页样式 */

/* 详情页主体 */
.detail-section { padding: 40px 0 70px; }
.detail-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }

/* 产品图片 */
.detail-image { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.detail-image img { width: 100%; height: auto; max-height: 500px; object-fit: contain; border-radius: var(--radius); }

/* 产品信息 */
.detail-info { padding: 10px 0; }
.product-brand { display: inline-block; background: var(--color-gold); color: #fff; padding: 4px 12px; font-size: 13px; border-radius: 30px; margin-bottom: 12px; }
.product-title { font-size: 28px; color: var(--color-dark); margin-bottom: 12px; line-height: 1.3; }
.product-desc { font-size: 15px; color: var(--color-muted); margin-bottom: 28px; line-height: 1.7; }

/* 产品规格 */
.product-specs { display: grid; gap: 14px; margin-bottom: 30px; }
.spec-item { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--color-border); }
.spec-label { color: var(--color-muted); min-width: 80px; font-weight: 500; }
.spec-value { color: var(--color-dark); flex: 1; }

/* 操作按钮 */
.cta-row { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.cta-row > a { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius); font-size: 15px; font-weight: 500; transition: all var(--transition); }
.cta-row .btn-primary { background: var(--color-gold); color: #fff; }
.cta-row .btn-primary:hover { background: var(--color-gold-hover); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.cta-row .btn-outline { border: 1px solid var(--color-dark); color: var(--color-dark); }
.cta-row .btn-outline:hover { background: var(--color-dark); color: #fff; }

/* 提示框 */
.tips-box { background: #f8f7f4; padding: 18px 22px; border-radius: var(--radius); border-left: 4px solid var(--color-gold); }
.tips-box p { font-size: 14px; color: var(--color-muted); margin-bottom: 8px; line-height: 1.7; }
.tips-box p:last-child { margin-bottom: 0; }

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

@media (max-width: 768px) {
  .detail-section { padding: 30px 0 60px; }
  .product-title { font-size: 22px; }
  .detail-image { padding: 14px; }
  .cta-row { flex-direction: column; }
  .cta-row > a { justify-content: center; width: 100%; }
}
