/* ============================================
   SONDER. - 复古机车企业官网
   Design System & Global Styles
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:ital,wght@0,700;0,800;0,900;1,700;1,800;1,900&family=Special+Elite&family=Oswald:wght@300;400;500;600;700&family=Permanent+Marker&family=Roboto+Condensed:wght@300;400;700&family=Noto+Serif+SC:wght@400;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* --- CSS Variables --- */
:root {
  /* Core Colors */
  --bg-deep: #0a0705;
  --bg-dark: #100c09;
  --bg-medium: #1a1410;
  --bg-light: #221a14;
  --bg-card: #17120e;

  /* Brown Tones */
  --brown-900: #1a0f08;
  --brown-800: #2a1810;
  --brown-700: #3e2723;
  --brown-600: #4e342e;
  --brown-500: #5d4037;
  --brown-400: #6d4c41;
  --brown-300: #795548;
  
  /* Metallic Tones */
  --metal-dark: #3e3530;
  --metal-mid: #5d5048;
  --metal: #8d6e63;
  --metal-light: #a1887f;
  --metal-lighter: #bcaaa4;
  
  /* Copper / Bronze Accents */
  --copper: #a0541a;
  --copper-light: #c8810a;
  --bronze: #8b6b3d;
  --bronze-light: #b8963e;
  --gold: #c4a047;
  --gold-light: #d4af37;
  --rust: #8b4513;
  --rust-light: #c76621;

  /* Text Colors */
  --text-primary: #e8e0d5;
  --text-secondary: #c4b9a8;
  --text-muted: #8a7e72;
  --text-dark: #5c5248;

  /* Font Families */
  --font-heading: 'Bebas Neue', 'Noto Serif SC', sans-serif;
  --font-heading-alt: 'Oswald', 'Noto Sans SC', sans-serif;
  --font-display: 'Barlow Condensed', 'Bebas Neue', 'Noto Sans SC', sans-serif;
  --font-accent: 'Special Elite', 'Noto Serif SC', monospace;
  --font-body: 'Roboto Condensed', 'Noto Sans SC', sans-serif;
  /* MarkerFelt is macOS-only; Permanent Marker is the closest web-safe marker-style font */
  --font-marker: 'Permanent Marker', 'Marker Felt', 'MarkerFelt-Wide', 'MarkerFelt', cursive;

  /* Spacing */
  --section-padding: 100px 0;
  --section-padding-mobile: 60px 0;
  --container-max: 1280px;
  --container-padding: 24px;

  /* Borders & Radii */
  --border-metal: 1px solid var(--metal);
  --border-copper: 1px solid var(--copper);
  --border-light: 1px solid rgba(232, 224, 213, 0.08);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-copper: 0 4px 24px rgba(160, 84, 26, 0.2);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index */
  --z-nav: 1000;
  --z-overlay: 900;
  --z-modal: 1100;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-deep);
  overflow-x: hidden;
}

/* Texture overlay on body */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.03) 2px,
      rgba(0, 0, 0, 0.03) 4px
    );
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.8rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.6rem); }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--copper-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

/* --- Section Helpers --- */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-dark {
  background-color: var(--bg-dark);
}

.section-medium {
  background-color: var(--bg-medium);
}

.section-label {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  color: var(--copper-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 16px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--copper), var(--copper-light), transparent);
  margin-top: 16px;
}

.section-title.centered {
  text-align: center;
}

.section-title.centered::after {
  margin: 16px auto 0;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 48px;
}

.section-subtitle.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* --- Decorative Divider --- */
.divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--metal), var(--copper), var(--metal), transparent);
  margin: 0;
}

.divider-vertical {
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg, var(--copper), transparent);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 36px;
  font-family: var(--font-heading-alt);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--copper), var(--copper-light));
  color: var(--bg-deep);
  border: 1px solid var(--copper-light);
  box-shadow: var(--shadow-copper);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--copper-light), var(--copper));
  color: var(--bg-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(200, 129, 10, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--copper-light);
  border: 1px solid var(--copper-light);
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(200, 129, 10, 0.1), transparent);
  transition: left var(--transition-slow);
}

.btn-outline:hover {
  color: var(--copper-light);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn-outline:hover::before {
  left: 100%;
}

.btn-light {
  background: rgba(232, 224, 213, 0.1);
  color: var(--text-primary);
  border: 1px solid rgba(232, 224, 213, 0.2);
}

.btn-light:hover {
  background: rgba(232, 224, 213, 0.2);
  border-color: rgba(232, 224, 213, 0.4);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 48px;
  font-size: 1.1rem;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-nav);
  padding: 0;
  transition: all var(--transition-base);
  background: rgba(10, 7, 5, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(141, 110, 99, 0.15);
}

.navbar.scrolled {
  background: rgba(10, 7, 5, 0.95);
  border-bottom: 1px solid rgba(141, 110, 99, 0.25);
  box-shadow: var(--shadow-lg);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  margin: 0;
  padding: 0 var(--container-padding) 0 48px;
  height: 75px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-brand-logo {
  height: 48px;
  width: auto;
  display: block;
  /* Invert the near-black logo to light tone for the dark navigation bar */
  filter: invert(1) brightness(1.2) contrast(1.1);
  transition: filter var(--transition-base), transform var(--transition-base);
}

.nav-brand-logo:hover {
  filter: invert(1) brightness(1.4) contrast(1.2) drop-shadow(0 0 14px rgba(200, 129, 10, 0.4));
  transform: translateY(-1px);
}

.nav-brand-text {
  display: flex;
  align-items: center;
  line-height: 1;
}

/* "SONDER.WORKS" wordmark — bold, angular, italic display typeface */
.nav-brand-text.brand-wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 3rem;
  color: var(--copper-light);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
  display: inline-block;
  white-space: nowrap;
  transition: color var(--transition-base), text-shadow var(--transition-base);
  /* Subtle metallic sheen — soft glow reminiscent of brushed steel */
  text-shadow: 0 0 20px rgba(200, 129, 10, 0.12);
}

.nav-brand-text.brand-wordmark .line-1,
.nav-brand-text.brand-wordmark .line-2 {
  display: inline;
}

.nav-brand:hover .brand-wordmark {
  color: var(--copper-light);
  text-shadow: 0 0 18px rgba(200, 129, 10, 0.25);
}

.nav-brand-text .brand-tagline {
  font-size: 0.65rem;
  color: var(--copper-light);
  letter-spacing: 0.2em;
  font-family: var(--font-accent);
  text-transform: uppercase;
}

/* Footer brand logo */
.footer-brand-logo {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-heading-alt);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--copper-light);
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--copper-light);
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(10, 7, 5, 0.7) 0%,
    rgba(10, 7, 5, 0.4) 50%,
    rgba(10, 7, 5, 0.85) 100%
  );
}

.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(160, 84, 26, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(200, 129, 10, 0.08) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
}

.hero-label {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  color: var(--copper-light);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 20px;
  display: block;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: 1.15;
  padding-top: 0.12em;
  margin-bottom: 24px;
  min-height: clamp(5.6rem, 14vw, 12.5rem);
  animation: fadeInUp 1s ease-out 0.2s both;
  background: linear-gradient(180deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title span {
  display: block;
  font-size: 0.5em;
  font-family: var(--font-accent);
  color: var(--copper-light);
  -webkit-text-fill-color: var(--copper-light);
  letter-spacing: 0.2em;
  margin-top: 8px;
}

/* Compact variant for slides with longer text */
.hero-title.compact {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}
.hero-title.compact span {
  font-size: 0.46em;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
  animation: fadeInUp 1s ease-out 0.4s both;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-dots {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--metal-light);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-base);
}

.hero-dot.active,
.hero-dot:hover {
  background: var(--copper-light);
  border-color: var(--copper-light);
}

.hero-arrows {
  position: absolute;
  top: 50%;
  left: 30px;
  right: 30px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  z-index: 3;
  pointer-events: none;
}

.hero-arrow {
  pointer-events: auto;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(232, 224, 213, 0.2);
  background: rgba(10, 7, 5, 0.4);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
  font-size: 1.2rem;
}

.hero-arrow:hover {
  background: rgba(160, 84, 26, 0.4);
  border-color: var(--copper-light);
}

.hero-scroll {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: var(--font-accent);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--copper-light), transparent);
}

