 /* ========== 基础重置 ========== */
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html, body {font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;color: #333;background: #f9f9fd;font-size: 14px;}
  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }
  img { display: block; max-width: 100%; }
  button { cursor: pointer; border: none; background: none; font-family: inherit; }

  /* ========== 通用容器 ========== */
  .container {max-width: 1420px;margin: 0 auto;/* padding: 0 12px; */width: 100%;}

  /* ========== 顶部欢迎条 ========== */
  .top-bar {
    background: linear-gradient(90deg, #e6f4ff 0%, #f4faff 100%);
    border-bottom: 1px solid #d6e9f5;
    padding: 6px 0;
    font-size: 13px;
    color: #555;
  }
  .top-bar-inner {
    display: flex;
    gap: 6px;
    justify-content: space-between;
    align-items: center;
  }
  .top-bar .welcome { color: #1e6fb8; }
  .top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .quick-buy-btn {
    background: #1e6fb8;
    color: #fff;
    padding: 6px 18px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: background .2s;
  }
  .quick-buy-btn:hover {background: #49a8fd;}


  /* ========== Logo + 搜索 + 电话区 ========== */
  .header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 24px;
    flex-wrap: wrap;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
  }

  .search-box {
    flex: 1;
    max-width: 520px;
    display: flex;
    border: 2px solid #1e6fb8;
    border-radius: 4px;
    overflow: hidden;
    min-width: 240px;
  }
  .search-box input {
    flex: 1;
    border: none;
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
  }
  .search-box button {
    background: #1e6fb8;
    color: #fff;
    padding: 0 28px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .contact-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1e6fb8;
  }
  .contact-phone .phone-icon {
    font-size: 30px;
    color: #1e6fb8;
  }
  .contact-phone .phone-info small {
    display: block;
    font-size: 12px;
    color: #888;
  }
  .contact-phone .phone-info strong {
    font-size: 20px;
    font-weight: 800;
    color: #ff6a00;
    letter-spacing: 1px;
  }

  /* ========== 实时热搜 + 产品分类行 ========== */
  .hot-search-row {
    padding: 10px 0;
  }
  .hot-search-row .row-inner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    white-space: nowrap;
    padding-bottom: 2px;
  }
  .hot-search-row .row-inner::-webkit-scrollbar { height: 4px; }
  .hot-search-row .row-inner::-webkit-scrollbar-thumb { background: #cce0f0; border-radius: 2px; }
  .row-label {
    font-weight: bold;
    width: 75px;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .row-items {
    display: flex;
    gap: 18px;
    flex-shrink: 0;
  }
  .row-items a {
    color: #555;
    font-size: 13px;
    transition: color .2s;
  }
  .row-items a:hover { color: red; font-weight:bold}
	.row-items .active {
	    color: red;
	    font-weight: bold;
	}
	
	a.active {.hot-tag-row .row-label: :
	    before;
	}
	
	.row-items .active::before {
	    content: "🔥";
	}


/* ========== 蓝色主导航（桌面端样式） ========== */
/* ========== 蓝色主导航（桌面端样式） ========== */
.main-nav .container {
    border-radius: 5px;
    background: linear-gradient(90deg, #2a85d8, #1e6fb8);
}
.main-nav-mobile-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}
.nav-mobile-title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}
.nav-toggle {
    width: 38px;
    height: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    transition: background .2s;
    border: none;
    cursor: pointer;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.28); }
.nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle.open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle.open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
.main-nav-inner {
    display: flex;
    flex-wrap: wrap;
}

/* 一级菜单项 */
.nav-item {
    flex: 1;
    min-width: 110px;
    position: relative;
    text-align: center;
}
.nav-item > a {
    color: #fff;
    padding: 14px 10px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background .2s;
    text-decoration: none;
}
.nav-item > a:hover,
.nav-item.active > a {
    background: rgb(30 111 185 / 44%);
}

/* 有二级菜单的箭头 */
.nav-item.has-sub > a::after {
    content: "▾";
    font-size: 12px;
    margin-left: 2px;
    transition: transform .2s;
}
.nav-item.has-sub:hover > a::after {
    transform: rotate(180deg);
}

/* 二级下拉菜单：默认隐藏 */
.sub-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 999;
    display: none;
}

