/* ============================================================
   致典家具 · 视觉升级层 (premium.css)
   在 style.css 之后加载，纯增量覆盖，不动原设计系统。
   目标：高级感 / 精致感 / 现代中式美学
   ============================================================ */

/* ---------- 0. 字体升级 ---------- */
:root {
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --shadow-soft: 0 4px 20px rgba(32, 54, 46, .07), 0 1px 3px rgba(32, 54, 46, .04);
  --shadow-lift: 0 16px 40px rgba(32, 54, 46, .14), 0 4px 12px rgba(32, 54, 46, .06);
  --gold-line: linear-gradient(90deg, transparent, var(--accent) 20%, var(--accent) 80%, transparent);
}

/* ---------- 1. 全局精致化 ---------- */
body {
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}

::selection { background: color-mix(in srgb, var(--brand) 18%, transparent); }

/* 标题衬线化：中文标题用宋体更显文化感，英文辅助保持无衬线 */
h1, h2, h3, h4, .section-title h2, .logo, .slogan-big, .slogan {
  font-family: var(--font-serif);
  letter-spacing: .06em;
}

/* ---------- 2. 顶部导航升级 ---------- */
.topbar {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(32, 54, 46, .06), 0 8px 28px rgba(32, 54, 46, .05);
}
.nav { height: var(--header-h, 72px); }
.logo { font-size: 21px; font-weight: 600; letter-spacing: .12em; }
.logo img { border-radius: 6px; }
.nav-menu a {
  position: relative;
  padding: 8px 18px;
  font-size: 15px;
  letter-spacing: .05em;
  border-radius: 8px;
  color: var(--text-soft, #625f59);
  transition: color .25s ease, background .25s ease;
}
.nav-menu a::after {
  content: '';
  position: absolute; left: 18px; right: 18px; bottom: 2px;
  height: 2px; border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s ease;
}
.nav-menu a:hover::after, .nav-menu a.active::after { transform: scaleX(1); }
.nav-menu a:hover, .nav-menu a.active {
  color: var(--brand);
  background: transparent;
}

/* ---------- 3. 页面标题区升级 ---------- */
.page-hero {
  background:
    radial-gradient(1200px 400px at 85% -10%, rgba(184, 149, 107, .18), transparent 60%),
    radial-gradient(900px 500px at 10% 120%, rgba(255, 255, 255, .08), transparent 55%),
    linear-gradient(135deg, #20362e 0%, #2d4a3e 55%, #3d5a4a 100%);
  padding: 72px 0 64px;
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: .14em;
  font-weight: 600;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .18);
}
.page-hero p { letter-spacing: .08em; opacity: .82; font-size: 15px; }

/* ---------- 4. 板块标题升级 ---------- */
.section { padding: calc(var(--section-gap, 24px) * 3.2) 0; }
.section-title { margin-bottom: 52px; position: relative; }
.section-title h2 {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: .1em;
  position: relative;
  display: inline-block;
}
.section-title .en {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-top: 10px;
}
.section-title .line {
  width: 72px; height: 2px;
  background: var(--gold-line);
  border-radius: 2px;
}
.section-title .line::after {
  width: 6px; height: 6px;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 12%, transparent);
}

/* ---------- 5. 按钮升级 ---------- */
.btn {
  position: relative;
  padding: 12px 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .14em;
  background: linear-gradient(135deg, #2d4a3e 0%, #20362e 100%);
  box-shadow: 0 10px 24px rgba(32, 54, 46, .22), inset 0 1px 0 rgba(255, 255, 255, .08);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #3d5a4a, #2d4a3e);
  opacity: 0; transition: opacity .25s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(32, 54, 46, .28);
}
.btn:hover::before { opacity: 1; }
.btn > * { position: relative; z-index: 1; }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--brand);
  color: var(--brand);
  box-shadow: none;
}
.btn-outline::before { display: none; }
.btn-outline:hover {
  background: var(--brand);
  color: #fff;
}

/* ---------- 6. 卡片质感升级 ---------- */
.cat-card, .product-card, .news-card, .case-card, .related-card, .ui-card {
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(229, 217, 204, .55);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.cat-card:hover, .product-card:hover, .news-card:hover, .case-card:hover, .related-card:hover, .ui-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
}
.product-card .thumb, .case-card .cover, .news-card .cover, .cat-card .thumb, .ui-card-cover {
  position: relative;
}
.product-card .thumb::after, .case-card .cover::after, .news-card .cover::after,
.cat-card .thumb::after, .ui-card-cover::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(32, 54, 46, .18), transparent 35%);
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.product-card:hover .thumb::after, .case-card:hover .cover::after, .news-card:hover .cover::after,
.cat-card:hover .thumb::after, .ui-card:hover .ui-card-cover::after { opacity: 1; }

.product-card .info, .news-card .body, .cat-card .info, .case-card .body { padding: 20px 22px 22px; }
.product-card h3 { font-size: 16px; font-weight: 600; letter-spacing: .04em; }
.product-card .material {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .06em;
  padding: 3px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: #8a6d3b;
}
.product-card .desc { font-size: 13px; line-height: 1.75; color: var(--text-light); }

/* 产品卡价格/名称分隔线 */
.product-card .info { border-top: 1px solid rgba(229, 217, 204, .4); }

