/*
Theme Name: jinchao
Description: 瑾超奢石 Jinchao Stone 官网主题
Version: 1.0
Text Domain: jinchao
*/

/* ============================================
   瑾超奢石 Jinchao Stone — 官网样式表
   设计风格：极简高端 / 侘寂意式轻奢
   ============================================ */

/* ========== CSS 变量定义 ========== */
:root {
  /* 主色调 */
  --color-bg: #F5F1EB;           /* 暖米白基底 */
  --color-brand: #A68C70;        /* 浅咖品牌色 */
  --color-dark: #1A1A1A;         /* 炭黑深色 */
  --color-text: #3D3D3D;         /* 正文文字色 */
  --color-text-light: #888888;   /* 辅助文字色 */
  --color-white: #FFFFFF;
  --color-border: rgba(166, 140, 112, 0.15);

  /* 字体 */
  --font-zh: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-en: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* 间距 */
  --section-padding: 140px 0;
  --container-max: 1280px;

  /* 动效 */
  --transition-smooth: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.3s ease;
}

/* ========== 全局重置与基础样式 ========== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-zh);
  font-weight: 300;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.8;
  overflow-x: hidden;
}

/* 容器 */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 60px;
}

/* 通用板块标签 */
.section-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 24px;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ============================================
   一、顶部导航 Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 60px;
  transition: var(--transition-fast);
}

/* 滚动后Header变化 */
.header.scrolled {
  background-color: rgba(245, 241, 235, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 60px;
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* 左侧：汉堡 + LOGO */
.header-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* 汉堡菜单按钮 */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 28px;
  height: 28px;
  padding: 4px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 1.2px;
  background-color: var(--color-dark);
  transition: var(--transition-fast);
  transform-origin: center;
}

/* 汉堡激活态（X形） */
.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(7.2px) rotate(45deg);
}
.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-7.2px) rotate(-45deg);
}

/* LOGO 图片 */
.logo {
  display: block;
}

.logo-img {
  height: 84px;
  width: auto;
  object-fit: contain;
}

/* 中间留白 */
.header-center {
  flex: 1;
}

/* ===== 语言切换器（桌面端） ===== */
.lang-switcher-desktop {
  position: relative;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
  background: transparent;
}

.lang-toggle:hover {
  border-color: var(--color-brand);
}

.lang-current {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--color-dark);
}

.lang-arrow {
  transition: transform 0.3s ease;
}

.lang-switcher-desktop.open .lang-arrow {
  transform: rotate(180deg);
}

/* 语言下拉框 */
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  background: var(--color-white);
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition-fast);
  overflow: hidden;
}

.lang-switcher-desktop.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  width: 100%;
  padding: 12px 20px;
  text-align: left;
  font-size: 13px;
  font-weight: 300;
  color: var(--color-text-light);
  transition: var(--transition-fast);
  font-family: var(--font-zh);
}

.lang-option:hover {
  background-color: rgba(166, 140, 112, 0.06);
  color: var(--color-text);
}

.lang-option.active {
  color: var(--color-brand);
  font-weight: 400;
}

/* ============================================
   二、全屏侧边导航
   ============================================ */
.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  pointer-events: none;
}

.side-nav.open {
  pointer-events: auto;
}

/* 遮罩层 */
.side-nav-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.4);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.side-nav.open .side-nav-overlay {
  opacity: 1;
}

/* 侧边面板 */
.side-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 85vw;
  height: 100%;
  background: var(--color-white);
  padding: 80px 50px 50px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.side-nav.open .side-nav-panel {
  transform: translateX(0);
}

/* 关闭按钮 */
.side-nav-close {
  position: absolute;
  top: 32px;
  right: 32px;
  padding: 8px;
  opacity: 0.5;
  transition: var(--transition-fast);
}

.side-nav-close:hover {
  opacity: 1;
}

/* 导航链接列表 */
.side-nav-links {
  list-style: none;
  margin-top: 40px;
}

