*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at top, #1a1a24 0, #050509 48%, #000 100%);
  color: #f5f5f5;
  -webkit-font-smoothing: antialiased;
}

.page-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 顶部导航 */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5,5,10,0.95), rgba(5,5,10,0.75), transparent);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #f8f4e8;
  background: radial-gradient(circle at 30% 0, #f9f2d0 0, #b8871b 40%, #2c1e08 100%);
  box-shadow: 0 0 20px rgba(212,175,55,0.4);
}

.logo-mark-link {
  text-decoration: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-title {
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 11px;
  opacity: 0.6;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 13px;
  opacity: 0.9;
}

.nav-links a {
  color: #e5e5ea;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #f6e7b6, #d4af37);
  transition: width 0.2s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 顶部“产品类目”下拉 */
.nav-categories {
  position: relative;
  margin-left: 18px;
}

.nav-cat-toggle {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(10,10,15,0.7);
  color: #f5f5f5;
  cursor: pointer;
}

.nav-cat-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 130%;
  min-width: 260px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.16);
  background: radial-gradient(circle at top, rgba(26,26,36,0.98), rgba(5,5,9,0.98));
  padding: 10px 10px 8px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.85);
  z-index: 48;
}

.nav-cat-menu.is-open {
  display: block;
}

.nav-cat-item {
  padding: 8px 8px 6px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.18s ease-out;
}

.nav-cat-item:hover {
  background: rgba(255,255,255,0.05);
}

.nav-cat-item-title {
  font-size: 13px;
  margin-bottom: 2px;
}

.nav-cat-item-brands {
  font-size: 11px;
  opacity: 0.78;
}

/* 顶部按钮 */
.nav-search-btn,
.nav-cta-btn {
  font-size: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(10,10,15,0.7);
  color: #f5f5f5;
  cursor: pointer;
  text-decoration: none;
}

.nav-cta-btn {
  border-color: rgba(212,175,55,0.8);
  background: radial-gradient(circle at top, #f8f1cc 0, #d4af37 45%, #5a430f 100%);
  color: #20170c;
  font-weight: 600;
}

/* Hero 区域 */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0,0,0,0.15), rgba(0,0,0,0.82));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 20px 64px;
  color: #fdfaf3;
}

.hero-kicker {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(32px, 5vw, 46px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-desc {
  max-width: 540px;
  font-size: 14px;
  line-height: 1.65;
  opacity: 0.88;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 通用按钮 */
.primary-btn,
.ghost-btn {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.primary-btn {
  background: radial-gradient(circle at 0 0, #f8f3d4 0, #d4af37 45%, #644514 100%);
  color: #20170c;
  font-weight: 600;
  box-shadow: 0 14px 35px rgba(0,0,0,0.5);
}

.ghost-btn {
  border: 1px solid rgba(255,255,255,0.26);
  background: rgba(10,10,15,0.6);
  color: #f5f5f5;
}

/* 弹窗 */
.popup-backdrop {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0,0,0,0.85), rgba(0,0,0,0.96));
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 20px;
}

.popup-backdrop.is-open {
  display: flex;
}

.popup-card {
  max-width: 420px;
  width: 100%;
  background: radial-gradient(circle at top left, #1d1810, #050509);
  border-radius: 20px;
  border: 1px solid rgba(212,175,55,0.4);
  padding: 22px 20px 20px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: none;
  background: transparent;
  color: #f5f5f5;
  font-size: 22px;
  cursor: pointer;
}

.popup-badge {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f3e6b8;
  margin-bottom: 6px;
}

.popup-title {
  font-size: 20px;
  margin-bottom: 8px;
}

.popup-desc {
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 14px;
}

.popup-note {
  font-size: 11px;
  opacity: 0.6;
  margin-top: 8px;
}

/* 区块通用 */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 20px 36px;
}

.section-dark {
  background: radial-gradient(circle at top, rgba(34,27,20,0.95), rgba(5,5,9,0.98));
  border-radius: 24px;
  margin-top: 12px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.85);
}

.section-header {
  margin-bottom: 18px;
}

.section-header h2 {
  font-size: 22px;
  margin-bottom: 6px;
}

.section-header p {
  font-size: 13px;
  opacity: 0.78;
}

/* 横向滚动产品条 */
.product-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.product-strip::-webkit-scrollbar {
  height: 6px;
}

.product-strip::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.16);
  border-radius: 999px;
}