/* 新闻卡片 */
.news-card .date {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-light); letter-spacing: .06em;
}
.news-card .date::before {
  content: '';
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent);
}

/* ---------- 7. 首页 Hero 轮播升级 ---------- */
.carousel {
  height: clamp(560px, 56vw, 720px);
  background: #1c2b26;
}
.carousel-slide .overlay {
  background: linear-gradient(to top, rgba(16, 26, 22, .68) 0%, rgba(16, 26, 22, .18) 45%, transparent 75%);
}
.carousel-caption { padding: 72px; }
.carousel-caption h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: .12em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .3);
}
.carousel-caption p { letter-spacing: .1em; opacity: .85; }
.carousel-dots button {
  width: 8px; height: 8px;
  background: rgba(255, 255, 255, .45);
  backdrop-filter: blur(2px);
}
.carousel-dots button.active {
  width: 30px; border-radius: 4px;
  background: var(--accent);
}
.carousel-arrow {
  width: 48px; height: 48px;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .25);
}
.carousel-arrow:hover { background: rgba(255, 255, 255, .3); }

/* ---------- 8. 品牌简介 ---------- */
.brand-intro .slogan-big {
  font-weight: 600;
  letter-spacing: .12em;
  position: relative;
  padding-bottom: 18px;
}
.brand-intro .slogan-big::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 56px; height: 2px;
  background: var(--gold-line); border-radius: 2px;
}
.brand-intro p { font-size: 15px; line-height: 2.1; color: var(--text-soft); }

/* 创始人卡片 */
.founder {
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(229, 217, 204, .55);
  padding: 36px;
}
.founder-avatar { box-shadow: 0 8px 24px rgba(32, 54, 46, .18); border: 3px solid #fff; }
.founder-name { font-weight: 600; }
.founder-quotes { border-left: 3px solid var(--accent); }

/* ---------- 9. 分类入口升级 ---------- */
.cat-card .thumb { height: 200px; }
.cat-card .info h3 { font-size: 17px; font-weight: 600; letter-spacing: .1em; }

/* ---------- 11. 全屋定制 ---------- */
.case-card .tag {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: #8a6d3b;
  font-size: 11px;
  letter-spacing: .12em;
}
.case-card h3 { font-size: 17px; font-weight: 600; letter-spacing: .06em; }

/* ---------- 12. 侧边栏 / 筛选标签升级 ---------- */
.sidebar li a {
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all .25s ease;
}
.sidebar li a:hover, .sidebar li a.active {
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 6px 16px rgba(32, 54, 46, .18);
}
.tag-filter a, .brand-nav a {
  border-radius: 999px;
  padding: 9px 24px;
  font-size: 14px;
  letter-spacing: .05em;
  border: 1px solid rgba(229, 217, 204, .8);
  transition: all .25s ease;
}
.tag-filter a:hover, .brand-nav a:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(32, 54, 46, .1);
}
.tag-filter a.active, .brand-nav a.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(32, 54, 46, .22);
}

/* ---------- 13. 表单升级 ---------- */
.form-group input, .form-group textarea {
  border-radius: 10px;
  border: 1.5px solid rgba(229, 217, 204, .9);
  padding: 12px 16px;
  background: #fdfcf9;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 10%, transparent);
}
.form-group label { font-size: 13px; letter-spacing: .08em; color: var(--text); font-weight: 500; }

/* 联系卡片 */
.contact-direct-card {
  border-radius: 12px;
  border: 1px solid rgba(229, 217, 204, .7);
  transition: all .25s ease;
}
.contact-direct-card:hover { border-color: var(--brand); box-shadow: var(--shadow-soft); }
.contact-direct-icon {
  background: color-mix(in srgb, var(--brand) 8%, transparent);
  color: var(--brand);
}

/* ---------- 14. 门店卡 ---------- */
.showroom-card {
  border-radius: 14px;
  border: 1px solid rgba(229, 217, 204, .6);
  box-shadow: var(--shadow-soft);
  transition: all .25s ease;
}
.showroom-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.showroom-card.active {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 6%, #fff);
}

/* ---------- 15. 内容区块升级 ---------- */
.story-block, .rich-content, .article {
  border-radius: 16px;
  border: 1px solid rgba(229, 217, 204, .55);
  box-shadow: var(--shadow-soft);
  padding: 48px 56px;
}
.story-block h2 {
  font-weight: 600;
  border-left: 3px solid var(--accent);
  padding-left: 18px;
}
.timeline-item::before {
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}
.timeline-item { border-left: 2px solid rgba(229, 217, 204, .7); }