/* --- Intro Section --- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-image-wrap {
  position: relative;
  margin-left: 30px;
}

.intro-image-wrap::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--copper);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.intro-image-wrap img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  width: 100%;
  height: 450px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.intro-text h3 {
  margin-bottom: 20px;
  font-size: 1.6rem;
  font-family: var(--font-heading-alt);
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.intro-text p {
  margin-bottom: 16px;
  line-height: 1.9;
}

.intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid rgba(141, 110, 99, 0.2);
}

.intro-stat {
  text-align: center;
}

.intro-stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--copper-light);
  line-height: 1;
  display: block;
}

.intro-stat-label {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 8px;
}

/* --- Featured Cases --- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  height: 380px;
  background: var(--bg-card);
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.case-card:hover img {
  transform: scale(1.08);
}

.case-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 24px 24px;
  background: linear-gradient(180deg, rgba(10, 7, 5, 0.55) 0%, rgba(10, 7, 5, 0.88) 30%, rgba(10, 7, 5, 0.95) 100%);
  transition: all var(--transition-base);
}

.case-card:hover .case-overlay {
  padding-bottom: 36px;
}

.case-category {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  color: var(--copper-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.case-title {
  font-family: var(--font-heading-alt);
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-transform: none;
  letter-spacing: 0.02em;
}

.case-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Services Highlights --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 40px 28px;
  background: var(--bg-card);
  border: var(--border-light);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--copper), var(--copper-light));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.service-card:hover {
  border-color: var(--metal);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border: 2px solid var(--metal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.service-card:hover .service-icon {
  border-color: var(--copper-light);
  background: rgba(160, 84, 26, 0.1);
  box-shadow: 0 0 30px rgba(160, 84, 26, 0.15);
}

.service-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--copper-light);
  fill: none;
  stroke-width: 1.5;
}

.service-card h4 {
  font-family: var(--font-heading-alt);
  font-size: 1.1rem;
  margin-bottom: 12px;
  text-transform: none;
  letter-spacing: 0.03em;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  padding: var(--section-padding);
  background: var(--bg-dark);
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(160, 84, 26, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(200, 129, 10, 0.06) 0%, transparent 50%);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  margin-bottom: 16px;
}

.cta-content p {
  max-width: 500px;
  margin: 0 auto 36px;
  font-size: 1.1rem;
}

/* --- Footer --- */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(141, 110, 99, 0.15);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer h4 {
  font-family: var(--font-heading-alt);
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--text-primary);
  letter-spacing: 0.08em;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 6px 0;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--copper-light);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--copper-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

