@charset "utf-8";
/* 合并压缩的CSS文件 */

/* CSS Reset and Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans TC',sans-serif;
  font-size: 14px;
  color: #666;
  background-color: #fff;
  line-height: 1.7em;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 基本工具类 */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }

.justify-content-start { justify-content: flex-start !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-around { justify-content: space-around !important; }
.justify-content-evenly { justify-content: space-evenly !important; }

.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.align-items-center { align-items: center !important; }
.align-items-baseline { align-items: baseline !important; }
.align-items-stretch { align-items: stretch !important; }

.flex-column { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 1rem; }
.pt-4 { padding-top: 1.5rem; }
.pt-5 { padding-top: 3rem; }

.pb-1 { padding-bottom: 0.25rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-3 { padding-bottom: 1rem; }
.pb-4 { padding-bottom: 1.5rem; }
.pb-5 { padding-bottom: 3rem; }


.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

/* 容器系统 */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* 响应式显示/隐藏工具 */
@media (max-width: 575.98px) {
  .d-sm-none { display: none !important; }
  .d-sm-block { display: block !important; }
}

@media (max-width: 767.98px) {
  .d-md-none { display: none !important; }
  .d-md-block { display: block !important; }
}

@media (max-width: 991.98px) {
  .d-lg-none { display: none !important; }
  .d-lg-block { display: block !important; }
}

@media (max-width: 1199.98px) {
  .d-xl-none { display: none !important; }
  .d-xl-block { display: block !important; }
}

/* 响应式列系统 */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

[class^="col-"],
[class*=" col-"] {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

@media (min-width: 576px) {
  .col-sm-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-sm-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-sm-3 { flex: 0 0 25%; max-width: 25%; }
  .col-sm-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-sm-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
  .col-sm-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-sm-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-sm-9 { flex: 0 0 75%; max-width: 75%; }
  .col-sm-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-sm-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 768px) {
  .col-md-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-md-9 { flex: 0 0 75%; max-width: 75%; }
  .col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-md-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 992px) {
  .col-lg-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
  .col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-lg-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 1200px) {
  .col-xl-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-xl-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-xl-3 { flex: 0 0 25%; max-width: 25%; }
  .col-xl-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-xl-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-xl-6 { flex: 0 0 50%; max-width: 50%; }
  .col-xl-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-xl-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-xl-9 { flex: 0 0 75%; max-width: 75%; }
  .col-xl-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-xl-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-xl-12 { flex: 0 0 100%; max-width: 100%; }
}

/* 自定义样式 */
a{color:#333; text-decoration:none;}
ul,ol,li{ padding:0px; margin:0px;}
.bb{ border-bottom:1px dotted #eee;}
.met-logo img{max-height:70px;}

.notice p{ margin:0px;}
header .head_top_nav{ height:36px; line-height:36px; background:#333;}
header .head_top_nav ol,header .head_top_nav dl{ padding:0px; margin:0px;}
header .head_top_nav li>a,header .head_top_nav dt>a{ color:#fff;}
header .head_top_nav a:hover{ color:#fd9800;}
.language {
  position: relative;
  display: inline-block;
}

.language dl {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.language dt {
  margin: 0;
  padding: 0;
  position: relative;
}

.language dt a {
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  padding: 1px 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.language dt a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fd9800;
}

.language dt i {
  margin-left: 8px;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.language:hover dt i {
  transform: rotate(180deg);
}

.language dd {
  position: absolute;
  top: 100%;
  left: 0;
  padding: 8px 0;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 120px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.language:hover dd {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language dd a {
  display: block;
  font-size: 14px;
  padding: 5px 11px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
  border-radius: 0;
  height: auto;
  line-height: 1.4;
}
.language dd a img{ margin-right:5px; }

.language dd a:hover {
  color: #fd9800;
  background-color: #f8f9fa;
}

/* 响应式调整 */
@media (max-width: 767.98px) {
  .language dt a {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .language dd {
    min-width: 100px;
  }
  
  .language dd a {
    padding: 8px 12px;
    font-size: 13px;
  }
}

/* 优化头部导航栏样式 */
.head_top_nav {
  background-color: #333;
  height: auto;
}

.tem_top_nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tem_top_nav .language {
  margin: 0;
}
.help-map ol li{ display:inline-block;}

.layer-search-pup {
    background-color: rgba(20,22,24,.9) !important;
}
@media (min-width: 1500px)
.layer-search-pup .search-info {
    width: 980px;
    left: 50%;
    margin-left: -490px;
}
.layer-search-pup .search-info {
    position: absolute;
    top: 50%;
    margin-top: -25px;
    left: 25%;
    width: 50%;
}
.layer-search-pup .search-info .input-wrap .form-control {
    height: 60px;
    line-height: 60px;
    border-radius: 30px;
    border-color: #fff;
    color: #fff;
    font-size: 20px;
    background: rgba(0,0,0,0);
}
.layer-search-pup .search-info .input-wrap a i {
    color: #fff;
    font-size: 1.4rem;
}
.search-info .layer-cancel{ position:absolute; top:-50px; left:50%;}
.search-info .searchgo{ position:absolute; right:20px; top:8px; width:40px; height:40px; border:none; background:url(../search.png) no-repeat; background-size:100%;}
.layer-search-pup .search-info .input-wrap {position: relative;}

.menu-wrapper {display: flex;justify-content: center;}
#menu .nav>li>a {padding: .5rem 1.5rem;display: block;color: #333;font-size: 14px;}
#menu .navbar-nav>li{ position:relative;}
#menu .navbar-nav>li i{ position:absolute; top:15px; right:-8px;}
#menu .navbar-nav>li .submenu{ width:400px; padding-left:10px; padding-right:10px;}
#menu .navbar-nav>li .submenu dd{float:left;}
#menu .navbar-nav>li .submenu dd a{ display:block; margin-bottom:10px; font-size:14px;}
#menu .navbar-nav>li .submenu dt{ float:right;}

/* 确保三个元素在同一行排列 */
.fl.met-logo {
  float: none !important;
  flex: 0 0 auto;
  margin: 0;
}

.menu-wrapper {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 100;
}

.cart-account {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  margin: 0;
}

/* 容器样式调整 - 确保三个元素并列一排 */
.tem_inner.tem_head .container {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 20px;
}

/* 确保三个核心元素在同一行 */
.tem_inner.tem_head .container > * {
  flex-shrink: 0;
}

.fl.met-logo {
  flex: 0 0 auto;
  float: none !important;
  margin: 0;
}

.menu-wrapper {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 100;
}

.cart-account {
  flex: 0 0 auto;
  display: flex !important;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

/* 确保在所有屏幕尺寸下都能正常显示 */
@media (max-width: 1199.98px) {
  .tem_inner.tem_head .container {
    flex-wrap: wrap;
  }
  
  .menu-wrapper {
    order: 3;
    width: 100%;
    margin-top: 10px;
  }
  
  .fl.met-logo {
    order: 1;
  }
  
  .cart-account {
    order: 2;
  }
}

@media (max-width: 767.98px) {
  .tem_inner.tem_head .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .fl.met-logo {
    align-self: center;
  }
  
  .cart-account {
    align-self: center;
  }
  
  .menu-wrapper {
    width: 100%;
    margin-top: 0;
  }
}

/* 导航样式调整 */
#menu {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#menu .navbar-nav {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

/* 菜单项样式 */
#menu .navbar-nav>li {
  position: relative;
  margin: 0;
}

#menu .navbar-nav>li>a {
  display: block;
  padding: 15px 10px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
}

#menu .navbar-nav>li>a:hover, 
#menu .navbar-nav>li.navdown>a {
  color: #8c414d;
}

#menu .navbar-nav>li>a:hover::after, 
#menu .navbar-nav>li.navdown>a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background-color: #8c414d;
}

/* 下拉子菜单样式优化 */
#menu .navbar-nav>li .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 400px;
  padding: 10px;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 8px 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  border: 1px solid #eee;
}

#menu .navbar-nav>li:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#menu .navbar-nav>li .submenu dd {
  flex: 1 1 30%;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 10px;
}

#menu .navbar-nav>li .submenu dd a {
  flex: 0 0 calc(50% - 5px);
  padding: 8px 12px;
  margin: 0;
  font-size: 14px;
  color: #666;
  text-decoration: none;
  transition: all 0.2s ease;
  border-radius: 4px;
}

#menu .navbar-nav>li .submenu dd a:hover {
  color: #8c414d;
  background-color: #f8f9fa;
}

#menu .navbar-nav>li .submenu dt {
  flex: 0 0 60%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#menu .navbar-nav>li .submenu dt img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 响应式菜单调整 */
@media (max-width: 991.98px) {
  .tem_inner.tem_head .container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .menu-wrapper {
    width: 100%;
    margin-top: 10px;
  }
  
  #menu .navbar-nav {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  
  #menu .navbar-nav>li {
    width: 100%;
  }
  
  #menu .navbar-nav>li>a {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
  }
  
  #menu .navbar-nav>li .submenu {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    padding: 10px 15px;
    display: none;
    border: none;
  }
  
  #menu .navbar-nav>li:hover .submenu {
    display: flex;
  }
  
  #menu .navbar-nav>li .submenu dd {
    flex: 1 1 100%;
  }
  
  #menu .navbar-nav>li .submenu dt {
    display: none;
  }
  
  .cart-account {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
    padding: 10px 0;
    border-top: 1px solid #eee;
  }
}

