/* 图片占位与文字品牌标
   本站当前不放任何图片：所有视觉位置都是 .media-slot 虚线占位块。
   以后要换图：把文件放进 public/media/，再把 content/site.json 里对应 src 写成 /media/文件名。 */

/* hidden 必须压过页面里的 display:grid/flex（路径面板切换、目录搜索过滤都依赖它）。 */
[hidden] {
  display: none !important;
}

.media-slot {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: var(--slot-ratio, 1);
  background: repeating-linear-gradient(45deg, #f2f8f3 0 12px, #e9f2ea 12px 24px);
  border: 1px dashed #cfdccf;
  color: #687b6f;
  text-align: center;
}

.media-slot-label {
  padding: 0.75rem;
  font-size: 0.7rem;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-wordmark {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* 询盘表单顶部显示来源商品 */
.catalog-inquiry {
  padding: 0.75rem 1rem;
  border-left: 3px solid currentColor;
  font-size: 0.9rem;
}

.catalog-inquiry p {
  margin: 0;
}

/* ---------- 品牌 LOGO（透明底文字标）---------- */
.brand .brand-logo-frame {
  display: inline-flex;
  align-items: center;
  width: auto;
  height: auto;
  overflow: visible;
  background: none;
  mix-blend-mode: normal;
  filter: none;
}

.brand .brand-logo {
  position: static;
  inset: auto;
  width: auto;
  max-width: none;
  height: 38px;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: none;
}

footer .brand .brand-logo {
  height: 46px;
}

@media (max-width: 800px) {
  .brand .brand-logo {
    height: 32px;
  }

  footer .brand .brand-logo {
    height: 40px;
  }
}

/* LOGO 最终尺寸：覆盖旧版裁切规则（旧规则把图裁成竖条） */
.header-inner .brand .brand-logo-frame,
footer .brand .brand-logo-frame {
  display: inline-flex !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  isolation: auto !important;
  mix-blend-mode: normal !important;
}

.header-inner .brand .brand-logo,
footer .brand .brand-logo {
  position: static !important;
  inset: auto !important;
  width: auto !important;
  max-width: none !important;
  height: 46px !important;
  object-fit: contain !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

footer .brand .brand-logo {
  height: 58px !important;
}

@media (max-width: 800px) {
  .header-inner .brand .brand-logo {
    height: 38px !important;
  }

  footer .brand .brand-logo {
    height: 48px !important;
  }
}

/* ---------- 占位块改为「留白 + 细字」而不是斜纹 ---------- */
.media-slot {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: var(--slot-ratio, 1);
  background:
    radial-gradient(120% 100% at 30% 0%, #ffffff 0%, #f7f3ea 60%, #f1ece0 100%);
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(33, 78, 62, 0.08);
  color: #8a9a90;
  text-align: center;
}

.media-slot-label {
  padding: 0;
  font-size: 9.5px;
  line-height: 1.6;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* ---------- 首页主视觉：CSS 牌面拼贴 ---------- */
.hero-art {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(90% 80% at 50% 20%, #ffffff 0%, #f6f2e8 55%, #eee7d9 100%);
}

.hero-art-tile {
  position: absolute;
  width: 46%;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  background: #f4efe4;
  box-shadow:
    0 30px 50px -30px rgba(28, 43, 37, 0.45),
    inset 0 0 0 1px rgba(33, 78, 62, 0.08);
}

.hero-art-tile i {
  position: absolute;
  inset: 12%;
  border-radius: 8px;
  background: linear-gradient(155deg, #7aa493 0%, #4f7d6a 100%);
}

.hero-art-tile.t1 {
  transform: translate(-34%, 8%) rotate(-9deg);
}

.hero-art-tile.t2 {
  transform: translate(0, -6%) scale(1.06);
  z-index: 2;
}

.hero-art-tile.t2 i {
  background: linear-gradient(155deg, #f4b8c4 0%, #c9768c 55%, #8f455d 100%);
}

.hero-art-tile.t3 {
  transform: translate(34%, 10%) rotate(8deg);
}

.hero-art-tile.t3 i {
  background: linear-gradient(155deg, #f0dfc4 0%, #d9bd81 100%);
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 26%;
  background: linear-gradient(to top, rgba(238, 231, 217, 0.9), transparent);
}
