/* ========================================
   AKOMAPA - Global Styles (P0-1 Optimized)
   Fonts: loaded via <link> in HTML <head> (preconnect + display=swap)
   Icons: Bootstrap Icons 1.11.3 loaded via CDN
   ======================================== */

/* ---- Design Tokens (CSS Variables) ---- */
:root {
  /* Brand Colors */
  --color-primary: #1a365d;
  --color-primary-light: #2c5282;
  --color-primary-dark: #102a43;
  --color-accent: #d69e2e;
  --color-accent-light: #f0c040;
  --color-accent-deep: #c08e20;
  --color-warm-dark: #744210;
  --color-ink: #1a202c;

  /* Text Colors */
  --color-white: #ffffff;
  --color-text: #333333;
  --color-text-strong: #111111;
  --color-text-secondary: #4a5568;
  --color-text-secondary-dark: #2d3748;
  --color-text-muted: #718096;
  --color-text-muted-2: #a0aec0;
  --color-text-sub: #666666;
  --color-text-hint: #999999;
  --color-text-dim: #888888;
  --color-text-tailwind: #4b5563;
  --color-text-info: #2b6cb0;

  /* Backgrounds */
  --color-bg: #f5f7fa;
  --color-bg-white: #ffffff;
  --color-bg-warm: #fffbeb;
  --color-bg-warm-2: #fef3c7;
  --color-bg-info: #ebf8ff;
  --color-bg-blue-tint: #ebf4ff;
  --color-bg-blue-tint-2: #d6e4ff;
  --color-bg-gray: #f7fafc;
  --color-bg-gray-2: #edf2f7;
  --color-bg-gray-3: #e2e8f0;
  --color-bg-gray-4: #cbd5e0;
  --color-bg-gray-5: #a0aec0;
  --color-bg-gray-6: #fafafa;
  --color-bg-gray-7: #f7f8fb;

  /* Borders */
  --color-border-warm: #fde68a;
  --color-border-gray-1: #edf2f7;
  --color-border-gray-2: #e2e8f0;
  --color-border-gray-3: #cbd5e0;
  --color-border-gray-4: #d9d9d9;

  /* Brand Extensions */
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #1da851;

  /* Spacing tokens */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;

  /* Radius tokens */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;

  /* Shadow tokens */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-xl: 0 14px 40px rgba(0,0,0,0.15);

  /* Transition tokens */
  --trans-fast: 0.15s ease;
  --trans-base: 0.2s ease;
  --trans-slow: 0.3s ease;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-bg);
}

/* ---- Navigation ---- */
.navbar {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.nav-logo-img {
  height: 36px;
  width: auto;
}
.nav-logo span {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-accent);
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 14px;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; border-bottom: 2px solid var(--color-accent); padding-bottom: 2px; }
/* 顶栏"我的"入口：PC 端作为顶栏链接的一部分，手机端放入 drawer */
.nav-links .nav-my-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  font-weight: 600;
  opacity: 1;
}
.nav-links .nav-my-link:hover { background: rgba(255,255,255,0.16); }
.nav-links .nav-my-link.active {
  background: var(--color-accent);
  color: var(--color-ink);
  border-color: var(--color-accent);
}

/* PC 端顶栏用的语言切换器（隐藏手机版；PC 版可见） */
.navbar .lang-switcher-nav { display: none; }

