/* =========================================================
   HL3C Product Layout V14
   目標：
   1. 左側不要空洞：加入商品重點摘要
   2. 右側維持圖片＋規格與應用
   3. 下方區塊順序：商品介紹 → 相關實績案例 → 常見搭配設備
   4. 「您可能也感興趣」改為「常見搭配設備」
   ========================================================= */

:root{
  --hl3c-red:#d84b32;
  --hl3c-orange:#f97316;
  --hl3c-dark:#0f172a;
  --hl3c-text:#111827;
  --hl3c-muted:#64748b;
  --hl3c-border:#e5e7eb;
  --hl3c-soft:#f8fafc;
}

/* 主商品區維持 compact，但左側資訊更完整 */
.product-v11-copy {
  justify-content:center !important;
}

.product-v14-use {
  margin:18px 0 0;
  max-width:620px;
  color:#475569;
  font-size:18px;
  line-height:1.7;
}

.product-v14-highlights {
  margin:24px 0 0;
  padding:18px 20px;
  max-width:640px;
  border:1px solid #fee2e2;
  border-radius:18px;
  background:
    linear-gradient(135deg, rgba(255,241,242,.92), rgba(255,255,255,.96));
}

.product-v14-highlights-title {
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 12px;
  color:#b83222;
  font-weight:1000;
  font-size:16px;
}

.product-v14-highlights-title::before {
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--hl3c-red);
  box-shadow:0 0 0 5px rgba(216,75,50,.12);
}

.product-v14-highlight-list {
  display:grid;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none;
}

.product-v14-highlight-list li {
  position:relative;
  padding-left:26px;
  color:#334155;
  font-size:15px;
  line-height:1.65;
}

.product-v14-highlight-list li::before {
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:var(--hl3c-red);
  font-weight:1000;
}

/* 回分類按鈕不要孤單浮在大片空白 */
.product-v11-actions {
  margin-top:22px !important;
}

/* 下方區塊標題更一致 */
.product-v11-section,
.product-related-cases,
.product-v14-related-products {
  background:#fff;
  border:1px solid var(--hl3c-border);
  border-radius:22px;
  padding:32px 38px;
  margin-bottom:20px;
  box-shadow:0 12px 38px rgba(15,23,42,.055);
}

.product-v14-section-kicker,
.product-related-cases .case-kicker,
.product-related-cases .kicker {
  display:block;
  margin:0 0 8px;
  color:#d88a7b;
  font-size:13px;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-weight:1000;
}

.product-v14-section-head {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:22px;
}

.product-v14-section-head h2,
.product-v14-related-products h2 {
  margin:0;
  color:var(--hl3c-text);
  font-size:clamp(28px,2.4vw,38px);
  line-height:1.2;
}

.product-v14-section-head p {
  margin:8px 0 0;
  color:#64748b;
  font-size:16px;
  line-height:1.65;
}

/* 相關實績案例：若原本圖片缺圖，卡片不要變過大空白 */
.product-related-cases .case-card,
.product-related-cases .product-related-case-card,
.product-related-cases article {
  min-width:0;
}

.product-related-cases img {
  max-width:100%;
  height:auto;
  object-fit:cover;
}

/* 常見搭配設備 */
.product-v14-related-products-grid {
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:16px;
}

.product-v14-related-card {
  display:block;
  overflow:hidden;
  border:1px solid #e5e7eb;
  border-radius:18px;
  background:#fff;
  text-decoration:none;
  color:var(--hl3c-text);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-v14-related-card:hover {
  transform:translateY(-3px);
  border-color:#fca5a5;
  box-shadow:0 16px 34px rgba(15,23,42,.10);
}

.product-v14-related-img {
  aspect-ratio:4/3;
  background:#f8fafc;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.product-v14-related-img img {
  width:100%;
  height:100%;
  object-fit:contain;
  padding:10px;
}

.product-v14-related-body {
  padding:14px 16px 16px;
}

.product-v14-related-cat {
  color:#d84b32;
  font-size:12px;
  font-weight:900;
  margin-bottom:6px;
}

.product-v14-related-title {
  margin:0;
  font-size:17px;
  line-height:1.45;
  font-weight:1000;
}

.product-v14-related-summary {
  margin:8px 0 0;
  color:#64748b;
  font-size:14px;
  line-height:1.55;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* 若原本 include 還印出「您可能也感興趣」，用 CSS 改低存在感 */
.related-products-title-old,
.you-may-like-title {
  font-size:0 !important;
}

.related-products-title-old::before,
.you-may-like-title::before {
  content:"常見搭配設備";
  font-size:32px;
}

/* LINE 浮動仍為小圖示 */
.hl3c-line-float {
  width:54px !important;
  height:54px !important;
  border-radius:14px !important;
}

/* 手機 */
@media (max-width:980px){
  .product-v14-related-products-grid {
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .product-v14-section-head {
    display:block;
  }

  .product-v14-section-head .product-v11-btn,
  .product-v14-section-head .btn {
    margin-top:12px;
  }
}

@media (max-width:720px){
  .product-v14-highlights {
    padding:16px;
  }

  .product-v14-related-products-grid {
    grid-template-columns:1fr;
  }
}
