* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f5f5;
  color: #333;
}

.container {
      max-width: 1550px;
      margin: 0 auto;
      padding: 0 16px;
    }


/* ========== 顶部工具栏 ========== */
.top{
  background: #000;
}
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  
  color: white;
  z-index: 2000;
  position: relative;
}

.search-container.pc {
  position: relative;
  width: 300px;
}

.search-container.pc input {
  width: 100%;
  padding: 8px 40px 8px 12px;
  border: none;
  border-radius: 4px;
  background: white;
  color: #333;
  font-size: 16px;
}

.search-container.pc .search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  font-size: 1rem;
}

.mobile-search-trigger {
  background: red;
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  display: none;
  cursor: pointer;
  font-size: 1rem;
}

/* ========== 移动端搜索 ========== */
.mobile-search-expanded {
  display: none;
  background: #000;
  padding: 12px 40px;
  z-index: 1999;
}

.mobile-search-expanded.active {
  display: block;
}

.mobile-search-expanded .wrapper {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.mobile-search-expanded input {
  width: 100%;
  padding: 10px 40px 10px 12px;
  border: none;
  border-radius: 4px;
  background: white;
  color: #333;
  font-size: 16px;
}

.mobile-search-expanded .search-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #e74c3c;
  cursor: pointer;
  font-size: 1.2rem;
}

/* ========== 主导航栏 ========== */
.main-nav {
  background: white;
  width:100%;
  position: relative;
  z-index: 1005;
}
.main-nav .container{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  
}
.logo img {
  height: 40px;
  width:100%;
  max-width: 200px;
}

.menu {
  display: flex;
  gap: 30px;
  list-style: none;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.menu a:hover {
  border-color: #e74c3c;
}

/* ========== PC 全宽下拉 ========== */
.pc-fullwidth-dropdown {
  position: fixed;
  left: 0;
  width: 100vw;
  background: white;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  padding: 30px 40px;
}

.pc-fullwidth-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.product-item {
  text-align: center;
  padding: 10px;
}

.product-item img {
  width: 100%;
  max-width: 100px;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  transition: filter 0.3s;
}

.product-item:hover img { 
  filter: grayscale(0); 
}

.product-item h3, .product-item span {
  font-size: 0.9rem;
  margin-top: 8px;
  display: block;
}

.sub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.9rem;
}

.sub-links a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.sub-links a:hover {
  color: #e74c3c;
}

/* ========== 背景遮罩 ========== */
.overlay-bg {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
}

.overlay-bg.active {
  display: block;
}

/* ========== 主视觉区 ========== */


/* ========== 移动端全屏菜单 ========== */
.mobile-fullscreen-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: white;
  z-index: 2001;
  overflow-y: auto;
  padding: 20px;
}

.mobile-fullscreen-menu.active {
  display: block;
}

.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

.mobile-close {
  background: none;
  border: 1px solid #e74c3c;
  color: #e74c3c;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 1.2rem;
  cursor: pointer;
}

.mobile-menu-list {
  list-style: none;
}

.mobile-menu-list > li {
  margin: 16px 0;
}

.mobile-menu-list a {
  display: block;
  font-size: 1.2rem;
  color: #333;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-list a:hover {
  color: #e74c3c;
}

/* ========== 移动端子菜单 ========== */
.mobile-submenu {
  list-style: none;
  padding-left: 0;
  margin-top: 12px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-submenu.active {
  max-height: 1000px;
  padding: 16px 0;
}

.mobile-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
  padding: 0 10px;
}

@media (min-width: 480px) {
  .mobile-product-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}

.mobile-submenu a {
  display: block;
  color: #555;
  padding: 6px 10px;
  text-decoration: none;
  font-size: 1rem;
  border: none;
}

.mobile-submenu a:hover {
  color: #e74c3c;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .top-bar { padding: 10px 20px; }
  .search-container.pc { display: none !important; }
  .mobile-search-trigger { display: block; }
  .main-nav { padding: 16px 20px; }
  .menu { display: none !important; }
  .hamburger {
    display: block;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #333;
  }
  
  .mobile-search-expanded { padding: 10px 20px; }
}