/* 移动端菜单图标样式 */
@media (max-width: 991.98px) {
  .navbar-expand-lg .navbar-toggler {
    display: block;
    background-color: #8c414d;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    margin: 0 auto;
  }
  
  .navbar-expand-lg .navbar-collapse {
    display: none !important;
  }
  
  .navbar-expand-lg .navbar-collapse.show {
    display: flex !important;
    flex-basis: 100%;
  }
}

/* 账户下拉菜单样式 */
.account-wrapper {
  position: relative;
  display: inline-block;
}

.account-toggle {
  display: inline-block;
  color: #333;
  font-size: 1.5rem;
  padding: 0.4rem 0.6rem;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
}

/* 鼠标悬停时图标变色 */
.account-toggle:hover,
.account-toggle:hover i {
  color: #8c414d !important;
  transform: translateY(-2px);
}

/* 确保图标颜色变化平滑过渡 */
.account-toggle i {
  transition: all 0.3s ease;
  color: #333;
}

/* 下拉菜单样式优化 */
.account-dropdown {
  position: absolute;
  top: calc(100% + 0px);
  left: -50%;
  padding: 10px 0;
  background-color: #fff;
  /* 下边角圆角 */
  border-radius: 0 0 8px 8px;
  /* 浅灰色边框 */
  border: 1px solid #e5e7eb;
  /* 带有阴影 */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  min-width: 190px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  /* 优化动画效果 */
  transform: translateY(-8px) scale(0.96);
  transform-origin: top right;
  /* 平滑过渡动画 */
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  list-style: none;
  /* 增强视觉层次感 */
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95);
}

