/**
 * WOLKENTAKT · Components · 页面内容区块
 *
 * 用于商店页 / 分类页 / 品牌页（由 inc/sections.php 输出）。
 * 加载条件：is_shop() 或 is_product_taxonomy()（随 pages/archive.css 一起，依赖 wolkentakt-components）
 * 2026-11-17 新建（T1 内容地基）
 */

/* --------------------------------------------------------------------------
   页头介绍
   -------------------------------------------------------------------------- */
.wt-sec-intro {
  max-width: 860px;
  margin: 0 0 28px;
}

.wt-sec-intro__text {
  font-size: 1rem;
  line-height: 1.75;
  color: #3a4049;
}

.wt-sec-intro__text p {
  margin: 0 0 12px;
}

.wt-sec-intro__text p:last-child {
  margin-bottom: 0;
}

.wt-sec-intro__meta {
  margin: 10px 0 0;
  font-size: 0.8125rem;
  color: #8a919c;
}

/* --------------------------------------------------------------------------
   USP 条
   -------------------------------------------------------------------------- */
.wt-sec-usps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.wt-sec-usps__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 9999px;
  background: #f7f8fa;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2b323b;
}

.wt-sec-usps__ico {
  display: inline-flex;
  width: 16px;
  height: 16px;
  color: #101419;
}

.wt-sec-usps__ico svg {
  width: 100%;
  height: 100%;
}

/* --------------------------------------------------------------------------
   选购引导卡
   -------------------------------------------------------------------------- */
.wt-sec-highlight {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 860px;
  margin: 40px 0 0;
  padding: 26px 28px;
  border-radius: 20px;
  background: #f7f8fa;
}

.wt-sec-highlight__title {
  margin: 0;
  font-family: var(--wt-font-display, inherit);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
}

.wt-sec-highlight__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--wt-text-secondary, #5a6270);
}

.wt-sec-highlight__cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  background: #101419;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 4px;
}

.wt-sec-highlight__cta:hover {
  background: #232a33;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   型号对比表
   -------------------------------------------------------------------------- */
.wt-sec-compare {
  margin: 40px 0 0;
}

.wt-sec-compare__title,
.wt-sec-faq__title,
.wt-sec-related__title {
  margin: 0 0 14px;
  font-family: var(--wt-font-display, inherit);
  font-size: 1.25rem;
  font-weight: 800;
}

.wt-sec-compare__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.wt-sec-compare__table th,
.wt-sec-compare__table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #e6e8ec;
  vertical-align: top;
}

.wt-sec-compare__table thead th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8a919c;
  border-bottom-color: #d7dbe1;
}

.wt-sec-compare__table tbody th {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.wt-sec-faq {
  margin: 40px 0 0;
}

.wt-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 860px;
}

.wt-faq-item {
  border-radius: 14px;
  background: #f7f8fa;
  padding: 4px 18px;
}

.wt-faq-item summary {
  cursor: pointer;
  padding: 14px 0;
  font-size: 0.9375rem;
  font-weight: 700;
  list-style: none;
}

.wt-faq-item summary::-webkit-details-marker {
  display: none;
}

.wt-faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 700;
  color: #8a919c;
}

.wt-faq-item[open] summary::after {
  content: "–";
}

.wt-faq-item__body {
  padding: 0 0 16px;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #3a4049;
}

.wt-faq-item__body p {
  margin: 0 0 10px;
}

.wt-faq-item__body p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   相关链接
   -------------------------------------------------------------------------- */
.wt-sec-related {
  margin: 40px 0 0;
}

.wt-sec-related ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wt-sec-related a {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border: 1px solid #e6e8ec;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2b323b;
  text-decoration: none;
}

.wt-sec-related a:hover {
  border-color: #101419;
  color: #101419;
}

/* --------------------------------------------------------------------------
   响应式：390 下对比表转纵向卡片
   -------------------------------------------------------------------------- */
@media (max-width: 780px) {
  .wt-sec-compare__table thead {
    display: none;
  }

  .wt-sec-compare__table,
  .wt-sec-compare__table tbody,
  .wt-sec-compare__table tr,
  .wt-sec-compare__table th,
  .wt-sec-compare__table td {
    display: block;
    width: 100%;
  }

  .wt-sec-compare__table tr {
    margin-bottom: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f7f8fa;
  }

  .wt-sec-compare__table th,
  .wt-sec-compare__table td {
    border: 0;
    padding: 4px 0;
  }

  .wt-sec-compare__table td::before {
    content: attr(data-label) ": ";
    font-weight: 600;
    color: #8a919c;
  }

  .wt-sec-usps {
    gap: 8px;
  }

  .wt-sec-highlight {
    padding: 22px 20px;
  }
}

/* ── 口数档总览 /zugzahl/（2026-11-18）────────────────────── */
.wt-puff-index {
  padding-block: 8px 40px;
}

.wt-puff-index__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.wt-puff-index__link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 20px 18px;
  border-radius: 16px;
  background: #f7f8fa;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.wt-puff-index__link:hover {
  background: #eef0f4;
  transform: translateY(-1px);
}

.wt-puff-index__num {
  font-family: var(--wt-font-display, inherit);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--wt-carbon, #101419);
}

.wt-puff-index__label {
  font-size: 0.8125rem;
  color: var(--wt-text-secondary, #5a6270);
}

.wt-puff-index__count {
  margin-top: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #8a919c;
}