/* 每个平台一组：二维码在上，图标按钮在下 */
.qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-social .qr-thumb {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(141, 110, 99, 0.35);
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.footer-social .qr-thumb:hover {
  transform: translateY(-3px);
  border-color: var(--copper-light);
  box-shadow: 0 6px 16px rgba(160, 84, 26, 0.35);
}

.footer-social .qr-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* 平台图标按钮 */
.footer-social .qr-icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(141, 110, 99, 0.35);
  border-radius: 50%;
  background: rgba(20, 16, 12, 0.55);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.footer-social .qr-icon-btn:hover {
  border-color: var(--copper-light);
  color: var(--copper-light);
  background: rgba(160, 84, 26, 0.15);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(141, 110, 99, 0.1);
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ================================================
   ABOUT PAGE
   ================================================ */

.page-hero {
  position: relative;
  height: 55vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 7, 5, 0.8) 0%, rgba(10, 7, 5, 0.5) 50%, rgba(10, 7, 5, 0.9) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-hero-content h1 {
  margin-bottom: 12px;
}

.page-hero-breadcrumb {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  color: var(--copper-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.page-hero-breadcrumb a {
  color: var(--text-muted);
}

.page-hero-breadcrumb a:hover {
  color: var(--copper-light);
}

.page-hero-breadcrumb span {
  margin: 0 8px;
  color: var(--text-muted);
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
  transition: all var(--transition-base);
}

.team-card:hover {
  transform: translateY(-8px);
}

.team-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid var(--metal);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.team-card:hover .team-photo {
  border-color: var(--copper);
  box-shadow: 0 8px 30px rgba(160, 84, 26, 0.25);
}

.team-name {
  font-family: var(--font-heading-alt);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
  text-transform: none;
}

.team-role {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  color: var(--copper-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 48px 32px;
  background: var(--bg-card);
  border: var(--border-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.value-card:hover {
  border-color: var(--copper);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border: 2px solid var(--metal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-card:hover .value-icon {
  border-color: var(--copper-light);
  box-shadow: 0 0 30px rgba(160, 84, 26, 0.15);
}

.value-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--copper-light);
}

.value-card h4 {
  font-family: var(--font-heading-alt);
  font-size: 1.2rem;
  margin-bottom: 12px;
  text-transform: none;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ================================================
   SERVICES PAGE
   ================================================ */

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}

.service-detail:last-child {
  margin-bottom: 0;
}

.service-detail.reverse .service-detail-image {
  order: -1;
}

.service-detail-image {
  position: relative;
}

.service-detail-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.service-detail-image::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--copper);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.service-detail.reverse .service-detail-image::before {
  left: auto;
  right: -16px;
}

.service-detail-content {
  padding-left: 0;
}

.service-detail-content h3 {
  margin-bottom: 16px;
  font-family: var(--font-heading-alt);
  text-transform: none;
  letter-spacing: 0.02em;
}

.service-detail-content p {
  margin-bottom: 20px;
  line-height: 1.9;
  color: var(--text-secondary);
}

.service-features {
  list-style: none;
  margin-bottom: 24px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.service-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--copper-light);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 35px;
  right: -12px;
  width: 24px;
  height: 2px;
  background: var(--metal);
}

.process-number {
  width: 70px;
  height: 70px;
  border: 2px solid var(--copper);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--copper-light);
  background: var(--bg-dark);
  position: relative;
  z-index: 1;
}

.process-step h4 {
  font-family: var(--font-heading-alt);
  font-size: 1rem;
  margin-bottom: 8px;
  text-transform: none;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ================================================
   CONTACT PAGE
   ================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  margin-bottom: 24px;
  font-family: var(--font-heading-alt);
  text-transform: none;
  letter-spacing: 0.02em;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border: 1px solid var(--metal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--copper-light);
}

.contact-info-label {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  color: var(--copper-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.contact-info-value {
  color: var(--text-primary);
  font-size: 1rem;
}

.contact-business-hours {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(141, 110, 99, 0.15);
}

.contact-business-hours h4 {
  font-family: var(--font-heading-alt);
  font-size: 1rem;
  margin-bottom: 12px;
}

.contact-business-hours p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  border: var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form h3 {
  font-family: var(--font-heading-alt);
  font-size: 1.4rem;
  margin-bottom: 28px;
  text-transform: none;
  letter-spacing: 0.02em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(232, 224, 213, 0.04);
  border: 1px solid rgba(141, 110, 99, 0.25);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--copper-light);
  background: rgba(232, 224, 213, 0.06);
  box-shadow: 0 0 0 3px rgba(160, 84, 26, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dark);
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

/* Map Section */
.map-section {
  padding: 0;
  height: 400px;
  position: relative;
  background: var(--bg-dark);
}

#mapContainer {
  width: 100%;
  height: 100%;
  z-index: 1;
  background: var(--bg-dark);
}

/* Dark brown tint on map tiles */
#mapContainer .leaflet-tile-pane {
  filter: invert(1) hue-rotate(180deg) brightness(0.82) contrast(1.15) sepia(0.3) saturate(1.4);
}

/* Custom marker */
.map-marker-icon {
  background: transparent;
  border: none;
}

.map-marker-pin {
  width: 32px;
  height: 32px;
  position: relative;
  transform: translateX(-50%);
}

.map-marker-pin svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.map-marker-pulse {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(200, 129, 10, 0.3);
  border: 2px solid var(--copper-light);
  animation: mapPulse 2s ease-out infinite;
}

@keyframes mapPulse {
  0% {
    transform: translateX(-50%) scale(0.8);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) scale(2);
    opacity: 0;
  }
}

.map-overlay-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--copper);
  color: #fff;
  font-size: 0.85rem;
  font-family: var(--font-accent);
  border-radius: 4px;
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.map-overlay-btn:hover {
  background: var(--copper-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.leaflet-popup-content-wrapper {
  background: var(--bg-medium);
  color: var(--text-light);
  border-radius: 4px;
  border: 1px solid var(--copper);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.leaflet-popup-content {
  font-family: var(--font-base);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 12px 16px;
}

.leaflet-popup-content strong {
  color: var(--copper-light);
  font-family: var(--font-accent);
  letter-spacing: 0.05em;
}

.leaflet-popup-tip {
  background: var(--bg-medium);
  border: 1px solid var(--copper);
}

.leaflet-popup-close-button {
  color: var(--text-muted) !important;
  font-size: 18px !important;
  padding: 6px 8px 0 0 !important;
}

.leaflet-popup-close-button:hover {
  color: var(--copper-light) !important;
}

.leaflet-control-attribution {
  background: rgba(26, 24, 22, 0.8) !important;
  color: var(--text-muted) !important;
  font-size: 0.7rem !important;
}

.leaflet-control-attribution a {
  color: var(--copper-light) !important;
}

.leaflet-bar a {
  background: var(--bg-medium) !important;
  color: var(--text-light) !important;
  border-color: rgba(184, 149, 106, 0.2) !important;
}

.leaflet-bar a:hover {
  background: var(--bg-dark) !important;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  background: 
    linear-gradient(135deg, rgba(141, 110, 99, 0.05) 25%, transparent 25%),
    linear-gradient(225deg, rgba(141, 110, 99, 0.05) 25%, transparent 25%),
    linear-gradient(315deg, rgba(141, 110, 99, 0.05) 25%, transparent 25%),
    linear-gradient(45deg, rgba(141, 110, 99, 0.05) 25%, transparent 25%);
  background-size: 20px 20px;
  background-color: var(--bg-medium);
  border-top: 1px solid rgba(141, 110, 99, 0.15);
  border-bottom: 1px solid rgba(141, 110, 99, 0.15);
}

.map-placeholder svg {
  width: 48px;
  height: 48px;
  stroke: var(--copper-light);
  opacity: 0.5;
}

.map-placeholder p {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.map-placeholder span {
  font-size: 0.8rem;
  color: var(--text-dark);
}

/* ================================================
   ANIMATIONS
   ================================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(200, 129, 10, 0.3);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(200, 129, 10, 0);
  }
}

/* Scroll Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .intro-image-wrap {
    order: -1;
    margin-left: 0;
  }

  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .service-detail.reverse .service-detail-image {
    order: 0;
  }

  .service-detail.reverse .service-detail-image::before {
    left: -16px;
    right: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--section-padding-mobile);
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-brand {
    gap: 10px;
  }

  .nav-brand-logo {
    height: 38px;
  }

  .nav-brand-text.brand-wordmark {
    font-size: 1.5rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 7, 5, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
    backdrop-filter: blur(20px);
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .intro-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .hero-arrows {
    display: none;
  }

  .hero-slide {
    padding-top: 12vh;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
    min-height: clamp(4.5rem, 18vw, 6.5rem);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .intro-stats {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }

  .intro-stat-number {
    font-size: 1.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-brand-logo {
    height: 34px;
  }

  .nav-brand-text.brand-wordmark {
    font-size: 1.25rem;
  }

  .navbar-inner {
    padding: 0 16px 0 0;
  }
}

/* ============================================
   Work Detail Lightbox
   ============================================ */
.work-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox-stage {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0 80px;
  box-sizing: border-box;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  background: #0a0705;
}

.lightbox-caption {
  color: var(--metal-light);
  font-family: var(--font-accent);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.lightbox-counter {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--copper);
  border-radius: 999px;
  background: rgba(10, 7, 5, 0.6);
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  z-index: 2;
  background: rgba(10, 7, 5, 0.7);
  border: 1px solid var(--copper);
  color: var(--metal-light);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
}

.lightbox-close:hover,
.lightbox-arrow:hover {
  background: var(--copper);
  color: var(--bg-primary);
  border-color: var(--copper-light);
  transform: scale(1.05);
}

.lightbox-close {
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
}

.lightbox-arrow:hover {
  transform: translateY(-50%) scale(1.05);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .lightbox-stage {
    padding: 0;
    max-width: 95vw;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }

  .lightbox-arrow {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-image {
    max-height: 70vh;
  }
}

/* ============================================
   Footer Social QR Modal
   ============================================ */
.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.qr-modal.active {
  display: flex;
  opacity: 1;
}

.qr-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.qr-modal-card {
  position: relative;
  z-index: 1;
  margin: auto;
  background: var(--bg-secondary);
  border: 1px solid var(--copper);
  border-radius: var(--radius-md);
  padding: 20px;
  max-width: 380px;
  width: calc(100% - 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-lg);
  transform: scale(0.96);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.qr-modal.active .qr-modal-card {
  transform: scale(1);
}

.qr-modal-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--metal-light);
  text-align: center;
  margin: 0;
}

.qr-modal-image-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-modal-image {
  width: 100%;
  max-width: 340px;
  max-height: 460px;
  object-fit: contain;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 12px;
  box-sizing: border-box;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.qr-modal-image[hidden] {
  display: none;
}

.qr-modal-placeholder {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  background: rgba(232, 224, 213, 0.04);
  border: 1px dashed rgba(141, 110, 99, 0.5);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text-muted);
  box-sizing: border-box;
}

.qr-modal-placeholder[hidden] {
  display: none;
}

.qr-modal-placeholder svg {
  opacity: 0.45;
  color: var(--copper);
}

.qr-modal-placeholder-text {
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  font-family: var(--font-heading);
  text-transform: uppercase;
}

.qr-modal-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  text-align: center;
  margin: 0;
  letter-spacing: 0.05em;
}

.qr-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(141, 110, 99, 0.3);
  border-radius: 50%;
  background: transparent;
  color: var(--metal-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  transition: all 0.25s ease;
  padding: 0;
}

.qr-modal-close:hover {
  background: var(--copper);
  border-color: var(--copper-light);
  color: var(--bg-primary);
}

@media (max-width: 480px) {
  .qr-modal-card {
    padding: 16px;
    gap: 14px;
  }

  .qr-modal-image,
  .qr-modal-placeholder {
    max-width: 240px;
  }

  .qr-modal-title {
    font-size: 1rem;
  }
}

/* ============================================
   Blog Page
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--bg-card);
  border: 1px solid rgba(138, 126, 114, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.blog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  padding: 26px 24px 30px;
}

.blog-card-meta {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper-light);
}

.blog-card-title {
  font-family: var(--font-heading-alt);
  font-size: 1.25rem;
  color: var(--text-primary);
  margin: 10px 0 12px;
  letter-spacing: 0.02em;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Language Switcher
   ============================================ */
.lang-switch {
  position: relative;
  margin-left: 20px;
  flex-shrink: 0;
}

.lang-switch-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(141, 110, 99, 0.35);
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  color: var(--text-secondary);
  font-family: var(--font-heading-alt);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.lang-switch-btn:hover {
  color: var(--text-primary);
  border-color: var(--copper-light);
}

.lang-flag {
  width: 21px;
  height: 14px;
  display: block;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.lang-flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

.lang-switch-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(16, 12, 9, 0.97);
  border: 1px solid rgba(141, 110, 99, 0.25);
  border-radius: 8px;
  padding: 6px;
  min-width: 150px;
  display: none;
  z-index: 1002;
  backdrop-filter: blur(12px);
}

.lang-switch.open .lang-switch-menu {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  color: var(--text-secondary);
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: var(--font-heading-alt);
  letter-spacing: 0.04em;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.lang-option:hover {
  background: rgba(200, 129, 10, 0.15);
  color: var(--text-primary);
}

.lang-option.active {
  color: var(--copper-light);
}

@media (max-width: 768px) {
  .lang-switch {
    margin-left: 12px;
  }

  .lang-switch-btn .lang-code {
    display: none;
  }

  .lang-switch-btn {
    padding: 6px 8px;
  }
}

/* ============================================
   Map Store Switcher
   ============================================ */
.map-store-switch {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
  display: inline-flex;
  background: rgba(16, 12, 9, 0.92);
  border: 1px solid rgba(141, 110, 99, 0.35);
  border-radius: 6px;
  padding: 4px;
  backdrop-filter: blur(8px);
}

.map-store-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading-alt);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding: 8px 18px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.map-store-btn:hover {
  color: var(--text-light);
}

.map-store-btn.active {
  background: var(--copper);
  color: #fff;
}

@media (max-width: 480px) {
  .map-store-btn {
    padding: 7px 12px;
    font-size: 0.78rem;
  }
}

/* ============================================
   Contact Page QR Code
   ============================================ */
.contact-qr {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-qr-thumb {
  width: 110px;
  height: 110px;
  border: 1px solid rgba(141, 110, 99, 0.35);
  border-radius: 10px;
  background: #ffffff;
  padding: 6px;
  display: block;
  flex-shrink: 0;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.contact-qr-thumb:hover {
  border-color: var(--copper-light);
  transform: translateY(-2px);
}

.contact-qr-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.contact-qr-hint {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

@media (max-width: 480px) {
  .contact-qr-thumb {
    width: 90px;
    height: 90px;
  }
}

/* ================================================
   BLOG ARTICLE (DETAIL)
   ================================================ */

.article-page {
  background: var(--bg-dark);
  color: var(--text-primary);
}

.article-hero {
  position: relative;
  min-height: 64vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-dark);
}

.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,7,5,.35) 0%, rgba(10,7,5,.55) 55%, rgba(10,7,5,.95) 100%);
  z-index: 1;
}

.article-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 80px 24px 56px;
}

.article-tag {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(200, 129, 10, .14);
  color: var(--copper-light);
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(200, 129, 10, .4);
  border-radius: 2px;
  margin-bottom: 22px;
}

.article-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.1;
  color: #fff;
  margin: 0 0 18px;
  letter-spacing: 0.01em;
}

.article-dek {
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.7;
  color: rgba(255, 255, 255, .82);
  max-width: 720px;
  margin: 0 0 26px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-family: var(--font-accent);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
}

.article-meta span:not(:last-child)::after {
  content: '·';
  margin-left: 18px;
  color: var(--copper-light);
  opacity: .7;
}

/* Body */
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 88px 24px 32px;
  font-size: 17px;
  line-height: 1.9;
  color: #d6cdc1;
}

.article-body p { margin: 0 0 1.5em; }
.article-body strong { font-weight: 600; }

.article-body h2 {
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1.25;
  color: #d6cdc1;
  margin: 2.2em 0 0.7em;
  position: relative;
  padding-left: 18px;
  letter-spacing: 0.02em;
}

.article-body h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: linear-gradient(180deg, var(--copper), var(--copper-light));
  border-radius: 1px;
}