/* 鼠标悬停时显示下拉菜单 - 优化动画 */
.account-wrapper:hover .account-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.account-dropdown li {
  margin: 0;
  padding: 0;
  position: relative;
}

/* 菜单项样式优化 */
.account-dropdown li a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  padding: 12px 20px;
  color: #4b5563;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-weight: 400;
  position: relative;
  overflow: hidden;
}

/* 图标样式优化 - 与文字颜色字体大小相近 */
.account-dropdown li a i {
  font-size: 14px;
  color: #6b7280;
  width: 16px;
  text-align: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

/* 菜单项悬停时图标样式 */
.account-dropdown li a:hover i {
  color: #8c414d;
  transform: scale(1.1);
}

/* 菜单项悬停效果优化 */
.account-dropdown li a:hover {
  color: #8c414d;
  background-color: #f9fafb;
  /* 添加左侧高亮线 */
  padding-left: 24px;
}

/* 菜单项悬停时左侧高亮线动画 */
.account-dropdown li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background-color: #8c414d;
  transition: width 0.2s ease;
}

.account-dropdown li a:hover::before {
  width: 4px;
}

/* 菜单项分隔线 */
.account-dropdown li:not(:last-child) {
  border-bottom: 1px solid #f3f4f6;
}

/* 优化响应式设计 */
@media (max-width: 767.98px) {
  .account-dropdown {
    min-width: 170px;
    right: -10px;
    /* 移动端圆角优化 */
    border-radius: 0 0 6px 6px;
    /* 移动端阴影优化 */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  }
  
  .account-dropdown li a {
    font-size: 13px;
    padding: 10px 16px;
  }
  
  .account-dropdown li a:hover {
    padding-left: 20px;
  }
}

/* 触摸设备优化 */
@media (hover: none) {
  .account-dropdown {
    display: none;
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
  
  .account-wrapper.touch-open .account-dropdown {
    display: block;
  }
}

/* 购物车样式 */
#cart {
  position: relative;
  display: inline-block;
}