/* 手机端汉堡左侧常驻语言切换器（默认隐藏，仅 ≤900px 显示） */
.navbar .lang-switcher-mobile { display: none; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; color: var(--color-white); font-size: 24px; cursor: pointer; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, var(--color-primary) 100%);
  color: var(--color-white);
  text-align: center;
  padding: 80px 20px 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(214,158,46,0.08) 0%, transparent 50%);
}
.hero h1 {
  font-size: 52px;
  font-weight: 800;
  color: var(--color-accent);
  position: relative;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.hero .subtitle {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 6px;
  position: relative;
}
.hero .subtitle-en {
  font-size: 14px;
  opacity: 0.65;
  margin-bottom: 36px;
  position: relative;
}
.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  position: relative;
  flex-wrap: wrap;
}
.hero-btn {
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.btn-primary { background: var(--color-accent); color: var(--color-primary); }
.btn-secondary { background: transparent; color: var(--color-white); border: 2px solid rgba(255,255,255,0.5); }
.btn-secondary:hover { border-color: var(--color-white); background: rgba(255,255,255,0.1); }

/* ---- Quick Query Section ---- */
.query-section {
  background: linear-gradient(135deg, var(--color-bg-blue-tint) 0%, var(--color-bg-blue-tint-2) 100%);
  padding: 48px 20px;
}
.query-container {
  max-width: 900px;
  margin: 0 auto;
}
.query-title {
  text-align: center;
  font-size: 24px;
  color: var(--color-primary);
  margin-bottom: 28px;
}
.query-grid {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.query-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #1a365d, #2c5282);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(26,54,93,0.25);
  border: none;
  transition: opacity 0.2s, box-shadow 0.2s;
}
.query-card:hover {
  opacity: 0.92;
  box-shadow: 0 6px 20px rgba(26,54,93,0.35);
}
.query-icon {
  font-size: 24px;
  line-height: 1;
}
.query-label {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

/* ---- Stats ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--color-white);
  max-width: 900px;
  margin: -40px auto 0;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  position: relative;
  z-index: 10;
  overflow: hidden;
}
.stat-item {
  text-align: center;
  padding: 28px 12px;
  border-right: 1px solid var(--color-bg-gray-2);
}
.stat-item:last-child { border-right: none; }
.stat-icon { font-size: 28px; margin-bottom: 8px; }
.stat-number { font-size: 32px; font-weight: 800; color: var(--color-primary); }
.stat-label { font-size: 13px; color: var(--color-text-secondary); margin-top: 4px; }

/* ---- Section ---- */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px 20px;
}
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  font-size: 30px;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.section-title p {
  color: var(--color-text-muted);
  font-size: 15px;
}

/* ---- Services ---- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--color-white);
  padding: 30px 24px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.service-icon { font-size: 44px; margin-bottom: 14px; }
.service-card h3 { font-size: 18px; color: var(--color-primary); margin-bottom: 4px; }
.service-card .en { font-size: 13px; color: var(--color-text-muted-2); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--color-text-secondary); line-height: 1.8; }

/* ---- Process ---- */
.process-bg { background: var(--color-bg-gray); }
.process {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 20px 0;
}
.process-step {
  text-align: center;
  padding: 16px 12px;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  min-width: 100px;
}
.process-step .icon { font-size: 28px; margin-bottom: 6px; }
.process-step .label { font-size: 13px; font-weight: 600; color: var(--color-primary); }
.process-arrow { font-size: 22px; color: var(--color-accent); font-weight: bold; }

/* ---- About ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-text h3 { font-size: 22px; color: var(--color-primary); margin-bottom: 16px; }
.about-text p { font-size: 14px; color: var(--color-text-secondary); line-height: 1.8; margin-bottom: 14px; }
.about-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--color-bg-gray-2), var(--color-bg-gray-3));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--color-text-muted-2);
}

/* ---- Contact ---- */
.contact-section {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-white);
  padding: 70px 20px;
}
.contact-section h2 { text-align: center; font-size: 30px; margin-bottom: 48px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 800px;
  margin: 0 auto;
}
.contact-card {
  background: rgba(255,255,255,0.1);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.15);
}
.contact-card h3 { font-size: 18px; margin-bottom: 18px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}
.contact-item .icon { font-size: 18px; width: 24px; text-align: center; }
.contact-divider {
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 16px 0;
}
.contact-address {
  margin-bottom: 12px;
}
.contact-address:last-child { margin-bottom: 0; }
.address-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 4px;
}
.address-line {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 2px;
}
.address-line.highlight {
  color: var(--color-white);
  font-weight: 500;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--color-whatsapp);
  color: var(--color-white);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 14px;
  font-size: 14px;
  transition: background 0.2s;
}
.btn-whatsapp:hover { background: var(--color-whatsapp-dark); }

