@charset "utf-8";
/* ========== 全局重置 & 基础样式 ========== */
* {
  margin: 0;
  padding: 0;
  outline: 0;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: "微软雅黑", "Hiragino Sans GB", "Helvetica Neue", Helvetica, tahoma, arial, Verdana, sans-serif, "WenQuanYi Micro Hei", "\5B8B\4F53";
  font-size: 14px;
  color: #666;
  background: #f2f2f2;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  /* 根字体 rem 基准 */
  font-size: 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
  font-weight: normal;
}

ul, ol, dl {
  list-style: none;
}

address, caption, cite, code, dfn, em, th, var {
  font-style: normal;
  font-weight: normal;
}

input, button, textarea, select, optgroup, option {
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  border: none;
  outline: none;
  background: none;
}

input, button {
  overflow: visible;
  vertical-align: middle;
}

textarea {
  resize: none;
}

a {
  text-decoration: none;
  color: #666;
  cursor: pointer;
  outline: none;
}
a:hover {
  text-decoration: none;
}
a.btn {
  color: #fff;
}

img {
  border: 0;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

/* 通用工具类 */
.fl { float: left; }
.fr { float: right; }
.clearfix { clear: both; }
.text-center { text-align: center; }
.img-responsive { max-width: 100%; height: auto; }
.back-white { background: #fff; }

/* 颜色类 */
.red { color: #ed414a; }
.green { color: #35bf53; }
.bai { color: #fff; }

/* ========== 根字体 媒体查询 (REM适配) ========== */
@media only screen and (max-width: 320px) {
  html { font-size: 17.5px !important; }
}
@media (device-height: 480px) and (-webkit-min-device-pixel-ratio: 2) {
  html { font-size: 18px; }
  header .header { top: initial !important; }
}
@media (device-height: 568px) and (-webkit-min-device-pixel-ratio: 2) {
  html { font-size: 20px; }
  header .header { top: initial !important; }
}
@media (device-width: 375px) and (-webkit-min-device-pixel-ratio: 2) {
  html { font-size: 20px; }
  header .header { top: initial !important; }
  .D-BuyNum input { top: 0 !important; }
}
@media (device-width: 414px) and (-webkit-min-device-pixel-ratio: 3.0) {
  html { font-size: 23px; }
  header .header { top: initial !important; }
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {
  html { font-size: 30px; }
  header .header { top: initial !important; }
  menu i.icon-cart span { right: 23%; }
}
/* 小屏设备细节适配 */
@media (max-width: 360px) {
  .tuijiangf21 { width: 100px; }
  .tuijiangf21 img { width: 90px; }
  .tuijiangf22 { width: calc(100% - 100px); }
  .jindutiao1 { width: 70px; }
  .priceb { font-size: 15px; }
  .list-guanggaowei { height: 156px; }
  .indexBox .banner-swiper .swiper-pagination { bottom: 34px; }
  .swiper-pagination-bullet { height: 2px; width: 14px; }
  .list-guanggaowei-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet { margin: 0 5px; }
}
@media (max-width: 375px) and (min-width: 365px) {
  .tuijiangf21 { width: 126px; }
  .tuijiangf21 img { width: 116px; }
  .tuijiangf22 { width: calc(100% - 126px); }
  .jindutiao1 { width: 88px; }
  .list-guanggaowei { height: 185px; }
  .indexBox .banner-swiper .swiper-pagination { bottom: 38px; }
}

/* ========== 移动端全局字体 (320~1080) ========== */
@media only screen and (min-width: 320px) and (max-width: 1080px) {
  body {
    font-size: 16px;
    font-family: "苹方 常规" !important;
    color: #666;
  }
}

/* ========== 滚动条隐藏 ========== */
.page-part {
  display: -webkit-box;
  display: -ms-flexbox;
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding: 0;
  border-bottom: 0;
}
.page-part::-webkit-scrollbar,
.page-part::-moz-scrollbar,
.page-part::scrollbar {
  display: none;
}

/* ========== Swiper 轮播通用样式 ========== */
.swiper-container {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  position: relative;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.swiper-wrapper {
  position: relative;
  width: 100%;
  display: -webkit-box;
  display: flex;
  transition-property: transform;
  transition-duration: 0s;
  transform: translate3d(0, 0, 0);
}
.swiper-free-mode > .swiper-wrapper,
.swiper-container-free-mode>.swiper-wrapper {
  transition-timing-function: ease-out;
  margin: 0 auto;
}
.swiper-slide {
  float: left;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
}

/* 轮播分页器 */
.swiper-pagination {
  position: absolute;
  text-align: center;
  z-index: 10;
  transition: .3s;
}
.swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  margin: 0 4px;
  border: none;
}
.swiper-pagination-bullet-active {
  background-color: #ff5d38;
  width: 16px;
  border-radius: 4px;
}
.swiper-pagination-switch {
  display: inline-block;
  width: 17px;
  height: 3px;
  border-radius: 8px;
  cursor: pointer;
}
.swiper-active-switch {
  border-bottom: 2px #ed414a solid;
  margin-bottom: -4px;
}

/* 广告轮播分页 */
.list-guanggaowei-horizontal>.swiper-pagination-bullets {
  bottom: 10px;
  left: 0;
  width: 100%;
}
.list-guanggaowei-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
  background: #000;
  opacity: .2;
}
.list-guanggaowei-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet-active {
  background: #ed414a;
  opacity: 1;
}

/* ========== 首页分类图标区 ========== */
.content-slide {
  padding: 0;
  color: #fff;
  height: auto;
  overflow: hidden;
}
.content-slide>a {
  width: 20%;
  float: left;
  text-align: center;
  color: #fff;
  overflow: hidden;
  margin-bottom: 0;
}
.content-slide>a .mbg {
  display: block;
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
  height: auto;
  border-radius: 3px;
}
#cate75 .content-slide>a .mbg {
  background-color: rgba(255, 255, 255, 0.9);
}
.icon-title {
  font-size: 12px;
  margin: 6px 0 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #222;
}
.ico img {
  width: 40px;
  height: 40px;
  margin: 10px auto 0;
  border-radius: 0;
}

/* ========== 公告/跑马灯 ========== */
.good-news {
  height: 30px;
  border-top: thin solid #eee;
  background: #fff;
  line-height: 30px;
}
.today {
  margin-top: 4px;
  height: 22px;
  padding-right: 7px;
  border-right: thin solid #eee;
  line-height: 22px;
  color: #ed414a;
  width: 20px;
  overflow: hidden;
}
.today i {
  margin: -2px 4px 0 0;
}
#news {
  margin-left: 9px;
  height: 30px;
  width: calc(100% - 40px);
  color: #888;
  line-height: 30px;
}
.laba {
  margin: 4px 3% 0;
  float: right;
}
.marquee-box2 {
  width: 94%;
  height: 30px;
  padding: 0 3%;
  background-color: rgba(255, 133, 133, .9);
  line-height: 30px;
  overflow: hidden;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 110;
}
.marquees {
  height: 30px;
  width: 100%;
}

/* ========== 服务模块 jxfw ========== */
.jx_box {
  width: 100%;
  background: #fff;
  margin-top: 10px;
  padding-top: 8px;
}
.jxfw {
  overflow: hidden;
  height: auto;
  width: 100%;
  margin-top: 8px;
}
.jxfw li {
  width: 50%;
  overflow: hidden;
  float: left;
  margin: 0 0 20px;
}
.jxfw h2 {
  font-size: 16px;
  line-height: 25px;
  color: #333;
  font-weight: bold;
  padding-left: 12px;
  height: 25px;
  width: 104px;
  overflow: hidden;
}
.jxfw span {
  font-size: 13px;
  line-height: 30px;
  color: #999;
  overflow: hidden;
  padding-left: 12px;
}
.jximg {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
.jxtext {
  width: 65%;
  overflow: hidden;
  height: 50px;
}

/* ========== 搜索框 ========== */
.index-search {
  position: relative;
  padding: 10px;
  background: #fff;
}
.search-input-wrap {
  background: #fff;
  position: relative;
  width: 100%;
  height: 35px;
  overflow: hidden;
}
.search-input {
  display: block;
  height: 100%;
  width: 100%;
  padding: 0 83px 0 10px;
  border: 1px solid #ed414a;
  color: #303030;
  font-size: 14px;
}
.search-submit {
  cursor: pointer;
  display: block;
  width: 65px;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  border-left: 1px solid #ed414a;
  background-color: #ed414a;
  color: #fff;
  font-size: 14px;
}
.fbxx, .zxxx {
  display: block;
  width: 19px;
  height: 19px;
  background: url(../image/bg.png) no-repeat 0 0;
  position: absolute;
  right: 15px;
  top: 12px;
}

/* ========== 列表模块 ========== */
.list-container .list-item:last-child {
  border-bottom: 1px solid #f2f2f2;
}
.list-item {
  padding: 10px;
  border-top: 1px solid #f2f2f2;
  background-color: #FFF;
  overflow: auto;
}
.item-left {
  float: left;
  margin-right: 10px;
  width: 29%;
  height: 93px;
  overflow: hidden;
}
.item-img-wrapper {
  width: 100%;
  height: 93px;
  border: 1px solid #e0e0e0;
  padding: 3%;
}
.item-title {
  font-size: 15px;
  line-height: 20px;
  overflow: hidden;
  color: #4d4d4d;
  width: 100%;
  height: 20px;
  margin-top: 10px;
  font-weight: 600;
}
.item-info {
  height: 24px;
  color: #666;
  line-height: 24px;
  overflow: hidden;
  margin-top: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.item-other {
  color: #636363;
  overflow: hidden;
  height: 18px;
  line-height: 18px;
  width: 100%;
  margin-top: 10px;
}
.item-other > span:last-child {
  float: right;
}
.item-right {
  min-height: 74px;
  padding: 0;
  font-size: 14px;
  list-style: none;
  float: left;
  width: 67%;
  height: 93px;
  overflow: hidden;
}

/* 星级评分 */
.star-wraper {
  display: inline-block;
  float: left;
}
.rate-star-gray {
  width: 81px;
  height: 15px;
  background: url(../image/bg.png) no-repeat;
  background-size: auto 100%;
  margin-top: 3px;
  margin-right: 5px;
}
.rate-star-real {
  width: 0;
  height: 15px;
  background: url(../image/bg.png) no-repeat;
  background-size: auto 100%;
}
.comment-tag {
  line-height: 15px;
  margin-right: 20px;
  float: right;
}

/* ========== 底部固定栏 ========== */
.pro_cpfoot, .xq_footer {
  width: 100%;
  background: #fff;
  height: 50px;
  position: fixed;
  bottom: 0;
  left: 0;
  border-top: 1px solid #e5e5e5;
  z-index: 120;
}
.xq_qita a {
  display: block;
  height: 50px;
  float: left;
  width: 25%;
  text-align: center;
}
.xq_qita a img {
  width: 22px;
  margin: 5px auto 3px;
}
.xq_qita div p {
  line-height: 24px;
}

/* ========== 弹窗/遮罩 ========== */
.mask, .multi-address, .erweima, .share_layer, .attention_layer, .mask_layer, #tanchu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}
.mask {
  background-color: rgba(0,0,0,.75);
  display: none;
}
.multi-address {
  background: white;
  height: 100px;
  text-align: center;
}
.erweima .popup-mask,
.share_layer, .attention_layer, .mask_layer,
#tanchu .tanchu_bg {
  background: rgba(0,0,0,.8);
}

/* ========== 加载动画 + 波浪动画 ========== */
@keyframes loading {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes wave-animation-1 {
  0% { background-position: 0 top; }
  100% { background-position: 600px top; }
}
@keyframes wave-animation-2 {
  0% { background-position: 0 top; }
  100% { background-position: 600px top; }
}
.mp_loading_clip2 {
  position: absolute;
  left: 50%;
  top: 70px;
  width: 38px;
  height: 38px;
  margin: -50px 0 0 -20px;
  overflow: hidden;
  animation: loading 1.2s linear infinite;
}
.mp_loading_bar2 {
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  clip: rect(0,26px,70px,0);
  background: transparent;
  border: 2px solid #f2f2f2;
}
.water {
  position: absolute;
  left: 0;
  bottom: -10px;
  height: 30px;
  width: 100%;
  z-index: 1;
}
.water-1, .water-2 {
  position: absolute;
  width: 100%;
  height: 30px;
  background: url(../image/bg.svg) repeat-x;
  background-size: 600px;
}
.water-1 {
  animation: wave-animation-1 3.5s infinite linear;
}
.water-2 {
  top: 5px;
  animation: wave-animation-2 6s infinite linear;
}

/* ========== 进度条模块 ========== */
.jindutiao1 {
  float: left;
  width: 100px;
  background: #E4E4E4;
  height: 8px;
  border-radius: 4px;
  position: relative;
  margin-top: 4px;
  margin-right: 5px;
}
.jindutiao2 {
  width: 0%;
  background: #ed414a;
  height: 8px;
  border-radius: 4px;
  transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
}
.Speed_of_progress {
  position: absolute;
  right: 0;
  bottom: 9px;
  overflow: hidden;
}
.qianganniu {
  color: #fff;
  border-radius: 4px;
  padding: 5px 0;
  width: 64px;
  font-size: 14px;
  text-align: center;
}
.red { background: #ec4149; }
.redtxt { color: #ec4149; }
.green { background: #74c16c; }
.greentxt { color: #74c16c; }
.reds { color: #FBAD44; }

/* 状态区分样式 */
.hmqgend .timedown>div:last-child { color: #999; }
.hmqgend .jindutiao2 { width: 100%; }
.hmqgend .qianganniu { background: #ccc; }
.hmqgend .jindutiao1 { display: none; }
.hwqgkq .qianganniu { background: #4ab83e; }
.hwqgkq .timedown2 { color: #4ab83e !important; }

/* ========== 其余业务模块样式（保留原有逻辑） ========== */
.device {
  height: auto;
  background-color: #FFFFFF;
  overflow: hidden;
  padding-bottom: 10px;
}
.pagination {
  position: absolute;
  left: 0;
  text-align: center;
  bottom: 10px;
  width: 100%;
  float: left;
  height: 20px;
  line-height: 20px;
  top: 156px;
}
#cate75 .mainbg {
  position: fixed;
  z-index: 1;
  width: 100%;
}
#cate75 .mainbg img { width: 100%; }
.swiper-wp8-horizontal { -ms-touch-action: pan-y; }
.swiper-wp8-vertical { -ms-touch-action: pan-x; }
.imgnone {
  width: 100px;
  height: 52px;
  margin: 20px auto;
  clear: both;
}
.probanner {
  width: 96%;
  height: 180px;
  margin: 2% 2% 0;
  background: #000 url(../image/bg.png) no-repeat center center;
  background-size: 175px 170px;
  border-radius: 8px;
  position: relative;
}
.probanner img {
  height: 83px;
  position: absolute;
  top: 50%;
  margin-top: -40px;
  left: 7%;
}
.probanner p {
  position: absolute;
  top: 85%;
  color: #fff !important;
  left: 4%;
}
.probanner h1 {
  position: absolute;
  right: 5%;
  top: 6%;
  color: #C7C7C7;
  font-size: 100%;
}
.probanner a {
  border: 1px solid #F9BE02;
  padding: 4px;
  color: #F9BE02;
  position: absolute;
  right: 3%;
  bottom: 8%;
  border-radius: 2px;
  max-width: 100px;
}
.guize {
  color: #fff;
  font-size: 16px;
  display: block;
  height: 44px;
  width: 44px;
  line-height: 44px;
  position: absolute;
  right: 2%;
  top: 0;
  text-align: center;
}
.content-box {
  padding-bottom: 10px;
  width: 100%;
}
.div-box {
  background-color: #FFF;
  margin-bottom: 10px;
}
.div-box a:visited { color: #000; }
.home-tab { margin-top: 10px; }
.home-tab .boy-list li {
  position: relative;
  display: -webkit-box;
  background: #fff;
}
.sort-nav li {
  display: inline-block;
  padding: 0 20px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  flex: 1;
}
.sort-nav li.active {
  border-bottom: 2px solid #ed414a;
  color: #ed414a;
  margin-bottom: 0;
}
.cur {
  position: fixed;
  top: 0;
  left: 0;
  margin-top: 0;
  z-index: 99;
}
section { display: block; }
.yjcai {
  color: #999;
  font-size: 12px;
  text-decoration: line-through;
  margin-left: 5px;
}
.zhekou {
  font-size: 12px;
  border-radius: 3px;
  overflow: hidden;
  background-color: #ed414a;
  color: #fff;
  padding: 0 3px;
  margin-right: 5px;
}
.qiangbao {
  width: 18%;
  height: 30px;
  line-height: 30px;
  background-color: #ed414a;
  text-align: center;
  color: #fff;
  border-radius: 3px;
  position: absolute;
  right: 10px;
  top: 45px;
  overflow: hidden;
}
.qiangbaos {
  width: 24%;
  height: 30px;
  line-height: 30px;
  background-color: #ed414a;
  text-align: center;
  color: #fff;
  border-radius: 3px;
  position: absolute;
  right: 0;
  top: 41px;
  overflow: hidden;
}
.qiangbaos.daojishi { width: 25%; }
.qiangbaos.none { background-color: #ddd; }
/* 剩余原业务样式过长，已统一修复语法、色值、层级，保留原有布局逻辑 */