/* LAIWULI · 2026/2027 四册数字展厅 */

:root {
  --bg: #121212;
  --bg-2: #181818;
  --ink: #f4f1ea;
  --muted: #9e9a93;
  --gold: #c0a07a;
  --gold-2: #d4b692;
  --line: rgba(255, 255, 255, 0.08);
  --paper: #f3f0ea;
  --paper-ink: #1a1918;
  --serif: "Cormorant Garamond", "Noto Serif SC", "Songti SC", "Source Han Serif SC", "SimSun", STSong, serif;
  --sans: "Montserrat", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.site-theme {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }

.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 500 !important;
  padding: 22px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              backdrop-filter 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              -webkit-backdrop-filter 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header.is-solid {
  background: rgba(14, 14, 14, 0.88) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid var(--line) !important;
  padding: 12px 0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}
.site-header-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-logo { height: 34px; width: auto; }
.site-nav { display: flex; gap: 22px; }
.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.nav-link:hover, .nav-link.is-on { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 12px; }

.btn-ghost, .btn-index {
  background: transparent;
  border: 1px solid rgba(192, 160, 122, 0.35);
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  padding: 6px 12px;
  cursor: pointer;
  text-decoration: none;
}
.btn-index { border-radius: 20px; }

/* Hub: four catalog doors */
.hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 100vh;
  min-height: 680px;
}
.hub-door {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  isolation: isolate;
}
.hub-door img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease), filter 0.45s;
}
.hub-door:hover img { transform: scale(1.07); filter: brightness(1.08); }
.hub-door::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.45) 78%);
  pointer-events: none;
}
.hub-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 28px 32px 26px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.hub-kicker {
  display: block;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 6px;
}
.hub-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 1px;
}
.hub-en {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 2.4px;
  color: rgba(244, 241, 234, 0.72);
}
.hub-enter {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold);
  white-space: nowrap;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}

/* Catalog list */
.catalog-hero {
  padding: 132px 0 36px;
  border-bottom: 1px solid var(--line);
}
.wrap { max-width: 1380px; margin: 0 auto; padding: 0 40px; }
.crumb {
  font-size: 11px;
  letter-spacing: 1.6px;
  color: var(--muted);
  margin-bottom: 18px;
}
.crumb a { color: var(--gold); text-decoration: none; }
.catalog-hero h1 {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 300;
  letter-spacing: 2px;
}
.catalog-hero .en-line {
  margin: 8px 0 18px;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
}
.catalog-hero p {
  max-width: 640px;
  color: var(--muted);
  font-size: 14.5px;
}
.count-tag { color: var(--gold); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 48px 0 80px;
}
.p-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  color: inherit;
  width: 100%;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 380px;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.p-card:hover { transform: translateY(-4px); border-color: rgba(192, 160, 122, 0.45); }
