* {
  padding: 0;
  margin: 0;
}

html,
body {
  font-family: Lato, Arial, serif;
  font-size: 16px;
  background-color: white;
}

html {
  --main-color: rgb(38, 90, 153);
  --icon-color: #F08436;
  --link-color: rgb(38, 90, 153);
  --title-h3-color: rgb(38, 90, 153);
  --title-p-color: rgb(246, 124, 1);
  --text-color: rgb(51, 51, 51);
  --text-gray-color: rgb(103, 103, 103);
  --btn-primary-bgcolor: rgb(38, 90, 153);
}

a,
a:hover {
  text-decoration: none;
}

video {
  width: 100%;
  background-color: #000;
}

section {
  padding: 3.125rem 0;
}

.btn-block {
  width: 100%;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-hover {
  overflow: hidden;
}

.img-hover img {
  transition: all linear 0.4s;
}

.img-hover:hover img {
  transform: scale(1.2);
}

.hover-border {
  position: relative;
}

.hover-border .lb,
.hover-border .tb,
.hover-border .rb,
.hover-border .bb {
  position: absolute;
  background-color: rgb(30, 80, 174);
  transition: width .36s ease, height .36s ease;
  display: block;
}

.hover-border .lb {
  left: 0;
  top: 0;
  width: 2px;
  height: 0;
}

.hover-border .tb {
  left: 0;
  top: 0;
  width: 0;
  height: 2px;
}

.hover-border .rb {
  bottom: 0;
  right: 0;
  width: 2px;
  height: 0;
}

.hover-border .bb {
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
}

.hover-border:hover .lb,
.hover-border:hover .rb {
  height: 100%;
}

.hover-border:hover .tb,
.hover-border:hover .bb {
  width: 100%;
}

.elem-quote {
  margin-bottom: 1rem;
  padding: 1rem;
  line-height: 1.8;
  border-left: 0.33rem solid var(--icon-color);
  border-radius: 0 2px 2px 0;
  background-color: #f1f1f1;
  font-style: italic;
  color: var(--icon-color);
}

.elem-quote .nav-tabs a {
  color: var(--text-color);
  padding: 0.325rem 0.625rem;
  border-radius: 0.25rem;
  display: inline-block;
}

.elem-quote .nav-tabs a.active {
  background-color: var(--icon-color);
  color: #fff;
}

#fenye {
  clear: both;
  padding-top: 1.875rem;
  padding-bottom: 1.25rem;
  width: 100%;
}

#fenye a {
  text-decoration: none;
  display: inline-block;
  padding: 0.25rem 0.75rem;
  line-height: 2;
  font-size: 12px;
  margin: 0.25rem;
  border: 1px solid #ddd;
  color: #333;
  background-color: #fff;
}

#fenye a.curr {
  border: 1px solid var(--main-color);
  color: var(--main-color);
}

#fenye span {
  font-size: 12px;
}


.title {
  margin-bottom: 1.875rem;
  text-align: center;
}

.title h3 {
  line-height: 1.75;
  font-size: 1.875rem;
  color: var(--title-h3-color);
  margin-bottom: 0;
}

.title p {
  line-height: 2;
  color: var(--title-p-color);
  margin-bottom: 0;
}

header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .05);
}

header .header {
  background-color: #e2c783;
}

header .header a span {
  color: #fff;
}


.navbar {
  padding: 1.25rem 0;
}

.navbar .navbar-brand img {
  max-height: 50px;
}

.navbar .navbar-toggler {
  font-size: 2rem;
}

.navbar .navbar-toggler:focus {
  background-color: transparent;
  border: 1px solid transparent;
  box-shadow: 0 0 0 0;
}

.navbar .navbar-collapse .navbar-nav li {
  position: relative;
  padding: 0 0.5rem;
}

.navbar .navbar-collapse .navbar-nav li>a {
  color: var(--link-color);
  line-height: 2.5rem;
  display: inline-block;
  text-transform: uppercase;
  font-weight: bold;
}

.navbar .navbar-collapse .navbar-nav li>.fa-angle-down {
  margin-left: 0.25rem;
}

