@charset "utf-8";
/* ===================== 产品分类导航样式 ===================== */
.product-nav-mask {
  position: fixed;
  top: 74px; left: 0; width: 100%;
  height: calc(100vh - 74px);
  background: rgba(0,0,0,0.3);
  z-index: 998;
  display: none;
}
.product-nav-mask.show { display: block; }

.product-nav-wrap {
  position: fixed;
  top: 74px; left: 0; width: 100%;
  z-index: 999;
  display: none;
}
.product-nav-wrap.show { display: block; }

.product-container {
  width: 100%;
  padding: 32px 30px 24px 30px;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--anim-duration) var(--anim-ease);
  position: relative;
}
.product-container.active {
  opacity: 1;
  transform: translateY(0);
}

.nav-close-btn {
  position: absolute;
  top: 20px; right: 40px;
  width: 36px; height: 36px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border: 1px solid var(--gray-200);
}
.nav-close-btn:hover {
  background: var(--primary);
  transform: rotate(90deg);
}
.nav-close-btn:hover i { color: white; }
.nav-close-btn i {
  font-size: 18px;
  color: #1a2c3e;
  transition: color 0.2s;
}

/* 导航面板 */
.navigation-panel {
  display: flex;
  gap: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
  height: auto;
  min-height: 480px;
  max-height: 85vh;
}

/* 第一列 + 第二列：固定 450px */
.menu-column {
  flex: 0 0 450px;
  padding: 28px 0 28px 24px;
  background: #fff;
  border-right: 1px solid var(--gray-100);
  opacity: 0;
  transform: translateY(15px);
  transition: all var(--anim-duration) var(--anim-ease);
  pointer-events: none;
  display: flex;
  flex-direction: column;
}
.menu-column.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.menu-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 24px;
  padding-left: 12px;
  flex-shrink: 0;
}

.menu-items-wrapper {
  flex: 1;
  overflow-y: auto;
  padding-right: 8px;
}
.menu-items-wrapper::-webkit-scrollbar { width: 4px; }
.menu-items-wrapper::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
  color: var(--gray-700);
  background: transparent;
  transform: translateY(12px);
  animation: itemFadeIn 0.4s ease-out both;
  font-size: 20px;
}
@keyframes itemFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.menu-item:hover {
  background: var(--gray-50);
  color: var(--primary);
}
.menu-item.active {
  background: #23b17f !important;
  color: #fff !important;
  font-weight: 600;
}
.menu-item .arrow {
  font-size: 15px;
  opacity: 0.6;
}

/* 二级分类 See All */
.level2-see-all-wrapper {
  padding: 0 12px 20px 12px;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 12px;
}
.level2-see-all-wrapper .see-all-btn {
  width: 100%;
  justify-content: center;
}

/* 第三列：产品列表 + 预览 */
.product-list-section {
  flex: 1;
  display: flex;
  gap: 0;
  background: #fff;
  opacity: 0;
  transform: translateY(15px);
  transition: all var(--anim-duration) var(--anim-ease);
  pointer-events: none;
  overflow: hidden;
}
.product-list-section.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* 左栏：产品列表 */
.product-list-left {
  flex: 0 0 50%;
  border-right: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}
.product-list-left .list-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.product-list-left .list-scroll::-webkit-scrollbar { width: 4px; }
.product-list-left .list-scroll::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }

/* 产品列表标题（含 See All） */
.product-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px 12px 14px;
  border-bottom: 1px solid var(--gray-100);
  flex-shrink: 0;
  background: #fff;
}
.product-list-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-800);
}
.product-list-header .see-all-btn {
  font-size: 0.75rem;
  padding: 6px 16px;
}

/* 统一的 See All 按钮 */
.see-all-btn {
  background: transparent;
  border: 1px solid var(--primary);
  border-radius: 40px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
}
.see-all-btn:hover {
  background: var(--primary);
  color: white;
}

.product-items-wrapper {
  flex: 1;
  overflow-y: auto;
  padding: 6px 12px 16px 12px;
}
.product-items-wrapper::-webkit-scrollbar { width: 4px; }
.product-items-wrapper::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }

.product-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 1px solid var(--gray-100);
}
.product-list-item:hover {
  background: var(--gray-50);
  transform: translateX(4px);
}
.product-list-item.active {
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
}
.product-list-item .thumb {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--gray-100);
  flex-shrink: 0;
}
.product-list-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-list-item .name {
  font-weight: 500;
  color: var(--gray-800);
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-list-item .arrow-right {
  margin-left: auto;
  color: var(--gray-300);
  font-size: 14px;
  transition: transform 0.25s ease, color 0.25s ease;
}
.product-list-item:hover .arrow-right {
  color: var(--primary);
  transform: translateX(4px);
}

/* ===== 右栏：产品预览 — 仿 xiang.html 的 product-identity 风格 ===== */
.product-preview-right {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 18px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.product-preview-right::-webkit-scrollbar { width: 4px; }
.product-preview-right::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }

.preview-placeholder {
  text-align: center;
  color: var(--gray-600);
  width: 100%;
  margin-top: 40px;
}
.preview-placeholder i {
  font-size: 40px;
  color: var(--gray-300);
  margin-bottom: 10px;
}
.preview-placeholder p {
  font-size: 0.85rem;
}

.preview-content {
  width: 100%;
  animation: fadeIn 0.3s ease;
  display: flex;
  flex-direction: column;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 预览图片 - 正方形 */
.preview-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--gray-100);
  margin-bottom: 14px;
  border: 1px solid var(--gray-200);
}
.preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 型号 — 大号粗体（缩小以适应窄栏） */
.preview-model {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gray-800);
  letter-spacing: -1px;
  margin-bottom: 4px;
  line-height: 1.1;
  word-break: break-word;
}

/* 标题 */
.preview-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 8px;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

/* 副标题 — 带左侧边框（与 xiang.html 一致） */
.preview-subtitle {
  font-size: 0.8rem;
  color: var(--gray-600);
  border-left: 4px solid var(--primary);
  padding-left: 14px;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* 规格网格 — 与 xiang.html 的 spec-highlight-grid 风格一致 */
.preview-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  border: 1px solid var(--gray-200);
  margin-bottom: 16px;
}
.preview-spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.preview-spec .label {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.5px;
}
.preview-spec .value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-800);
}

/* 操作按钮 — 与 xiang.html 的 action-buttons 风格一致 */
.preview-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
}
.preview-actions .btn {
  padding: 10px 16px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.72rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
  width: 100%;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.preview-actions .btn-primary {
  background: var(--primary);
  color: white;
}
.preview-actions .btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(35,177,127,0.25);
}
.preview-actions .btn-outline {
  background: transparent;
  border: 1.5px solid var(--gray-300);
  color: var(--gray-700);
}
.preview-actions .btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--gray-50);
}
.preview-actions .btn-inquiry {
  background: transparent;
  border: 1.5px solid var(--gray-800);
  color: var(--gray-800);
}
.preview-actions .btn-inquiry:hover {
  background: var(--gray-800);
  color: white;
}

/* ===== 响应式调整 ===== */
@media (max-width: 1600px) {
  .menu-column { flex: 0 0 400px; }
}
@media (max-width: 1400px) {
  .menu-column { flex: 0 0 340px; }
}
@media (max-width: 1200px) {
  .menu-column { flex: 0 0 280px; }
  .preview-model { font-size: 1.5rem; }
  .preview-title { font-size: 1rem; }
  .preview-specs { padding: 12px 14px; gap: 6px 12px; }
}
@media (max-width: 1024px) {
  .menu-column { flex: 0 0 240px; padding-left: 16px; }
  .menu-item { font-size: 18px; }
  .product-list-left { flex: 0 0 45%; }
  .product-preview-right { flex: 0 0 55%; max-width: 55%; padding: 16px 14px; }
  .preview-model { font-size: 1.3rem; }
  .preview-title { font-size: 0.95rem; }
  .preview-specs { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .navigation-panel { flex-direction: column; height: auto; min-height: auto; max-height: 90vh; }
  .menu-column { flex: 1; border-right: none; border-bottom: 1px solid var(--gray-100); max-height: 40vh; }
  .product-list-section { flex-direction: column; }
  .product-list-left { flex: 1; border-right: none; border-bottom: 1px solid var(--gray-100); max-height: 40vh; }
  .product-preview-right { flex: 1; max-width: 100%; min-height: 300px; }
  .nav-close-btn { top: 10px; right: 16px; width: 28px; height: 28px; }
  .nav-close-btn i { font-size: 14px; }
  .menu-item { font-size: 16px; }
  .preview-specs { grid-template-columns: 1fr; }
}

/* ============================================================== */
/* ===== 手机端下拉菜单 (保持不变) ===== */
/* ============================================================== */
.mobile-menu-overlay {
  position: fixed;
  top: 74px; left: 0; width: 100%;
  height: calc(100vh - 74px);
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
  display: none;
}
.mobile-menu-overlay.active { display: block; }

.mobile-menu-panel {
  position: fixed;
  top: 50px;
  left: 0;
  width: 100%;
  max-height: calc(100vh - 74px);
  background: #ffffff;
  z-index: 1000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.2, 0.95, 0.4, 1);
  pointer-events: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.mobile-menu-panel.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.menu-header {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f0ece6;
  flex-shrink: 0;
  background: #fff;
  z-index: 5;
}
.menu-back-btn {
  background: none;
  border: none;
  color: #22b27f;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 4px 0;
  transition: color 0.2s;
}
.menu-back-btn:hover { color: #1a9666; }
.menu-back-btn i { font-size: 0.9rem; }
.menu-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: #999;
  margin-left: 16px;
}
.menu-header-right {
  margin-left: auto;
  font-size: 0.75rem;
  color: #b0a898;
}

.menu-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0 20px 0;
}
.menu-body::-webkit-scrollbar { width: 4px; }
.menu-body::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