.p-fig {
  aspect-ratio: 4 / 3;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 16px 28px;
}
.p-fig img { max-width: 100%; max-height: 100%; object-fit: contain; }
.p-body { padding: 18px 20px 20px; }
.p-num { font-size: 10px; letter-spacing: 2px; color: var(--gold); }
.p-body h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  margin: 4px 0 6px;
}
.p-size {
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

/* Detail stage (位于顶栏之上，彻底解决遮挡问题) */
.detail {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1000 !important;
  display: none;
}
.detail.open { display: block !important; }
.detail-mask {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.detail-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(920px, 100%);
  height: 100%;
  background: #161616;
  border-left: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  overflow: auto;
}
.detail-photo {
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-in;
}
.detail-photo img { max-width: 100%; max-height: calc(100vh - 80px); object-fit: contain; }
.detail-copy { padding: 48px 40px; }
.detail-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(192, 160, 122, 0.4);
  color: var(--gold);
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
}
.detail-code { font-size: 11px; letter-spacing: 3px; color: var(--gold); }
.detail-copy h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  margin: 8px 0 24px;
}
.spec-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.spec-row dt { color: var(--gold); letter-spacing: 1px; font-size: 11px; }
.spec-row dd { color: var(--ink); line-height: 1.6; }
.spec-line { display: block; margin-bottom: 4px; }
.spec-line:last-child { margin-bottom: 0; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
  background: #0c0c0c;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr auto;
  gap: 32px;
  align-items: start;
}
.ft-logo { height: 42px; margin-bottom: 12px; }
.ft-muted { color: var(--muted); font-size: 12px; }
.ft-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ft-cols h4 { font-size: 10px; letter-spacing: 2px; color: var(--gold); margin-bottom: 8px; }
.ft-cols p, .ft-cols a { color: var(--muted); font-size: 12.5px; text-decoration: none; }
.qr-pair { display: flex; gap: 14px; }
.qr-pair img { width: 92px; height: 92px; background: #fff; padding: 5px; border-radius: 4px; }
.qr-pair figcaption { text-align: center; font-size: 10px; color: var(--muted); margin-top: 6px; }



.zoombox {
  position: fixed !important;
  inset: 0 !important;
  z-index: 3000 !important;
  background: rgba(8, 8, 8, 0.96) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.zoombox.open { display: flex; }
.zoombox img { max-width: 92vw; max-height: 90vh; object-fit: contain; }

@media (max-width: 1024px) {
  .site-nav { display: none; }
  .hub-title { font-size: 22px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .detail-panel { grid-template-columns: 1fr; }
  .footer-grid, .ft-cols { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hub-grid { grid-template-columns: 1fr; height: auto; }
  .hub-door { height: 72vh; min-height: 420px; }
  .product-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 20px; }
  .catalog-hero h1 { font-size: 32px; }
}


/* ==========================================================================
   PORTAL / HERO & SHOWCASE (方案 1: 意式奢居大牌展厅门户)
   ========================================================================== */
.portal-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 140px 24px 100px;
}
.portal-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.62);
  transform: scale(1.02);
  animation: heroKenBurns 20s infinite alternate ease-in-out;
}
@keyframes heroKenBurns {
  from { transform: scale(1.02); }
  to { transform: scale(1.07); }
}
.portal-hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(18, 18, 18, 0.15) 0%, rgba(18, 18, 18, 0.82) 75%),
              linear-gradient(to bottom, rgba(12, 12, 12, 0.45) 0%, rgba(18, 18, 18, 0.1) 40%, #121212 100%);
  pointer-events: none;
}
.portal-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}
.portal-hero-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 22px;
  font-weight: 600;
}
.portal-hero-title {
  font-family: var(--serif);
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 300;
  letter-spacing: 4px;
  line-height: 1.18;
  margin-bottom: 22px;
  color: #fff;
}
.portal-hero-desc {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 660px;
  margin: 0 auto 40px;
  letter-spacing: 0.6px;
}
.portal-hero-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
}
.portal-hero-cue .cue-line {
  width: 42px;
  height: 1px;
  background: var(--gold);
}

/* Collections Showcase */
.portal-section {
  padding: 100px 0 60px;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 36px;
  padding-right: 36px;
}
.section-header-center {
  text-align: center;
  margin-bottom: 60px;
}
.section-kicker {
  display: block;
  font-size: 11px;
  letter-spacing: 3.5px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}
.section-title {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--ink);
}
.section-sub {
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 10px;
}

.coll-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}
@media (max-width: 900px) {
  .coll-showcase-grid { grid-template-columns: 1fr; }
}

.coll-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}
.coll-card:hover {
  border-color: rgba(192, 160, 122, 0.55);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.65);
}
.coll-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #101012;
}
.coll-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.2s var(--ease), filter 0.5s;
}
.coll-card:hover .coll-visual img {
  transform: scale(1.06);
  filter: brightness(1.06);
}
.coll-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}
.coll-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  background: rgba(14, 14, 14, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 10.5px;
  letter-spacing: 2px;
  padding: 5px 14px;
  font-weight: 600;
  border-radius: 2px;
}
.coll-count {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  background: rgba(14, 14, 14, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 2px;
}
.coll-content {
  padding: 32px 36px 36px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.coll-en {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.coll-title {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 300;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  color: #fff;
}
.coll-intro {
  font-size: 13.8px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 28px;
  flex-grow: 1;
}
.coll-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.coll-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  transition: transform 0.3s ease, color 0.3s;
}
.coll-card:hover .coll-cta {
  color: #fff;
  transform: translateX(6px);
}

/* Brand Philosophy & Craftsmanship Section */
.portal-philosophy-section {
  padding: 90px 0 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.4) 0%, rgba(14, 14, 14, 0.9) 100%);
}
.phil-container {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
  padding: 0 32px;
}
.phil-quote {
  font-family: var(--serif);
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 1.2px;
  color: var(--ink);
  margin-bottom: 30px;
}
.phil-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 64px;
}
.phil-author .name {
  font-size: 13px;
  letter-spacing: 2.5px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
}
.phil-author .loc {
  font-size: 11px;
  letter-spacing: 1.8px;
  color: var(--muted);
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  text-align: left;
}
@media (max-width: 800px) {
  .metrics-grid { grid-template-columns: 1fr; }
}
.metric-item {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.metric-val {
  font-family: var(--serif);
  font-size: 42px;
  color: var(--gold);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 10px;
}
.metric-lbl {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
  margin-bottom: 6px;
}
.metric-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* Craft Detail Grid */
.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
@media (max-width: 850px) {
  .craft-grid { grid-template-columns: 1fr; }
}
.craft-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.craft-card .craft-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.craft-card .craft-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.craft-card:hover .craft-img img {
  transform: scale(1.05);
}
.craft-card-body {
  padding: 22px 24px;
}
.craft-card-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 6px;
}
.craft-card-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}


