/* 详情页样式 - 仅详情页使用 */

.detail-body{background:#f0f2f5;min-height:100vh;overflow-y:auto}

/* 详情页主体内容 */
.detail-container{
  max-width:1400px;
  margin:20px auto;
  padding:0 20px;
}

/* 产品卡片 */
.product-card{
  background:#fff;
  border-radius:12px;
  box-shadow:0 4px 20px rgba(0,0,0,0.08);
  overflow:hidden;
  display:flex;
  flex-wrap:wrap;
}
.product-left{
  width:400px;
  min-height:400px;
  background:#fafafa;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:30px;
  border-right:1px solid #eee;
}
.product-image{
  max-width:100%;
  max-height:350px;
  object-fit:contain;
  border-radius:8px;
  box-shadow:0 4px 15px rgba(0,0,0,0.1);
}
.product-image-placeholder{
  width:200px;
  height:200px;
  background:#e6e6e6;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#999;
  font-size:14px;
}
.product-right{
  flex:1;
  padding:30px 40px;
  min-width:0;
}
.product-header{
  border-bottom:2px solid #409eff;
  padding-bottom:20px;
  margin-bottom:25px;
}
.product-title{
  font-size:28px;
  font-weight:bold;
  color:#1a1a1a;
  margin-bottom:10px;
  line-height:1.4;
}
.product-category{color:#888;font-size:14px}

/* 价格区域 */
.price-section{
  background:linear-gradient(135deg,#f8f9fa 0%,#fff 100%);
  border-radius:10px;
  padding:20px 25px;
  margin-bottom:25px;
  border:1px solid #e8e8e8;
}
.price-section-title{font-size:14px;color:#666;margin-bottom:15px;font-weight:600}
.price-grid{display:grid;grid-template-columns:repeat(4, 1fr);gap:15px}
.price-item{text-align:center;padding:12px;background:#fff;border-radius:8px;border:1px solid #eee}
.price-label{font-size:12px;color:#999;margin-bottom:6px}
.price-value{font-size:20px;font-weight:bold;color:#f56c6c}
.price-value.blue{color:#409eff}
.price-value.green{color:#67c23a}
.price-value.purple{color:#9b59b6}
.font-red{color:#f00 !important}

/* 参数区域 */
.param-section{margin-bottom:25px}
.param-section-title{
  font-size:16px;font-weight:bold;color:#333;margin-bottom:15px;
  padding-left:12px;border-left:4px solid #409eff;
}
.param-table{width:100%;border-collapse:collapse}
.param-table th,.param-table td{padding:12px 15px;border-bottom:1px solid #f0f0f0;text-align:left}
.param-table th{color:#666;font-weight:600;width:100px;background:#fafafa}
.param-table td{color:#333}
.param-table tr:hover{background:#f8f9fa}

/* 活动备注 */
.activity-remark{
  background:linear-gradient(135deg,#fff8e6 0%,#fff3cc 100%);
  border:1px solid #ffcc00;
  border-radius:8px;padding:18px 20px;margin-bottom:25px;
}
.activity-remark-title{
  font-size:14px;font-weight:bold;color:#e65100;margin-bottom:8px;
  display:flex;align-items:center;gap:6px;
}
.activity-remark-title::before{
  content:"!";background:#e65100;color:#fff;width:18px;height:18px;
  border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px
}
.activity-remark-content{color:#333;line-height:1.7;font-size:14px}

/* 详情区域 */
.detail-section{
  background:#fff;border-radius:12px;padding:25px;
  box-shadow:0 2px 12px rgba(0,0,0,0.05);
}
.detail-section-title{
  font-size:16px;font-weight:bold;color:#333;margin-bottom:15px;
  padding-bottom:10px;border-bottom:1px solid #eee;
}
.detail-content img{max-width:100%;height:auto;display:block;margin:10px 0}
.detail-content{color:#555;line-height:1.8;font-size:14px}

/* 平板适配 */
@media (max-width: 900px) {
  .detail-container{padding:0 10px}
  .product-card{flex-direction:column}
  .product-left{width:100%;min-height:300px;border-right:none;border-bottom:1px solid #eee}
  .product-right{padding:20px}
  .price-grid{grid-template-columns:repeat(2, 1fr)}
}

/* 详情页手机端适配 */
@media (max-width: 768px) {
  html,body{min-height:100vh;height:auto !important;overflow:auto !important}
  .detail-body{min-height:100vh;overflow:auto;display:flex;flex-direction:column}
  
  .detail-container{
    flex:1;
    padding:70px 10px 20px !important;
    margin-top:0 !important;
  }
}
