/* solution-detail.css — 解决方案详情页样式 */

/* Banner */
.sol-detail-banner {
  width: 100%;
  overflow: hidden;
}
.sol-detail-banner img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

/* 容器 */
.sol-detail-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}

/* 面包屑 */
.sol-breadcrumb {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 20px;
}
.sol-breadcrumb a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}
.sol-breadcrumb a:hover { color: #333; }
.sol-breadcrumb span { margin: 0 6px; }

/* 标题 */
.sol-detail-name {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 28px;
  color: #222;
}

/* 区块 */
.sol-detail-section {
  margin-bottom: 36px;
}
.sol-section-label {
  font-size: 1.15rem;
  font-weight: bold;
  margin-bottom: 16px;
  color: #333;
  padding-left: 10px;
  border-left: 3px solid #1a73e8;
}

/* 概述 */
.sol-detail-overview {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}

/* 亮点网格 */
.sol-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.sol-highlight-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  border-left: 3px solid #1a73e8;
}
.sol-highlight-title {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 8px;
  color: #222;
}
.sol-highlight-desc {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.6;
}

/* 涉及产品列表 */
.sol-products-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sol-product-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 12px 16px;
  transition: box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  cursor: default;
}
a.sol-product-item { cursor: pointer; }
.sol-product-item:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.sol-product-img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.sol-product-info {
  flex: 1;
}
.sol-product-name {
  font-weight: bold;
  font-size: 0.95rem;
  color: #222;
  margin-bottom: 4px;
}
.sol-product-role {
  font-size: 0.85rem;
  color: #888;
}

/* 参数表格 */
.sol-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.sol-specs-table thead th {
  background: #f0f2f5;
  padding: 10px 14px;
  text-align: left;
  font-weight: bold;
  border-bottom: 2px solid #ddd;
}
.sol-specs-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  color: #444;
}
.sol-specs-table tbody tr:hover {
  background: #fafbfc;
}

/* 行动按钮 */
.sol-detail-actions {
  display: flex;
  gap: 16px;
  margin: 36px 0;
}
.sol-btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background: #1a73e8;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s;
}
.sol-btn-primary:hover { background: #1557b0; }
.sol-btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  background: #fff;
  color: #1a73e8;
  border: 1px solid #1a73e8;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.2s;
}
.sol-btn-secondary:hover {
  background: #f0f6ff;
}

/* 其他方案推荐 */
.sol-related-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 16px;
  color: #222;
}
.sol-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sol-related-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.sol-related-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
.sol-related-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}
.sol-related-name {
  padding: 12px;
  font-size: 0.9rem;
  font-weight: bold;
  text-align: center;
  color: #333;
}

/* 响应式 */
@media (max-width: 768px) {
  .sol-detail-banner img { height: 200px; }
  .sol-highlights-grid { grid-template-columns: 1fr; }
  .sol-related-grid { grid-template-columns: 1fr 1fr; }
  .sol-detail-name { font-size: 1.5rem; }
}