.navbar .navbar-collapse .navbar-nav li+li {
  margin-left: 1.25rem;
}

.navbar .navbar-collapse .navbar-nav li>nav {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  display: none;
  z-index: 2;
  min-width: 10rem;
  text-align: center;
  border: 1px solid #ddd;
}

.navbar .navbar-collapse .navbar-nav li>nav a {
  color: var(--text-color);
  display: block;
  line-height: 3.125rem;
  padding: 0 1rem;
  white-space: nowrap;
  text-transform: capitalize;
  font-size: 0.875rem;
}

.navbar .navbar-collapse .navbar-nav li>nav a+a {
  border-top: 1px solid #ddd;
}

.navbar .navbar-collapse .navbar-nav li:hover>nav {
  display: block;
}

.navbar .navbar-collapse .navbar-nav li>nav a:hover {
  background-color: #f7f7f7;
}

#offcanvas .offcanvas-header {
  border-bottom: 1px solid #ddd;
}

#offcanvas .offcanvas-body .navbar-nav li {
  line-height: 40px;
  border-bottom: 1px dashed #ddd;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

#offcanvas .offcanvas-body .navbar-nav li>a {
  color: var(--text-color);
  font-weight: bold;
}

#offcanvas .offcanvas-body .navbar-nav li nav {
  width: 100%;
  display: none;
  border-top: 1px dashed #ddd;
}

#offcanvas .offcanvas-body .navbar-nav li nav a {
  color: var(--text-gray-color);
  display: block;
  text-indent: 1em;
  text-transform: capitalize;
}

#offcanvas .offcanvas-body .navbar-nav li nav a+a {
  border-top: 1px dashed #ddd;
}

.swiper {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

.swiper-slide {
  text-align: center;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.window {
  position: fixed;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  z-index: 999;
}

.window ul {
  margin-bottom: 0
}

.window ul li {
  position: relative;
}

.window ul li a:not(.showInfo) {
  display: block;
  width: 3.125rem;
  height: 3.125rem;
  text-align: center;
  line-height: 3.125rem;
  color: #fff;
  background-color: var(--link-color);
  border-radius: 0.25rem;
}

.window ul li a.showInfo {
  line-height: 3.125rem;
  color: #fff;
  background-color: var(--icon-color);
  border-radius: 0.25rem 0 0 0.25rem;
  position: absolute;
  right: 100%;
  top: 0;
  /* width: auto;
  height: 3.125rem;*/
  padding: 0 0 0 1.0625rem;
  white-space: nowrap;
  transition: all ease .3s;
  transform: scaleX(0);
  transform-origin: right;
}

.window ul li:hover a.showInfo {
  transform: scaleX(1);
}

.window ul li:hover a:not(.showInfo) {
  background-color: var(--icon-color);
  border-radius: 0 0.25rem 0.25rem 0;
}

.window ul li+li {
  margin-top: 0.125rem;
}

.section-1 {
  overflow: hidden;
}

.section-1 img {
  max-height: 3.125rem;
}

.wrapper {
  overflow: hidden;
}

.section-2 .info h4 {
  color: var(--title-h3-color);
}

.section-2 .info p {
  text-align: justify;
}

.section-2 .swiper .swiper-slide {
  position: relative;
}

.section-2 .swiper .swiper-slide p {
  margin-bottom: 0;
  position: absolute;
  left: 0;
  bottom: 0;
  color: #fff;
  line-height: 2.75rem;
  text-align: center;
  background-color: rgba(0, 0, 0, .75);
  width: 100%;
}

.section-3 .list .item {
  text-align: center;
}

.section-3 .list .item img {
  width: 50px;
}

.section-3 .list .item h4 {
  margin: 1rem 0;
}

.section-3 .list .item p {
  margin-bottom: 0;
  color: var(--text-gray-color);
}

.section-5 .img {
  text-align: center;
}

.section-5 .row p {
  text-align: center;
  font-size: 1.125rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: rgba(103, 103, 103, 1);
  line-height: 2;
  margin-top: 5px;
}

.section-6 .list {
  display: grid;
  grid: auto/repeat(6, 1fr);
  gap: 1.875rem;
}

.section-6 .list .item {
  text-align: center;
}

.section-6 .list .item img {
  width: 6.25rem;
  transition: all linear 0.4s;
}

.section-6 .list .item p {
  padding-top: 10px;
  margin-bottom: 0;
}

.section-6 .list .item:hover img {
  transform: scale(1.1);
}

.section-7 .list {
  display: grid;
  grid: auto/repeat(3, 1fr);
  gap: 0.5rem;
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.20);
}

.section-7 .list .item img {
  width: 5rem;
  margin-bottom: 1rem;
}

.section-7 .list .item h5 {
  color: var(--title-h3-color);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.section-7 .list .item p {
  color: var(--text-gray-color);
}

.section-7 .list .item p:last-child {
  margin-bottom: 0;
}

.section-8 .list {
  display: grid;
  grid: auto/repeat(4, 1fr);
  gap: 0.5rem;
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.20);
}

.section-8 .list .item .img {
  margin-bottom: 1rem;
}

.section-8 .list .item h5 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--link-color);
}