@media (min-width: 769px) {
  .hamburger { display: none !important; }
}

/* ========== FOOTER ========== */
footer {
  background: #111;
  color: white;
  padding: 40px 0 20px;
  font-size: 16px;
  margin-top: 80px;
}

.footer-top {
  max-width: 1550px;
  margin: 0 auto 40px;
  padding: 0 20px;
  text-align: center;
  color: #ccc;
  line-height: 1.6;
}

/* 主菜单区：背景白色，100% 宽度 */
.footer-main {
  background: white;
  width: 100%;
  padding: 30px 0;
  border-bottom: 1px solid #eee;
}

.footer-content-wrapper {
  max-width: 1550px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ✅ PC 端四列平铺 */
@media (min-width: 769px) {
  .footer-cols.pc-only {
    display: flex;
    justify-content: space-between;
    gap: 30px;
  }

  .footer-cols.pc-only .col {
    flex: 1;
    min-width: 200px;
  }
}

.pc-only { display: block; }
.mobile-only { display: none; }

.col h3 {
  color: #333;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.col ul, .accordion-content ul {
  list-style: none;
  padding-left: 0;
}

.col li, .accordion-content li {
  margin-bottom: 8px;
}

.col a, .accordion-content a {
  color: #e74c3c;
  text-decoration: underline;
  transition: color 0.2s;
}

.col a:hover, .accordion-content a:hover {
  color: #f39c12;
}

/* ========== 移动端折叠菜单 ========== */
@media (max-width: 768px) {
  .pc-only { display: none !important; }
  .mobile-only { display: block !important; }

  .footer-cols.mobile-only {
    display: block;
    gap: 0;
  }

  .accordion-item {
    margin-bottom: 16px;
    border-bottom: 1px solid #ddd;
  }

  .accordion-toggle {
    width: 100%;
    padding: 12px 0;
    background: none;
    border: none;
    color: #333;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
  }

  .accordion-toggle::after {
    content: "▼";
    font-size: 0.8rem;
    transition: transform 0.3s ease;
  }

  .accordion-toggle.active::after {
    transform: rotate(180deg);
  }

  .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
  }

  .accordion-content.active {
    max-height: 500px;
    padding: 12px 0;
  }

  .footer-bottom.mobile-only {
    padding: 30px 20px;
    margin-top: 40px;
  }

  .mobile-footer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
  }

  .logo {
    width: 180px;
  }
}

/* PC 底部 */
.footer-bottom.pc-only {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 30px 20px;
  border-top: 1px solid #333;
  margin-top: 40px;
  background: #111;
  color: white;
  max-width: 1550px;
  margin: 40px auto 0;
}

.footer-bottom.pc-only .left {
  flex: 1;
}

.footer-bottom.pc-only .right {
  flex: 0 0 200px;
  margin-left: 40px;
}


.help-button.fixed {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.help-button.fixed button {
  background: #e74c3c;
  color: white;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}


/* === Breadcrumb - 加粗版 === */
    .breadcrumb {
      background-color: white;
    }
    .breadcrumb .container {
      padding: 20px 40px;
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 1.1rem;
      color: #555;
      font-weight: 600; /* ← 关键：加粗 */
      box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }
    .breadcrumb a {
      text-decoration: none;
      color: #d32f2f;
      font-weight: 600;
    }

    .breadcrumb a:hover {
      text-decoration: underline;
    }

    .breadcrumb span {
      color: #777;
      font-weight: 600;
    }

     /* === 移动端：隐藏面包屑 === */
    @media (max-width: 767px) {
      .breadcrumb {
        display: none !important;
      }
    }

    /* ========== REACH OUT TO US 模块 ========== */
.reach-out {
  text-align: center;
  padding: 60px 20px;
  background-color: #f5f5f5;
}

.reach-out h2 {
  color: #1a3d68;
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.reach-out .contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.reach-out .contact-buttons button {
  border: 1px solid #e74c3c;
  background: white;
  color: #e74c3c;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-weight: 500;
}

.reach-out .contact-buttons i {
  font-size: 1.2rem;
  color: #e74c3c;
}