/* ========== Reset & Variables ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1e5799;
  --primary-blue: #2b7de1;
  --primary-dark: #0a254e;
  --primary-light: #3b82c4;
  --accent: #3b82c4;
  --bg: #f5f6f7;
  --white: #ffffff;
  --text: #333333;
  --text-secondary: #555555;
  --text-muted: #999999;
  --border: #eeeeee;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.1);
  --font-family: -apple-system, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
}

html, body {
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

/* ========== Layout ========== */
#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  padding-top: 64px;
}

/* ========== Header ========== */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #0a0a0a;
  color: white;
  z-index: 1000;
}

.header-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.logo {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: white;
}

.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-size: 18px;
  letter-spacing: 1px;
  color: white;
}

.logo-en {
  font-size: 8px;
  opacity: 0.8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
}

.nav-links {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 0;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0 40px;
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  transition: background 0.25s, color 0.25s;
}

.nav-link:hover,
.nav-link.router-link-active {
  background: var(--primary-blue);
  color: white;
}

.nav-link.router-link-active::after {
  display: none;
}

.menu-toggle {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: white;
  border-radius: 1px;
  transition: all 0.3s;
}

.menu-toggle span:nth-child(1) { width: 20px; }
.menu-toggle span:nth-child(2) { width: 16px; }
.menu-toggle span:nth-child(3) { width: 20px; }

/* ========== Footer ========== */
.app-footer {
  background: #0a254e;
  color: white;
  padding: 56px 16px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.footer-left {
  border-right: 1px solid rgba(255,255,255,0.15);
  padding-right: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-left-content {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.footer-left h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 28px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-info .info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  opacity: 0.85;
}

.footer-info .info-row .contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.footer-info .info-row .contact-icon svg {
  width: 18px;
  height: 18px;
}

.footer-right {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-left: 32px;
}

.footer-company-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.footer-company {
  text-align: center;
}

.footer-company .name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.footer-company .en {
  font-size: 10px;
  opacity: 0.7;
  letter-spacing: 0.5px;
}

/* === footer 二维码 === */
.footer-qr {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.footer-qr-img {
  width: 110px;
  height: 110px;
  background: #ffffff;
  border-radius: 8px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.footer-qr-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-qr-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 1px;
}

/* 小程序码预留位（灰色虚线框 + 占位文字） */
.footer-mini-qr-placeholder .footer-qr-img {
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.08) 8px,
    rgba(255, 255, 255, 0.16) 8px,
    rgba(255, 255, 255, 0.16) 16px
  );
  border: 1.5px dashed rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.mini-qr-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
}

.mini-qr-placeholder-inner span {
  display: block;
}

.footer-filing {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 12px;
  opacity: 0.7;
}

.footer-filing a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-filing a:hover {
  color: #fff;
  text-decoration: underline;
}

.police-filing {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.police-badge {
  width: 20px;
  height: 22px;
  vertical-align: middle;
}

/* ========== Common ========== */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8ecf1, #d0d8e3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
}

.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: 24px;
  color: var(--text);
  margin-bottom: 6px;
}

.section-header p {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.section-title-center {
  text-align: center;
  font-size: 22px;
  margin-bottom: 28px;
  color: var(--text);
}

/* ========== Home Page ========== */
.hero-section {
  position: relative;
  height: 640px;
  background: #0a0a0a;
  display: flex;
  align-items: flex-start;
  padding: 0 16px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 0%, transparent 62%, rgba(0,0,0,0.65) 82%, rgba(0,0,0,1) 100%),
    linear-gradient(to right, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.35) 40%, rgba(10,10,10,0.08) 100%),
    url('../images/hero-bg.jpg') center 62% / cover no-repeat;
}

.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding-top: 100px;
  color: white;
  z-index: 1;
}

.hero-content .hero-line1 {
  font-size: 52px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 6px;
  font-family: "STSong", "SimSun", "FangSong", "Microsoft YaHei", serif;
}

.hero-content .hero-line2 {
  font-size: 42px;
  font-weight: 600;
  letter-spacing: 6px;
  font-family: "STSong", "SimSun", "FangSong", "Microsoft YaHei", serif;
}