.section-8 .list .item h5 a {
  color: var(--text-color);
}

.section-8 .list .item span {
  font-size: 12px;
  display: inline-block;
  line-height: 2;
}

.section-8 .list .item p {
  color: var(--text-gray-color);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.section-8 .list .item button {
  outline: 0;
  border: 0 solid transparent;
  box-shadow: 0 0 0 transparent;
}

.section-8 .list .item:hover {
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, .20);
}

.section-8 .list .item:hover h5 a {
  color: var(--icon-color);
}

.section-9 .swiper .swiper-wrapper {
  align-items: end;
}

.section-9 .swiper .swiper-slide {
  position: relative;
}

.section-9 .swiper .swiper-slide p {
  margin-bottom: 0;
  position: absolute;
  left: 0;
  bottom: 0;
  color: #fff;
  line-height: 2.75rem;
  text-align: center;
  background-color: rgba(0, 0, 0, .75);
  width: 100%;
}

.section-10 dl dt {
  color: var(--icon-color);
  text-transform: capitalize;
  font-size: 1.25rem;
  line-height: 1.875rem;
  margin-bottom: 0.5rem;
}

.section-10 dl dd,
.section-10 dl dd a {
  color: #000;
}

.section-10 dl dd a:hover {
  color: red;
}

.section-10 h5 {
  color: var(--icon-color);
  font-size: 1.25rem;
  line-height: 1.875rem;
  font-weight: bold;
}

.section-10 .form-group,
#exampleModal .form-group {
  margin-bottom: 1.25rem;
}

.section-10 .form-group .form-label,
#exampleModal .form-group .form-label {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0.75rem;
}

.section-10 .form-group .form-control,
#exampleModal .form-group .form-control {
  background: hsla(0, 0%, 80%, .15);
  border: 0;
  color: #333;
  font-size: 0.8125rem;
  padding: 0;
  padding-left: 0.875rem;
  height: 2.75rem;
  line-height: 2.75rem;
}

.section-11 .info {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  word-break: break-all;
  color: var(--text-gray-color);
}

footer {
  background-color: #25282A;
  color: #ccc;
}

footer a {
  color: #ccc;
}

footer a:hover {
  color: #fff;
}

footer dl {
  line-height: 2;
}

footer dl dt {
  color: #fff;
}


footer dl dd .input-group {
  line-height: 2;
}

footer dl dd .form-control {
  border: 0;
  line-height: 2;
}

footer dl dd .input-group-text {
  background-color: #63676B;
  border-color: transparent;
  color: #ccc;
  padding: .375rem 2.5rem;
  line-height: 2;
}

footer dl dd nav {
  display: flex;
  flex-direction: column;
}

footer dl dd nav a {
  text-transform: capitalize;
}

#fc {
  border-left: 1px solid #63676B;
}

#fc img {
  max-height: 50px;
}

#fc dd a:hover {
  color: red;
}

footer .copyright {
  font-size: 0.875rem;
}