.main-menu-list .menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  color: #1a1a18;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  font-family: inherit;
  border-bottom: 1px solid #f0ece6;
  transition: color 0.2s;
}
.main-menu-list .menu-link:hover { color: #22b27f; }
.main-menu-list .menu-link .arrow-icon { color: #ccc; font-size: 0.85rem; }
.main-menu-list .menu-link:last-child { border-bottom: none; }

.main-menu-list .products-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 20px;
  background: none;
  border: none;
  border-bottom: 1px solid #f0ece6;
  font-size: 1.05rem;
  font-weight: 500;
  color: #1a1a18;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s;
  text-align: left;
}
.main-menu-list .products-trigger:hover { color: #22b27f; }
.main-menu-list .products-trigger .arrow-icon { color: #ccc; font-size: 0.85rem; }

.category-item-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #f0ece6;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: #334155;
  transition: all 0.2s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.category-item-mobile:hover { background: #f9fafb; color: #23b17f; }
.category-item-mobile .arrow { color: #ccc; font-size: 0.85rem; }

.subcategory-item-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 16px 32px;
  border-bottom: 1px solid #f0ece6;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 400;
  color: #475569;
  transition: all 0.2s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.subcategory-item-mobile:hover { background: #f9fafb; color: #23b17f; }
.subcategory-item-mobile .arrow { color: #ccc; font-size: 0.8rem; }

.see-all-btn-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 40px);
  margin: 12px 20px 16px 20px;
  padding: 10px 16px;
  background: transparent;
  border: 1.5px solid #23b17f;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #23b17f;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  text-decoration: none;
  text-align: center;
}
.see-all-btn-mobile:hover { background: #23b17f; color: white; }

.product-item-mobile {
  display: flex;
  align-items: center;
  padding: 10px 20px 10px 44px;
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 1px solid #f8f8f6;
  gap: 14px;
}
.product-item-mobile:hover { background: #f9fafb; }
.product-item-mobile .thumb {
  width: 68px;
  height: 68px;
  background: #eef2f6;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.product-item-mobile .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.product-item-mobile .info { flex: 1; min-width: 0; }
.product-item-mobile .name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
}
.product-item-mobile .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.product-item-mobile .tags span {
  background: #fff;
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  font-size: 0.6rem;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.product-item-mobile .tags span i { color: #23b17f; font-size: 0.5rem; }
.product-item-mobile .arrow-right { color: #ccc; font-size: 0.8rem;font-family:'宋体'; }

.empty-state {
  color: #b0a898;
  font-size: 0.85rem;
  padding: 40px 20px;
  text-align: center;
}

.menu-view {
  display: none;
  flex-direction: column;
  height: 100%;
  flex: 1;
  overflow: hidden;
}
.menu-view.active { display: flex; }

.list-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 4px 0 20px 0;
}
.list-scroll::-webkit-scrollbar { width: 4px; }
.list-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

/* ============================================================== */
/* ========== 预览占位内容 ========== */
/* ============================================================== */
.hero-placeholder {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #03dd90;
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  padding: 0 20px;
}
.hero-placeholder p {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  margin-top: 16px;
}
.content-placeholder {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.content-placeholder h2 {
  font-size: 36px;
  color: #1e2a3e;
  margin-bottom: 20px;
}
.content-placeholder p {
  font-size: 18px;
  color: #666;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 30px;
}
.content-placeholder .grid-demo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.content-placeholder .grid-demo div {
  background: #f5f7fa;
  border-radius: 16px;
  padding: 60px 20px;
  color: #999;
  font-weight: 500;
  border: 1px solid #eee;
}
@media (max-width: 768px) {
  .content-placeholder .grid-demo { grid-template-columns: 1fr; }
  .hero-placeholder { font-size: 28px; }
}

.preview-hint {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 10px 20px;
  border-radius: 40px;
  font-size: 13px;
  z-index: 500;
  pointer-events: none;
  white-space: nowrap;
}
@media (max-width: 992px) {
  .preview-hint { display: none; }
}