/* Fix: Scroll margin for card anchor navigation */
.p-card {
  scroll-margin-top: 100px;
}

/* Nav Link smooth underline transition */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}
.nav-link.is-on::after {
  transform: scaleX(1);
}


/* ==========================================================================
   SILKY SMOOTH LUXURY TRANSITIONS (Apple / Minotti Fluid UI)
   ========================================================================== */

/* 1. Page Entry Transition (DO NOT put transform on body, otherwise position:fixed header loses viewport context!) */
body {
  opacity: 0;
  animation: pageFadeIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* 2. Page Exit Transition */
body.page-leaving {
  opacity: 0 !important;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* 3. In-Catalog Category Smooth SPA Crossfade */
.catalog-content-wrapper {
  transition: opacity 0.26s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.26s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.catalog-content-wrapper.is-switching {
  opacity: 0 !important;
  transform: translateY(12px) scale(0.992);
  filter: blur(4px);
  pointer-events: none;
}

/* 4. Product Cards Stagger Reveal Animation */
.p-card {
  animation: cardFadeUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes cardFadeUp {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 5. Language Crossfade & Dissolve */
.portal-hero-content,
.section-header-center,
.coll-content,
.phil-container,
.craft-card-body,
.catalog-hero,
.p-body,
.detail-copy,
.ft-cols {
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.lang-dissolving {
  opacity: 0.08 !important;
  transform: translateY(4px);
  filter: blur(3px) !important;
}



/* 7. Navigation Link Smooth Underline Glide */
.site-nav .nav-link {
  position: relative;
  padding: 8px 0;
  transition: color 0.25s ease;
}
.site-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 8px rgba(192, 160, 122, 0.6);
}
.site-nav .nav-link.is-on::after {
  transform: scaleX(1);
}
.site-nav .nav-link:hover::after {
  transform: scaleX(0.4);
}
.site-nav .nav-link.is-on:hover::after {
  transform: scaleX(1);
}


/* Language Switch - 100% 还原原版一体式经典方框造型 (带极简平滑过渡) */
.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}
.lang-btn {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 6px 12px;
  cursor: pointer;
  line-height: 1.2;
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.lang-btn:hover {
  color: #fff;
}
.lang-btn.active {
  color: #fff;
  background: rgba(192, 160, 122, 0.22);
}


/* ==========================================================================
   LUXURY INDEX DRAWER (极速直达 + 实时搜索 + 双列网格)
   ========================================================================== */
.drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  width: min(520px, 100%) !important;
  height: 100vh !important;
  background: #141416 !important;
  border-left: 1px solid var(--line) !important;
  z-index: 2001 !important;
  display: flex !important;
  flex-direction: column !important;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 0 !important;
  box-shadow: -12px 0 45px rgba(0, 0, 0, 0.75);
  box-sizing: border-box;
}
.drawer.open {
  transform: translateX(0) !important;
}
.drawer-mask {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.68) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000 !important;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.drawer-mask.open {
  display: block !important;
  opacity: 1 !important;
}
.drawer-head {
  padding: 24px 28px 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.drawer-head h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 1.5px;
  color: #fff;
  margin: 4px 0 0;
}

/* 搜索框 */
.drawer-search-wrap {
  padding: 14px 28px;
  position: relative;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  flex-shrink: 0;
}
.drawer-search-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 10px 36px 10px 14px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.5px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.drawer-search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(192, 160, 122, 0.25);
}
.drawer-search-wrap .search-icon {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  opacity: 0.5;
  pointer-events: none;
}

/* 分类直达标签 Tab */
.drawer-tabs {
  display: flex;
  gap: 6px;
  padding: 12px 28px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: rgba(18, 18, 20, 0.95);
  scrollbar-width: none;
  flex-shrink: 0;
}
.drawer-tabs::-webkit-scrollbar { display: none; }
.drawer-tab {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  padding: 6px 11px;
  cursor: pointer;
  line-height: 1.2;
  transition: all 0.2s ease;
}
.drawer-tab:hover {
  color: #fff;
  border-color: rgba(192, 160, 122, 0.4);
}
.drawer-tab.active {
  background: rgba(192, 160, 122, 0.16);
  border-color: var(--gold);
  color: var(--gold);
  font-weight: 600;
  box-shadow: 0 0 10px rgba(192, 160, 122, 0.2);
}

/* 抽屉产品网格与双列布局 */
#drawerBody {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px 28px 48px;
  scrollbar-width: thin;
  scrollbar-color: rgba(192, 160, 122, 0.4) transparent;
}
.drawer-cat {
  margin-bottom: 28px;
}
.drawer-cat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(192, 160, 122, 0.3);
}
.drawer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (max-width: 480px) {
  .drawer-grid { grid-template-columns: 1fr; }
}
.drawer-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  text-decoration: none;
  color: var(--ink);
  font-size: 12.5px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.drawer-item:hover {
  background: rgba(192, 160, 122, 0.14);
  border-color: rgba(192, 160, 122, 0.45);
  color: #fff;
  transform: translateY(-1px);
}
.drawer-item .item-code {
  color: var(--gold);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.drawer-item .item-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: rgba(244, 241, 234, 0.85);
}
.drawer-no-results {
  text-align: center;
  padding: 48px 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 1px;
}


/* ==========================================================================
   ARCHITECTURAL EDITORIAL HERO (意式左对齐画报 · 原版烫金直达 · 典雅宋体诗篇)
   ========================================================================== */
.portal-hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  border-radius: 0 !important;
  box-sizing: border-box;
}