.hero-btn {
  display: inline-flex;
  margin-top: 40px;
  padding: 12px 32px;
  background: var(--primary-blue);
  color: white;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.hero-btn:hover {
  background: #1a5fc7;
  transform: translateY(-2px);
}

.home-page {
  /* PC端整体缩小到75%，让首页内容更紧凑 */
  zoom: 0.75;
}

.home-categories {
  position: relative;
  z-index: 2;
  margin-top: -240px;
  background: white;
  padding: 0 0 48px;
}

/* 第一行两侧露出 Hero 黑色背景（Bento 网格在上层覆盖） */
.home-categories::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 240px;
  background: #000;
  z-index: 0;
}

/* === Desktop: Real CSS Grid Bento === */
.bento-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  gap: 0;
  background: transparent;
}

.bento-cell {
  position: relative;
  z-index: 1;
  overflow: hidden;
  cursor: pointer;
  min-height: 0;
  aspect-ratio: 1 / 1;
}

.bento-cell.span-2 {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

/* 图片单元格 */
.bento-cell.img-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bento-cell.img-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.35s;
}

.bento-cell.img-cell:hover img {
  transform: scale(1.08);
}

.bento-cell.img-cell:hover::after {
  background: rgba(0,0,0,0.12);
}

/* 图标单元格 */
.bento-cell.icon-cell {
  background: var(--primary-blue);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

/* 图标单元格颜色定制 */
.bento-cell.icon-cell.icon-restaurant { background: #3075ff; }
.bento-cell.icon-cell.icon-restaurant:hover { background: #4a8fff; }

.bento-cell.icon-cell.icon-kitchen { background: #2455b7; }
.bento-cell.icon-cell.icon-kitchen:hover { background: #3568cc; }

.bento-cell.icon-cell.icon-consumables { background: #1c3a76; }
.bento-cell.icon-cell.icon-consumables:hover { background: #2a4d94; }

.bento-cell.icon-cell.icon-cleaning { background: #3075ff; }
.bento-cell.icon-cell.icon-cleaning:hover { background: #4a8fff; }

.bento-cell.icon-cell.icon-uniform { background: #3075ff; }
.bento-cell.icon-cell.icon-uniform:hover { background: #4a8fff; }

.bento-cell.icon-cell.icon-agent { background: #8babc6; }
.bento-cell.icon-cell.icon-agent:hover { background: #a5c2db; }

.bento-cell.icon-cell.span-2 .cell-icon {
  width: 36%;
  max-width: 112px;
}

.bento-cell.icon-cell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.14) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
}

.bento-cell.icon-cell:hover {
  background: #3b8ff0;
  transform: scale(1.03);
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.bento-cell.icon-cell:hover::before {
  opacity: 1;
}

.cell-icon {
  position: relative;
  z-index: 1;
  width: 54%;
  max-width: 92px;
  height: auto;
  object-fit: contain;
  transition: transform 0.35s;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.bento-cell.icon-cell:hover .cell-icon {
  transform: scale(1.12);
}

.cell-name {
  position: relative;
  z-index: 1;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: center;
  line-height: 1.2;
}

.cell-en {
  position: relative;
  z-index: 1;
  font-size: 9px;
  opacity: 0.85;
  letter-spacing: 0.5px;
  text-transform: lowercase;
  text-align: center;
}

/* 自有品牌特殊样式 */
.bento-cell.icon-cell.own-brand {
  background: #1c3a76;
}

.bento-cell.icon-cell.own-brand:hover {
  background: #2a4d94;
}

.bento-cell.icon-cell.own-brand .cell-icon {
  width: 64%;
  max-width: 128px;
}

/* === Mobile: Stacked card list === */
.bento-mobile {
  display: none;
}

/* === Old bento styles (kept for reference, unused) === */
.category-bento {
  display: none;
}

.cat-card,
.cat-photo {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.cat-card {
  background: var(--primary-blue);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px;
  transition: background 0.2s;
}

.cat-card:hover {
  background: #1a6bd1;
}

.cat-card .cat-icon {
  width: 64px;
  height: 64px;
  color: white;
}

.cat-card .cat-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cat-card .cat-label {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
}

.cat-card .cat-en {
  font-size: 10px;
  text-transform: uppercase;
  opacity: 0.8;
  letter-spacing: 1px;
}

.cat-photo {
  grid-column: span 2;
}

.cat-photo.single {
  grid-column: span 1;
}

.cat-card.wide {
  grid-column: span 2;
}

.cat-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.cat-photo:hover img {
  transform: scale(1.05);
}

.cat-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.08);
  transition: background 0.2s;
}

.cat-photo:hover::after {
  background: rgba(0,0,0,0.2);
}

/* ========== Product Center ========== */
.product-center {
  max-width: 100%;
  margin: 0 auto;
  padding: 24px 0 60px;
  background: #000;
  min-height: calc(100vh - 64px - 280px);
}

.product-center > div:first-child {
  padding: 0 32px;
}

/* ===== 产品中心 - 面包屑 ===== */
.pc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  color: #aaa;
  margin-bottom: 24px;
}

.pc-breadcrumb a {
  color: #ddd;
}

.pc-breadcrumb a:hover {
  color: var(--primary-blue);
}

.pc-breadcrumb span {
  color: #777;
}

/* ===== 产品中心 - 标题区 ===== */
.pc-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 50px;
}

.pc-title-line {
  width: 120px;
  height: 1px;
  background: #444;
}

.pc-title-text {
  text-align: center;
}

.pc-title-cn {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 4px;
  margin: 0 0 6px;
}

.pc-title-en {
  font-size: 15px;
  font-weight: 400;
  color: #888;
  margin: 0;
  letter-spacing: 2px;
}

/* ===== 产品中心 - 分类卡片横向滚动 ===== */
.pc-category-grid-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 32px 30px;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #444 #111;
}

.pc-category-grid-wrap::-webkit-scrollbar {
  height: 8px;
}

.pc-category-grid-wrap::-webkit-scrollbar-track {
  background: #111;
}

.pc-category-grid-wrap::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 4px;
}

.pc-category-grid-wrap::-webkit-scrollbar-thumb:hover {
  background: #666;
}

.pc-category-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  width: max-content;
  margin: 0 auto;
}

.pc-cat-card {
  position: relative;
  flex: 0 0 auto;
  width: 240px;
  aspect-ratio: 1/1;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  background: #333;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pc-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}

.pc-cat-card.dark-card {
  background: #1a1a1a;
}

.pc-cat-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.pc-cat-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1;
  transition: background 0.3s;
}

.pc-cat-card:hover .pc-cat-overlay {
  background: rgba(0,0,0,0.5);
}

.pc-cat-icon {
  position: relative;
  z-index: 2;
  width: 88px;
  height: 88px;
  margin-bottom: 16px;
}

.pc-cat-icon > * {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.pc-cat-name {
  position: relative;
  z-index: 2;
  font-size: 17px;
  font-weight: 600;
  color: white;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.pc-cat-en {
  position: relative;
  z-index: 2;
  font-size: 11px;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.5px;
  text-transform: lowercase;
}

/* ===== 产品中心 - 列表视图（分类/搜索结果） ===== */
.pc-list-view {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 产品列表页顶部Logo */
.pl-top-logo {
  text-align: center;
  padding: 24px 0 16px;
}

.pl-top-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
}

/* 产品列表页搜索栏 */
.pl-search-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: 20px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.pl-search-bar input {
  flex: 1;
  height: 40px;
  padding: 0 16px;
  border: 1px solid #2563eb;
  border-right: none;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
  outline: none;
}

.pl-search-bar button {
  height: 40px;
  padding: 0 28px;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

.pl-search-bar button:hover {
  background: #1d4ed8;
}

/* 主体：侧边栏+产品列表 */
.pl-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: start;
}

/* 左侧分类树 */
.pl-sidebar {
  background: white;
  border-radius: var(--radius);
  border: 1px solid #e5e7eb;
  overflow: hidden;
  position: sticky;
  top: 80px;
}

.pl-sidebar-group {
  border-bottom: 1px solid #f0f0f0;
}

.pl-sidebar-group:last-child {
  border-bottom: none;
}

.pl-sb-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.pl-sb-header:hover {
  background: #f8fafc;
  color: #2563eb;
}

.pl-sb-header.no-children:hover {
  background: #eff6ff;
}

/* 展开的分组：蓝色背景 */
.pl-sidebar-group.expanded .pl-sb-header {
  background: #2563eb;
  color: white;
}

.pl-sidebar-group.active:not(.single) .pl-sb-header {
  background: #2563eb;
  color: white;
}

.pl-sidebar-group.expanded .pl-sb-header:hover,
.pl-sidebar-group.active:not(.single) .pl-sb-header:hover {
  background: #1d4ed8;
}

.pl-sb-arrow {
  font-size: 12px;
  opacity: 0.8;
}

/* 子分类 */
.pl-sb-children {
  background: #fafafa;
  padding: 4px 0;
}

.pl-sb-child {
  padding: 10px 16px 10px 28px;
  font-size: 15px;
  color: #555;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
}

.pl-sb-child::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #bbb;
}

.pl-sb-child:hover {
  color: #2563eb;
  background: #f0f4ff;
}

.pl-sb-child.active {
  color: #2563eb;
  font-weight: 700;
}

.pl-sb-child.active::before {
  background: #2563eb;
}

/* 单列分类（无子分类） */
.pl-sidebar-group.single .pl-sb-header {
  background: transparent;
}

.pl-sidebar-group.single.active .pl-sb-header {
  color: #2563eb;
  font-weight: 700;
}

.pl-sidebar-group.single .pl-sb-header:hover {
  background: #f0f4ff;
}

/* 右侧内容区 */
.pl-content {
  min-width: 0;
}

.product-section {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
}

.section-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text);
}

.section-title span {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 8px;
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.product-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.product-info {
  padding: 12px;
}

.product-name {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 39px;
}

.product-price {
  font-size: 16px;
  color: #1a3a5c;
  font-weight: 700;
  margin-top: 6px;
}

.empty-state {
  text-align: center;
  padding: 48px;
  color: var(--text-muted);
}

.load-more {
  text-align: center;
  margin-top: 24px;
}

.load-more button {
  padding: 10px 32px;
  background: white;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: var(--radius);
  font-weight: 600;
}

.load-more button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ========== Product Detail ========== */
.product-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.detail-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.detail-nav a {
  color: var(--primary);
}

.detail-nav-cat {
  color: var(--primary);
  cursor: pointer;
}

.detail-nav-cat:hover {
  text-decoration: underline;
}

.detail-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
}

.detail-sidebar {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 20px;
  height: fit-content;
  position: sticky;
  top: 80px;
}

.detail-content {
  min-width: 0;
}

.sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 2px solid var(--primary);
}

.sidebar-item {
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius);
  transition: all 0.2s;
  font-weight: 600;
}

.sidebar-item:hover {
  background: var(--bg);
  color: var(--primary);
}

.sidebar-item.active {
  background: var(--primary);
  color: white;
}

.detail-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
  margin-bottom: 24px;
}

.detail-gallery {
  min-width: 0;
}

.main-image {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f8f9fa;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.thumb-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.thumb-item {
  width: 70px;
  height: 70px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-item.active {
  border-color: var(--primary);
}

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

.detail-info h1 {
  font-size: 22px;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.4;
}

.detail-meta p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.detail-meta p span {
  color: var(--text-muted);
  display: inline-block;
  width: 60px;
}

.detail-price-box {
  margin-top: 24px;
  padding: 0;
  background: none;
  border-radius: 0;
  border: none;
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.detail-price-label {
  font-size: 16px;
  color: #718096;
  font-weight: 500;
}

.detail-price-value {
  font-size: 32px;
  color: #1a3a5c;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.detail-section {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 24px;
}

.detail-section h2 {
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--text);
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table td {
  padding: 12px 16px;
  border: 1px solid var(--border);
}

.spec-table td:first-child {
  width: 160px;
  background: #f8fafc;
  color: var(--text-secondary);
}

.detail-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* ========== About Page ========== */
/* ========== About Page 关于我们 ========== */
.about-page {
  padding-bottom: 0;
}

/* --- About Hero（与首页一致） --- */
.about-hero {
  position: relative;
  height: 480px;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  overflow: hidden;
}

.about-hero .hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.35) 40%, rgba(10,10,10,0.08) 100%),
    url('../images/hero-bg.jpg') center 62% / cover no-repeat;
}

.about-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  color: white;
  text-align: left;
  padding-left: 60px;
}

.about-hero .hero-sub {
  font-size: 15px;
  letter-spacing: 3px;
  opacity: 0.85;
  margin-bottom: 16px;
  font-weight: 400;
}

.about-hero h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 6px;
  margin-bottom: 8px;
  line-height: 1.2;
}

.about-hero h2 {
  font-size: 42px;
  font-weight: 300;
  letter-spacing: 4px;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.2;
}

/* --- About Intro 简介 --- */
.about-intro {
  background: #fff;
  padding: 56px 24px 48px;
}

.about-intro-title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
  letter-spacing: 3px;
}