.about-section-1 p {
  color: var(--text-gray-color);
}

.my-map {
  margin: 0 auto;
  width: 100%;
  min-height: 40vh;
  border: 1px solid #ddd;
}

.my-map .icon {
  background: url(//a.amap.com/lbs-dev-yuntu/static/web/image/tools/creater/marker.png) no-repeat;
}

.my-map .icon-cir {
  height: 31px;
  width: 28px;
}

.my-map .icon-cir-red {
  background-position: -11px -5px;
}

.amap-container {
  height: 100%;
  min-height: 40vh;
}

.myinfowindow {
  width: 240px;
  min-height: 50px;
}

.myinfowindow h5 {
  height: 20px;
  line-height: 20px;
  overflow: hidden;
  font-size: 14px;
  font-weight: bold;
  width: 220px;
  text-overflow: ellipsis;
  word-break: break-all;
  white-space: nowrap;
}

.myinfowindow div {
  margin-top: 10px;
  min-height: 40px;
  line-height: 20px;
  font-size: 13px;
  color: #6f6f6f;
}

.main .fieldmenu .condition_title {
  color: var(--icon-color);
  font-style: italic;
  font-size: 1.125rem;
  font-weight: bold;
  border-bottom: 1px dashed lightgray;
  padding-bottom: 0.25rem;
}

.main .fieldmenu .condition_body {
  line-height: 2;
  padding: 0.5rem 0;
}

.main .fieldmenu .condition_body a {
  display: block;
  position: relative;
  padding-left: 1.25em;
  color: var(--text-gray-color);
  font-size: 0.875rem;
}

.main .fieldmenu .condition_body a::before {
  position: absolute;
  content: '\F584';
  font-family: bootstrap-icons;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.875rem;
}

.main .fieldmenu .condition_body strong {
  position: relative;
  color: var(--link-color);
  padding-left: 1.25em;
  display: block;
  font-size: 0.875rem;
}

.main .fieldmenu .condition_body strong::before {
  position: absolute;
  content: '\F26D';
  font-family: bootstrap-icons;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.875rem;
  font-weight: normal;
}

.main .product-list {
  display: grid;
  grid: auto/repeat(3, 1fr);
  gap: 1.25rem;
}

.main .product-list .empty {
  grid-column: 1/4;
}

.product-item {
  line-height: 2;
}

.product-item h5 {
  font-size: 1rem;
  border-bottom: 1px dashed lightgray;
  font-style: italic;

}

.product-item h5 a {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  color: var(--link-color);
}

.product-item h5 a:hover {
  color: var(--icon-color);
}

.product-item ul li {
  border-bottom: 1px dashed lightgray;
  color: var(--text-gray-color);
  padding: 0.25rem 0;
  font-size: 0.875rem;
}

.product-item .product-info a.btn {
  border-radius: 1rem;
}

#offcanvasLeft .offcanvas-header {
  border-bottom: 1px solid #ddd;
}


#offcanvasLeft .offcanvas-body .fieldmenu .condition_title {
  color: var(--icon-color);
  font-style: italic;
  font-size: 1.125rem;
  font-weight: bold;
}

#offcanvasLeft .offcanvas-body .fieldmenu .condition_body {
  padding: 0.5rem 0;
}

#offcanvasLeft .offcanvas-body .fieldmenu .condition_body a {
  display: inline-block;
  color: var(--text-gray-color);
  font-size: 0.875rem;
  padding: 0.375rem 0.5rem;
  background-color: #f1f1f1;
  border-radius: 0.375rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

#offcanvasLeft .offcanvas-body .fieldmenu .condition_body strong {
  color: var(--link-color);
  display: inline-block;
  font-size: 0.875rem;
  color: #fff;
  padding: 0.375rem 0.5rem;
  background-color: var(--link-color);
  border-radius: 0.375rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

#offcanvasLeft .offcanvas-body .fieldmenu .reset {
  padding-top: 0.5rem;
}

#productShow .swiper-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#productShow .swiper-slide {
  padding: 0.25rem;
}