/* ---------- 16. 面包屑 & 返回 ---------- */
.breadcrumb { font-size: 13px; letter-spacing: .04em; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- 17. 相册/灯箱 ---------- */
.gl-stage, .gallery-main {
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}
.gl-thumb, .gallery-thumbs .t { border-radius: 10px; }
.gl-thumb.active, .gallery-thumbs .t.active { border-color: var(--accent); }

/* ---------- 18. CTA 区块 ---------- */
.cta { margin-top: 56px; }
.cta .btn { min-width: 180px; }

/* ---------- 19. 媒体占位 ---------- */
.media-placeholder {
  background: linear-gradient(135deg, #2d4a3e, #3d5a4a);
  letter-spacing: .1em;
}

/* ---------- 20. 滚动条（WebKit） ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--brand) 30%, #cbbfa9);
  border-radius: 5px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--brand) 50%, #cbbfa9); }

/* ---------- 22. 卡片墙特殊类型精致化 ---------- */
.card-wall-grid { gap: 28px; }
.ui-card { border-radius: 14px; border: 1px solid rgba(229, 217, 204, .55); }
.ui-card-title { font-weight: 600; letter-spacing: .04em; }
.ui-card-btn {
  padding: 11px 28px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  letter-spacing: .1em;
  box-shadow: 0 8px 18px rgba(32, 54, 46, .18);
  transition: all .25s ease;
}
.ui-card-btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(32, 54, 46, .24);
}
.ui-card--feature { border-radius: 16px; }
.ui-card-icon {
  width: 72px; height: 72px;
  font-size: 34px;
  background: color-mix(in srgb, var(--brand) 8%, transparent);
  border: 1px solid rgba(229, 217, 204, .6);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .6);
}
.ui-card--feature:hover .ui-card-icon {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: #8a6d3b;
}
.ui-card--gallery { border-radius: 16px; }
.ui-card--cta {
  background: linear-gradient(135deg, #2d4a3e, #1f352c) !important;
  border: none;
  border-radius: 18px;
}
.ui-card--cta:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}
.ui-card--cta .ui-card-btn { background: #fff; color: var(--brand); }
.ui-card--cta .ui-card-btn:hover { background: var(--accent); color: #fff; }
.ui-card-quote { opacity: .3; }
.ui-card-author strong { color: var(--brand); }
.ui-card-info li { border-bottom: 1px dashed rgba(229, 217, 204, .7); }
.ui-card-info .k { color: var(--brand); }

/* CTA 横幅升级 */
.cta .btn { min-width: 160px; }

/* 首页 CTA 区块（blocks/cta.html） */
.layout-block[style*="--blk-bg"]:has(h2) { position: relative; }
.cta-band { position: relative; }

/* ---------- 23. 首页 CTA 横幅精修 */
/* 对 cta 区块（深绿背景）增强质感：顶部金色细线 + 柔和纹理 */
section:has(> .container > h2):has(a[href*="contact"]) {
  position: relative;
  overflow: hidden;
}
section:has(> .container > h2):has(a[href*="contact"])::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .6;
}
section:has(> .container > h2):has(a[href*="contact"])::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(800px 300px at 20% 0%, rgba(255,255,255,.06), transparent 60%),
              radial-gradient(700px 300px at 85% 100%, rgba(184,149,107,.12), transparent 60%);
}
section:has(> .container > h2):has(a[href*="contact"]) .container { position: relative; z-index: 1; }
section:has(> .container > h2):has(a[href*="contact"]) h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: .14em;
  text-shadow: 0 2px 14px rgba(0,0,0,.2);
}
section:has(> .container > h2):has(a[href*="contact"]) p { letter-spacing: .1em; }
section:has(> .container > h2):has(a[href*="contact"]) .btn:first-of-type {
  background: var(--accent) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(184, 149, 107, .35);
}
section:has(> .container > h2):has(a[href*="contact"]) .btn:first-of-type:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(184, 149, 107, .45);
}

/* ---------- 24. 响应式补丁 ---------- */
@media (max-width: 768px) {
  .card-wall-grid { gap: 18px; }
  .product-card .info, .news-card .body, .cat-card .info, .case-card .body { padding: 16px 16px 18px; }
}

/* ---------- 25. 平滑滚动增强 ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- 26. 首页信息架构重构 ---------- */
.logo-copy { display: inline-flex; align-items: center; min-width: 0; }
.logo-name { white-space: nowrap; }