.about-intro-desc {
  max-width: 900px;
  margin: 0 auto 44px;
  text-align: center;
  font-size: 16px;
  line-height: 1.9;
  color: #555;
}

/* 图片画廊：左图 | 右图+文字 */
.about-gallery {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.gallery-left img,
.gallery-right > img {
  width: 100%;
  display: block;
  border-radius: 4px;
  object-fit: cover;
}

.gallery-left img {
  height: 420px;
  border-radius: 6px;
}

.gallery-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-right img {
  height: 260px;
  border-radius: 6px;
}

.gallery-text {
  background: #f5f7fa;
  padding: 22px 28px;
  border-radius: 6px;
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gallery-text p {
  font-size: 16px;
  color: #555;
  line-height: 1.9;
  margin: 0;
}

/* --- Agent Brands 代理品牌（深蓝背景） --- */
.about-brands {
  background:
    linear-gradient(to bottom, transparent 0%, rgba(0,30,80,0.95) 100%),
    linear-gradient(135deg, #0d2555 0%, #163c75 50%, #0d2555 100%),
    url('../images/hero-bg.jpg') center top / cover no-repeat;
  padding: 52px 24px 48px;
  position: relative;
}

.about-brands .about-inner {
  max-width: 1100px;
  margin:0 auto;
}

.about-brands::before {
  content: '';
  position: absolute;
  inset: 0;
  top: -120px;
  height: 200px;
  background: linear-gradient(to bottom, transparent, rgba(13,37,85,0.3));
  pointer-events: none;
}

.about-section-title-cn {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: white;
  letter-spacing: 3px;
  margin-bottom: 4px;
}

.about-section-title-en {
  text-align: center;
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 2px;
  margin-bottom: 36px;
}

/* 代理品牌 2行 + 横向滚动 */
.brands-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 1100px;
  margin: 0 auto;
}

.brands-grid {
  display: grid;
  grid-template-rows: repeat(2, 88px);
  grid-auto-flow: column;
  grid-auto-columns: 180px;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0;
  flex: 1;
}

.brands-grid::-webkit-scrollbar { display: none; }

.agent-brand-card {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: default;
  scroll-snap-align: start;
}

.agent-brand-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.agent-brand-img {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.agent-brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #cc0000;
}

/* 轮播箭头 */
.carousel-arrow {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.carousel-arrow:hover:not(:disabled) {
  background: rgba(255,255,255,0.25);
}

.carousel-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

.carousel-arrow.dark {
  border-color: #ccc;
  color: #555;
  background: #f0f0f0;
}

.carousel-arrow.dark:hover:not(:disabled) {
  background: #e0e0e0;
}

/* 轮播指示点 */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-dots span.active {
  background: rgba(255,255,255,0.85);
}

/* --- Clients 我们的客户（白色背景） --- */
.about-clients {
  background: #fff;
  padding: 52px 24px 56px;
}

.about-clients .about-inner {
  max-width: 1100px;
  margin:0 auto;
}

.about-clients .about-section-title-cn {
  color: #1a1a2e;
}

.about-clients .about-section-title-en {
  color: #888;
}

.clients-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.clients-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 4px;
  flex: 1;
  scroll-behavior: auto; /* 自动滚动用JS控制，不用smooth */
}

.clients-carousel::-webkit-scrollbar { display: none; }

.client-logo-card {
  flex-shrink: 0;
  width: 130px;
  height: 90px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: default;
  padding: 6px 4px;
}

.client-logo-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(48,117,255,0.12);
}

.client-name {
  font-size: 11px;
  font-weight: 600;
  color: #555;
  text-align: center;
  line-height: 1.3;
  padding: 0 4px;
}

.client-logo-img {
  width: 100px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* 客户卡片 - hover效果 */
.rich-content {
  line-height: 1.8;
  color: #333;
}
.rich-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 8px 0;
}
.rich-content h1, .rich-content h2, .rich-content h3 {
  margin: 16px 0 8px;
  color: #1a1a2e;
}
.rich-content p {
  margin: 8px 0;
}
.rich-content ul, .rich-content ol {
  margin: 8px 0;
  padding-left: 24px;
}
.rich-content a {
  color: #2563eb;
  text-decoration: underline;
}
.rich-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0;
}
.rich-content table td, .rich-content table th {
  border: 1px solid #ddd;
  padding: 6px 10px;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .category-bento {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
  }
  .cat-photo {
    grid-column: span 1;
  }
  .cat-photo.wide {
    grid-column: span 2;
  }

  .hero-section {
    height: 520px;
  }

  .hero-content {
    padding-top: 80px;
  }

  .hero-content .hero-line1 {
    font-size: 42px;
    letter-spacing: 4px;
  }

  .hero-content .hero-line2 {
    font-size: 34px;
    letter-spacing: 4px;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pc-category-grid {
    gap: 16px;
  }
  .pc-cat-card {
    width: 220px;
  }

  .pc-title-line {
    width: 60px;
  }

  .about-gallery {
    grid-template-columns: 1fr;
  }
  .gallery-left img {
    height: 320px;
  }

  .about-hero h1 { font-size: 32px; }
  .about-hero h2 { font-size: 28px; }
}

@media (max-width: 768px) {
  /* 手机端重置zoom，不缩小首页 */
  .home-page {
    zoom: 1;
  }

  .app-header {
    height: 56px;
  }

  .main-content {
    padding-top: 56px;
  }

  .header-inner {
    justify-content: space-between;
    padding: 0 12px;
  }

  .logo {
    position: static;
    transform: none;
    gap: 6px;
  }

  .logo-img {
    height: 32px;
    width: auto;
  }

  .logo-name {
    font-size: 14px;
  }

  .logo-en {
    font-size: 7px;
  }

  .nav-links {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10,10,10,0.98);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.3s;
    z-index: 999;
  }

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

  .nav-link {
    font-size: 16px;
    padding: 12px 0;
    justify-content: center;
  }

  .menu-toggle {
    display: flex;
  }

  /* === Hero 移动端适配 === */
  .hero-section {
    height: 380px;
  }

  .hero-bg {
    background-position: center 70%;
  }

  .hero-content {
    padding-top: 64px;
    text-align: center;
  }

  .hero-content .hero-line1 {
    font-size: 32px;
    letter-spacing: 4px;
  }

  .hero-content .hero-line2 {
    font-size: 26px;
    letter-spacing: 4px;
  }

  .hero-btn {
    margin-top: 24px;
    padding: 10px 24px;
    font-size: 13px;
  }

  /* === 首页分类区：减少重叠 === */
  .home-categories {
    margin-top: -120px;
    padding: 0 0 32px;
  }

  .home-categories::before {
    height: 120px;
  }

  .category-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .cat-photo,
  .cat-photo.wide,
  .cat-card.wide {
    grid-column: span 1;
  }

  /* Switch to mobile bento layout */
  .bento-grid {
    display: none !important;
  }

  .bento-mobile {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 0 10px;
  }

  .mobile-cat-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3 / 2;
    background: #1a6bd1;
    border-radius: 4px;
  }

  .mobile-cat-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .mobile-cat-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
  }

  .mobile-cat-name {
    font-size: 12px;
    font-weight: 600;
  }

  .mobile-cat-en {
    font-size: 9px;
    opacity: 0.8;
  }

  /* === 关于我们 Hero === */
  .about-hero {
    height: 360px;
    align-items: center;
  }

  .about-hero-content {
    padding-left: 16px;
    text-align: center;
  }

  .about-hero .hero-sub {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .about-hero h1 {
    font-size: 28px;
    letter-spacing: 3px;
  }

  .about-hero h2 {
    font-size: 22px;
    letter-spacing: 2px;
  }

  .center-body {
    grid-template-columns: 1fr;
  }

  /* === 产品中心 === */
  .product-center > div:first-child {
    padding: 0 16px;
  }

  .pc-category-grid-wrap {
    padding: 10px 12px 24px;
    overflow-x: hidden;
  }

  .pc-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
  }

  .pc-cat-card {
    width: 100%;
    padding: 14px 10px;
  }

  .pc-cat-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 10px;
  }

  .pc-cat-name {
    font-size: 14px;
    letter-spacing: 1px;
  }

  .pc-title-cn {
    font-size: 20px;
    letter-spacing: 2px;
  }

  .pc-title-en {
    font-size: 12px;
  }

  .pc-title-line {
    width: 40px;
  }

  .pc-title-wrap {
    gap: 16px;
    margin-bottom: 30px;
  }

  .pl-body {
    grid-template-columns: 1fr;
  }

  .pl-sidebar {
    position: static;
    max-height: none;
  }

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

  .category-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    position: static;
  }

  .detail-main {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 16px;
  }

  /* === Footer === */
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-left {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-right: 0;
    padding-bottom: 24px;
    flex-direction: column;
    gap: 20px;
  }

  .footer-left-content {
    width: 100%;
  }

  .footer-left h3 {
    font-size: 18px;
  }

  .footer-right {
    justify-content: center;
    flex-direction: column-reverse;
    gap: 20px;
    padding-left: 0;
  }

  .footer-company-block {
    width: 100%;
  }

  /* === 关于我们画廊 === */
  .about-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-left img { height: 240px; }
  .gallery-right img { height: 200px; }
  .gallery-text { padding: 16px 20px; }
  .gallery-text p { font-size: 14px; line-height: 1.7; }

  /* === 代理品牌 === */
  .agent-brand-card { width: 100%; height: 72px; }
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: row;
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  /* 0. 强制隐藏 bento-grid（PC端布局），确保bento-mobile接管 */
  .bento-grid {
    display: none !important;
  }

  .bento-mobile {
    display: grid !important;
  }

  .hero-section {
    height: 320px;
  }

  .hero-bg {
    background-position: center 75%;
  }

  .hero-content {
    padding-top: 48px;
  }

  .hero-content .hero-line1 {
    font-size: 26px;
    letter-spacing: 3px;
  }

  .hero-content .hero-line2 {
    font-size: 20px;
    letter-spacing: 3px;
  }

  .hero-btn {
    margin-top: 16px;
    padding: 8px 20px;
    font-size: 12px;
  }

  .home-categories {
    margin-top: -80px;
  }

  .home-categories::before {
    height: 80px;
  }

  .bento-mobile {
    gap: 2px;
  }

  .mobile-cat-name {
    font-size: 11px;
  }

  .mobile-cat-en {
    font-size: 8px;
  }

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

  .product-card .product-name {
    font-size: 12px;
    min-height: 32px;
  }

  .product-price {
    font-size: 14px;
  }

  .pc-category-grid-wrap {
    padding: 10px 8px 20px;
  }

  .pc-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .pc-cat-card {
    width: 100%;
    padding: 12px 8px;
  }

  .pc-cat-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 8px;
  }

  .pc-cat-name {
    font-size: 13px;
  }

  .pc-title-cn {
    font-size: 18px;
    letter-spacing: 1px;
  }

  .pc-title-en {
    font-size: 11px;
  }

  .pc-title-line {
    width: 30px;
  }

  .pc-title-wrap {
    gap: 12px;
    margin-bottom: 24px;
  }

  .about-hero { height: 320px; }
  .about-hero h1 { font-size: 24px; letter-spacing: 2px; }
  .about-hero h2 { font-size: 18px; letter-spacing: 1px; }
  .about-intro-title { font-size: 24px; }
  .about-intro-desc { font-size: 14px; }

  .agent-brand-card { height: 64px; }
  .client-logo-card { width: 100px; height: 70px; }
  .client-name { font-size: 10px; }

  .footer-left h3 { font-size: 16px; }
  .footer-info .info-row { font-size: 13px; gap: 8px; }
  .footer-info .info-row .contact-icon { width: 30px; height: 30px; }
  .footer-info .info-row .contact-icon svg { width: 14px; height: 14px; }
  .footer-qr { margin-top: 20px; }
  .footer-qr-img { width: 96px; height: 96px; }

  .detail-main {
    padding: 12px;
    gap: 12px;
  }
  .detail-info h1 { font-size: 18px; }
  .detail-price-value { font-size: 24px; }
}

