/* 冠诺官网 · TP8 补充样式（在 prototype style.css 之上） */

/* filter 使用 a 标签时保持按钮观感 */
a.filter-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.contact-info a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 148, 18, 0.45);
}

.contact-info a:hover {
  color: var(--amber-ink);
}

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(12px);
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out);
  box-shadow: var(--shadow);
  max-width: min(90vw, 420px);
  text-align: center;
}

.toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.is-error {
  background: #7f1d1d;
}

#inquiry-submit.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

/* 专业细节：logo 悬停 */
.logo:hover .logo-mark {
  background: var(--amber);
  color: var(--ink);
}

/* 导航当前页加强 */
.nav a.active {
  color: var(--ink);
}

.nav a.active::after {
  transform: scaleX(1);
}

/* 产品详情富文本 */
.rich-content {
  color: var(--steel);
  font-size: 15px;
  line-height: 1.8;
}
.rich-content p { margin: 0 0 12px; }
.rich-content h1,
.rich-content h2,
.rich-content h3,
.rich-content h4 {
  color: var(--ink);
  margin: 18px 0 10px;
  line-height: 1.35;
}
.rich-content ul,
.rich-content ol {
  margin: 0 0 14px 1.25em;
  padding: 0;
}
.rich-content li { margin: 6px 0; }
.rich-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 12px 0;
  display: block;
}
.rich-content a { color: var(--amber-ink); text-decoration: underline; }
.rich-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 14px;
}
.rich-content th,
.rich-content td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
}
.rich-content th { background: var(--surface); color: var(--ink); }
.rich-content blockquote {
  margin: 12px 0;
  padding: 10px 16px;
  border-left: 3px solid var(--amber);
  background: var(--surface);
  color: var(--steel);
}