/* 购物车图标和数量样式 */
.cart-wrapper {
  position: relative;
  display: inline-block;
  color: #333;
  font-size: 1.5rem;
  padding: 0.4rem 0.6rem;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.cart-wrapper:hover {
  color: #8c414d;
  transform: translateY(-2px);
}

/* 购物车数量提示 */
.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #8c414d;
  color: white;
  font-size: 0.8rem;
  min-height: 20px;
  border-radius: 50%;
  min-width: 20px;
  text-align: center;
  font-weight: bold;
}

/* 购物车下拉框样式 */
.cart-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 360px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e5e7eb;
  max-height: 500px;
  overflow-y: auto;
}

/* 鼠标悬停或点击时显示购物车下拉框 */
#cart:hover .cart-dropdown,
#cart.show-cart .cart-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 购物车内容样式 */
.cart-content {
  padding: 15px;
}

/* 空购物车样式 */
.cart-empty {
  text-align: center;
  padding: 30px 0;
}

.cart-empty p {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 20px;
}

.continue-shopping {
  display: inline-block;
  padding: 10px 30px;
  background-color: #f3f4f6;
  color: #374151;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.2s ease;
  border: 1px solid #e5e7eb;
}

.continue-shopping:hover {
  background-color: #e5e7eb;
  color: #8c414d;
}

/* 购物车商品列表样式 */
.cart-items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  background-color: #f9fafb;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 14px;
  color: #374151;
  text-decoration: none;
  margin-bottom: 4px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item-name:hover {
  color: #8c414d;
}

.cart-item-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #6b7280;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-quantity input {
  width: 40px;
  padding: 4px 6px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  font-size: 12px;
  text-align: center;
}

.cart-item-price {
  font-weight: bold;
  color: #8c414d;
}

/* 购物车操作按钮 */
.cart-item-remove {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.cart-item-remove:hover {
  background-color: #fee2e2;
}

/* 购物车底部总计和结算按钮 */
.cart-footer {
  padding: 15px;
  border-top: 1px solid #f3f4f6;
  background-color: #f9fafb;
  border-radius: 0 0 8px 8px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: bold;
}

.total-price {
  color: #8c414d;
}

/* 结算按钮样式 */
.checkout-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: #8c414d;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.checkout-btn:hover {
  background-color: #6c313d;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(140, 65, 77, 0.3);
}