.side-nav-links li {
  margin-bottom: 8px;
}

.side-nav-links a {
  display: block;
  font-size: 28px;
  font-weight: 200;
  color: var(--color-dark);
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-fast);
  letter-spacing: 2px;
}

.side-nav-links a:hover {
  color: var(--color-brand);
  padding-left: 12px;
}

/* 移动端语言切换（内置在折叠菜单） */
.lang-switcher-mobile {
  margin-top: auto;
  padding-top: 40px;
  padding-bottom: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.lang-mobile-label {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.lang-mobile-options {
  display: flex;
  gap: 12px;
  position: relative;
  z-index: 10;
}

.lang-mobile-btn {
  flex: 1;
  padding: 16px 20px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-light);
  transition: var(--transition-fast);
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  position: relative;
  z-index: 10;
}

.lang-mobile-btn:hover {
  border-color: var(--color-brand);
}

.lang-mobile-btn.active {
  background-color: var(--color-dark);
  color: var(--color-white);
  border-color: var(--color-dark);
}

/* ============================================
   三、Hero 首屏全屏大图
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 26, 0.15) 0%,
    rgba(26, 26, 26, 0.35) 50%,
    rgba(26, 26, 26, 0.55) 100%
  );
}

/* Hero 内容居中 */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--color-white);
  z-index: 10;
  width: 90%;
  max-width: 800px;
}

.hero-title {
  margin-bottom: 28px;
}

.hero-title-zh {
  display: block;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 200;
  letter-spacing: 12px;
  line-height: 1.3;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.hero-title-en {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(12px, 1.5vw, 16px);
  font-weight: 200;
  letter-spacing: 6px;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 12px;
}

.hero-subtitle {
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 300;
  letter-spacing: 3px;
  opacity: 0.8;
  margin-bottom: 48px;
}

/* CTA 按钮 */
.hero-cta {
  display: inline-block;
  padding: 16px 48px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  transition: var(--transition-fast);
  border-radius: 2px;
}

.hero-cta:hover {
  background: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-white);
}

/* 滑动指示器 */
.hero-indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.indicator {
  width: 30px;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
  transition: var(--transition-fast);
  cursor: pointer;
  border-radius: 1px;
}

.indicator.active {
  width: 50px;
  background: var(--color-white);
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* 向下滚动提示动画 */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: none; /* 与 indicators 二选一，默认隐藏 */
}

.scroll-hint span {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollHint 2s infinite;
}

@keyframes scrollHint {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   四、品牌理念 About
   ============================================ */
.about {
  padding: var(--section-padding);
  background: var(--color-bg);
}

.about-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 200;
  letter-spacing: 6px;
  color: var(--color-dark);
  line-height: 1.4;
  margin-bottom: 12px;
}

.about-subtitle {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 3px;
  color: var(--color-text-light);
  margin-bottom: 70px;
  text-transform: uppercase;
}

.about-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text p {
  font-size: 15px;
  line-height: 2.2;
  color: var(--color-text);
  margin-bottom: 24px;
  font-weight: 300;
}

.about-p-en {
  font-family: var(--font-en);
  font-size: 13px !important;
  line-height: 2 !important;
  color: var(--color-text-light) !important;
  font-style: italic;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

/* 数据统计 */
.about-stats {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 50px 0;
  border-left: 1px solid var(--color-border);
  padding-left: 50px;
}

.stat-item {
  text-align: left;
}

.stat-num {
  display: block;
  font-family: var(--font-en);
  font-size: 42px;
  font-weight: 200;
  color: var(--color-brand);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--color-text-light);
  letter-spacing: 2px;
  font-weight: 300;
}

/* ============================================
   五、明星产品 Products
   ============================================ */
.products {
  padding: var(--section-padding);
  background: var(--color-white);
}

.products-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 200;
  letter-spacing: 6px;
  color: var(--color-dark);
  line-height: 1.4;
  margin-bottom: 12px;
}