@media (max-width: 375px) {
  .app-header {
    height: 52px;
  }

  .main-content {
    padding-top: 52px;
  }

  .logo-img {
    height: 28px;
  }

  .logo-name {
    font-size: 12px;
  }

  .logo-en {
    font-size: 6px;
  }

  .hero-section {
    height: 280px;
  }

  .hero-content {
    padding-top: 40px;
  }

  .hero-content .hero-line1 {
    font-size: 22px;
    letter-spacing: 2px;
  }

  .hero-content .hero-line2 {
    font-size: 17px;
    letter-spacing: 2px;
  }

  .hero-btn {
    margin-top: 12px;
    padding: 8px 18px;
    font-size: 11px;
  }

  .home-categories {
    margin-top: -60px;
  }

  .home-categories::before {
    height: 60px;
  }

  .pc-cat-card {
    width: 100%;
    padding: 10px 6px;
  }

  .pc-cat-icon {
    width: 44px;
    height: 44px;
  }

  .pc-cat-name {
    font-size: 12px;
  }

  .product-card .product-info {
    padding: 8px;
  }

  .product-card .product-name {
    font-size: 11px;
    min-height: 28px;
    -webkit-line-clamp: 1;
  }
}

/* ========== 手机端首页错位修复（专门针对小屏） ========== */
@media (max-width: 480px) {
  /* 1. 关闭 home-categories 上方的黑色遮挡层，避免与 hero 错位 */
  .home-categories::before {
    height: 0 !important;
    display: none;
  }

  /* 2. hero 与 home-categories 之间不再重叠 */
  .home-categories {
    margin-top: 0 !important;
    padding: 16px 0 32px;
  }

  /* 3. bento-mobile 在小屏改为2列网格（仿照PC端bento-grid的网格效果） */
  .bento-mobile {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px;
    padding: 0 10px;
  }

  /* 4. 用固定高度替代 aspect-ratio —— 保证两列方块等高且紧凑 */
  .mobile-cat-item {
    aspect-ratio: auto !important;
    height: 110px;
    min-height: 110px;
    border-radius: 6px;
    background-color: #1a6bd1;
  }

  /* 4.1 图片用 cover 居中裁切，避免不同尺寸图片导致方块内部布局差异 */
  .mobile-cat-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  /* 5. 蒙层文字缩小以适配更小的方块 */
  .mobile-cat-info {
    padding: 6px 8px;
  }

  .mobile-cat-name {
    font-size: 12px !important;
    line-height: 1.3;
  }

  .mobile-cat-en {
    font-size: 9px !important;
    line-height: 1.3;
    margin-top: 1px;
  }
}

@media (max-width: 375px) {
  /* 6. 极小屏保持2列，进一步缩窄间距 */
  .bento-mobile {
    padding: 0 8px;
    gap: 6px;
  }

  .mobile-cat-item {
    height: 100px;
    min-height: 100px;
  }
}

/* === 全局: 确保 mobile-cat-item 图片始终 cover 居中，防止任何宽高比图片撑爆方块 === */
.mobile-cat-item {
  position: relative;
  overflow: hidden;
  background: #1a6bd1 center / cover no-repeat;
}

.mobile-cat-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* === 第7项"自有品牌"在移动端单独占满一行（蓝色背景+白色logo），与PC端own-brand设计一致 === */
@media (max-width: 768px) {
  .bento-mobile > .mobile-cat-item:nth-child(7) {
    grid-column: 1 / -1;
    height: 90px;
    min-height: 90px;
    background: #1c3a76;
  }
  .bento-mobile > .mobile-cat-item:nth-child(7) img {
    object-fit: contain;
    object-position: center center;
    padding: 16px 60px;
    filter: brightness(0) invert(1);
  }
}