.article-body h3 {
  font-family: var(--font-heading-alt);
  font-size: 20px;
  color: var(--copper-light);
  margin: 1.6em 0 0.6em;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.article-pullquote {
  margin: 2.6em -8px;
  padding: 26px 28px;
  border-left: 3px solid var(--copper-light);
  background: rgba(200, 129, 10, .12);
  font-size: 25px;
  line-height: 1.55;
  color: #fff;
  font-style: italic;
  border-radius: 0 4px 4px 0;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .55);
}

.article-pullquote cite {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-style: normal;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-figure {
  margin: 2.6em -8%;
}

.article-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, .06);
}

.article-figure figcaption {
  font-family: var(--font-accent);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
  letter-spacing: 0.08em;
}

.article-figure--wide {
  margin-left: -14%;
  margin-right: -14%;
}

.article-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,129,10,.45), transparent);
  margin: 3em auto;
  max-width: 220px;
}

/* Photo Gallery */
.article-gallery {
  margin: 3em 0 0;
  padding-top: 2.2em;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.article-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 1.6em;
}

.article-gallery-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, .06);
}

@media (max-width: 560px) {
  .article-gallery-grid { grid-template-columns: 1fr; }
}

/* Comments */
.article-comments {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 24px 8px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.article-comments-title {
  font-family: var(--font-heading);
  font-size: 26px;
  color: #fff;
  margin: 0 0 6px;
}

.article-comments-count {
  color: var(--copper-light);
  font-size: 18px;
  margin-left: 6px;
}

.article-comments-hint {
  color: rgba(214, 205, 193, .65);
  font-size: 14px;
  margin: 0 0 22px;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comment-input,
.comment-textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(214, 205, 193, .25);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
  outline: none;
  transition: border-color var(--transition-base), background var(--transition-base);
}

.comment-input:focus,
.comment-textarea:focus {
  border-color: var(--copper-light);
  background: rgba(255, 255, 255, .08);
}

.comment-input::placeholder,
.comment-textarea::placeholder {
  color: rgba(214, 205, 193, .4);
}

.comment-textarea {
  resize: vertical;
  min-height: 96px;
}

.comment-submit {
  align-self: flex-start;
  padding: 12px 34px;
  background: transparent;
  border: 1px solid var(--copper-light);
  color: var(--copper-light);
  font-family: inherit;
  font-size: 15px;
  letter-spacing: .08em;
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base);
}

.comment-submit:hover {
  background: var(--copper-light);
  color: #14100c;
}