.products-subtitle {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 3px;
  color: var(--color-text-light);
  margin-bottom: 80px;
  text-transform: uppercase;
}

/* 产品网格 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* 产品卡片 */
.product-card {
  group: true;
  cursor: pointer;
}

.product-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin-bottom: 24px;
  border-radius: 2px;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-img {
  transform: scale(1.04);
}

.product-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.2) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

.product-card:hover .product-img-overlay {
  opacity: 1;
}

.product-info {
  padding: 0 4px;
}

.product-name-zh {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.product-name-en {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--color-text-light);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.product-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  padding: 4px 14px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  color: var(--color-brand);
  text-transform: uppercase;
}

/* ============================================
   六、页脚 Footer
   ============================================ */
.footer {
  padding: 100px 0 50px;
  background: var(--color-dark);
  color: rgba(245, 241, 235, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 70px;
}

.footer-logo-img {
  height: 90px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
}

.footer-desc {
  margin-top: 20px;
  font-size: 13px;
  line-height: 2;
  color: rgba(245, 241, 235, 0.45);
  max-width: 280px;
}

.footer-heading {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--color-brand);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-text {
  font-size: 13px;
  line-height: 2;
  color: rgba(245, 241, 235, 0.5);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-bottom p {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(245, 241, 235, 0.3);
}

/* ============================================
   七、响应式适配
   ============================================ */

/* 平板及以下 */
@media (max-width: 1024px) {
  .container {
    padding: 0 40px;
  }

  .header {
    padding: 20px 40px;
  }

  .header.scrolled {
    padding: 14px 40px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-stats {
    flex-direction: row;
    justify-content: space-around;
    border-left: none;
    border-top: 1px solid var(--color-border);
    padding-left: 0;
    padding-top: 40px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

/* 手机端 */
@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  .container {
    padding: 0 24px;
  }

  .header {
    padding: 18px 24px;
  }

  .header.scrolled {
    padding: 14px 24px;
  }

  /* 桌面端语言切换器在手机上隐藏 */
  .lang-switcher-desktop {
    display: none;
  }

.logo-img {
  height: 64px;
}

  /* Hero 移动端调整 */
  .hero-title-zh {
    letter-spacing: 6px;
  }

  .hero-title-en {
    letter-spacing: 3px;
  }

  .hero-cta {
    padding: 14px 36px;
    font-size: 11px;
  }

  /* 品牌理念移动端 */
  .about-title {
    letter-spacing: 3px;
  }

  .about-subtitle {
    margin-bottom: 40px;
  }

  .about-stats {
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
  }

  .stat-num {
    font-size: 32px;
  }

  /* 产品移动端单列 */
  .product-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .products-title {
    letter-spacing: 3px;
  }

  .products-subtitle {
    margin-bottom: 50px;
  }

  /* 页脚移动端 */
  .footer {
    padding: 60px 0 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: auto;
  }

  /* 侧边导航移动端更宽 */
  .side-nav-panel {
    width: 85vw;
    padding: 80px 32px 40px;
  }

  .side-nav-links a {
    font-size: 22px;
    letter-spacing: 1px;
  }
}

/* 超小屏 */
@media (max-width: 480px) {
  .hero-title-zh {
    font-size: 26px;
    letter-spacing: 4px;
  }

  .about-title {
    font-size: 24px;
  }

  .products-title {
    font-size: 24px;
  }
}

/* ============================================
   八、辅助工具类与动画
   ============================================ */

/* 淡入动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

/* 选中文本颜色 */
::selection {
  background: var(--color-brand);
  color: var(--color-white);
}

/* 滚动条美化 */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-brand);
}

/* ============================================
   九、场地实拍展示 Site Gallery & Showcase
   ============================================ */

/* 品牌理念下方的场地实拍（三图横排） */
.site-gallery {
  margin-top: 60px;
}

.site-gallery-label {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 24px;
  opacity: 0.7;
}

.site-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.site-gallery-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.site-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.site-gallery-item:hover .site-gallery-img {
  transform: scale(1.03);
}

.site-gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
  color: #fff;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 300;
}

/* 明星产品区域的场地实拍（一大两小布局） */
.site-showcase {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  margin-bottom: 56px;
}

.showcase-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
}