#productShow .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#productShow .gallery-top {
  width: 100%;
  border: 1px solid #ddd;
}

#productShow .gallery-thumbs {
  box-sizing: border-box;
  padding: 10px 0 0;
}

#productShow .gallery-thumbs .swiper-slide {
  height: 100%;
  border: 1px solid #ddd;
  cursor: pointer;
}

#productShow .gallery-thumbs .swiper-slide-active {
  border-color: var(--icon-color);
}

#productShow .options {
  font-size: 0.875rem;
  line-height: 2;
}

#productShow .options p {
  margin-bottom: 0.5rem;
}

#productShow .options h5.tit {
  color: var(--link-color);
  font-style: italic;
  margin-bottom: 0;
  font-weight: bold;
}

#productShow .options table {
  border-collapse: collapse;
  width: 100%;
}

#productShow .options table tr td {
  border: 1px solid #ddd;
  padding: 0.625rem;
  font-size: 0.875rem;
}

#productShow .options table tr td:nth-child(odd) {
  width: 5rem;
  white-space: nowrap;
  background-color: #f1f1f1;
}

#productShow .options table tr td:nth-child(even) {
  width: 20rem;
}


#productShow .details table {
  width: 100%;
  border: 1px solid #ddd;
  border-collapse: collapse;
  font-size: 0.875rem;
}

#productShow .details table tr td {
  border: 1px solid #ddd;
  padding: 0.625rem;
}

#productShow .details table tr td strong {
  color: var(--link-color);
  font-style: italic;
}

#productShow .details p {
  margin-bottom: 0.5rem;
}

#productShow .details img {
  max-width: 100%;
}

#productShow .rp a {
  text-align: center;
  color: var(--text-color);
  line-height: 1.8;
}

#productShow .rp a:hover {
  color: var(--link-color);
}

#productShow .rp a p {
  margin-top: 0.5rem;
}

.news-section-1 .list {
  display: grid;
  grid: auto/repeat(3, 1fr);
  gap: 1.875rem;
}

.news-section-1 .list.blog {
  grid: auto/repeat(1, 1fr);
  gap: 0;
}

.news-section-1 .list .item h5 {
  font-size: 1.125rem;
  line-height: 1.5;
}

.news-section-1 .list .item h5 a {
  color: var(--text-color);
}

.news-section-1 .list .item span:not(.badge) {
  font-size: 12px;
  display: inline-block;
  line-height: 2;
}

.news-section-1 .list .item p {
  color: var(--text-gray-color);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.8;
  font-size: 0.875rem;
  font-style: italic;
}

.news-section-1 .list.blog .item p {
  -webkit-line-clamp: 2;
}

.news-section-1 .list .item button {
  outline: 0;
  border: 0 solid transparent;
  box-shadow: 0 0 0 transparent;
}

.news-section-1 .list .item:hover {
  box-shadow: 0 0 1.25rem rgba(0, 0, 0, .20);
  cursor: pointer;
}

.news-section-1 .list .item:hover h5 a {
  color: var(--icon-color);
}

.news-content h5.tit {
  color: var(--link-color);
  font-style: italic;
}

.news-content #MyContent {
  color: var(--text-gray-color);
  line-height: 2;
}

.news-content #MyContent img {
  max-width: 100%;
}

#about-list a {
  text-align: center;
  color: var(--text-color);
}

#about-list p {
  margin-top: 0.5rem;
  line-height: 2;
}

#about-list a:hover .img {
  box-shadow: 0 0 1rem rgba(0, 0, 0, .45);
}

#about-list a:hover p {
  color: var(--icon-color);
}

#partner .partner-section-1 .list {
  display: grid;
  grid: auto/repeat(5, 1fr);
  align-items: center;
  text-align: center;
}

#partner .partner-section-1 .list .item {
  padding: 0 2.5rem;
  height: 20vh;
  line-height: 20vh;
}

#search .list .item a {
  color: var(--text-color);
  text-decoration: none;
  font-size: .875rem;
}

#search .list .item:hover a {
  color: var(--link-color);
}