/* ---- Language Switcher ---- */
.lang-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,0.2);
}
.lang-btn {
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--color-white);
  opacity: 0.75;
  line-height: 1.2;
  white-space: nowrap;
}
.lang-btn:hover {
  opacity: 1;
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.15);
}
.lang-btn.active {
  opacity: 1;
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-ink);
}

/* ---- Footer ---- */
.footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 24px;
  font-size: 13px;
}

/* ---- Products Page ---- */
.products-hero {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-white);
  text-align: center;
  padding: 50px 20px;
}
.products-hero h1 { font-size: 32px; margin-bottom: 8px; }
.products-hero p { font-size: 15px; opacity: 0.8; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}
.product-card {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.product-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-bg-gray-5);
}
.product-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.product-card:hover .product-image img { transform: scale(1.05); }
.product-info { padding: 16px; }
.product-cat {
  display: inline-block;
  padding: 3px 10px;
  background: var(--color-bg-gray-2);
  border-radius: 12px;
  font-size: 12px;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}
.product-name { font-size: 16px; font-weight: 600; color: var(--color-primary); margin-bottom: 4px; }
.product-meta { display: flex; gap: 14px; margin-bottom: 10px; font-size: 13px; }
.product-meta .price { color: var(--color-accent); font-weight: 600; }
.product-meta .moq { color: var(--color-text-secondary); }

/* ---- Product Card Link ---- */
.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}
.product-card-link:hover { color: inherit; }
.product-desc-short {
  font-size: 12px;
  color: var(--color-text-muted-2);
  margin-top: 6px;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a { color: var(--color-primary); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { margin: 0 4px; color: var(--color-text-muted-2); }

/* ---- Product Detail Page ---- */
.detail-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 60px;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  background: var(--color-white);
  border-radius: 16px;
  padding: 34px;
  box-shadow: 0 18px 55px rgba(15,36,64,0.12);
}
.detail-image-wrap {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.detail-image {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  overflow-x: auto;
  background: var(--color-bg-gray-4);
}
.gallery-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.gallery-thumb:hover { transform: scale(1.05); }
.gallery-thumb.active { border-color: var(--color-accent); }
.detail-content { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; }
.detail-title { font-size: 28px; font-weight: 700; color: var(--color-primary); margin: 12px 0 6px; line-height: 1.4; }
.detail-title-en { font-size: 15px; color: var(--color-text-muted); margin-bottom: 20px; }
.detail-section-label { font-size: 14px; font-weight: 600; color: var(--color-primary); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.detail-price-row {
  display: flex;
  gap: 24px;
  align-items: center;
  margin: 20px 0;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--color-bg-warm), var(--color-bg-warm-2));
  border-radius: 12px;
  border: 1px solid var(--color-border-warm);
}
.detail-price { font-size: 24px; font-weight: 800; color: var(--color-accent-deep); }
.detail-moq { font-size: 14px; color: var(--color-warm-dark); font-weight: 500; }
.detail-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.detail-tag {
  padding: 5px 14px;
  background: var(--color-bg-info);
  color: var(--color-text-info);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 500;
}
.detail-id {
  font-size: 12px;
  color: var(--color-text-muted-2);
  margin: 20px 0;
}
.detail-desc-section { margin: 24px 0; }
.detail-desc { font-size: 15px; color: var(--color-text-secondary); line-height: 1.9; }
.detail-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.btn-wa-detail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--color-whatsapp);
  color: var(--color-white);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s, transform 0.2s;
}
.btn-wa-detail:hover { background: var(--color-whatsapp-dark); transform: translateY(-2px); }
.btn-back-list {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  background: var(--color-bg-gray-2);
  color: var(--color-primary);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: background 0.2s;
}
.btn-back-list:hover { background: var(--color-bg-gray-3); }

/* Related Products */
.related-section {
  max-width: 1100px;
  margin: 32px auto 60px;
  padding: 0 20px;
}
.related-section .section-title { margin-bottom: 20px; }

/* ---- Loading State ---- */
.loading-msg {
  text-align: center;
  padding: 60px 20px;
  font-size: 16px;
  color: var(--color-text-muted);
  grid-column: 1 / -1;
}