/* 产品卡片 */
.product-card {
  scroll-snap-align: start;
  background: radial-gradient(circle at top, rgba(255,255,255,0.06), rgba(0,0,0,0.9));
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 210px;
  max-width: 240px;
}

.product-thumb {
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(circle at top, #484545, #151515);
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.9;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-name {
  font-size: 13px;
}

.product-tagline {
  font-size: 11px;
  opacity: 0.7;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.product-price {
  font-size: 14px;
  font-weight: 600;
  color: #f5e3b8;
}

.product-price-original {
  font-size: 11px;
  text-decoration: line-through;
  opacity: 0.5;
}

.product-badge {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  align-self: flex-start;
  opacity: 0.8;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.product-actions a,
.product-actions button {
  flex: 1;
  min-width: 0;
}

/* 分类网格 */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.category-card {
  border-radius: 18px;
  padding: 14px 12px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: radial-gradient(circle at top, rgba(255,255,255,0.06), rgba(0,0,0,0.94));
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
}

.category-label {
  font-size: 13px;
  font-weight: 500;
}

.category-desc {
  font-size: 11px;
  opacity: 0.7;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.category-pill {
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  opacity: 0.75;
}

/* 服务模块 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.service-card {
  border-radius: 18px;
  padding: 16px 14px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: radial-gradient(circle at top, rgba(255,255,255,0.04), rgba(0,0,0,0.98));
  font-size: 13px;
  line-height: 1.7;
}

.service-card h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

/* 商品详情页 */
.product-page {
  margin-top: 16px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
}

.product-detail-gallery {
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(circle at top, #3a3938, #151515);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-detail-title {
  font-size: 22px;
}

.product-detail-brand {
  font-size: 13px;
  opacity: 0.8;
}

.product-detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.product-detail-desc {
  font-size: 13px;
  line-height: 1.7;
}

.product-spec-group {
  margin-top: 8px;
}

.product-spec-group label {
  font-size: 12px;
  margin-bottom: 4px;
  display: block;
}

.product-spec-select {
  width: 100%;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(5,5,10,0.9);
  color: #f5f5f5;
  font-size: 13px;
}

.product-spec-note {
  font-size: 11px;
  opacity: 0.75;
  margin-top: 4px;
}

/* 购物车提示 */
.toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.9);
  color: #f5f5f5;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(255,255,255,0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
  z-index: 80;
}

.toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* 购物车与结算页 */
.checkout-page {
  margin-top: 16px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 24px;
}

.checkout-cart h2,
.checkout-info h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.cart-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.cart-item-thumb {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  background: #222;
}

.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-main {
  font-size: 12px;
}

.cart-item-main h3 {
  font-size: 13px;
  margin-bottom: 4px;
}

.cart-item-meta {
  opacity: 0.7;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 12px;
}

.cart-item-remove {
  border: none;
  background: transparent;
  color: #f5f5f5;
  opacity: 0.8;
  font-size: 11px;
  cursor: pointer;
  text-decoration: underline;
}

.cart-summary {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-row label {
  font-size: 12px;
}

.form-row input,
.form-row textarea {
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(5,5,10,0.9);
  color: #f5f5f5;
  font-size: 13px;
}

.payment-options {
  display: flex;
  gap: 10px;
  margin: 6px 0 4px;
  flex-wrap: wrap;
}

.pay-option {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.26);
}

.pay-hint {
  font-size: 11px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.checkout-submit {
  width: 100%;
  margin-top: 4px;
}

.checkout-note {
  font-size: 11px;
  opacity: 0.75;
  margin-top: 6px;
}

.checkout-result {
  margin-top: 10px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(5,5,9,0.9);
  font-size: 12px;
  line-height: 1.6;
}

/* 页脚 */
.footer {
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 20px 16px;
  background: rgba(2,2,4,0.96);
}

.footer-top,
.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.footer-top h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.footer-top p {
  font-size: 11px;
  opacity: 0.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  font-size: 11px;
  color: #e5e5ea;
  text-decoration: none;
  opacity: 0.76;
}

.footer-bottom {
  margin-top: 6px;
  font-size: 11px;
  opacity: 0.6;
  flex-wrap: wrap;
}

.footer-bottom.single-line {
  max-width: 1120px;
}

/* 右下角联系面板（直接展开） */
.contact-panel {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 260px;
  border-radius: 18px;
  border: 1px solid rgba(212,175,55,0.7);
  background: radial-gradient(circle at top, rgba(24,24,32,0.98), rgba(5,5,9,0.98));
  padding: 10px 10px 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.9);
  z-index: 50;
}

.contact-panel-header {
  margin-bottom: 6px;
}

.contact-panel-title {
  font-size: 13px;
}

.contact-panel-sub {
  font-size: 11px;
  opacity: 0.75;
}

.contact-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.contact-btn {
  flex: 1 1 48%;
  font-size: 11px;
  padding: 6px 8px;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.26);
  background: rgba(10,10,16,0.9);
  color: #f5f5f5;
}

.contact-wa {
  border-color: #25d366;
}

.contact-ig {
  border-color: #c13584;
}

.contact-tt {
  border-color: #69c9d0;
}

.contact-mail {
  border-color: #f5e3b8;
}

/* 响应式 */
@media (max-width: 900px) {
  .nav-inner {
    padding-inline: 14px;
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
  }

  .nav-categories {
    margin-left: 0;
  }

  .product-detail {
    grid-template-columns: minmax(0, 1fr);
  }

  .checkout-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .section {
    padding-inline: 14px;
  }

  .section-dark {
    border-radius: 0;
  }

  .footer {
    padding-inline: 14px;
  }

  .contact-panel {
    right: 10px;
    left: 10px;
    width: auto;
  }
}

.nav-cart-btn {
  font-size: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(10,10,15,0.9);
  color: #f5f5f5;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ===== 追加：导航间距与中英文切换按钮 ===== */
.nav-inner {
  gap: 24px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: contain;
}

.nav-links-inline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 24px;
}

.nav-links-inline a {
  font-size: 13px;
}

.nav-lang-btn {
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(10,10,15,0.6);
  color: #f5f5f5;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links-inline {
    display: none;
  }

  .nav-categories {
    margin-left: 12px;
  }
}

/* ===== 追加：右下角浮动圆形按钮 ===== */
.contact-panel {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: auto;
  border: none;
  background: transparent;
  padding: 0;
}

.contact-fab {
  position: relative;
}

.contact-fab-main {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.8);
  background: radial-gradient(circle at 30% 0, #f9f2d0 0, #d4af37 45%, #2c1e08 100%);
  box-shadow: 0 12px 28px rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.contact-fab-main img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.contact-fab-menu {
  position: absolute;
  bottom: 70px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}

.contact-fab.is-open .contact-fab-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.contact-fab-item {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(10,10,15,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.contact-fab-item img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.fab-wa { border-color: #25D366; }
.fab-ig { border-color: #c13584; }
.fab-tt { border-color: #69c9d0; }
.fab-tg { border-color: #0088cc; }

@media (max-width: 600px) {
  .contact-panel {
    right: 14px;
    bottom: 14px;
  }
}

/* ===== 追加：类别页产品平铺网格 ===== */
body[data-page="category"] #cat-products-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  overflow: visible;
  padding-bottom: 0;
}

body[data-page="category"] #cat-products-strip .product-card {
  min-width: 0;
  max-width: none;
}

body[data-page="category"] #cat-products-strip .product-thumb {
  height: 180px;
}

/* ===== Megamenu 顶部 3 列导航 ===== */
.nav-main {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 28px;
  position: relative;
}

.nav-main-item {
  position: relative;
}

.nav-main-link {
  background: transparent;
  border: none;
  color: #e5e5ea;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 2px;
}

.nav-main-link::after {
  content: "";
  display: block;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, #f5e3b8, #d4af37);
  transition: width 0.18s ease-out;
}

.nav-main-item:hover .nav-main-link::after,
.nav-main-item.is-open .nav-main-link::after {
  width: 100%;
}

.mega-menu {
  position: absolute;
  left: 0;
  top: 150%;
  min-width: 540px;
  padding: 18px 22px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: radial-gradient(circle at top, rgba(26,26,36,0.98), rgba(5,5,9,0.98));
  box-shadow: 0 18px 48px rgba(0,0,0,0.9);
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 18px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
  z-index: 60;
}

.mega-col h4 {
  font-size: 12px;
  margin-bottom: 8px;
  color: #f5e3b8;
}

.mega-link {
  display: block;
  font-size: 11px;
  color: #f5f5f7;
  text-decoration: none;
  padding: 3px 0;
  opacity: 0.86;
}

.mega-link:hover {
  opacity: 1;
}

/* PC 悬停展开 */
@media (min-width: 901px) {
  .nav-main-item.has-mega:hover > .mega-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

/* 移动端：点击展开 */
.nav-main-item.is-open > .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav-main {
    display: none; /* 简化：可根据需要改成折叠菜单 */
  }
}