.showcase-main {
  grid-row: 1 / 3;
  aspect-ratio: 4/3;
}

.showcase-sub-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.showcase-sub-grid .showcase-item {
  flex: 1;
  min-height: 0;
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.showcase-item:hover .showcase-img {
  transform: scale(1.02);
}

.showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px 18px;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
  color: #fff;
  transition: opacity 0.3s ease;
}

.showcase-item:hover .showcase-overlay {
  opacity: 0.9;
}

.showcase-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  padding: 4px 12px;
  background: rgba(166, 140, 112, 0.85);
  border-radius: 2px;
  margin-bottom: 8px;
}

.showcase-desc {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 1px;
  line-height: 1.5;
  opacity: 0.92;
}

/* 紧凑模式的产品网格 */
.product-grid-compact {
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 16px !important;
}

.product-grid-compact .product-card {
  border: none !important;
}

.product-grid-compact .product-info {
  padding: 8px 4px 0 !important;
}

.product-grid-compact .product-name-zh {
  font-size: 11px !important;
}

.product-grid-compact .product-name-en {
  font-size: 8px !important;
  display: none;
}

.product-grid-compact .product-img-wrapper {
  aspect-ratio: 1 !important;
  border-radius: 3px !important;
}

/* 场地实拍响应式 */
@media (max-width: 900px) {
  .site-gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .site-showcase {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    margin-bottom: 40px;
  }

  .showcase-main {
    grid-row: auto;
    aspect-ratio: 16/10;
  }

  .showcase-sub-grid {
    flex-direction: row;
    gap: 12px;
  }

  .showcase-sub-grid .showcase-item {
    aspect-ratio: 4/3;
  }

  .product-grid-compact {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
  }
}

/* ============================================
   工厂实拍轮播图
   ============================================ */

.factory-showcase {
  padding: 0;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.factory-slider {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  max-height: 800px;
  overflow: hidden;
  background: #111;
}

.factory-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.factory-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  pointer-events: none;
}

.factory-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.factory-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* 指示器 */
.factory-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.factory-dot {
  width: 36px;
  height: 4px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.5s ease;
  border: none;
  padding: 0;
}

.factory-dot.active {
  background: rgba(255, 255, 255, 0.9);
  width: 48px;
}

.factory-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* 左右箭头 */
.factory-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
}

.factory-slider:hover .factory-arrow {
  opacity: 1;
}

.factory-prev { left: 24px; }
.factory-next { right: 24px; }

.factory-arrow:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
}

/* 移动端适配 - 平板 */
@media (max-width: 768px) {
  .factory-slider {
    height: 50vh;
    min-height: 320px;
  }

  .factory-arrow {
    width: 40px;
    height: 40px;
    font-size: 22px;
    opacity: 1;
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.4);
  }

  .factory-prev { left: 10px; }
  .factory-next { right: 10px; }

  .factory-dots {
    bottom: 20px;
    gap: 8px;
  }

  .factory-dot {
    width: 28px;
    height: 4px;
    border-radius: 2px;
  }

  .factory-dot.active {
    width: 40px;
  }
}

/* 超小屏手机 */
@media (max-width: 480px) {
  .factory-slider {
    height: 45vh;
    min-height: 280px;
  }

  .factory-arrow {
    width: 34px;
    height: 34px;
    font-size: 18px;
    border-width: 1px;
  }

  .factory-prev { left: 8px; }
  .factory-next { right: 8px; }

  .factory-dots {
    bottom: 14px;
    gap: 6px;
  }

  .factory-dot {
    width: 22px;
    height: 3px;
  }

  .factory-dot.active {
    width: 32px;
  }
}
