:root {
    /* 品牌主色（橙红） */
    --primary-color: #E83500;
    --primary-dark: #C42D00;
    --primary-light: #FFF0EB;
    /* 辅色：深暖橙，用于渐变与强调 */
    --secondary-color: #B82E00;
    --secondary-dark: #8F2200;
    --secondary-light: #FFE5DB;
    --accent-color: #FF7043;
    /* 频道页顶栏：保留原绿→蓝渐变（不随全站主色变更） */
    --page-header-bg-start: #00A876;
    --page-header-bg-end: #005BAC;
    /* 顶部导航与主色一致 */
    --nav-brand-color: var(--primary-color);
    --nav-brand-color-dark: var(--primary-dark);
    --text-color: #333;
    --text-light: #666;
    --border-color: #E5E5E5;
    --bg-color: #F5F7FA;
    --white: #FFFFFF;
    --success: #67C23A;
    --warning: #E6A23C;
    --danger: #F56C6C;
    --info: #909399;
    /* 顶部导航 */
    --nav-brand-color: #E83500;
    --nav-brand-color-dark: var(--primary-dark);
    --header-bg: #ffffff;
    --header-nav-bg: #f5f5f5;
    --header-search-bg: #f0f0f0;
    /* 内容区宽度：参考京东主流约 1190px，本站统一加宽 */
    --content-max-width: 1280px;
    --content-padding-x: 16px;
  }

  @media (min-width: 1366px) {
    :root {
      --content-max-width: 1440px;
      --content-padding-x: 20px;
    }
  }

  @media (min-width: 1680px) {
    :root {
      --content-max-width: 1600px;
      --content-padding-x: 24px;
    }
  }

  @media (min-width: 1920px) {
    :root {
      --content-max-width: 1800px;
      --content-padding-x: 24px;
    }
  }

  /* Element Plus 主色与品牌色对齐 */
  html {
    --el-color-primary: #E83500;
    --el-color-primary-light-3: #f08050;
    --el-color-primary-light-5: #f5a080;
    --el-color-primary-light-7: #fcd0c0;
    --el-color-primary-light-8: #fde0d6;
    --el-color-primary-light-9: #fff0eb;
    --el-color-primary-dark-2: #C42D00;
  }
  
  /* 布局样式：首页及各频道页 main / .container 统一内容宽度 */
  .container {
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 var(--content-padding-x);
    box-sizing: border-box;
  }
  
  /* 大屏幕、超大屏由 :root 变量统一控制，此处不再重复定义 */
  
  /* 头部样式（参考门户商城稿：Logo 图 + 圆角搜索 + 圆形工具图标 + 导航/服务专线） */
  /* 全页固定：含 utility + header-top（logo/搜索栏） */
  .header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: #fff;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
  }

  .header-utility {
    background: #f5f5f5;
    border-bottom: 1px solid #e8e8e8;
  }

  .header-utility__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 28px;
    font-size: 12px;
    line-height: 1;
  }

  .header-utility__left,
  .header-utility__right {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
  }

  .header-utility a {
    color: #666;
    text-decoration: none;
    white-space: nowrap;
  }

  .header-utility a:hover {
    color: var(--primary-color, #e83500);
  }

  .header-utility__cart {
    display: inline-flex;
    align-items: center;
    gap: 2px;
  }

  .header-utility__cart-num,
  .header-utility [data-cart-count] {
    color: var(--primary-color, #e83500);
    font-weight: 600;
  }

  .header-top {
    background: #fff;
  }

  .header-top__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 96px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .header-top__inner--compact {
    gap: 10px;
    min-height: 64px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .logo,
  .logo-box {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
    min-width: 0;
    text-decoration: none;
  }

  .logo img,
  .logo-img {
    display: block;
    width: auto;
    max-width: 320px;
    height: 64px;
    object-fit: contain;
    object-position: left center;
    margin-right: 0;
    flex-shrink: 0;
  }

  .header-search-wrap,
  .search-box {
    position: relative;
    flex: 1 1 640px;
    width: auto;
    max-width: 860px;
    margin: 0 auto;
    z-index: 40;
  }

  .header-search-wrap--mobile {
    max-width: none;
    margin: 0 0 12px;
  }

  /* 京东式加长搜索框：左侧商品/品牌或工厂 + 输入 + 搜索按钮 */
  .header-search {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: none;
    margin: 0;
    height: 48px;
    background: #fff;
    border-radius: 100px;
    overflow: hidden;
    border: 2px solid var(--primary-color, #e83500);
    transition: box-shadow 0.2s;
  }

  .header-search__type {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 0 4px 0 8px;
    background: #fff;
    border-right: 1px solid #f0f0f0;
  }

  .header-search__type-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 10px;
    margin: 0 1px;
    border-radius: 14px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
  }

  .header-search__type-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .header-search__type-item.is-active {
    background: #fff3ef;
    color: var(--primary-color, #e83500);
    font-weight: 600;
  }

  .header-search__type--mobile {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
    padding: 6px 8px;
    justify-content: flex-start;
  }

  .header-search__scope {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 0 0 0 6px;
    background: #fff7f4;
    border-right: 1px solid #f5d0c4;
  }

  .header-search__scope-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 10px;
    margin: 0 2px;
    border-radius: 4px;
    font-size: 13px;
    color: #606266;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
  }

  .header-search__scope-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .header-search__scope-item.is-active {
    background: var(--primary-color, #e83500);
    color: #fff;
    font-weight: 600;
  }

  .header-search__scope--mobile {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #f5d0c4;
    padding: 6px;
    justify-content: flex-start;
  }

  .header-search--mobile {
    flex-wrap: wrap;
    height: auto;
  }

  .header-search--mobile .header-search__field {
    flex: 1;
    min-width: 0;
  }

  .header-search--mobile .header-search__input {
    height: 40px;
  }

  .header-search--mobile .header-search__btn {
    height: 40px;
  }

  .header-search:focus-within {
    background: #fff;
    box-shadow: 0 0 0 2px rgba(232, 53, 0, 0.12);
  }

  .header-search--mobile {
    max-width: none;
    margin: 0;
  }

  .header-search__field {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    height: 100%;
  }

  .header-search__input,
  .search-input {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 100%;
    padding: 0 36px 0 16px;
    border: none;
    outline: none;
    background: transparent;
    color: #303133;
    font-size: 14px;
    -webkit-appearance: none;
    appearance: none;
  }

  /* 使用自定义清空按钮，隐藏原生 search 清除以免与提交按钮冲突、误触发 */
  .header-search__input::-webkit-search-decoration,
  .header-search__input::-webkit-search-cancel-button,
  .header-search__input::-webkit-search-results-button,
  .header-search__input::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
  }

  .header-search__clear {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 50%;
    background: #e4e7ed;
    color: #606266;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 2;
  }

  .header-search__clear:hover {
    background: #dcdfe6;
    color: #303133;
  }

  .header-search__clear[hidden] {
    display: none !important;
  }

  .header-search__input::placeholder {
    color: #999;
  }

  .header-search__btn,
  .search-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 88px;
    width: auto;
    height: 100%;
    padding: 0 22px;
    border: none;
    border-radius: 0;
    background: var(--primary-color);
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s;
  }

  @media (min-width: 1300px) {
    .header-search-wrap,
    .search-box {
      max-width: 920px;
      flex-basis: 720px;
    }
  }

  .header-search__btn:hover {
    background: var(--primary-dark);
  }

  .header-search__btn-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
  }

  .header-search-entries {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 8px;
    min-height: 18px;
    padding: 0 2px;
  }

  .header-search-entries__link {
    color: #666;
    font-size: 12px;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
  }

  .header-search-entries__link:hover {
    color: var(--primary-color, #e83500);
  }

  .header-search-entries__link--ai {
    color: #005bac;
  }

  .header-search-entries__link--ai:hover {
    color: var(--primary-color, #e83500);
  }

  .header-search-entries__sep {
    width: 1px;
    height: 10px;
    margin: 0 12px;
    background: #dcdfe6;
    flex-shrink: 0;
  }

  .header-search-history {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    background: #fff;
    border: 1px solid #ebeef5;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }

  .header-search-history__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px 6px;
    font-size: 12px;
    color: #909399;
  }

  .header-search-history__clear {
    border: none;
    background: transparent;
    color: #909399;
    cursor: pointer;
    font-size: 12px;
    padding: 0;
  }

  .header-search-history__clear:hover {
    color: var(--primary-color);
  }

  .header-search-history__list {
    list-style: none;
    margin: 0;
    padding: 0 0 6px;
    max-height: 240px;
    overflow-y: auto;
  }

  .header-search-history__item {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 6px;
  }

  .header-search-history__query {
    flex: 1;
    min-width: 0;
    text-align: left;
    border: none;
    background: transparent;
    padding: 8px 8px;
    font-size: 13px;
    color: #303133;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-search-history__query:hover {
    background: #f5f7fa;
    color: var(--primary-color);
  }

  .header-search-history__remove {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #c0c4cc;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    border-radius: 6px;
  }

  .header-search-history__remove:hover {
    color: #f56c6c;
    background: #fef0f0;
  }

  .header-tools,
  .header-func {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    flex-shrink: 0;
    min-height: 56px;
    margin-left: auto;
  }

  .header-tools--compact {
    gap: 8px;
  }

  .header-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #303133;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
  }

  .header-icon-btn:hover {
    background: #f5f5f5;
    color: var(--primary-color);
  }

  .header-nav,
  .nav-wrap {
    background: #fff;
    border-bottom: 1px solid #ebebeb;
  }

  .header-nav__inner {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .nav-menu,
  .nav-list {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    min-width: 0;
    flex: 1;
  }

  .nav-menu::-webkit-scrollbar {
    display: none;
  }

  .nav-item {
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    font-size: 16px;
    font-weight: 500;
    color: #444;
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
    background: transparent;
  }

  a.nav-item--external {
    text-decoration: none;
  }

  .nav-item:hover,
  .nav-item.active,
  a.nav-item--external:hover {
    color: var(--primary-color);
    background: transparent;
  }

  .nav-item.active {
    font-weight: 700;
  }

  .service-line {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
    border-left: 2px solid #aaa;
    padding-left: 24px;
    font-size: 15px;
    color: #666;
    white-space: nowrap;
  }

  .service-line__label {
    color: #666;
  }

  .service-line__phone {
    color: #444;
    font-weight: 600;
    text-decoration: none;
  }

  .service-line__phone:hover {
    color: var(--primary-color);
  }

  /* 头部窄屏 */
  @media (max-width: 1095px) {
    .header-top__inner--compact .logo,
    .header-top__inner--compact .logo-box {
      justify-content: center;
      flex: 1;
    }

    .header-top__inner--compact .logo img,
    .header-top__inner--compact .logo-img {
      height: 40px;
      max-width: min(220px, 52vw);
    }

    .service-line {
      display: none;
    }

    .header-nav__inner {
      justify-content: flex-start;
    }
  }

  .header-mobile-drawer .el-drawer__body {
    padding: 20px 16px;
  }

  .header-support-popover {
    padding: 12px !important;
  }
  
  /* 按钮样式 */
  .btn-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s;
  }
  
  .btn-primary:hover {
    background: var(--primary-dark);
  }
  
  .btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s;
  }
  
  .btn-secondary:hover {
    background: var(--secondary-dark);
  }
  
  .btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
  }
  
  .btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
  }
  
  /* 卡片样式 */
  .card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  }
  
  /* 表格样式 */
  .table-wrapper {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
  }
  
  /* 表单样式 */
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
  }
  
  /* 状态标签 */
  .status-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
  }
  
  .status-tag.pending {
    background: #FFF3E0;
    color: #E6A23C;
  }
  
  .status-tag.approved {
    background: #FFF0EB;
    color: var(--primary-color);
  }
  
  .status-tag.rejected {
    background: #FEF0F0;
    color: #F56C6C;
  }
  
  /* 布局工具类 */
  .flex {
    display: flex;
  }
  
  .flex-col {
    flex-direction: column;
  }
  
  .items-center {
    align-items: center;
  }
  
  .justify-between {
    justify-content: space-between;
  }
  
  .gap-10 {
    gap: 10px;
  }
  
  .gap-20 {
    gap: 20px;
  }
  
  .mt-20 {
    margin-top: 20px;
  }
  
  .mb-20 {
    margin-bottom: 20px;
  }
  
  /* 响应式 */
  @media (max-width: 768px) {
    .container {
      padding: 0 15px;
    }
    
    .nav-menu {
      display: none;
    }
  }