/*2026-10-19*/
/* --- 浮动客服样式重构补丁 Start --- */

/* 1. 统一图标按钮样式 (针对所有 li 下的第一个 a) */
.window ul li > a:not(.showInfo) {
    display: flex !important;              /* 改用 Flex 布局居中图标 */
    align-items: center;
    justify-content: center;
    width: 3.125rem !important;            /* 强制固定宽高 */
    height: 3.125rem !important;
    line-height: normal !important;        /* 重置行高 */
    background-color: var(--link-color, #0d6efd); /* 兜底颜色 */
    border-radius: 0.25rem;
    color: #fff;                           /* 图标颜色设为白 */
    margin-bottom: 2px;                    /* 防止间距过小 */
}

/* 2. 优化悬停文字条 (.showInfo) */
.window ul li > a.showInfo {
    position: absolute;
    right: 100%;                           /* 定位到图标左侧 */
    top: 0;
    height: 3.125rem;                      /* 高度与图标对齐 */
    display: flex;
    align-items: center;
    padding: 0 1rem;                       /* 增加左右内边距，防止文字贴边 */
    white-space: nowrap;                   /* 防止文字换行 */
    background-color: var(--icon-color, #fd7e14); /* 橙色背景 */
    color: #fff;
    border-radius: 0.25rem 0 0 0.25rem;    /* 左侧圆角 */
    
    /* 使用 Opacity + Visibility 替代 ScaleX，避免文字变形且利于 SEO/读屏 */
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);           /* 初始向右偏移一点 */
    transition: all 0.3s ease;             /* 平滑过渡 */
    pointer-events: none;                  /* 隐藏时不可点击 */
    z-index: 10;
}

/* 3. 悬停交互效果 */
.window ul li:hover > a.showInfo {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);              /* 归位 */
    pointer-events: auto;
}

/* 4. 移动端适配 (关键：解决手机无法 Hover 的问题) */
@media (max-width: 768px) {
    /* 手机上直接显示文字，不再隐藏 */
    .window ul li > a.showInfo {
        position: static;                  /* 取消绝对定位 */
        opacity: 1;
        visibility: visible;
        transform: none;
        width: auto;
        height: auto;
        padding: 0.25rem 0.5rem;
        font-size: 12px;
        border-radius: 0 0 0.25rem 0.25rem; /* 圆角改到底部 */
        margin-top: -2px;                  /* 紧贴图标下方 */
        text-align: center;
    }
    
    /* 调整整体容器位置，防止被屏幕边缘遮挡 */
    .window {
        right: 10px !important;
        bottom: 60px !important;           /* 避开底部导航栏 */
    }
}
/* --- 浮动客服样式重构补丁 End --- */

/*产品分页错乱*/
/* ========== 分页器整改补丁 一：归位 + 补齐样式 ========== */

/* 1. 归位：分页器不再占用网格单元格，横跨整行 */
.main .product-list > table,
.main .product-list > #pagelist,
.main .product-list > #fenye {
  grid-column: 1 / -1;
  width: 100%;
  display: block;
}

/* 2. 统一分页容器（同时兼容 pagelist 与 fenye 两种 id） */
#fenye,
#pagelist {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  width: 100%;
  clear: both;
  border-spacing: 0;
  padding: 1.875rem 0 1.25rem;
}

/* 3. 统一按钮外观，并切断一切浮动与排序导致的错位 */
#fenye a,
#pagelist a {
  float: none !important;
  order: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  padding: 0.25rem 0.75rem;
  line-height: 2;
  font-size: 12px;
  color: #333;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 2px;
  text-decoration: none;
}

#fenye a:hover,
#pagelist a:hover {
  border-color: var(--main-color);
  color: var(--main-color);
}

#fenye a.curr,
#pagelist a.curr {
  border-color: var(--main-color);
  color: var(--main-color);
}

/* 4. 覆盖 CMS 写死的红色，统一走全站主色 */
#pagelist font,
#fenye font {
  color: var(--main-color) !important;
}

#pagelist span,
#fenye span {
  color: var(--main-color) !important;
  font-size: 12px;
}