.comment-list {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-item {
  padding: 16px 18px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 4px;
}

.comment-item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.comment-item-name {
  color: var(--copper-light);
  font-weight: 600;
  font-size: 15px;
}

.comment-item-time {
  color: rgba(214, 205, 193, .45);
  font-size: 12.5px;
}

.comment-item-text {
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.comment-empty {
  color: rgba(214, 205, 193, .45);
  font-size: 14.5px;
  font-style: italic;
  text-align: center;
  padding: 26px 0 10px;
  margin: 0;
}

/* ---- one-level replies ---- */
.comment-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comment-replies {
  margin-left: 16px;
  padding-left: 14px;
  border-left: 2px solid rgba(200, 129, 10, .35);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comment-item--reply {
  background: rgba(255, 255, 255, .025);
  padding: 12px 14px;
}

/* highlight the comment currently being replied to */
.comment-item--target {
  border-color: rgba(200, 129, 10, .55);
  background: rgba(200, 129, 10, .06);
}

.comment-reply-badge {
  color: rgba(200, 129, 10, .85);
  font-size: 13px;
  font-weight: 500;
  margin-right: 8px;
}

.comment-item-actions {
  margin-top: 8px;
}

.comment-reply-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--copper-light);
  opacity: .7;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}

.comment-reply-btn:hover {
  opacity: 1;
  text-decoration: underline;
}

.comment-replying {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
  background: rgba(200, 129, 10, .08);
  border: 1px solid rgba(200, 129, 10, .35);
  border-radius: 4px;
  color: var(--text-primary);
  font-size: 14px;
}

.comment-replying b {
  color: var(--copper-light);
}

.comment-replying-cancel {
  background: none;
  border: none;
  padding: 0 4px;
  color: rgba(214, 205, 193, .6);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.comment-replying-cancel:hover {
  color: var(--text-primary);
}

/* Author */
.article-author {
  max-width: 760px;
  margin: 56px auto 0;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.article-author-mark {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--copper), var(--copper-light));
  color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
}

.article-author-name {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

.article-author-role {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* Prev/Next */
.article-nav {
  max-width: 880px;
  margin: 0 auto;
  padding: 64px 24px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.article-nav-link {
  display: block;
  padding: 22px 24px;
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
  transition: all .25s ease;
}

.article-nav-link:hover {
  background: rgba(200, 129, 10, .08);
  border-color: var(--copper-light);
  transform: translateY(-2px);
}

.article-nav-link.is-empty {
  visibility: hidden;
  pointer-events: none;
}

.article-nav-direction {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  color: var(--copper-light);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.article-nav-title {
  font-family: var(--font-heading-alt);
  font-size: 17px;
  color: #fff;
  line-height: 1.4;
}

.article-back {
  text-align: center;
  padding: 16px 24px 80px;
}

.article-back a {
  display: inline-block;
  padding: 12px 28px;
  color: var(--copper-light);
  text-decoration: none;
  font-family: var(--font-accent);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--copper-light);
  border-radius: 2px;
  transition: all .25s ease;
}

.article-back a:hover {
  background: var(--copper-light);
  color: var(--bg-dark);
}

/* Drop cap on the first paragraph of the article body */
.article-body > p:first-of-type::first-letter {
  font-family: var(--font-heading);
  float: left;
  font-size: 64px;
  line-height: 0.85;
  padding: 6px 10px 0 0;
  color: var(--copper-light);
  font-weight: 700;
}

@media (max-width: 900px) {
  .article-figure { margin-left: 0; margin-right: 0; }
  .article-figure--wide { margin-left: 0; margin-right: 0; }
}

@media (max-width: 720px) {
  .article-body { font-size: 16px; padding: 56px 20px 24px; line-height: 1.85; }
  .article-body h2 { font-size: 24px; }
  .article-pullquote { font-size: 18px; margin: 2em 0; }
  .article-nav { grid-template-columns: 1fr; padding: 40px 20px 16px; }
  .article-hero-inner { padding: 60px 20px 40px; }
}

/* ============================================================
   SHOP (商店) — 展示 + 添加微信确认库存
   ============================================================ */

body.no-scroll { overflow: hidden; }

.shop-intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.shop-intro-item {
  border: var(--border-light);
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 24px;
}

.shop-intro-item .shop-intro-num {
  font-family: var(--font-heading);
  font-size: 30px;
  color: var(--copper-light);
  display: block;
  margin-bottom: 6px;
  line-height: 1;
}

.shop-intro-item h4 {
  font-family: var(--font-heading-alt);
  font-size: 1rem;
  letter-spacing: 0.06em;
  margin: 0 0 6px;
  color: var(--text-primary);
}

.shop-intro-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

.shop-notice {
  border: 1px solid rgba(200, 129, 10, 0.32);
  background: rgba(160, 84, 26, 0.09);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 44px;
}

.shop-notice svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--copper-light);
}

.shop-notice p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.shop-notice strong {
  color: var(--copper-light);
  font-weight: 400;
}

/* ---- category filter ---- */
.shop-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
  align-items: center;
}

.shop-filter-btn {
  appearance: none;
  background: transparent;
  border: var(--border-light);
  color: var(--text-muted);
  font-family: var(--font-heading-alt);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.shop-filter-btn:hover {
  color: var(--copper-light);
  border-color: var(--copper);
}

.shop-filter-btn.active {
  background: linear-gradient(135deg, var(--copper), var(--copper-light));
  border-color: var(--copper-light);
  color: var(--bg-deep);
}

/* ---- product grid ---- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.shop-card {
  border: var(--border-light);
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.45s ease;
}

.shop-card.in { opacity: 1; }

.shop-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 129, 10, 0.5);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.shop-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-medium);
  cursor: pointer;
}

.shop-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.shop-card:hover .shop-card-media img { transform: scale(1.05); }

.shop-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-heading-alt);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(16, 12, 9, 0.8);
  border: 1px solid rgba(200, 129, 10, 0.55);
  color: var(--copper-light);
}

.shop-badge.is-out {
  border-color: rgba(232, 224, 213, 0.28);
  color: var(--text-muted);
}

.shop-card-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.shop-card-cat {
  font-family: var(--font-accent);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.shop-card-title {
  font-family: var(--font-heading-alt);
  font-size: 1.08rem;
  color: var(--text-primary);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.shop-card-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 18px;
  flex: 1;
}

.shop-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: var(--border-light);
  padding-top: 16px;
}

.shop-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--copper-light);
  letter-spacing: 0.03em;
  line-height: 1;
}

.shop-price small {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-left: 5px;
  letter-spacing: 0;
}

.shop-add {
  appearance: none;
  border: 1px solid var(--copper-light);
  background: transparent;
  color: var(--copper-light);
  font-family: var(--font-heading-alt);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease;
}

.shop-add:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--copper), var(--copper-light));
  color: var(--bg-deep);
}

.shop-add:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  border-color: var(--metal);
  color: var(--text-muted);
}

/* ---- floating cart button ---- */
.cart-fab {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 1480;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--copper-light);
  background: linear-gradient(135deg, var(--copper), var(--copper-light));
  color: var(--bg-deep);
  font-family: var(--font-heading-alt);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease;
}

.cart-fab:hover { transform: translateY(-3px); }
.cart-fab svg { width: 18px; height: 18px; }

.cart-fab-count {
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--bg-deep);
  color: var(--copper-light);
  font-size: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

/* ---- overlays ---- */
.cart-backdrop,
.shop-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 3, 2, 0.74);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-backdrop { z-index: 1500; }
.shop-modal-backdrop { z-index: 1520; }
.cart-backdrop.open,
.shop-modal-backdrop.open,
.shop-modal.open .shop-modal-backdrop { opacity: 1; visibility: visible; }

/* ---- cart drawer ---- */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100%);
  z-index: 1501;
  background: var(--bg-dark);
  border-left: var(--border-light);
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-drawer.open { transform: translateX(0); }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: var(--border-light);
}

.cart-head h3 {
  margin: 0;
  font-family: var(--font-heading-alt);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.cart-close {
  appearance: none;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.cart-close:hover { color: var(--copper-light); }

.cart-list {
  flex: 1;
  overflow-y: auto;
  padding: 6px 24px;
}

.cart-empty {
  color: var(--text-muted);
  font-size: 0.88rem;
  text-align: center;
  padding: 64px 12px;
  line-height: 1.8;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  padding: 18px 0;
  border-bottom: var(--border-light);
  align-items: start;
}

.cart-item-media {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-medium);
}

.cart-item-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item-name { font-size: 0.9rem; color: var(--text-primary); margin-bottom: 5px; line-height: 1.45; }
.cart-item-price { font-size: 0.84rem; color: var(--copper-light); font-family: var(--font-heading); letter-spacing: 0.04em; }

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 10px;
}