.carousel-caption h1,
.carousel-caption h2 {
  font-family: var(--font-serif);
  font-size: clamp(31px, 4.4vw, 52px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: .12em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .3);
}
.carousel-caption p { max-width: 620px; margin-top: 12px; font-size: clamp(14px, 1.6vw, 17px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions .btn { min-width: 168px; text-align: center; }
.hero-primary { color: #fff; background: linear-gradient(135deg, var(--accent), #9d7547); }
.hero-secondary { border-color: rgba(255,255,255,.82); color: #fff; }
.hero-secondary:hover { background: rgba(255,255,255,.92); color: var(--brand); }
.hero-trust {
  margin-top: 22px !important;
  font-size: 12px !important;
  letter-spacing: .14em !important;
  color: rgba(255,255,255,.8);
}

.section-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .28em;
}
.brand-intro--rebuild { max-width: 880px; }
.brand-intro--rebuild .slogan-big { max-width: 760px; margin-right: auto; margin-left: auto; }
.brand-promise-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 28px;
}
.brand-promise-list li {
  position: relative;
  padding-left: 14px;
  color: var(--brand);
  font-size: 13px;
  letter-spacing: .12em;
}
.brand-promise-list li::before {
  content: '';
  position: absolute;
  top: .74em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.cat-card { display: block; background: var(--white); }
.cat-card .thumb { height: 250px; background: #e3ddd1; }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.category-media-fallback,
.case-media-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #304b40, #af8b5c);
}
.product-image-pending {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.45), transparent),
    linear-gradient(135deg, #e7e0d4, #d5c8b4);
  color: var(--brand);
}
.product-image-pending span { font-family: var(--font-serif); font-size: 17px; letter-spacing: .18em; }
.product-image-pending small { color: var(--text-light); font-size: 11px; letter-spacing: .1em; }
.product-detail-pending {
  display: flex;
  min-height: 380px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(135deg, #e9e3d8, #d8cbb7);
  color: var(--brand);
}
.product-detail-pending span { font-family: var(--font-serif); font-size: 22px; letter-spacing: .2em; }
.product-detail-pending p { color: var(--text-light); font-size: 13px; }
.cat-card .info { position: relative; min-height: 194px; padding: 24px 24px 22px; text-align: left; }
.category-index {
  position: absolute;
  top: 21px;
  right: 22px;
  color: color-mix(in srgb, var(--accent) 80%, white);
  font-family: var(--font-serif);
  font-size: 25px;
  line-height: 1;
}
.cat-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--text-light);
  font-size: 11px;
  letter-spacing: .12em;
}
.cat-card .info h3 { margin-bottom: 8px; }
.cat-card .info p { max-width: 250px; color: var(--text-soft); font-size: 13px; line-height: 1.75; }
.cat-link {
  display: inline-block;
  margin-top: 13px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
}
.cat-link b,
.text-link b,
.home-case-copy b { margin-left: 5px; transition: margin-left .2s ease; }
.cat-card:hover .cat-link b,
.text-link:hover b,
.home-case-card:hover .home-case-copy b { margin-left: 10px; }

.home-quality { position: relative; overflow: hidden; }
.home-quality::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  top: -320px;
  right: -180px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: 50%;
}
.quality-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.45fr);
  align-items: center;
  gap: clamp(36px, 7vw, 104px);
}
.quality-intro h2,
.home-cases-heading h2 { font-size: clamp(27px, 3.2vw, 37px); font-weight: 600; letter-spacing: .1em; }
.quality-intro p { max-width: 420px; margin: 18px 0 24px; color: var(--text-soft); font-size: 15px; line-height: 2; }
.text-link { display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: .09em; }
.quality-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.quality-item { min-height: 226px; padding: 29px 22px 20px; border-right: 1px solid var(--border); }
.quality-item:last-child { border-right: 0; }
.quality-number { display: block; margin-bottom: 42px; color: var(--accent); font-family: var(--font-serif); font-size: 14px; letter-spacing: .12em; }
.quality-item h3 { margin-bottom: 10px; color: var(--brand); font-size: 17px; font-weight: 600; letter-spacing: .08em; }
.quality-item p { color: var(--text-soft); font-size: 13px; line-height: 1.8; }

.home-cases-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 42px; }
.home-cases-heading p { max-width: 410px; color: var(--text-soft); font-size: 15px; line-height: 1.9; }
.home-case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.home-case-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr);
  min-height: 292px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(229, 217, 204, .8);
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.home-case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.home-case-image { position: relative; min-height: 292px; overflow: hidden; background: var(--bg-alt); }
.home-case-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.home-case-card:hover .home-case-image img { transform: scale(1.05); }
.home-case-image > span {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 10px;
  background: rgba(28, 48, 40, .78);
  color: #fff;
  font-size: 11px;
  letter-spacing: .1em;
}
.home-case-copy { display: flex; flex-direction: column; justify-content: center; padding: 28px; }
.home-case-copy h3 { color: var(--brand); font-size: 18px; font-weight: 600; letter-spacing: .07em; line-height: 1.55; }
.home-case-copy p { margin: 13px 0 20px; color: var(--text-soft); font-size: 13px; line-height: 1.8; }
.home-case-copy > span { color: var(--brand); font-size: 12px; font-weight: 600; letter-spacing: .08em; }

/* ---------- 27. 首页移动端与轮播溢出修复 ---------- */
@media (max-width: 768px) {
  .topbar { --header-h: 60px; }
  .topbar .nav { height: 60px; }
  .logo { font-size: 19px; }
  .logo img { height: 38px; }
  .carousel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
    aspect-ratio: var(--carousel-ratio, 3 / 2);
  }
  .carousel-track { width: 100%; }
  .carousel-slide { width: 100%; min-width: 100%; }
  .carousel-media { width: 100%; height: 100%; }
  .carousel-caption { padding: clamp(22px, 6vw, 42px); }
  .carousel-caption h1, .carousel-caption h2 { font-size: clamp(25px, 7.4vw, 38px); }
  .hero-actions { gap: 10px; margin-top: 20px; }
  .hero-actions .btn { min-width: 146px; padding: 10px 17px; font-size: 13px; }
  .hero-trust { margin-top: 15px !important; font-size: 10px !important; letter-spacing: .08em !important; }
  .quality-layout { grid-template-columns: 1fr; gap: 30px; }
  .quality-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quality-item { min-height: 194px; padding: 22px 14px 16px; }
  .quality-number { margin-bottom: 28px; }
  .quality-item h3 { font-size: 15px; }
  .home-cases-heading { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 28px; }
  .home-case-grid { grid-template-columns: 1fr; }
  .home-case-card { grid-template-columns: minmax(0, 1.1fr) minmax(180px, .9fr); }
}

