/* ==========================================================================
   硅胶拍拍灯产品页与分类页（page-tap-light，简中/繁中共用）
   仅本栏目专有样式；通用组件（section / card / grid / table / faq）走 base.css
   ========================================================================== */

/* 首屏（浅色版，区别于全站深色 page-hero：这是家居产品，暖光比深蓝更贴切） -- */
.tl-hero {
  position: relative;
  padding: 54px 0 62px;
  background:
    radial-gradient(120% 96% at 84% 14%, #fdf0dd 0%, rgba(253, 240, 221, 0) 60%),
    linear-gradient(180deg, #fbfcfe 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.tl-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 52px;
  align-items: center;
}
.tl-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 5px 13px;
  border: 1px solid #f0d8b8;
  border-radius: 999px;
  background: #fff8ee;
  color: #a2681f;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.tl-hero-body h1 {
  font-size: clamp(2.05rem, 3.4vw, 2.85rem);
  margin-bottom: 10px;
}
.tl-hero-slogan {
  margin: 0 0 16px;
  font-size: 1.16rem;
  font-weight: 600;
  color: var(--brand-mid);
  line-height: 1.6;
}
.tl-hero-lead {
  max-width: 58ch;
  margin: 0;
  font-size: 1rem;
  color: var(--text);
}
.tl-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.tl-hero-media {
  margin: 0;
}
.tl-hero-media img {
  display: block;
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 48%;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: 0 28px 56px rgba(176, 118, 48, 0.18);
}
.tl-hero-media figcaption {
  max-width: 400px;
  margin: 12px 0 0 auto;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: right;
}

/* 首屏规格条 --------------------------------------------------------------- */
.tl-spec {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.tl-spec > div {
  padding: 17px 22px;
  border-right: 1px solid var(--line);
  transition: background-color 0.2s ease;
}
.tl-spec > div:last-child { border-right: 0; }
.tl-spec > div:hover { background: #fdf7ee; }
.tl-spec dt {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.tl-spec dd {
  margin: 0;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

/* 产品亮点 ---------------------------------------------------------------- */
.tl-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.tl-highlight {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.tl-highlight:hover {
  border-color: #e8d2b4;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.tl-highlight h3 {
  margin: 0 0 8px;
  font-size: 1.04rem;
}
.tl-highlight p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text);
}
.tl-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: #fdf3e4;
  color: #b0762a;
}
.tl-icon svg { width: 22px; height: 22px; }

/* 普通款 / AI 旗舰款 对照 ------------------------------------------------- */
.tl-models {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.tl-model {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tl-model:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.tl-model--ai {
  border-color: #ecd4b4;
  background: linear-gradient(180deg, #fffaf2 0%, #ffffff 62%);
}
.tl-model--ai:hover { border-color: #d9b183; }
.tl-model-kicker {
  display: inline-block;
  margin: 0 0 10px;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.tl-model--ai .tl-model-kicker { background: #fbe9cf; color: #9a611a; }
.tl-model h3 {
  margin: 0 0 10px;
  font-size: 1.26rem;
}
.tl-model > p {
  margin: 0 0 18px;
  font-size: 0.95rem;
  color: var(--text);
}
.tl-model-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.tl-model-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.65;
}
.tl-model-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
}
.tl-model--ai .tl-model-list li::before { background: #c9873c; }

/* 底座体系 ---------------------------------------------------------------- */
.tl-base-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.tl-base-item {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.tl-base-item:hover {
  border-color: #e2c9a8;
  background: #fffdf9;
}
.tl-base-idx {
  display: block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #b0762a;
}
.tl-base-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}
.tl-base-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.68;
}

/* 场景配图 ---------------------------------------------------------------- */
.tl-scenes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.tl-scene { margin: 0; }
.tl-scene-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.tl-scene-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.tl-scene:hover .tl-scene-media img { transform: scale(1.03); }
.tl-scene figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}
.tl-flag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  vertical-align: 1px;
}

/* 场景说明列表 ------------------------------------------------------------ */
.tl-uses {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}
.tl-uses li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  transition: background-color 0.2s ease;
}
.tl-uses li:hover { background: #fffdf8; }
.tl-uses strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 1rem;
}
.tl-uses span {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

/* 说明块 ------------------------------------------------------------------ */
.tl-note {
  margin: 26px 0 0;
  padding: 16px 20px;
  border: 1px solid #f0e0c8;
  border-left: 3px solid #cf9a55;
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  background: #fffbf4;
  font-size: 0.9rem;
  color: #7c6134;
  line-height: 1.75;
}
.tl-note strong { color: #6a4f24; }

/* 分类页产品卡片 ---------------------------------------------------------- */
.tl-product-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tl-product-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.tl-product-thumb {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fdf7ee;
}
.tl-product-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.tl-product-card:hover .tl-product-thumb img { transform: scale(1.04); }
.tl-product-body h3 { margin: 0 0 8px; font-size: 1.18rem; }
.tl-product-body p { margin: 0 0 12px; font-size: 0.94rem; color: var(--text); }
.tl-product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tl-product-tags li {
  padding: 2px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--muted);
}

/* 响应式 ------------------------------------------------------------------ */
@media (max-width: 960px) {
  .tl-hero { padding: 40px 0 46px; }
  .tl-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .tl-hero-media img { margin: 0 auto; max-width: 340px; }
  .tl-hero-media figcaption { max-width: 340px; margin: 10px auto 0; text-align: center; }
  .tl-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl-spec > div:nth-child(2) { border-right: 0; }
  .tl-spec > div:nth-child(1),
  .tl-spec > div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .tl-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl-models { grid-template-columns: 1fr; }
  .tl-base-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl-scenes { grid-template-columns: 1fr; }
  .tl-uses { grid-template-columns: 1fr; }
  .tl-product-card { grid-template-columns: 140px minmax(0, 1fr); gap: 18px; }
}

@media (max-width: 620px) {
  .tl-highlights { grid-template-columns: 1fr; }
  .tl-base-grid { grid-template-columns: 1fr; }
  .tl-spec { grid-template-columns: 1fr; }
  .tl-spec > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .tl-spec > div:last-child { border-bottom: 0; }
  .tl-model { padding: 24px 20px; }
  .tl-product-card { grid-template-columns: 1fr; }
  .tl-product-thumb img { aspect-ratio: 16 / 9; }
}

@media (prefers-reduced-motion: reduce) {
  .tl-highlight,
  .tl-highlight:hover,
  .tl-scene-media img,
  .tl-scene:hover .tl-scene-media img,
  .tl-product-thumb img,
  .tl-product-card:hover .tl-product-thumb img {
    transform: none;
  }
  .tl-highlight,
  .tl-model,
  .tl-base-item,
  .tl-product-card,
  .tl-scene-media img { transition: none; }
}