.qty-stepper button {
  appearance: none;
  background: none;
  border: none;
  width: 28px;
  height: 26px;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
}

.qty-stepper button:hover { color: var(--copper-light); background: rgba(200, 129, 10, 0.12); }
.qty-stepper span { min-width: 30px; text-align: center; font-size: 0.84rem; color: var(--text-primary); }

.cart-remove {
  appearance: none;
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 0.74rem;
  cursor: pointer;
  letter-spacing: 0.06em;
  padding: 2px 0;
}

.cart-remove:hover { color: #d95c4a; }

.cart-foot {
  border-top: var(--border-light);
  padding: 20px 24px 26px;
}

.cart-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cart-total-row span {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cart-total-row strong {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  color: var(--copper-light);
  font-weight: 400;
  line-height: 1;
}

.cart-hint {
  font-size: 0.76rem;
  color: var(--text-dark);
  margin: 0 0 16px;
  line-height: 1.65;
}

.cart-checkout {
  width: 100%;
  appearance: none;
  border: 1px solid var(--copper-light);
  background: linear-gradient(135deg, var(--copper), var(--copper-light));
  color: var(--bg-deep);
  font-family: var(--font-heading-alt);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.cart-checkout:hover { opacity: 0.9; }
.cart-checkout:disabled { opacity: 0.35; cursor: not-allowed; }

/* ---- modal shell ---- */
.shop-modal {
  position: fixed;
  inset: 0;
  z-index: 1521;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.shop-modal.open { opacity: 1; visibility: visible; }

.shop-modal-card {
  position: relative;
  width: min(760px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--bg-dark);
  border: var(--border-light);
  border-radius: var(--radius-sm);
  transform: translateY(14px);
  transition: transform 0.35s ease;
}

.shop-modal.open .shop-modal-card { transform: translateY(0); }

.shop-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 3;
  appearance: none;
  background: rgba(16, 12, 9, 0.72);
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  line-height: 1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
}

.shop-modal-close:hover { color: var(--copper-light); }

/* ---- product detail ---- */
/* 商品多为横构图实拍片（16:9），左图右文会裁掉大半张，
   所以改成「上图下文」的竖排布局，图片完整显示不裁切 */
.pd-grid { display: grid; grid-template-columns: 1fr; }
.pd-media { background: var(--bg-medium); }
.pd-media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 300px; }

/* ---- 商品图集：大图 + 缩略图条 ---- */
.pd-gallery { background: var(--bg-dark); display: flex; flex-direction: column; }

.pd-gallery-main { position: relative; background: var(--bg-dark); }
.pd-gallery-main > img {
  width: 100%;
  height: auto;
  max-height: 64vh;
  display: block;
  object-fit: contain;
  background: var(--bg-dark);
}

.pd-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  appearance: none;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(10, 7, 5, 0.62);
  color: var(--text-primary);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.pd-nav.prev { left: 12px; }
.pd-nav.next { right: 12px; }
.pd-nav:hover { background: var(--copper); color: #fff; }

.pd-count {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(10, 7, 5, 0.66);
  color: var(--text-primary);
  font-family: var(--font-heading-alt);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
}

.pd-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  border-top: var(--border-light);
}
.pd-thumb {
  appearance: none;
  padding: 0;
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  background: var(--bg-dark);
  border: 1px solid rgba(232, 224, 213, 0.12);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s ease;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb:hover { border-color: var(--metal); }
.pd-thumb.active { border-color: var(--copper-light); }

/* ---- 规格选项（颜色 / 尺码）---- */
.pd-options {
  border-top: var(--border-light);
  padding-top: 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pd-option { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pd-option-label {
  font-family: var(--font-heading-alt);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 3.4em;
}
.pd-option-values { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-opt-btn {
  appearance: none;
  background: transparent;
  border: 1px solid var(--metal);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.pd-opt-btn:hover { border-color: var(--copper-light); color: var(--text-primary); }
.pd-opt-btn.active {
  border-color: var(--copper-light);
  background: rgba(200, 129, 10, 0.14);
  color: var(--copper-light);
}

/* 购物车行 / 结算清单里的规格文字 */
.cart-item-variant {
  font-size: 0.76rem;
  color: var(--copper-light);
  letter-spacing: 0.04em;
  margin-bottom: 5px;
}
.checkout-row .v { color: #8a5a1a; margin-left: 4px; }

.pd-body { padding: 32px 30px 34px; }

.pd-cat {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.pd-title {
  font-family: var(--font-heading-alt);
  font-size: 1.45rem;
  color: var(--text-primary);
  margin: 10px 0 12px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.pd-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--copper-light);
  line-height: 1;
  margin-bottom: 18px;
}

.pd-price small { font-family: var(--font-body); font-size: 0.75rem; color: var(--text-muted); margin-left: 6px; letter-spacing: 0; }

.pd-desc {
  font-size: 0.89rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin: 0 0 20px;
}

.pd-specs { list-style: none; padding: 0; margin: 0 0 24px; }

.pd-specs li {
  font-size: 0.84rem;
  color: var(--text-muted);
  padding: 7px 0 7px 16px;
  position: relative;
  line-height: 1.6;
}

.pd-specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper-light);
}

.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pd-actions .btn, .pd-actions .shop-btn-ghost { flex: 1; min-width: 150px; }

/* ---- checkout ---- */
.checkout-card { padding: 36px 34px 32px; }

.checkout-title {
  font-family: var(--font-heading-alt);
  font-size: 1.28rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.checkout-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 26px;
  line-height: 1.75;
}

.checkout-list {
  border-top: var(--border-light);
  border-bottom: var(--border-light);
  padding: 6px 0;
  margin-bottom: 18px;
}

.checkout-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  font-size: 0.87rem;
  color: var(--text-secondary);
}

.checkout-row .q { color: var(--text-muted); }

.checkout-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 26px;
}

.checkout-total span {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.checkout-total strong {
  font-family: var(--font-heading);
  font-size: 2.05rem;
  color: var(--copper-light);
  font-weight: 400;
  line-height: 1;
}

.checkout-steps {
  border: 1px solid rgba(200, 129, 10, 0.3);
  background: rgba(160, 84, 26, 0.08);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  margin-bottom: 22px;
}

.checkout-steps h4 {
  font-family: var(--font-heading-alt);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--copper-light);
  margin: 0 0 12px;
  text-transform: uppercase;
}

.checkout-steps ol { margin: 0; padding-left: 20px; }
.checkout-steps li { font-size: 0.86rem; color: var(--text-secondary); line-height: 2; }

.checkout-qr {
  display: flex;
  align-items: center;
  gap: 20px;
  border: var(--border-light);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 24px;
}

.checkout-qr img {
  width: 132px;
  height: 132px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #fff;
}

.checkout-qr-text h5 {
  font-family: var(--font-heading-alt);
  font-size: 0.94rem;
  color: var(--text-primary);
  margin: 0 0 8px;
  letter-spacing: 0.05em;
}

.checkout-qr-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

.checkout-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.checkout-actions > * { flex: 1; min-width: 160px; text-align: center; }

.shop-btn-ghost {
  appearance: none;
  background: transparent;
  border: 1px solid var(--metal);
  color: var(--text-secondary);
  font-family: var(--font-heading-alt);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.shop-btn-ghost:hover { border-color: var(--copper-light); color: var(--copper-light); }

/* ---- toast ---- */
.shop-toast {
  position: fixed;
  left: 50%;
  bottom: 44px;
  z-index: 1600;
  background: var(--bg-light);
  border: 1px solid var(--copper);
  color: var(--text-primary);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 13px 26px;
  border-radius: 999px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 18px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  max-width: calc(100vw - 40px);
  text-align: center;
}

.shop-toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .shop-intro { grid-template-columns: 1fr; }
  .pd-grid { grid-template-columns: 1fr; }
  .pd-media img { min-height: 220px; max-height: 280px; }
  .pd-gallery-main > img { max-height: 44vh; }
  .checkout-card { padding: 30px 22px 26px; }
}

@media (max-width: 560px) {
  /* 网格/卡片/按钮的手机端覆盖见文件末尾「手机端两列紧凑网格」，
     必须放在最后才不会被子句规则盖掉，此处只留筛选区与购物车按钮 */
  .shop-filter { gap: 8px; }
  .shop-filter-btn { padding: 9px 15px; font-size: 0.74rem; }
  .cart-fab { right: 16px; bottom: 16px; padding: 12px 18px; font-size: 0.74rem; }
  .checkout-qr { flex-direction: column; text-align: center; }
  .checkout-actions > * { min-width: 100%; }
}

.checkout-orderno {
  margin: -14px 0 22px;
  font-family: var(--font-heading-alt);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--copper-light);
}

/* ============================================================
   SITE SEARCH (站内搜索)
   ============================================================ */

.nav-utils {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-utils .lang-switch { margin-left: 0; }

.nav-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(141, 110, 99, 0.35);
  border-radius: 6px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.nav-search-btn:hover {
  color: var(--text-primary);
  border-color: var(--copper-light);
}

.nav-search-btn svg { width: 16px; height: 16px; }

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2050;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 24px 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.search-overlay.open { opacity: 1; visibility: visible; }

.search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 3, 2, 0.8);
}

.search-panel {
  position: relative;
  width: min(680px, 100%);
  background: var(--bg-dark);
  border: 1px solid rgba(141, 110, 99, 0.35);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transform: translateY(-12px);
  transition: transform 0.3s ease;
}

.search-overlay.open .search-panel { transform: translateY(0); }

.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(232, 224, 213, 0.08);
}

.search-field > svg { width: 18px; height: 18px; color: var(--text-muted); flex: 0 0 auto; }

.search-field input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.search-field input::placeholder { color: var(--text-dark); }

.search-esc {
  appearance: none;
  background: rgba(232, 224, 213, 0.06);
  border: 1px solid rgba(232, 224, 213, 0.12);
  border-radius: 4px;
  color: var(--text-muted);
  font-family: var(--font-heading-alt);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  cursor: pointer;
  flex: 0 0 auto;
}

.search-esc:hover { color: var(--copper-light); border-color: var(--copper); }

.search-results { max-height: 56vh; overflow-y: auto; padding: 8px; }

.search-group-label {
  padding: 12px 14px 6px;
  font-family: var(--font-accent);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.search-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.18s ease;
}

.search-item:hover,
.search-item.is-active { background: rgba(200, 129, 10, 0.12); }

.search-item-thumb {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-medium);
}