@media (max-width: 480px) {
  .logo { gap: 8px; font-size: 17px; letter-spacing: .08em; }
  .logo img { height: 34px; }
  .carousel-caption h1, .carousel-caption h2 { letter-spacing: .08em; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { min-width: 0; padding-right: 8px; padding-left: 8px; letter-spacing: .08em; }
  .hero-trust { display: none; }
  .brand-promise-list { gap: 8px 16px; }
  .quality-grid { grid-template-columns: 1fr; border-bottom: 1px solid var(--border); }
  .quality-item { min-height: 0; padding: 19px 0; border-right: 0; border-bottom: 1px solid var(--border); }
  .quality-item:last-child { border-bottom: 0; }
  .quality-number { margin-bottom: 9px; }
  .home-case-card { grid-template-columns: 1fr; }
  .home-case-image { min-height: 220px; }
  .home-case-copy { padding: 22px; }
}

/* ---------- 28. OpenAPI 产品目录：形象定位 → 类目 ---------- */
.product-catalog { padding-top: 54px; }
.product-filter-level--primary {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 34px;
  padding: 24px 26px;
  background: color-mix(in srgb, var(--white) 92%, var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}
.filter-heading h2,
.filter-heading h3 { margin: 2px 0 0; color: var(--brand); font-weight: 600; letter-spacing: .08em; }
.filter-heading h2 { font-size: 22px; }
.filter-heading h3 { font-size: 18px; }
.filter-kicker { color: var(--text-light); font-size: 11px; letter-spacing: .16em; }
.position-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.position-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font-size: 14px;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.position-tab small { color: var(--text-light); font-size: 11px; }
.position-tab:hover,
.position-tab.active { border-color: var(--brand); background: var(--brand); color: #fff; }
.position-tab:hover small,
.position-tab.active small { color: rgba(255,255,255,.72); }

.products-layout--faceted { grid-template-columns: 230px minmax(0, 1fr); gap: 34px; }
.product-filter-level--secondary {
  max-height: calc(100vh - var(--header-h) - 42px);
  overflow: auto;
  padding: 20px 14px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  scrollbar-width: thin;
}
.product-filter-level--secondary .filter-heading { padding: 0 8px 13px; border-bottom: 1px solid var(--border); }
.category-filter-list { margin-top: 10px; }
.sidebar .category-filter-list li a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 3px;
  padding: 9px 10px;
  border: 0;
  background: transparent;
  font-size: 13px;
}
.sidebar .category-filter-list li a small { color: var(--text-light); font-size: 11px; }
.sidebar .category-filter-list li a:hover,
.sidebar .category-filter-list li a.active { background: var(--brand); color: #fff; }
.sidebar .category-filter-list li a:hover small,
.sidebar .category-filter-list li a.active small { color: rgba(255,255,255,.72); }

.product-results { min-width: 0; }
.product-results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.result-count { color: var(--brand); font-size: 14px; font-weight: 600; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.active-filters span {
  padding: 3px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--brand);
  font-size: 11px;
}
.active-filters a { margin-left: 4px; color: var(--text-light); font-size: 11px; text-decoration: underline; }
.product-search { display: flex; min-width: min(100%, 330px); }
.product-search input {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-right: 0;
  border-radius: 9px 0 0 9px;
  background: var(--white);
  color: var(--text);
  outline: none;
}
.product-search input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 12%, transparent); }
.product-search button {
  flex: 0 0 auto;
  padding: 0 17px;
  border: 1px solid var(--brand);
  border-radius: 0 9px 9px 0;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
}
.product-position-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(29, 48, 40, .84);
  color: #fff;
  font-size: 11px;
  letter-spacing: .08em;
  backdrop-filter: blur(5px);
}
.product-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.product-card-meta span { color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.product-card-meta small { overflow: hidden; color: var(--text-light); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.product-card .material { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-empty h3 { margin-bottom: 8px; color: var(--brand); }
.product-empty p { margin-bottom: 20px; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; margin-top: 38px; }
.pagination a,
.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--text-soft);
  font-size: 13px;
}
.pagination a:hover,
.pagination a.active { border-color: var(--brand); background: var(--brand); color: #fff; }
.pagination-ellipsis { border-color: transparent; background: transparent; }

.product-detail-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: -4px 0 16px; }
.product-detail-tags span {
  padding: 5px 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--brand);
  font-size: 12px;
}
.product-parameters h2 { margin: 26px 0 10px; color: var(--brand); font-size: 19px; font-weight: 600; letter-spacing: .08em; }
.product-parameters .spec-table { margin-top: 0; }
.product-parameters .spec-table th,
.product-parameters .spec-table td { padding: 11px 14px; border: 1px solid var(--border); font-size: 14px; line-height: 1.65; text-align: left; vertical-align: middle; }
.product-parameters .spec-table th { width: 118px; background: var(--bg-alt); color: var(--text-light); font-weight: 500; }
.product-detail-pending { min-height: 480px; }