/* 响应式设计 */
@media (max-width: 767.98px) {
  .cart-dropdown {
    width: 320px;
    right: -40px;
  }
  
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .cart-item-info {
    width: 100%;
  }
  
  .cart-item-image {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 575.98px) {
  .cart-dropdown {
    width: 280px;
    right: -60px;
  }
  
  .cart-wrapper {
    font-size: 1.3rem;
    padding: 0.3rem 0.5rem;
  }
  
  .cart-count {
    font-size: 0.7rem;
    padding: 1px 5px;
  }
}

/* 触摸设备优化 */
@media (hover: none) {
  .cart-dropdown {
    display: none;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  #cart.touch-open .cart-dropdown {
    display: block;
  }
}

/* 搜索框样式 */
.search-pup {
  position: relative;
  display: inline-block;
}

.search-toggle {
  display: inline-block;
  color: #333;
  font-size: 1.5rem;
  padding: 0.4rem 0.6rem;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  /* 确保按钮可点击区域足够大 */
  min-width: 40px;
  text-align: center;
  /* 确保z-index正确，避免被其他元素遮挡 */
  z-index: 1001;
  position: relative;
}

.search-toggle:hover {
  color: #8c414d;
  transform: translateY(-2px);
}

/* 搜索表单容器 */
.search {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  width: 320px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 12px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e5e7eb;
}

/* 鼠标悬停或点击时显示搜索框 */
.search-pup:hover .search,
.search-pup.show-search .search {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 搜索表单样式 */
.search form {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

/* 搜索输入框样式 */
.search .input-text {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  color: #374151;
  outline: none;
  transition: all 0.2s ease;
  background-color: #f9fafb;
}

.search .input-text:focus {
  border-color: #8c414d;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(140, 65, 77, 0.1);
}

.search .input-text::placeholder {
  color: #9ca3af;
}

/* 搜索提交按钮样式 */
.search .searchgo {
  width: 40px;
  height: 40px;
  border: none;
  background-color: #8c414d;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding: 0;
}

.search .searchgo:hover {
  background-color: #6c313d;
  transform: scale(1.05);
}

/* 搜索图标样式 */
.search .searchgo::before {
  content: "\f52a";
  font-family: "bootstrap-icons" !important;
  font-size: 18px;
}

/* 点击外部关闭搜索框 */
body.clicked-outside .search-pup.show-search .search {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
}

/* 其他cart-account相关样式 */
header .cart-account>div {
  position: relative;
}

header .cart-account>div>a, header .cart-account>div>i {
  color: #333;
  display: inline-block;
  font-size: 1.5rem;
  padding: .4rem .6rem;
  transition: all 0.3s ease;
}

header .cart-account>div>a:hover, header .cart-account>div>i:hover {
  color: #8c414d;
  transform: translateY(-2px);
}

#search, .account-wrapper, #cart {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 响应式设计 */
@media (max-width: 767.98px) {
  .search {
    width: 280px;
    right: -40px;
    padding: 8px;
  }
  
  .search .input-text {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .search .searchgo {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 575.98px) {
  .search {
    width: 240px;
    right: -60px;
  }
  
  .search-toggle {
    font-size: 1.3rem;
    padding: 0.3rem 0.5rem;
  }
}

/* 响应式设计 */
@media (max-width: 767.98px) {
  .account-dropdown {
    min-width: 160px;
    right: -20px;
  }
  
  .account-dropdown li a {
    font-size: 13px;
    padding: 8px 12px;
  }
}

/* 确保下拉菜单在各种设备上都能正常显示 */
@media (max-width: 575.98px) {
  .account-wrapper {
    margin: 0 5px;
  }
  
  .account-toggle {
    font-size: 1.3rem;
    padding: 0.3rem 0.5rem;
  }
}

/* 触摸设备优化 */
@media (hover: none) {
  .account-dropdown {
    display: none;
  }
  
  .account-wrapper.touch-open .account-dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.tem_banner{ overflow:hidden;max-height: 533px;}
.tem_banner ul li{/*background-size: 100% !important;*/}
.tem_banner .flex-control-nav{top:-40px;}
.tem_banner .flex-control-paging li a{ width:20px; height:20px;}

.tem_index_about,.tem_index_case_box{ background:#8c414d;}
.tem_index_about .about-content{ color:#fff;}
.tem_index_about .about-content strong,.tem_index_case .FlmBox strong,.tem_index_case .case_sex strong,.tem_index_product .product_content_box strong,.tem_index_change .media_desc strong,.tem_index_media_flm .index_media_flm strong,.tem_index_media_rz .index_media_rz strong{ display:inline-block; padding-bottom: 15px !important;}

.tem_index_case_box .case_sex{ color:#fff;}

.tem_index_product{}
.product_content{ margin-right:50%;}
.product_content,.product_content p a{ color:#fff;}
.product_content_box{ background:#000;}

.tem_index_change{ background:#8c414d;}
.tem_index_change .media_desc{ color:#fff;}

.tem_index_change_media h3 a{ color:#fff;}
.tem_index_media_flm,.tem_index_media_rz{ background:#8c414d;}
.tem_index_media_flm .index_media_flm,.index_media_flm a{ color:#fff;}


.index_media_rz img{ max-width:80%;}
.index_media_rz .media_TPS,.index_media_rz .media_scent{ color:#fff;}
.index_media_rz hr{ color:#fff; background:#fff;height:2px;}

.tem_index_news{ overflow:hidden; }
.tem_index_news dl dt{ border-bottom:1px solid #8c414d;}
.tem_index_news .news-txt{ font-size:16px;}

/* 5个div层并排在一列，高度保持一致 */
.tem_index_news .row{ display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}
.tem_index_news .row .index-news-item{ flex: 0 0 20%;
  max-width: 20%;
  padding: 0 15px;
  display: flex;
  height: auto;
}
.tem_index_news .row .index-news-item dl{ width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}
.tem_index_news .row .index-news-item dl dd{ flex: 1;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}
.tem_index_news .row .index-news-item dl dd img{ width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}
.tem_index_news .row .index-news-item .news-txt{ margin-bottom: 0;
  font-size: 14px;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.tem_index_news .row .index-news-item dl dt{ margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #8c414d;
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

/* 为了确保所有列高度一致，使用等高布局 */
.tem_index_news .row{ display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.tem_index_news .row .index-news-item{ display: flex;
  align-items: stretch;
}

/* 固定顶部样式 */
.fixed-top{ position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* 确保容器在固定头部内正常显示 */
.fixed-top .container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

/* 占位符样式 */
.header-placeholder {
  display: none;
  transition: all 0.3s ease;
}

.tem_footer{ background:#8c414d;}
.tem_footer,.tem_footer a{ color:#fff;}
.tem_footer_nav a{ padding-right:10px; }
.tem_footer_nav a i.bi{padding-right: 4px;
    vertical-align: middle;}

/*news module*/
.news-module-list{
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.news-module-list ul.row{
  margin: 0 -15px;
  width: calc(100% + 30px);
}

.news-module-list li{
  padding: 0 15px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
}

.news-cols-box{
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-cols-box:hover{
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: #8c414d;
}

.news-list-img{
  display: block;
  overflow: hidden;
}

.news-list-img img{
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  object-fit: cover;
}

.news-cols-box:hover .news-list-img img{
  transform: scale(1.05);
}

.news-module-list-des{
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.news-module-list-des a{
  color: #8c414d;
  text-decoration: none;
  font-weight: 500;
}

.news-module-list-des a:hover{
  text-decoration: underline;
}

.news-list-info{
  margin-bottom: 0px;
  height: auto;
  line-height: 25px;
  border-top: 1px solid #f3f4f6;
  padding: 10px 5px 0 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #9ca3af;
}

.news-list-info i{
  margin-right: 5px;
  font-size: 12px;
}

/* 确保4个一排的响应式布局 */
@media (min-width: 992px) {
  .news-module-list ul.row-cols-4 > li{
    width: 25%;
  }
}

@media (max-width: 991.98px) {
  .news-module-list ul.row-cols-4 > li{
    width: 33.3333%;
  }
}

@media (max-width: 767.98px) {
  .news-module-list ul.row-cols-4 > li{
    width: 50%;
  }
}

@media (max-width: 575.98px) {
  .news-module-list ul.row-cols-4 > li{
    width: 100%;
  }
}

/* 文章标题样式优化 */
.news-module-list h4{
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.met_section h1.met_title{ text-align:center;  font-size: 24px}

.news-module-list h4 a{
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ShowTag{ display:inline-block;  margin-bottom: 5px;}
.ShowTag a{ padding:3px 7px; border:1px solid #eee; margin-right: 4px;border-radius:5px;}
.ShowTag a:hover{ border-color:#ddd; color:#8c414d; }

.met_tools{ margin-top:10px; }
.met_tools .met_page{ display:flex; }
.met_tools .met_page li{ width:50%; }

.news-module-list h4 a:hover{
  color: #8c414d;
}
.news-list-info em{ font-style:normal;}

/*page*/
.met_pager{ text-align:center; margin-bottom:30px; margin-top:20px;width: 100%;}
.met_pager #metPageT{ width:40px;    height: 28px;
    line-height: 28px; padding-left: 2px; border:1px solid #ddd; }
.met_pager a,.met_pager #metPageB{ border:1px solid #ddd; display:inline-block; width:30px; height:30px; line-height:30px;margin-right:10px;-moz-border-radius: 3px;-webkit-border-radius: 3px;border-radius: 3px;}
.met_pager .PreSpan,.met_pager .NextSpan{border:1px solid #ddd;display:inline-block;height:30px; line-height:30px; margin-right:10px;-moz-border-radius: 3px;-webkit-border-radius: 3px;border-radius: 3px;padding:0 10px;}
.met_pager .PreSpan,.met_pager .NextA,.met_pager .PreA{ background:#eee; width:auto; padding:0 10px;}
.met_pager .Ahover{ background:#eee;}

.met_module3_list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
}

.met_module3_list ul.row {
  margin: 0 -10px;
  width: calc(100% + 20px);
}

.met_module3_list li.goods-list-item {
  position: relative;
  transition: all 0.3s ease;
  border-radius: 8px;
  padding: 15px;
  background: #fff;
  /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);*/
  overflow: hidden;
}

/* 商品卡片悬停动画效果 */
.met_module3_list li.goods-list-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* 商品图片悬停效果 */
.met_module3_list li.goods-list-item img {
  transition: transform 0.3s ease;
}

.met_module3_list li.goods-list-item:hover img {
  transform: scale(1.05);
}

/* 商品标题样式 */
.met_module3_list li.goods-list-item h6 {
  color: #333;
  font-weight: 500;
  margin: 10px 0;
  transition: color 0.3s ease;
  text-align: center;
}

/* 商品标题悬停颜色变化 */
.met_module3_list li.goods-list-item:hover h6 {
  color: #8c414d;
}

/* 价格样式 */
.met_module3_list li.goods-list-item .original {
  color: #aaa;
  font-size: 12px;
}

.met_module3_list li.goods-list-item .price {
  padding-left: 10px;
  color: #8c414d;
  font-weight: 600;
}

/* 查看详情按钮样式 */
.met_module3_list li.goods-list-item .view {
  background: #f3f4f6;
  color: #666;
  height: 35px;
  line-height: 35px;
  margin: 10px 0 0;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
  cursor: pointer;
}

/* 查看详情按钮悬停背景颜色变化 */
.met_module3_list li.goods-list-item:hover .view {
  background: #8c414d;
  color: #fff;
  border-color: #8c414d;
  transform: scale(1.02);
}

/* 特价标签样式 */
.met_module3_list li.goods-list-item .shipping {
  position: absolute;
  top: 15px;
  background: #fee2e2;
  color: #dc2626;
  left: 15px;
  display: inline-block;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* 特价标签悬停效果 */
.met_module3_list li.goods-list-item:hover .shipping {
  background: #dc2626;
  color: #fff;
}

/* 响应式调整 */
@media (max-width: 991.98px) {
  .met_module3_list li.goods-list-item {
    padding: 10px;
  }
}

@media (max-width: 575.98px) {
  .met_module3_list {
    gap: 15px;
  }
  
  .met_module3_list li.goods-list-item {
    padding: 8px;
  }
}

.breadcrumb-box .breadcrumb{ margin-bottom:0px; border-bottom:1px solid #eee;}
.met-column-nav-ul dl{ position:relative;display:inline-block;    border-left: 1px solid #eee;
    padding: 0 10px;
    font-size: 14px;
    line-height: 22px;
    margin: 6px 0;}
.breadcrumb-box dl dd.sub {
    position: absolute;
    width: 330px;
    background: #fff;
    border: 1px solid #ddd;
    z-index: 1000;
    padding-bottom: 5px; padding:8px 5px;
    border-radius: 0 3px 3px 3px;
	top:22px;
	display:none;
}
.breadcrumb-box dl dd.sub h4{ display:inline-block; padding:0 5px; border-right: 1px solid #ddd;}
.breadcrumb-box dl dd.sub h4 a{ font-size:14px; color:#aaa;}
.breadcrumb-box dl dd.sub h4 a:hover{ color:#333;}
.met_infos{ text-align:center; }
.met_infos span,.met_infos a{ color:#aaa;}
.met_section_head .bi-house-fill{ padding-right:5px;}
.art-c{ margin-bottom:0px;}

.aside_pro{ margin-top:15px; margin-bottom:5px; height: auto; min-height:35px; line-height:35px; background:#f7f7f7;border-radius: 5px; padding: 10px;}
.aside_pro h3{ display:none;}
.aside_pro .am-offcanvas{ clear:both !important;width: 100%;margin-top: 0px;}
.aside_pro .procategory_list dl,.aside_pro .all,.aside_pro .procategory_list{  font-size:14px;}

/* 商品分类列表主样式 */
.procategory_list {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  padding: 10px;
  background: transparent;
}

/* 商品分类项样式 */
.procategory_list > div.pro_class {
  flex: 0 0 auto;
  width: auto;
  margin-bottom: 0;
  transition: all 0.3s ease;
}

/* 商品分类链接样式 - 简洁版 */
.procategory_list a {
  display: inline-block;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 6px 12px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 移除卡片样式，改为简洁文字链接 */
.procategory_list a.imgcard {
  text-align: left;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* 移除图片样式 */
.procategory_list img {
  display: none;
}

/* 商品分类名称样式 - 简洁版 */
.procategory_list span {
  display: inline;
  margin-top: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  position: relative;
  transition: all 0.3s ease;
}

/* 鼠标经过显示下划线效果 */
.procategory_list a:hover span,
.procategory_list a:hover {
  color: #8c414d;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* 下划线动画效果 - 简洁版 */
.procategory_list a span::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #8c414d;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.procategory_list a:hover span::after {
  width: 100%;
}

/* 移除多余的链接下划线效果 */
.procategory_list a::after {
  display: none;
}

/* 确保侧边栏容器样式简洁 */
.aside_pro .am-offcanvas,
.aside_pro .am-offcanvas-bar,
.aside_pro .am-offcanvas-bar-overlay,
.aside_pro .am-offcanvas-bar-active {
  all: unset;
  display: block;
  width: 100%;
  position: static;
  transform: none;
}

/* 隐藏侧边栏的默认样式 */
.am-offcanvas-bar {
  position: static !important;
  transform: none !important;
  width: 100% !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* 侧边栏商品分类样式 */
.aside_pro .procategory_list dl {
  position: relative;
  display: inline-block;
  margin: 0 5px;
}

.aside_pro .procategory_list dl dt a {
  border-left: 1px solid #ddd;
  padding: 6px 12px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

/* 侧边栏分类悬停效果 */
.aside_pro .procategory_list dl dt a:hover {
  color: #8c414d;
}

/* 侧边栏分类下拉菜单样式 */
.aside_pro .procategory_list dl dd.sub {
  position: absolute;
  width: 180px;
  background: #fff;
  border: 1px solid #eee;
  z-index: 1000;
  padding: 8px 5px;
  border-radius: 0 3px 3px 3px;
  top: 22px;
  display: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 显示下拉菜单 */
.aside_pro .procategory_list dl:hover dd.sub {
  display: block;
}

/* 下拉菜单标题样式 */
.aside_pro .procategory_list dl dd.sub h4 {
  display: inline-block;
  padding: 0 5px;
  border-right: 1px solid #ddd;
  margin: 5px 0;
}

/* 下拉菜单标题链接样式 */
.aside_pro .procategory_list dl dd.sub h4 a {
  font-size: 14px;
  color: #aaa;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* 下拉菜单标题悬停效果 */
.aside_pro .procategory_list dl dd.sub h4 a:hover {
  color: #8c414d;
}

/* 侧边栏分类链接样式 */
.aside_pro .procategory_list dl a {
  padding: 6px 12px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

/* 侧边栏分类链接悬停效果 */
.aside_pro .procategory_list dl a:hover {
  color: #8c414d;
}

/* 响应式设计 */
@media (max-width: 767.98px) {
  .procategory_list {
    justify-content: center;
  }
  
  .procategory_list > div.pro_class {
    min-width: 100px;
  }
  
  .procategory_list a.imgcard {
    padding: 10px;
  }
  
  .procategory_list span {
    font-size: 13px;
  }
}


#sitemaplist dl{margin-top:30px;padding:20px;border:1px solid #ddd}
#sitemaplist dt h2{font-size:16px;font-weight:normal;padding:10px 0;border-bottom:1px solid #ddd}
#sitemaplist dt h2 i{font-size:22px;margin-left:10px;font-weight:normal;color:#888;position:relative;top:2px}
#sitemaplist dd ul{float:left;width:25%;list-style:none;margin-top:20px}
#sitemaplist dd li{margin-top:5px}
#sitemaplist dd li h3 a,#sitemaplist dd li h4 a{font-weight:normal;color:#666; font-size:14px;}
#searchlist ul li{ margin-bottom:15px; border-bottom:1px solid #eee;}

.search_title a{ color:#999;}
.search_content{ color:#aaa;}
.search_content em{ color:#f00; font-weight:bold;}
.search_updatetime{ color:#aaa;}

/* 响应式调整 */
@media (max-width: 991.98px) {
  #menu .navbar-nav>li .submenu {
    width: 100%;
    position: static;
    float: none;
  }
  
  #menu .navbar-nav>li .submenu dd,
  #menu .navbar-nav>li .submenu dt {
    float: none;
    width: 100%;
  }
  
  header .cart-account {
    justify-content: center;
    margin-top: 10px;
  }
  
  .menu-wrapper {
    margin-top: 10px;
  }
}

@media (max-width: 767.98px) {
  .tem_banner {
    max-height: 400px;
  }
  
  .tem_banner ul li {
    background-size: cover !important;
    height: 300px !important;
  }
  
  .product_content {
    margin-right: 0;
  }
}

@media (max-width: 575.98px) {
  .tem_banner {
    max-height: 300px;
  }
  
  .tem_banner ul li {
    height: 200px !important;
  }
  
  header .head_top_nav {
    height: auto;
    padding: 5px 0;
  }
  
  .help-map ol {
    text-align: center;
  }
  
  .help-map ol li {
    margin: 2px 5px;
  }
}

/* 动画效果 */
.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 平滑滚动 */
html {
  scroll-behavior: smooth;
}

/* 悬停效果 */
.card {
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 图片优化 */
img {
  max-width: 100%;
  height: auto;
}

/* 加载动画 */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top-color: #8c414d;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