/* ---- Category Filter ---- */
.category-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
  background: var(--color-white);
  position: sticky;
  top: 60px;
  z-index: 99;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.cat-btn {
  padding: 7px 14px;
  border: 2px solid var(--color-bg-gray-3);
  border-radius: 20px;
  background: var(--color-white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
}
.cat-btn:hover, .cat-btn.active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-white);
}

/* ---- About Page ---- */
.about-hero {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-white);
  text-align: center;
  padding: 50px 20px;
}
.about-hero h1 { font-size: 32px; margin-bottom: 8px; }
.about-hero p { font-size: 15px; opacity: 0.8; }

.about-intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-intro-text h2 { font-size: 26px; color: var(--color-primary); margin-bottom: 6px; }
.about-intro-en { font-size: 14px; color: var(--color-accent); font-weight: 600; margin-bottom: 20px; }
.about-intro-text p { font-size: 15px; color: var(--color-text-secondary); line-height: 1.9; margin-bottom: 14px; }
.about-intro-visual { display: flex; align-items: center; justify-content: center; }
.about-logo-box {
  width: 100%;
  aspect-ratio: 1;
  max-width: 320px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 12px 40px rgba(26,54,93,0.25);
}
.about-logo-text { font-size: 36px; font-weight: 800; color: var(--color-accent); letter-spacing: 3px; }
.about-logo-sub { font-size: 13px; color: rgba(255,255,255,0.7); letter-spacing: 1px; }
.about-logo-year {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

/* Timeline */
.about-timeline-section { background: linear-gradient(135deg, var(--color-bg-blue-tint) 0%, var(--color-bg-blue-tint-2) 100%); }
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 60px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-primary));
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  margin-bottom: 36px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -41px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--color-accent);
  border: 3px solid var(--color-white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--color-accent);
  z-index: 1;
}
.timeline-year { font-size: 18px; font-weight: 800; color: var(--color-accent); min-width: 60px; flex-shrink: 0; }
.timeline-content {
  background: var(--color-white);
  padding: 20px 24px;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  flex: 1;
}
.timeline-content h3 { font-size: 17px; color: var(--color-primary); margin-bottom: 6px; }
.timeline-content p { font-size: 14px; color: var(--color-text-secondary); line-height: 1.7; margin-bottom: 4px; }

/* Advantages */
.advantage-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.advantage-card {
  background: var(--color-white);
  padding: 30px 28px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  border-left: 4px solid var(--color-accent);
}
.advantage-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.advantage-icon { font-size: 40px; margin-bottom: 12px; }
.advantage-card h3 { font-size: 19px; color: var(--color-primary); margin-bottom: 4px; }
.advantage-card p { font-size: 14px; color: var(--color-text-secondary); line-height: 1.8; margin-bottom: 6px; }

/* Mission & Vision */
.mission-section { background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light)); }
.mission-section .section-title h2 { color: var(--color-white); }
.mission-section .section-title p { color: rgba(255,255,255,0.6); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 800px; margin: 0 auto; }
.mission-card {
  background: rgba(255,255,255,0.1);
  padding: 36px 28px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.15);
  transition: transform 0.2s, background 0.2s;
}
.mission-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.15); }
.mission-icon { font-size: 44px; margin-bottom: 14px; }
.mission-card h3 { font-size: 20px; color: var(--color-accent); margin-bottom: 12px; }
.mission-card p { font-size: 15px; color: rgba(255,255,255,0.9); line-height: 1.8; }

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-white);
  padding: 12px 20px;
  border-bottom: 2px solid var(--color-accent);
}
.announcement-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  flex-wrap: wrap;
}
.announcement-icon { font-size: 20px; }
.announcement-text { line-height: 1.5; text-align: center; }

/* Ghana address multi-line support */
.contact-address .address-line.highlight { white-space: pre-line; line-height: 1.8; }