/* 关键：鼠标悬浮一级菜单时，显示二级菜单 */
.nav-item.has-sub:hover > .sub-nav {
    display: block;
}

.sub-nav a {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    text-align: center;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all .2s;
}
.sub-nav a:last-child {
    border-bottom: none;
    border-radius: 0 0 6px 6px;
}
.sub-nav a:hover {
    background: #f5f9ff;
    color: #2a85d8;
}

/* 响应式：移动端 */
@media screen and (max-width: 768px) {
    .main-nav-mobile-bar {
        display: flex;
    }
    .main-nav-inner {
        display: none;
        flex-direction: column;
    }
    .main-nav-inner.open {
        display: flex;
    }
    .nav-item {
        width: 100%;
        min-width: auto;
    }
    .sub-nav {
        position: static;
        box-shadow: none;
        border: none;
        background: rgba(0,0,0,0.1);
        display: none;
    }
    /* 移动端点击展开（保留JS） */
    .nav-item.has-sub.mobile-open > .sub-nav {
        display: block;
    }
    .sub-nav a {
        color: #fff;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        text-align: left;
        padding-left: 40px;
    }
    .sub-nav a:hover {
        background: rgba(255,255,255,0.1);
        color: #fff;
    }
}



  /* ========== 热门标签行 ========== */
  .hot-tag-row {
    padding: 10px 0;
  }
  .hot-tag-row .row-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
  }
  .hot-tag-row .row-label {
    font-size: 16px;
    font-weight: bold;
    color: #1e6fb8;
    width: 88px;
  }
  .hot-tag-row .row-items a {
    color: #666;
    font-size: 13px;
  }
  .hot-tag-row .row-items a:hover { color: #ff0000;font-weight:bold }

  /* ========== 三张轮播图 ========== */
  .banner-section {padding: 16px 0 30px;padding-top: 0;}
  .banner-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .banner-card {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: #f0f4f8;
    /* aspect-ratio: 380 / 130; */
  }
  .banner-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform .6s cubic-bezier(.45,.05,.25,1);
  }
  .banner-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
    position: relative;
  }
 
  .banner-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
  }
  .banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgb(33 116 191 / 39%);
    cursor: pointer;
    transition: background .2s, transform .2s;
  }
  .banner-dot.active {
    background: #2071bc;
    transform: scale(1.25);
  }

  /* ========== 浮窗表单（快速求购） ========== */
  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 16px;
  }
  .modal-overlay.show { display: flex; }
  .modal {
    background: #fff;
    border-radius: 8px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: modalIn .3s ease;
  }
  @keyframes modalIn {
    from { opacity: 0; transform: translateY(-20px) scale(.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
  .modal-header {
    background: linear-gradient(90deg, #0064e5, #4096ff);
    color: #fff;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
  }
  .modal-close {
    color: #fff;
    font-size: 22px;
    line-height: 1;
    padding: 0 4px;
  }
  .modal-body { padding: 20px; }
  .form-group { margin-bottom: 14px; }
  .form-group label {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 5px;
  }
  .form-group label .req { color: #ff6a00; }
  .form-control {
    width: 100%;
    border: 1px solid #d6dde6;
    border-radius: 4px;
    padding: 9px 12px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color .2s;
  }
  .form-control:focus { border-color: #1e6fb8; }
  textarea.form-control { resize: vertical; min-height: 70px; }
  .form-submit {
    width: 100%;
    background: linear-gradient(90deg, #0064e5, #4096ff);
    color: #fff;
    padding: 11px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    margin-top: 4px;
    transition: opacity .2s;
  }
  .form-submit:hover { opacity: 0.92; }
  .form-tip {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 10px;
  }

  /* ========== 响应式 ========== */
  @media (max-width: 992px) {
    .header-main { gap: 14px; }
    .logo-text h1 { font-size: 17px; }
    .logo-text p { font-size: 10px; }
    .search-box { max-width: 360px; }
    .contact-phone .phone-info strong { font-size: 17px; }
    .main-nav-inner a { padding: 12px 14px; font-size: 14px; }
  }

  @media (max-width: 768px) {
    /* 顶部条：隐藏欢迎文字，显示 mobile-logo（左快速求购 / 右 logo） */
    .top-bar-inner { justify-content: space-between; gap: 8px; }
    .mobile-logo { display: inline-flex; }
	.search-box,.contact-phone{
		display: none;
	}
    /* Logo + 搜索 + 电话 区域 */
    .header-main {
      flex-direction: column;
      align-items: stretch;
      text-align: center;
    }
    .logo { justify-content: center; }
    .search-box { max-width: 100%; }
    .contact-phone { justify-content: center; }

    /* 主导航：汉堡菜单模式 */
    .main-nav-mobile-bar { display: flex; }
    .main-nav-inner {
      display: none;
      flex-direction: column;
      border-top: 1px solid rgba(255, 255, 255, 0.18);
      animation: navSlideDown .25s ease;
    }
    .main-nav-inner.open { display: flex; }
    .main-nav-inner a {
      padding: 12px 18px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.12);
      flex: none;
      text-align: left;
      min-width: 0;
    }

    /* 移动端隐藏：实时热搜 + 热门标签 */
    .hot-search-row,
    .hot-tag-row { display: none; }

    /* 轮播单列 */
    .banner-row { grid-template-columns: 1fr; }
    .banner-card {/* aspect-ratio: 380 / 160; */}
  }


/* 底部外层容器 */
.footer-wrap{
    background-color: #3a4362;
    color: #ffffff;
    padding: 60px 20px 30px;
}
.footer-container{
    max-width: 1400px;
    margin: 0 auto;
}
/* 上半部分三栏布局 */
.footer-top{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}
/* 左侧公司导航 */
.footer-left .logo-box{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}
.footer-left .logo-box img{
    height: 48px;
}
.footer-left .logo-box .company-name{
    font-size: 26px;
    font-weight: 500;
}
.footer-nav{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 40px;
}
.footer-nav a{
    color: #e8eaf2;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s;
}
.footer-nav a:hover{
    color: #fff;
}
/* 中间联系我们 */
.footer-middle h3{
    font-size: 24px;
    margin-bottom: 26px;
}
.contact-item{
    font-size: 16px;
    line-height: 2.2;
    color: #e8eaf2;
}
/* 右侧关注我们二维码 */
.footer-right h3{
    font-size: 24px;
    margin-bottom: 26px;
}
.qrcode-box{
    display: flex;
    gap: 30px;
}
.qrcode-item img{
    width: 140px;
    height: 140px;
    background: #fff;
    padding: 6px;
}
/* 底部文字介绍+版权 */
.footer-bottom{
    text-align: center;
    line-height: 1.8;
    font-size: 15px;
    color: #d9dce8;
}
.footer-desc{
    margin-bottom: 20px;
}
.copyright-text{
    font-size: 16px;
    margin-top: 10px;
}

/* 移动端适配 768px以下 */
@media screen and (max-width:767px) {
    .footer-top{
        grid-template-columns: 1fr;
        gap: 45px;
    }
    .qrcode-box{
        justify-content: center;
    }
    .footer-nav{
        gap:12px 20px;
    }
}
</style>

  @keyframes navSlideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @media (max-width: 480px) {
	.container{
		padding: 0 15px;
	}
    .logo-text h1 { font-size: 15px; letter-spacing: 0; }
    .logo-text p { display: none; }
    .search-box input { padding: 8px 10px; font-size: 13px; }
    .search-box button { padding: 0 16px; font-size: 13px; }
    .contact-phone .phone-info strong { font-size: 15px; }
    .modal-header { padding: 12px 14px; font-size: 15px; }
    .modal-body { padding: 16px; }
  }