@media (max-width: 960px) {
  .product-filter-level--primary { grid-template-columns: 1fr; gap: 16px; }
  .products-layout--faceted { grid-template-columns: 200px minmax(0, 1fr); gap: 22px; }
  .products-layout--faceted .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .position-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .product-catalog { padding-top: 34px; }
  .product-filter-level--primary { padding: 19px 17px; }
  .products-layout--faceted { grid-template-columns: 1fr; }
  .product-filter-level--secondary {
    position: static;
    max-height: 360px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .category-filter-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .product-results-toolbar { align-items: stretch; flex-direction: column; }
  .product-search { width: 100%; min-width: 0; }
  .products-layout--faceted .product-grid { grid-template-columns: 1fr; }
  .product-detail-pending { min-height: 320px; }
}

/* ---------- 29. 产品目录与详情页 UI 优化（品牌目录，无金额展示） ---------- */
.catalog-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  align-items: end;
  gap: 40px;
  margin-bottom: 28px;
}
.catalog-intro h2 { margin-top: 6px; color: var(--brand); font-size: clamp(25px, 3vw, 36px); font-weight: 600; letter-spacing: .08em; }
.catalog-intro p { color: var(--text-soft); font-size: 14px; line-height: 1.9; }
.catalog-filter-shell {
  margin-bottom: 30px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: color-mix(in srgb, var(--white) 94%, var(--bg-alt));
  box-shadow: var(--shadow-soft);
}
.catalog-position-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.catalog-filter-label { color: var(--brand); font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.catalog-filter-form {
  display: grid;
  grid-template-columns: minmax(210px, 1.5fr) repeat(4, minmax(128px, 1fr)) minmax(112px, .7fr) minmax(88px, .55fr) auto;
  align-items: end;
  gap: 12px;
  padding-top: 20px;
}
.catalog-field { display: flex; min-width: 0; flex-direction: column; gap: 7px; }
.catalog-field > span:first-child { color: var(--text-light); font-size: 11px; letter-spacing: .08em; }
.catalog-field input,
.catalog-field select {
  width: 100%;
  height: 42px;
  min-width: 0;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  outline: none;
}
.catalog-field input:focus,
.catalog-field select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 10%, transparent); }
.catalog-search-control { position: relative; display: block; }
.catalog-search-control b { position: absolute; z-index: 1; top: 50%; left: 12px; color: var(--text-light); font-size: 20px; font-weight: 400; transform: translateY(-52%); }
.catalog-search-control input { padding-left: 36px; }
.catalog-filter-submit {
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--brand);
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.catalog-filter-submit:hover { background: color-mix(in srgb, var(--brand) 88%, black); transform: translateY(-1px); }
.catalog-filter-shell .active-filters { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--border); }
.catalog-filter-shell .active-filters strong { margin-right: 4px; color: var(--text-light); font-size: 11px; font-weight: 500; }
.product-results-toolbar > div { display: flex; align-items: baseline; gap: 12px; }
.product-results-toolbar small { color: var(--text-light); font-size: 11px; }
.catalog-local-note { display: inline-flex; align-items: center; gap: 7px; color: var(--text-light); font-size: 11px; }
.catalog-local-note i { width: 7px; height: 7px; border-radius: 50%; background: #4c8c68; box-shadow: 0 0 0 4px rgba(76,140,104,.1); }
.catalog-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.catalog-product-card { display: flex; min-width: 0; flex-direction: column; border-radius: 14px; }
.catalog-product-card .thumb { height: auto; aspect-ratio: 1 / 1; background: #ebe7df; }
.catalog-product-card .thumb img { object-fit: cover; }
.product-card-hover-cta {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 13px;
  border-radius: 8px;
  background: rgba(28, 48, 40, .9);
  color: #fff;
  font-size: 12px;
  letter-spacing: .05em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
  backdrop-filter: blur(7px);
}
.catalog-product-card:hover .product-card-hover-cta,
.catalog-product-card:focus-visible .product-card-hover-cta { opacity: 1; transform: translateY(0); }
.catalog-product-card .info { display: flex; flex: 1; flex-direction: column; padding: 17px 18px 18px; }
.catalog-product-card h3 { display: -webkit-box; min-height: 3.1em; margin-bottom: 11px; overflow: hidden; font-size: 15px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-card-facts { display: flex; min-width: 0; flex-direction: column; gap: 5px; color: var(--text-light); font-size: 12px; }
.product-card-facts span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-card-link { margin-top: auto; padding-top: 15px; color: var(--brand); font-size: 11px; font-weight: 600; letter-spacing: .05em; }
.product-card-link b { display: inline-block; margin-left: 4px; transition: transform .2s ease; }
.catalog-product-card:hover .product-card-link b { transform: translateX(4px); }

.product-detail-page { padding: 28px 0 88px; background: var(--bg); }
.product-breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 28px; color: var(--text-light); font-size: 12px; }
.product-breadcrumb a:hover { color: var(--brand); }
.product-hero-detail { grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); gap: clamp(38px, 5vw, 72px); align-items: start; }
.product-gallery .gl-stage { height: auto; aspect-ratio: 1 / 1; border: 1px solid var(--border); background: #eeeae3; }
.product-gallery .gl-img { object-fit: contain; }
.product-gallery .gl-zoom { padding: 8px 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 7px; background: rgba(28,48,40,.75); color: #fff; font-size: 11px; }
.product-detail-summary { position: sticky; top: calc(var(--header-h) + 24px); padding-top: 12px; }
.product-detail-eyebrow { display: block; margin-bottom: 12px; color: var(--accent); font-size: 11px; letter-spacing: .18em; }
.product-detail-summary h1 { color: var(--brand); font-family: var(--font-serif); font-size: clamp(28px, 3.2vw, 44px); font-weight: 600; letter-spacing: .045em; line-height: 1.3; }
.product-detail-summary .product-detail-tags { margin: 18px 0; }
.product-detail-intro { max-width: 540px; margin: 20px 0 24px; color: var(--text-soft); font-size: 14px; line-height: 1.95; }
.product-quick-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 26px 0; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.product-quick-facts > div { min-height: 82px; padding: 15px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--white) 75%, transparent); }
.product-quick-facts small { display: block; margin-bottom: 6px; color: var(--text-light); font-size: 10px; letter-spacing: .08em; }
.product-quick-facts strong { display: block; overflow: hidden; color: var(--text); font-size: 13px; font-weight: 500; line-height: 1.6; }
.product-detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.product-detail-actions .btn { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 11px 16px; text-align: center; }
.product-primary-action { background: var(--brand); }
.product-consult-note { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: var(--text-light); font-size: 11px; }
.product-consult-note span::before { content: '·'; margin-right: 6px; color: var(--accent); }
.product-detail-tabs { position: sticky; z-index: 30; top: var(--header-h); display: flex; justify-content: center; gap: 8px; margin: 70px 0 0; padding: 10px; border: 1px solid var(--border); border-radius: 12px; background: color-mix(in srgb, var(--white) 94%, transparent); box-shadow: var(--shadow-soft); backdrop-filter: blur(12px); }
.product-detail-tabs a { padding: 9px 20px; border-radius: 8px; color: var(--text-soft); font-size: 13px; }
.product-detail-tabs a:hover { background: var(--brand); color: #fff; }
.product-detail-content { max-width: 1080px; margin: 0 auto; }
.product-content-section { padding: 76px 0 10px; scroll-margin-top: calc(var(--header-h) + 70px); }
.product-section-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.product-section-heading > span { color: color-mix(in srgb, var(--accent) 70%, white); font-family: var(--font-serif); font-size: 36px; line-height: 1; }
.product-section-heading small,
.product-related-heading small { display: block; margin-bottom: 4px; color: var(--text-light); font-size: 9px; letter-spacing: .2em; }
.product-section-heading h2 { color: var(--brand); font-size: 24px; font-weight: 600; letter-spacing: .09em; }
.product-content-copy,
.product-rich { max-width: 850px; color: var(--text-soft); font-size: 15px; line-height: 2.1; }
.product-craft-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.product-craft-grid article { min-height: 142px; padding: 23px 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); }
.product-craft-grid small { display: block; margin-bottom: 16px; color: var(--accent); font-size: 10px; letter-spacing: .12em; }
.product-craft-grid strong { color: var(--text); font-size: 13px; font-weight: 500; line-height: 1.75; }
.spec-table-wrap { overflow: hidden; border: 1px solid var(--border); border-radius: 13px; background: var(--white); }
.product-parameters .spec-table { margin: 0; border-collapse: collapse; }
.product-parameters .spec-table tr:nth-child(even) { background: color-mix(in srgb, var(--bg-alt) 55%, white); }
.product-parameters .spec-table th,
.product-parameters .spec-table td { border: 0; border-bottom: 1px solid var(--border); }
.product-parameters .spec-table tr:last-child th,
.product-parameters .spec-table tr:last-child td { border-bottom: 0; }
.product-parameters .spec-table th { width: 180px; padding-left: 22px; background: transparent; color: var(--text-light); }
.product-parameters .spec-table td { padding-right: 22px; overflow-wrap: anywhere; }
.product-service-panel { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 34px 38px; border-radius: 16px; background: linear-gradient(135deg, #2d4a3e, #1f352c); color: #fff; }
.product-service-panel h3 { margin-bottom: 9px; font-size: 20px; font-weight: 600; letter-spacing: .06em; }
.product-service-panel p { max-width: 700px; color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.9; }
.product-service-panel .btn { flex: 0 0 auto; background: var(--accent); color: #fff; }
.product-related-section { margin-top: 90px; }
.product-related-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.product-related-heading h2 { margin: 0; text-align: left; font-size: 26px; }
.product-related-heading > a { color: var(--brand); font-size: 12px; font-weight: 600; }
.product-related-section .related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-related-section .related-card .thumb { height: auto; aspect-ratio: 1 / 1; }
.product-related-section .related-card .info { display: flex; min-height: 126px; align-items: flex-start; flex-direction: column; padding: 15px 16px; text-align: left; }
.product-related-section .related-card .info small { margin-bottom: 5px; color: var(--accent); font-size: 10px; }
.product-related-section .related-card .info strong { display: -webkit-box; overflow: hidden; font-size: 13px; font-weight: 500; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-related-section .related-card .info span { margin-top: auto; padding-top: 10px; color: var(--brand); font-size: 10px; font-weight: 600; }

@media (max-width: 1180px) {
  .catalog-filter-form { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .catalog-field--search { grid-column: span 2; }
  .catalog-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-craft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .catalog-intro { grid-template-columns: 1fr; gap: 12px; }
  .catalog-position-row { grid-template-columns: 1fr; }
  .catalog-filter-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-field--search { grid-column: 1 / -1; }
  .catalog-filter-submit { align-self: end; }
  .catalog-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-hero-detail { grid-template-columns: 1fr; }
  .product-detail-summary { position: static; }
  .product-detail-tabs { justify-content: flex-start; overflow-x: auto; }
  .product-detail-tabs a { flex: 0 0 auto; }
  .product-related-section .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .product-catalog { padding-top: 30px; }
  .catalog-filter-shell { padding: 17px; border-radius: 14px; }
  .position-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-filter-form { grid-template-columns: 1fr 1fr; gap: 11px 9px; }
  .catalog-field--search { grid-column: 1 / -1; }
  .catalog-field--compact { grid-column: span 1; }
  .catalog-filter-submit { grid-column: 1 / -1; }
  .catalog-product-grid { grid-template-columns: 1fr; }
  .catalog-product-card .thumb { aspect-ratio: 4 / 3; }
  .product-card-hover-cta { display: none; }
  .product-results-toolbar { flex-direction: row; align-items: center; }
  .product-results-toolbar > div { align-items: flex-start; flex-direction: column; gap: 2px; }
  .product-detail-page { padding-top: 18px; }
  .product-breadcrumb { overflow: hidden; flex-wrap: nowrap; white-space: nowrap; }
  .product-breadcrumb span[aria-current] { overflow: hidden; text-overflow: ellipsis; }
  .product-hero-detail { gap: 24px; }
  .product-detail-summary { padding-top: 0; }
  .product-detail-summary h1 { font-size: 27px; }
  .product-detail-actions { grid-template-columns: 1fr; }
  .product-detail-tabs { margin-top: 44px; justify-content: flex-start; }
  .product-content-section { padding-top: 56px; }
  .product-section-heading > span { font-size: 29px; }
  .product-section-heading h2 { font-size: 21px; }
  .product-craft-grid { grid-template-columns: 1fr; }
  .product-craft-grid article { min-height: 0; }
  .product-parameters .spec-table th { width: 112px; padding: 11px 12px; }
  .product-parameters .spec-table td { padding: 11px 12px; }
  .product-service-panel { align-items: stretch; flex-direction: column; padding: 26px 22px; }
  .product-related-heading { align-items: flex-start; flex-direction: column; }
  .product-related-section .related-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-related-section .related-card .info { min-height: 118px; padding: 12px; }
}

/* ---------- 30. 首页形象定位产品中心 ---------- */
.home-position-center { overflow: hidden; }
.home-position-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 34px;
}
.home-position-eyebrow {
  display: block;
  margin-bottom: 9px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
}
.home-position-heading h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.18;
}
.home-position-heading p {
  max-width: 430px;
  margin: 0 0 4px;
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.9;
}
.home-position-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.home-position-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
  border-radius: 15px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(34, 54, 45, .055);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.home-position-card:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  box-shadow: 0 22px 48px rgba(34, 54, 45, .13);
  transform: translateY(-6px);
}
.home-position-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 4.35;
  background: #ded8cd;
}
.home-position-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 32, 26, .2) 0%, transparent 32%, rgba(18, 32, 26, .48) 100%);
  content: '';
  pointer-events: none;
}
.home-position-media img,
.home-position-media .category-media-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.home-position-card:hover .home-position-media img { transform: scale(1.045); }
.home-position-number {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 19px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: .08em;
  backdrop-filter: blur(7px);
}
.home-position-view {
  position: absolute;
  z-index: 1;
  right: 19px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 11px;
  letter-spacing: .08em;
  opacity: .82;
  transform: translateY(4px);
  transition: opacity .25s ease, transform .25s ease;
}
.home-position-card:hover .home-position-view { opacity: 1; transform: translateY(0); }
.home-position-info {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 21px 22px 22px;
}
.home-position-info small {
  display: block;
  margin-bottom: 7px;
  color: var(--text-light);
  font-size: 8px;
  letter-spacing: .19em;
}
.home-position-info h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .09em;
}
.home-position-info > span {
  flex: 0 0 auto;
  color: var(--text-light);
  font-size: 11px;
}
.home-position-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.home-position-footer > span { color: var(--text-light); font-size: 11px; letter-spacing: .18em; }
.home-position-all { color: var(--brand); font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.home-position-all b { display: inline-block; margin-left: 6px; transition: transform .2s ease; }
.home-position-all:hover b { transform: translateX(4px); }

@media (max-width: 860px) {
  .home-position-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .home-position-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-position-card:last-child { grid-column: 1 / -1; }
  .home-position-card:last-child .home-position-media { aspect-ratio: 2 / 1; }
}

@media (max-width: 560px) {
  .home-position-heading { margin-bottom: 24px; }
  .home-position-heading h2 { font-size: 30px; }
  .home-position-heading p { font-size: 12px; }
  .home-position-grid { grid-template-columns: 1fr; gap: 14px; }
  .home-position-card:last-child { grid-column: auto; }
  .home-position-media,
  .home-position-card:last-child .home-position-media { aspect-ratio: 4 / 3; }
  .home-position-info { min-height: 94px; padding: 17px 18px 18px; }
  .home-position-info h3 { font-size: 20px; }
  .home-position-footer { align-items: flex-start; flex-direction: column; gap: 12px; }
}