.search-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.search-item-thumb.is-plain {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  border: 1px solid rgba(232, 224, 213, 0.08);
}

.search-item-thumb.is-plain svg { width: 18px; height: 18px; }

.search-item-main { min-width: 0; flex: 1; }

.search-item-top { display: flex; align-items: baseline; gap: 10px; }

.search-item-title {
  font-family: var(--font-heading-alt);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-item-type {
  flex: 0 0 auto;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid rgba(232, 224, 213, 0.12);
  border-radius: 3px;
  padding: 2px 6px;
}

.search-item-desc {
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-item mark {
  background: none;
  color: var(--copper-light);
  font-weight: 400;
}

.search-empty {
  padding: 44px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.9;
}

.search-empty span { color: var(--text-dark); font-size: 0.82rem; }

/* 导航项增至 7 项后，中等宽度收紧间距避免挤压 */
@media (max-width: 1200px) and (min-width: 769px) {
  .nav-links { gap: 22px; }
  .nav-links a { font-size: 0.84rem; letter-spacing: 0.06em; }
}

@media (max-width: 560px) {
  .search-overlay { padding: 8vh 12px 12px; }
  .search-results { max-height: 62vh; }
  .nav-utils { gap: 8px; }
  .nav-search-btn { width: 34px; }
  .search-item-thumb { width: 44px; height: 44px; }
}

/* ============================================================
   SHOP — 车辆筛选工具栏（品牌 / 型号 / 年份 / 搜索）
   ============================================================ */

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.shop-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 240px;
  max-width: 340px;
  height: 42px;
  padding: 0 14px;
  border: var(--border-light);
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s ease;
}

.shop-search:focus-within { border-color: var(--copper); }
.shop-search svg { width: 16px; height: 16px; color: var(--text-muted); flex: 0 0 auto; }

.shop-search input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.shop-search input::placeholder { color: var(--text-dark); }

.shop-selects {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.shop-select {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 30px 0 12px;
  border: var(--border-light);
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s ease;
}

.shop-select:focus-within { border-color: var(--copper); }

.shop-select > span {
  font-family: var(--font-heading-alt);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
  white-space: nowrap;
}

.shop-select select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-heading-alt);
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  max-width: 168px;
}

.shop-select select:disabled { color: var(--text-dark); cursor: not-allowed; }
.shop-select select option,
.shop-select select optgroup { background: #1a1410; color: #e8e0d5; }
.shop-select.is-disabled { opacity: 0.5; }

.shop-select::after {
  content: '';
  position: absolute;
  right: 13px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--copper-light);
  border-bottom: 1px solid var(--copper-light);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.shop-select.is-disabled::after { border-color: var(--metal); }

.shop-reset {
  appearance: none;
  background: transparent;
  border: 1px solid var(--metal);
  color: var(--text-muted);
  font-family: var(--font-heading-alt);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  height: 42px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.shop-reset:hover { color: var(--copper-light); border-color: var(--copper-light); }

.shop-result-meta {
  margin: 0 0 22px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--text-dark);
}

.shop-result-meta strong {
  color: var(--copper-light);
  font-weight: 400;
}

.shop-card-fit {
  margin: -10px 0 16px;
  font-family: var(--font-heading-alt);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-dark);
}

.pd-fit {
  margin: -8px 0 16px;
  font-family: var(--font-heading-alt);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--copper-light);
}

.shop-empty {
  grid-column: 1 / -1;
  border: 1px dashed rgba(141, 110, 99, 0.35);
  border-radius: var(--radius-sm);
  padding: 56px 24px;
  text-align: center;
}