/* Customer Notice Section */
.notice-section { background: #f7f8fa; padding: 48px 20px; }
.notice-container { max-width: 1100px; margin: 0 auto; }
.notice-title { text-align: center; font-size: 22px; font-weight: 700; color: #1a365d; margin-bottom: 32px; }
.notice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.notice-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px 20px 16px;
  text-align: left;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-top: 3px solid #c08e20;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.notice-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.notice-card .notice-icon-inline { font-size: 18px; margin-right: 4px; vertical-align: middle; }
.notice-card h3 { font-size: 16px; font-weight: 700; color: #1a365d; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.notice-card p { font-size: 13px; color: #555; line-height: 1.6; }
.notice-btn-wrap { text-align: center; margin-top: 32px; }
.notice-btn {
  display: inline-block;
  background: #c08e20;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 36px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(192,142,32,0.35);
  transition: opacity 0.2s ease;
}
.notice-btn:hover { opacity: 0.9; }

/* ---- Cart Button ---- */
.cart-add-btn {
  width: calc(100% - 32px);
  margin: 0 16px 16px 16px;
  padding: 10px;
  background: var(--color-accent-light);
  color: var(--color-primary);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.cart-add-btn:hover { background: var(--color-accent); transform: translateY(-2px); }

.btn-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
  border: none;
  background: var(--color-text-secondary);
  color: var(--color-white);
}
.btn-cart:hover { background: var(--color-text-secondary-dark); transform: translateY(-2px); }

/* ========================================
   响应式设计 - 手机端适配
   ======================================== */
@media (max-width: 768px) {
  .navbar { padding: 0 16px; }
  .nav-toggle { display: block; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: var(--color-primary);
    padding: 16px;
    gap: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border-radius: 0 0 16px 16px;
  }
  .nav-links.open .lang-switcher {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.15);
    justify-content: center;
  }
  .nav-links.open .lang-btn { padding: 8px 20px; font-size: 15px; }
  .nav-logo-img { height: 28px; }
  .nav-logo span { font-size: 18px; }
  .query-grid { flex-direction: column; align-items: center; gap: 10px; }
  .query-card { width: 85%; justify-content: center; padding: 12px 24px; }
  .query-icon { font-size: 22px; }
  .query-label { font-size: 15px; }
  .hero { padding: 50px 16px 40px; }
  .hero h1 { font-size: 36px; }
  .hero .subtitle { font-size: 15px; }
  .hero .subtitle-en { font-size: 12px; }
  .hero-btns { flex-direction: column; align-items: center; gap: 12px; }
  .hero-btn { width: 85%; justify-content: center; padding: 10px 20px; font-size: 14px; }
  .stats { grid-template-columns: repeat(2, 1fr); margin: -20px 16px 0; }
  .stat-item { padding: 18px 10px; }
  .stat-number { font-size: 22px; }
  .stat-label { font-size: 11px; }
  .services { grid-template-columns: 1fr; }
  .service-card { padding: 20px 16px; }
  .process { gap: 4px; }
  .process-step { min-width: 70px; padding: 10px 6px; }
  .process-step .icon { font-size: 22px; }
  .process-step .label { font-size: 10px; }
  .process-arrow { font-size: 16px; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-image { min-height: 200px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 18px; }
  .contact-item { font-size: 12px; }
  .address-line { font-size: 11px; }
  .section { padding: 48px 16px; }
  .section-title h2 { font-size: 24px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 16px; }
  .product-name { font-size: 14px; }
  .product-desc { display: none; }
  .about-intro { grid-template-columns: 1fr; gap: 28px; }
  .about-logo-box { max-width: 240px; margin: 0 auto; }
  .advantage-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .timeline { padding-left: 48px; }
  .timeline::before { left: 20px; }
  .timeline-item::before { left: -35px; }
  .announcement-text { font-size: 12px; }
  .announcement-container { gap: 6px; }
  .notice-grid { grid-template-columns: 1fr; gap: 10px; }
  .notice-section { padding: 32px 16px; }
  .notice-title { font-size: 18px; margin-bottom: 20px; }
  .notice-card { padding: 14px 16px 12px; }
  .notice-card .notice-icon-inline { font-size: 16px; }
  .notice-card h3 { font-size: 15px; margin-bottom: 6px; }
  .notice-card p { font-size: 12px; line-height: 1.5; }
  .notice-btn { font-size: 14px; padding: 10px 28px; }
  .detail-layout { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .detail-title { font-size: 22px; }
  .detail-price { font-size: 20px; }
  .detail-price-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .detail-actions { flex-direction: column; }
  .btn-wa-detail { width: 100%; justify-content: center; }
  .btn-back-list { width: 100%; justify-content: center; }
  .gallery-thumb { width: 64px; height: 64px; }
}

@media (max-width: 960px) {
  .detail-layout { grid-template-columns: 1fr; padding: 24px; }
  .detail-actions { flex-direction: column; }
}

@media (max-width: 680px) {
  .detail-layout { padding: 18px; }
  .gallery-thumb { width: 64px; height: 64px; }
  .detail-title { font-size: 28px; }
}

/* ============================================================
   P0-2: Toast 通知组件
   ============================================================ */
.ak-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 260px;
  max-width: 420px;
  padding: 12px 14px;
  background: var(--color-white);
  border-radius: var(--radius-md, 10px);
  box-shadow: 0 8px 24px rgba(15, 36, 64, 0.18);
  border-left: 4px solid transparent;
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.5;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.ak-toast-in {
  opacity: 1;
  transform: translateX(0);
}
.ak-toast-out {
  opacity: 0;
  transform: translateX(20px);
}
.ak-toast-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}
.ak-toast-msg {
  flex: 1;
  word-break: break-word;
}
.ak-toast-close {
  background: transparent;
  border: none;
  padding: 2px 4px;
  color: var(--color-text-muted-2, #a0aec0);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
}
.ak-toast-close:hover {
  color: var(--color-text-secondary, #4a5568);
  background: rgba(0,0,0,0.05);
}
.ak-toast-success {
  border-left-color: #22c55e;
  background: linear-gradient(135deg, #ecfdf5 0%, var(--color-white) 100%);
}
.ak-toast-success .ak-toast-icon { color: #16a34a; }
.ak-toast-info {
  border-left-color: #2b6cb0;
  background: linear-gradient(135deg, var(--color-bg-info) 0%, var(--color-white) 100%);
}
.ak-toast-info .ak-toast-icon { color: var(--color-text-info, #2b6cb0); }
.ak-toast-warn {
  border-left-color: #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, var(--color-white) 100%);
}
.ak-toast-warn .ak-toast-icon { color: #d97706; }
.ak-toast-error {
  border-left-color: #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, var(--color-white) 100%);
}
.ak-toast-error .ak-toast-icon { color: #b91c1c; }
@media (max-width: 520px) {
  .ak-toast { min-width: 0; max-width: calc(100vw - 40px); }
}

/* ============================================================
   P0-2: 骨架屏 (Skeleton Loading)
   ============================================================ */
@keyframes ak-shimmer {
  0%   { background-position: -800px 0; }
  100% { background-position: 800px 0; }
}
.ak-skeleton {
  background-color: var(--color-bg-gray-3, #e2e8f0);
  background-image: linear-gradient(
    90deg,
    var(--color-bg-gray-3, #e2e8f0) 0%,
    var(--color-bg-gray-2, #edf2f7) 40%,
    var(--color-bg-gray-3, #e2e8f0) 80%
  );
  background-size: 800px 100%;
  background-repeat: no-repeat;
  border-radius: var(--radius-sm, 6px);
  animation: ak-shimmer 1.4s ease-in-out infinite;
}
.ak-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}
.ak-skeleton-card {
  background: var(--color-white);
  border-radius: var(--radius-xl, 16px);
  overflow: hidden;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.06));
  display: flex;
  flex-direction: column;
}
.ak-skeleton-card .sk-img {
  width: 100%;
  aspect-ratio: 1;
}
.ak-skeleton-card .sk-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ak-skeleton-card .sk-cat { width: 72px; height: 18px; }
.ak-skeleton-card .sk-title { width: 92%; height: 16px; }
.ak-skeleton-card .sk-sub { width: 60%; height: 14px; }

@media (max-width: 768px) {
  .ak-skeleton-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 16px; }
}

/* ============================================================
   P0-2: 表单内联验证
   ============================================================ */
.ak-input-error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.12) !important;
}
.ak-input-ok {
  border-color: #16a34a !important;
}
.ak-field-error {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: #dc2626;
}
.ak-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .ak-form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ============================================================
   P0-3: 购物车悬浮球 (Cart Floating Action Button)
   ============================================================ */
#ak-cart-fab {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 950;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-light, #f0c040), var(--color-accent, #d69e2e));
  color: var(--color-primary, #1a365d);
  border: none;
  box-shadow: 0 10px 28px rgba(214, 158, 46, 0.45), 0 4px 10px rgba(15, 36, 64, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.25s ease;
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}
#ak-cart-fab.ak-fab-in {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
#ak-cart-fab:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 32px rgba(214, 158, 46, 0.5), 0 6px 14px rgba(15, 36, 64, 0.2);
}
#ak-cart-fab:active { transform: translateY(0) scale(0.97); }
#ak-cart-fab .bi {
  font-size: 26px;
  line-height: 1;
}
#ak-cart-fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: var(--color-primary, #1a365d);
  color: var(--color-white);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  border: 2px solid var(--color-white);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  font-family: inherit;
}
#ak-cart-fab-badge.ak-zero { display: none; }
#ak-cart-fab-badge.ak-pulse { animation: ak-badge-pulse 0.4s ease; }
@keyframes ak-badge-pulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* Navbar cart badge */
.nav-cart-badge {
  display: inline-block;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 4px;
  background: var(--color-accent, #d69e2e);
  color: var(--color-primary, #1a365d);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  vertical-align: middle;
  transition: transform 0.2s ease;
}
.nav-cart-badge.ak-zero { display: none; }
.nav-cart-badge.ak-pulse { animation: ak-badge-pulse 0.4s ease; }
@media (max-width: 560px) {
  #ak-cart-fab { width: 52px; height: 52px; right: 14px; bottom: 16px; }
  #ak-cart-fab .bi { font-size: 22px; }
}

/* ============================================================
   P0-3: 商品搜索框 (Product Search)
   ============================================================ */
.ak-search-bar {
  max-width: 1100px;
  margin: 16px auto 0;
  padding: 0 20px 8px;
}
.ak-search-input-wrap {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}
.ak-search-input-wrap .ak-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted, #718096);
  font-size: 16px;
  line-height: 1;
  pointer-events: none;
}
.ak-search-input {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border: 1px solid var(--color-border-gray-2, #e2e8f0);
  border-radius: 999px;
  font-size: 14px;
  font-family: inherit;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.ak-search-input:focus {
  outline: none;
  border-color: var(--color-accent, #d69e2e);
  box-shadow: 0 0 0 3px rgba(214, 158, 46, 0.14);
}
.ak-search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--color-text-muted-2, #a0aec0);
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  display: none;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background 0.15s ease;
}
.ak-search-clear:hover {
  color: var(--color-text-secondary, #4a5568);
  background: rgba(0,0,0,0.05);
}
.ak-search-clear.ak-show { display: inline-flex; }
@media (max-width: 560px) {
  .ak-search-bar { padding: 0 16px 8px; }
}

/* ============================================================
   P0-3: 微动画 (Micro-interactions)
   ============================================================ */
/* 页面淡入 */
html.ak-page-anim body {
  opacity: 0;
  animation: ak-page-fade-in 0.25s ease forwards;
  animation-delay: 0.02s;
}
@keyframes ak-page-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* 按钮按下反馈 */
.hero-btn:active,
.btn-primary:active,
.btn-secondary:active,
.btn-cart:active,
.btn-whatsapp:active,
.btn-wa-detail:active,
.btn-back-list:active,
.cart-add-btn:active,
.cat-btn:active,
.submit-btn:active,
#ak-cart-fab:active,
.payment-method:active {
  transform: scale(0.97) !important;
  transition: transform 0.08s ease !important;
}

/* 图片加载淡入 */
img {
  opacity: 1;
  transition: opacity 0.25s ease;
}
img.ak-img-fade {
  opacity: 0;
}
img.ak-img-fade.ak-img-loaded {
  opacity: 1;
}

/* 卡片 hover 过渡统一 */
.service-card,
.product-card,
.query-card,
.process-step,
.advantage-card,
.mission-card {
  transition: transform var(--trans-base, 0.2s ease),
              box-shadow var(--trans-base, 0.2s ease),
              border-color var(--trans-base, 0.2s ease);
}

/* ============================================================
   P0-4: 手机端底部 Tab Bar（方案 B：电商 App 标准模式）
   ============================================================ */
@media (min-width: 901px) {
  /* PC 端不展示 Tab Bar，顶栏链接足够 */
  .ak-tab-bar,
  .ak-tab-spacer { display: none !important; }
  body.ak-has-tab-bar { padding-bottom: 0 !important; }
}

.ak-tab-spacer {
  display: block;
  height: 0;
}

@media (max-width: 900px) {
  .ak-tab-spacer {
    display: block;
    height: calc(66px + env(safe-area-inset-bottom, 0px));
    width: 100%;
    flex-shrink: 0;
  }
  body.ak-has-tab-bar {
    /* 防止固定 Tab Bar 遮挡页面底部内容（footer 等） */
    padding-bottom: 0; /* 交给 ak-tab-spacer + 自动布局 */
  }
}

.ak-tab-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 920;
  display: none;
  height: calc(60px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: #ffffff;
  box-shadow: 0 -6px 20px rgba(15, 36, 64, 0.08), 0 -1px 0 rgba(15, 36, 64, 0.05);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  display: none;
  align-items: stretch;
  justify-content: space-around;
}
@media (max-width: 900px) {
  .ak-tab-bar { display: flex; }
  /* 有 Tab Bar 时，购物车悬浮球上移避免重叠（重要，否则 FAB 盖在购物车 Tab 上） */
  body.ak-has-tab-bar #ak-cart-fab { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  /* 手机端顶栏语言切换（hamburger 左侧常驻） */
  .navbar .lang-switcher-mobile {
    display: flex !important;
    gap: 3px;
    align-items: center;
    margin-left: 6px;
    margin-right: 6px;
    padding: 0;
    border-left: none;
  }
  .navbar .lang-switcher-mobile .lang-btn {
    padding: 4px 7px;
    font-size: 11px;
    border-radius: 5px;
    line-height: 1.2;
  }
}
@media (min-width: 901px) {
  /* PC 端隐藏顶栏插入的手机版语言切 */
  .navbar .lang-switcher-mobile { display: none !important; }
  .navbar .lang-switcher-nav { display: flex; }
}

.ak-tab-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 4px 8px;
  text-decoration: none;
  color: #64748b;
  transition: color 0.18s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.ak-tab-item:active { transform: scale(0.94); }
.ak-tab-icon {
  position: relative;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ak-tab-icon .bi {
  font-size: 22px;
  line-height: 1;
}
.ak-tab-label {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
/* Tab 选中态：用 body 提高权重，保证不受其他页面局部 CSS 或缓存干扰 */
body .ak-tab-bar .ak-tab-item.ak-tab-active {
  color: #1a365d !important;
  background: rgba(26, 54, 93, 0.05);
  border-radius: 12px;
}
body .ak-tab-bar .ak-tab-item.ak-tab-active .ak-tab-icon .bi {
  font-size: 24px !important;
  color: #1a365d !important;
}
/* 选中 Tab 指示器：放在 LABEL 正下方（不跟文字重叠） */
body .ak-tab-bar .ak-tab-item.ak-tab-active .ak-tab-label {
  color: #c08e20 !important;
  font-weight: 700 !important;
  position: relative;
  padding-bottom: 5px;
}
body .ak-tab-bar .ak-tab-item.ak-tab-active .ak-tab-label::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #c08e20;
  transform: translateX(-50%);
}

/* Tab Bar 购物车徽章 */
.ak-tab-badge {
  position: absolute;
  top: -4px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--color-accent, #d69e2e);
  color: var(--color-primary, #1a365d);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.18);
  font-family: inherit;
}
.ak-tab-badge.ak-zero { display: none; }
.ak-tab-badge.ak-pulse { animation: ak-badge-pulse 0.4s ease; }