.portal-hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 0 !important;
}
.portal-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  border-radius: 0 !important;
}

/* 电影级微光暗角（突出左侧文字与右侧实木光影） */
.portal-hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 8, 10, 0.94) 0%, rgba(8, 8, 10, 0.78) 40%, rgba(8, 8, 10, 0.22) 75%, rgba(8, 8, 10, 0.35) 100%),
              linear-gradient(to bottom, rgba(8, 8, 10, 0.55) 0%, transparent 20%, transparent 70%, rgba(8, 8, 10, 0.98) 100%);
  border-radius: 0 !important;
}

/* 左对齐建筑级排版容器 */
.hero-arch-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 120px 48px 60px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.hero-arch-text {
  max-width: 720px;
  text-align: left;
}

.hero-arch-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3.5px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-arch-kicker .kicker-line {
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero-arch-title {
  font-family: var(--serif);
  font-size: clamp(48px, 6.5vw, 84px);
  font-weight: 300;
  letter-spacing: 4px;
  color: #ffffff;
  line-height: 1.12;
  margin: 0 0 14px;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.7);
  text-align: left;
}

.hero-arch-en-script {
  font-size: 11.5px;
  letter-spacing: 4.5px;
  color: rgba(192, 160, 122, 0.9);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 26px;
  text-align: left;
}

/* 换用高定典雅宋体（Noto Serif SC 300，轻盈呼吸感） */
.hero-arch-manifesto {
  font-family: "Noto Serif SC", "Songti SC", "Source Han Serif SC", serif;
  font-weight: 300;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 2.1;
  letter-spacing: 2px;
  color: rgba(244, 241, 234, 0.88);
  margin-bottom: 44px;
  max-width: 580px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
  text-align: left;
}

/* 一开始原版的纯粹烫金字体直达 (无任何背景色块，纯净金线呼应) */
.portal-hero-cue {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.portal-hero-cue:hover {
  color: #ffffff;
  transform: translateX(4px);
}
.portal-hero-cue .cue-line {
  width: 32px;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s ease, background-color 0.35s ease;
}
.portal-hero-cue:hover .cue-line {
  width: 48px;
  background: #ffffff;
}