.shop-empty p {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.shop-empty .shop-btn-ghost { display: inline-block; }

@media (max-width: 900px) {
  .shop-toolbar { justify-content: flex-start; }
  .shop-search { max-width: none; flex: 1 1 100%; }
}

@media (max-width: 560px) {
  .shop-selects { width: 100%; }
  .shop-select { flex: 1 1 calc(50% - 5px); justify-content: space-between; }
  .shop-select select { max-width: none; flex: 1; }
  .shop-reset { flex: 1 1 100%; }
}

/* ============================================================
   SHOP — 弹层清晰度修复（2026-09-20）
   ------------------------------------------------------------
   真正的根因有两条，都已修复：
   ① 遮罩盖在卡片上（最致命）：.shop-modal-backdrop 与 .shop-modal-card 是
      .shop-modal 的兄弟子元素。遮罩带 z-index（正向层叠组），卡片只有
      position: relative 没有 z-index（auto 层叠组）。按 CSS 绘制顺序，
      正向 z-index 组画在 auto 组之后 → **遮罩盖住了卡片**，弹层永远蒙着
      一层黑，遮罩越深越黑（这就是「一坨黑」）。见下方 .shop-modal 那组规则。
   ② 浮层被全站纹理层压住：body::before 是铺满视口的扫描线纹理，
      z-index: 9999，而浮层 z-index 只有 1500 上下。已统一抬到 102xx；
      站内其他浮层（作品灯箱 / 页头二维码 / 站内搜索 / 语言菜单）一并处理。
   ============================================================ */
.nav-toggle            { z-index: 10210; }   /* 仅在移动端媒体查询里生效 */
.lang-switch-menu      { z-index: 10220; }
.work-lightbox         { z-index: 10250; }
.search-overlay        { z-index: 10260; }
.qr-modal              { z-index: 10270; }
.cart-fab              { z-index: 10280; }
.cart-backdrop         { z-index: 10290; }
.cart-drawer           { z-index: 10300; }
.shop-modal-backdrop   { z-index: 10310; }
.shop-modal            { z-index: 10320; }
.shop-toast            { z-index: 10330; }

/* ★ ① 把卡片明确提到遮罩之上（两者在 .shop-modal 内部比较，值只需相对大小） */
.shop-modal .shop-modal-backdrop { z-index: 0; }
.shop-modal .shop-modal-card     { z-index: 1; }

/* 遮罩：中等浓度 + 轻微模糊。既能聚焦弹层，又不会把整屏压成一坨黑 */
.shop-modal-backdrop,
.cart-backdrop {
  background: rgba(6, 4, 3, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* 结算弹层：做成浅色「单据卡」。
   深色站里再放深色弹层，永远会和遮罩糊在一起 —— 这里是之前反复看不清的原因。
   浅底 + 深字，一次到位。 */
.checkout-card {
  background: linear-gradient(180deg, #f7f2e9 0%, #eae2d6 100%);
  border: 1px solid rgba(160, 84, 26, 0.42);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.62);
  color: #2a2018;
}

.checkout-card .checkout-title       { color: #1b1310; font-size: 1.5rem; }
.checkout-card .checkout-sub         { color: #6f5f4f; font-size: 0.95rem; }
.checkout-card .checkout-orderno     { color: #8a5a1a; font-size: 0.86rem; }

.checkout-card .checkout-list {
  border-top: 1px solid rgba(42, 32, 24, 0.16);
  border-bottom: 1px solid rgba(42, 32, 24, 0.16);
}
.checkout-card .checkout-row         { color: #2a2018; font-size: 0.98rem; }
.checkout-card .checkout-row .q      { color: #6b5a49; }
.checkout-card .checkout-total span  { color: #6b5a49; font-size: 0.86rem; }
.checkout-card .checkout-total strong{ color: #a0541a; font-size: 2.3rem; }

.checkout-card .checkout-steps {
  background: rgba(160, 84, 26, 0.1);
  border: 1px solid rgba(160, 84, 26, 0.34);
}
.checkout-card .checkout-steps h4    { color: #8a4a12; font-size: 0.98rem; }
.checkout-card .checkout-steps li    { color: #2a2018; font-size: 0.95rem; }

.checkout-card .checkout-qr {
  border: 1px solid rgba(42, 32, 24, 0.18);
  background: rgba(255, 255, 255, 0.55);
}
.checkout-card .checkout-qr-text h5  { color: #1b1310; font-size: 1.05rem; }
.checkout-card .checkout-qr-text p   { color: #6f5f4f; font-size: 0.9rem; }

/* 浅色卡片上，关闭按钮与次要按钮要跟着换成深色，否则看不见 */
#checkoutModal .shop-modal-close {
  background: rgba(42, 32, 24, 0.08);
  color: #2a2018;
}
#checkoutModal .shop-modal-close:hover { color: #a0541a; }
.checkout-card .shop-btn-ghost {
  border-color: rgba(42, 32, 24, 0.32);
  color: #2a2018;
}
.checkout-card .shop-btn-ghost:hover {
  border-color: #a0541a;
  color: #a0541a;
}
/* 铜色主按钮上的文字在浅底环境里保持深色，对比更足 */
.checkout-card .btn-primary {
  color: #1b1310;
  font-weight: 600;
}

/* ============================================================
   SHOP — 手机端两列紧凑网格（2026-09-24）
   ------------------------------------------------------------
   需求：手机上一屏至少能看见 4~6 件商品，淘宝式左右两列。
   做法（≤560px）：
     · 网格改 2 列；卡片瘦身——隐藏分类与描述、标题最多 2 行、
       适配信息压成 1 行省略号、价格字号缩小、内边距收紧；
     · 图片比例保持 4/3（比正方形矮），同样的屏高能多露半行；
     · 「加入购物车」变成圆形「+」（文字节点保留在 DOM 里，
       读屏与禁用态照常可读；缺货仍显示文字小标签，不误导）。
   ⚠️ 本块必须留在样式表最末尾：媒体查询不增加选择器特异性，
      放到前面会被上方同名基础规则覆盖。
   ============================================================ */
@media (max-width: 560px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* ★ 必须：grid 子项默认 min-width:auto，会被「不适配信息 nowrap」撑宽，
     导致两列加起来超出屏宽、横向溢出。归零后 1fr 才能真正平分宽度。 */
  .shop-grid > .shop-card { min-width: 0; }

  /* 触屏没有 hover，关掉位移与阴影，避免点击后残留状态 */
  .shop-card:hover { transform: none; box-shadow: none; }

  .shop-badge {
    top: 7px;
    left: 7px;
    font-size: 0.54rem;
    letter-spacing: 0.08em;
    padding: 3px 8px;
  }

  .shop-card-body { padding: 9px 10px 10px; }

  .shop-card-cat { display: none; }
  .shop-card-desc { display: none; }

  .shop-card-title {
    font-size: 0.82rem;
    line-height: 1.35;
    margin: 0 0 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .shop-card-fit {
    margin: 0 0 8px;
    font-size: 0.62rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .shop-card-foot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: auto;          /* 描述隐藏后，价格行仍贴在卡片底部 */
    padding-top: 8px;
  }

  .shop-price { font-size: 1.02rem; }
  .shop-price small { font-size: 0.58rem; margin-left: 3px; }

  /* 在售：圆形加购按钮 */
  .shop-add:not(:disabled) {
    width: 32px;
    height: 32px;
    min-width: 32px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
    letter-spacing: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--copper), var(--copper-light));
    border-color: var(--copper-light);
    color: var(--bg-deep);
  }

  .shop-add:not(:disabled)::after {
    content: '+';
    font-family: var(--font-body);
    font-size: 1.12rem;
    line-height: 1;
    letter-spacing: 0;
  }

  /* 缺货：保留文字标签（不换成 +，避免客户以为可以买） */
  .shop-add:disabled {
    width: auto;
    min-width: 0;
    padding: 5px 9px;
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }
}

/* === 灯箱加载指示（2026-10-24）：切换图片时旧图保留 + 转圈，避免空白卡死 === */
.lightbox-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 2px solid rgba(160, 84, 26, 0.28);
  border-top-color: var(--copper-light);
  border-radius: 50%;
  animation: lb-spin 0.8s linear infinite;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 3;
}

.lightbox-stage.is-loading .lightbox-spinner {
  opacity: 1;
}

.lightbox-image {
  transition: opacity 0.25s ease;
}

.lightbox-image.is-loading {
  opacity: 0.28;
}

@keyframes lb-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox-spinner { animation-duration: 2s; }
}
