/*全局样式*/
body {
  background:
    linear-gradient(90deg,
      rgba(213, 235, 237, 0.4) 0%,
      rgba(248, 227, 239, 0.7) 50%);
       zoom: 0.7; /* 缩小到 70% */
}

/* 整个页面的滚动条 */
::-webkit-scrollbar {
  overflow: hidden;
}




/* 顶部通知栏*/
/*顶部通知开始区域*/
.main {
  position: relative;
  width: 100%;
}

.main .shortcut {
  width: 100%;
  height: 32px;
  /* background: #fafafa; */
  background: #fff;
}

.main .shortcut .shortcut-c {
  width: 1200px;
  margin-left: auto;
  margin-right: auto;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.main .shortcut .shortcut-c .shortcut-left {
  display: flex;
  align-items: center;
}

.main .shortcut .shortcut-c .left-iten {
  margin-left: 10px;
  padding-left: 10px;
  font-family: PingFangSC-Regular;
  font-size: 12px;
  color: #999;
  letter-spacing: 0;
  height: 13px;
}

.main .f-c {
  display: flex;
  align-items: center;
}

/*左信息*/
.main .f-c-left {
  font-size: 12px;
  margin-left: 10px;
  cursor: pointer;
  /* 这里使用了pointer光标 */
}

.main .f-c-rigth {
  font-size: 12px;
  margin-left: 10px;
  cursor: pointer;
  /* 这里使用了pointer光标 */
}

.main .shortcut .shortcut-c .shortcut-left .f-c-left {
  color: #39bf3e;
}

.main .shortcut .shortcut-c .shortcut-left .f-c-rigth {
  color: #999;
}

.main .shortcut .shortcut-c .shortcut-left .f-c-rigth:hover {
  color: #39bf3e;
}



/*下拉按钮样式*/
.main .cascade-bar {
  cursor: pointer;
  margin-left: -15px;
  z-index: 999;
  height: 32px;
  font-family: PingFangSC-Regular;
  font-size: 10px;
  color: #999;
  letter-spacing: 0;
  justify-content: center;
  width: 80px;
  transition: all 0.3s;
}

/*伪元素*/
.main .cascade-bar:hover,
.main .bar-content .emnu:hover {
  color: #39bf3e;
}

/*下拉菜单内容 -》初始隐藏*/
.main .bar-content {
  display: none;
  position: absolute;
  /*相对定位*/
  background-color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  top: 100%;
  left: 0;
  z-index: 1000;
  /* 确保在最上层 */
}

/*菜单项样式*/
.main .bar-content .emnu {
  margin-left: 5px;
  color: #999;
  padding: 6px 10px;
  display: block;
  transition: background 0.3s;
  font-family: PingFangSC-Regular;
  font-size: 10px;
}

/* 激活状态下的样式->菜单项样式 */
.main .bar.active .bar-content {
  display: block;
  opacity: 1;
}

/*--------------------------------------------------------------*/
/*顶部通知结束区域*/
/************
  1.
**************************/
/* 搜索区域 */
/* 头部开始区域 */
.main .shortcut-header {
  position: relative;
  /*绝对定位，用于吸顶效果*/
  /* background: #fff; */
  width: 100%;
  padding: 20px 0;
}

/* <!-- 内容居中区域样式 --> */
.main .shortcut-header .shortcut-header-c {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1200px;
}

/*Logo*/
.main .shortcut-header .shortcut-header-c .logo {
  position: relative;
}

/*logo图片区域*/
.logo-image {
  width: 192px;
  height: 90px;
}

/*搜索+标签父级*/
.main .shortcut-header .shortcut-header-c .search-bg {
  /* display: flex; */
  position: relative;
  width: 639.750px;
  height: 68px;
}

.main .shortcut-header .shortcut-header-c .search-bg .s-ctn {
  width: 636.7px;
  height: 40px;
  border-radius: 10px;

}

.s-bg {
  display: flex;
  align-items: center;

}

/*输入框的样式*/
.s-bg .form {
  width: 508.7px;
  height: 39.2px;
  position: relative;
  background: #fff;
  border: 2px solid rgb(248, 227, 239);
  display: flex;
  border-radius: 10px;
}

/* <!--输入框--> */
.s-t {
  position: relative;
}

.s-bg .form .s-t .search-ctn {
  height: 34px;
  padding-left: 15px;
  padding-right: 15px;
  width: 409.5px;
  line-height: 36px;
  font-family: PingFangSC-Regular;
  font-size: 12px;
  color: #444;
  letter-spacing: 0;
  border: none !important;
  border-radius: 10px;
}

/*搜索按钮*/
.s-bg .form .s-r {
  margin-left: 5px;
  cursor: pointer;
  font-family: PingFangSC-Medium;
  font-size: 11.1px;
  color: #fff;
  letter-spacing: 0;
  border-radius: 10px;
}

.s-r {
  line-height: 36px;
  text-align: center;
  padding: 0 34px;
  background: #39bf3e;
  height: 36px;
}

/*模糊列表查询*/
.result-list {
  display: none;
  padding: 14px 0;
  width: 410px;
  position: absolute;
  top: 39px;
  background: #fff;
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .1);
  overflow: hidden;
  z-index: 99;
  max-height: 320px;
}

.result-list p {
  padding: 8px 15px;
  width: calc(100% -30px);
  display: flex;
  font-family: PingFangSC-Regular;
  font-size: 12px;
  color: #646464;
  letter-spacing: 0;
}

.result-list p:hover {
  background: #f5f4f4;
}

/*按钮*/
.s-bg .orange-c {
  background: #ff862c;
}

.s-bg .s-btn .a1 {
  cursor: pointer;
  font-family: PingFangSC-Medium;
  font-size: 12px;
  color: #fff;
  letter-spacing: 0;
}

/*标签样式*/
.hot-cate-lis {
  margin-top: 10px;
}

/*标签文字样式*/
.cate-items {
  /* line-height: 20px; */
  font-family: PingFangSC-Regular;
  font-size: 12px;
  color: #646464;
  letter-spacing: 0;
  margin-left: 15px;
  margin-top: 5px;
}

/*标签伪元素*/
.cate-items:hover {
  color: #39bf3e;
}

/*二维码文字*/
.shortcut-header .shortcut-header-c .QR-bg .t1 {
  margin-top: 4px;
  font-family: PingFangSC-Regular;
  font-size: 12px;
  color: #646464;
  letter-spacing: 0;
  text-align: center;
}

/*二维码图片*/
.shortcut-header .shortcut-header-c .QR-bg .app-qr {
  margin-left: auto;
  margin-right: auto;
  height: 90px;
  width: 90px;
}

.shortcut-header .shortcut-header-c .QR-bg .app-qr img {
  width: 90px;
}

/*楼顶效果*/
.elevator {
  position: fixed;
  bottom: 50%;
  right: 0;
  border-radius: 8px 0 0 8px;
  background: #fff;
}

.elevator_list {
  overflow: hidden;
}

.elevator_list .elevator_item {
  position: relative;
  border-radius: 8px 0 0 8px;
  transition: all 0.3s ease;
  /* 添加过渡效果使变化更平滑 */
}

.elevator_list .elevator_active {
  border-radius: 8px 0 0 0;
}

.elevator_item .cart-a {
  display: inline-block;
  height: 36px;
  width: 36px;
  padding: 16px 4px;
  text-align: center;
  border-radius: 0 0 0 8px;
}

/*购物车*/
.cart-count {
  position: relative;
  /*绝对定位*/
  top: 18px;
  left: 17px;
  background: #ff6434;
  border-radius: 50%;
  /*绘制圆型*/
  color: #fff;
  width: 20px;
  height: 20px;
  display: flex;
  /*弹性布局*/
  /*居中*/
  justify-content: center;
  align-items: center;
  font-size: 10px;
}

.elevator_item img {
  position: relative;
  bottom: 10px;
  width: 20px;
  z-index: 100;
}

/* 修改悬浮效果 */
.elevator_item:hover {
  background: red;
  color: #fff;
}

/* 确保悬浮时.cart-txt文字也变白 */
.elevator_item:hover .cart-txt {
  color: #fff;
}

.elevator_item .cart-txt {
  width: 44px;
  position: relative;
  display: flex;
  font-size: 10px;
  bottom: 9px;

}

/*回顶部*/
.elevator_totop {
  /* display: none; */
  display: inline-block;
  padding: 16px 4px;
  color: #e1251b;
  text-align: center;
  border-radius: 0 0 0 8px;
  transition: all 0.3s ease;
  /* 添加过渡效果使变化更平滑 */
}

.elevator_totop img {
  position: relative;
  width: 20px;
  height: 20px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  z-index: 3;
}

.elevator_totop_txt {
  display: block;
  font-size: 10px;
  transition: color 0.3s ease;
  /* 添加文字颜色过渡效果 */
}

.elevator_totop:hover {
  background: red;
  color: #fff;
}

/* 吸顶状态 */
.shortcut-header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  /* 统一吸顶高度 */
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 10%;
  /* 适当的内边距 */
}

/* Logo调整 */
.fixed .shortcut-header-c .logo {
  height: 100%;
  /* 与吸顶栏同高 */
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.fixed .shortcut-header-c .logo img {
  height: 80%;
  /* 图片高度为吸顶栏高度的80% */
  width: auto;
  /* 宽度自适应 */
  max-width: 120px;
  /* 最大宽度限制 */
}

/* 搜索区域调整 */
.fixed .shortcut-header-c .search-bg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  margin-left: 100px;
}

/* 二维码区域调整 */
.fixed .shortcut-header-c .QR-bg {
  display: flex;
  align-items: center;
  height: 100%;
  margin-left: 20px;
  margin-bottom: 0;
}

.fixed .shortcut-header-c .QR-bg .app-qr {
  height: 40px;
  /* 固定二维码高度 */
  width: 40px;
  /* 固定二维码宽度 */
  margin-right: 10px;
}

.fixed .shortcut-header-c .QR-bg .app-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fixed .shortcut-header-c .QR-bg .t1 {
  display: block !important;
  /* 强制显示文字 */
  font-size: 12px;
  line-height: 1.3;
  white-space: wrap;
}


/* 搜索框调整 */
.fixed .s-bg {
  height: 36px;
  /* 适当高度 */
}

.fixed .search-ctn {
  height: 100%;
  /* 填满容器 */
}

/* 热词标签调整 */
.fixed .hot-cate-list {
  display: none;
  /* 吸顶时隐藏热词 */
}

/* 头部结束区域 */
/*--------------------------------------------------------------*/
/* <!--中间选项卡+轮播图+详细信息卡样式--> */
/* 中间区域 */
.ctn-bg {
  padding-top: 15px;
  width: 100%;
  height: 589px;
}

.ctn-bg .fs {
  margin: auto;
  padding: 0 54px;
  min-width: 1200px;
  max-width: 1300px;
  height: 589px;
  box-sizing: border-box;
}

.fs {
  position: relative;
}

/*内容区域*/
.ctn-container {
  padding: 16px;
  position: relative;
  /*用于内容中区域固定*/
  display: flex;
  color: #646464;
}

.ctn-box {
  box-sizing: border-box;
  height: 640px;
  width: 1200px;
  border-radius: 12px;
  background: #fff;
}

/* 选项卡区域 */
.ctn-box .ctn-bg-l {
  left: 0;
  margin-right: 16px;
  width: 285px;
  background-color: #F7F8FC;
  border-radius: 12px;
}

/* 文字类别 */
.category-title {
  height: 57px;
  line-height: 57px;
  padding: 0 15px;
  border-bottom: 4px solid #fff;
  display: flex;
  align-items: center;
  color: #444;
  font-weight: 500;
  font-family: PingFangSC-Medium;
}

/*类别种类*/
.category-bg {
  overflow: hidden;
  background-color: #F7F8FC;
  color: #636363;
  padding-top: 8px;
}

/*选项卡*/
.first-item {
  margin-top: 0px;
  overflow: hidden;
  padding-left: 18px;
  height: 34px;
  line-height: 34px;
  font-size: 0;
  -webkit-transition: background-color .2s ease;
  transition: background-color .2s ease;
  margin-top: 1px;
}

.o-line {
  float: left;
  font-family: PingFang SC;
  font-size: 14px;
  color: #1A1A1A;
}


.cate-icon {
  float: left;
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-top: 10px;
  margin-right: 8px;
}

/*弹窗 宽度640px 高度544px*/
.r-cate-bg {
  display: none;
  position: absolute;
  left: 260px;
  top: 74px;
  width: 640px;
  min-height: 544px;
  border: 1px solid #39bf3e;
  background-color: #fff;
  -webkit-transition: top .25s ease;
  transition: top .25s ease;
  border-radius: 8px;
  z-index: 999;
}

/*弹窗伪元素*/
.first-item:hover {
  background: #d9d9d9;
}

.r-cate-active {
  display: block;
}

/*弹窗内文字*/
.t2 {
  float: left;
  margin-left: 12px;
  margin-top: 4px;
  font-size: 16px;
  color: #444;
  letter-spacing: 0;
  font-weight: 600;
}

.tab-item1 {
  cursor: pointer;
  border-bottom: none;
  border-radius: 8px;
  box-sizing: border-box;
  height: 30px;
  width: 100px;
  margin: 10px 8px;
  padding: 0 8px 0 4px;
  transition: all .4s ease;
  vertical-align: middle;
  background-color: #F7F8FC;
}

.tab-item1:hover {
  background: -webkit-gradient(linear, left bottom, left top,
      from(#ffebf1), to(#ffebf1)),
    -webkit-gradient(linear, left bottom, left top, from(#f7f8fc), to(#f7f8fc));
}

.o-line:hover,
.t2:hover {
  color: #ff0f23;
}

.cate-ctn {
  margin-left: 24px;
  margin-right: 24px;
  width: calc(100% - 48px);
}

.c-list {
  display: flex;
  flex-wrap: wrap;
}

/*可以换行*/
.c-l-items {
  margin-top: 6px;
  margin-right: 10px;
  font-family: PingFangSC-Regular;
  font-size: 12px;
  color: #7b7b7b;
  letter-spacing: 0;
}

.c-l-items:hover {
  color: #ff0f23;
}

/* 轮播图区域 */
.ctn-bg-carousel {
  width: 600px;
  /* background-color: #F7F8FC; */
}


/*--------------------------------*/
/*导航*/
.navigation {
  position: relative;
  height: 49px;
  width: 100%;
  background-color: #F7F8FC;
  border-radius: 12px;
}

.navigation .navigation-text1 {

  display: inline-block;
  text-align: center;
}

.navitems-lk:hover {
  color: #39bf3e;
}

.navitems-lk {
  position: relative;
  padding: 0 5.5px;
  height: 49px;
  line-height: 48px;
  font-size: 16px;
  font-weight: 600;
  margin-left: 14px;
  justify-content: space-between;
}

.imgto {

  height: 18px;
  margin-right: 4px;
  margin-top: -2px;
}

.items-img1 {
  position: absolute;
  width: 26px;
  height: 17px;
  right: -14px;
  top: -6px;
}

.items-img2 {
  position: absolute;
  width: 35px;
  height: 17px;
  right: -20px;
  top: -6px;
}

/*轮播图*/
.home-banner {
  position: relative;
  margin-top: 16px;
  width: 600px;
  height: 345px;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.slides-container {
  display: flex;
  width: 400%;/*4个图要占满4*100%*/
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide-item {
  width: 25%;
  height: 100%;
  flex-shrink: 0;
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* border-radius: 12px; */
}

/*按钮*/
.banner-btn {
  height: 6px;
  width: 120px;
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.banner-btn li {
  list-style: none;
  height: 5px;
  width: 25px;
  opacity: .3;
  background: #000;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/*激活按钮*/
.banner-btn .banner-active {
  opacity: .7;
  background: #fff;
  transform: scale(1.1);
}

.banner-pre {
  display: none;
  cursor: pointer;
  position: absolute;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 34px;
  background: rgba(0, 0, 0, 0.5) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/></svg>') no-repeat center;
  background-size: 16px;
  border-radius: 4px;
  z-index: 10;
  transition: background 0.3s;
}



.banner-next {
  display: none;
  cursor: pointer;
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 34px;
  background: rgba(0, 0, 0, 0.5) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>') no-repeat center;
  background-size: 16px;
  border-radius: 4px;
  z-index: 10;
  transition: background 0.3s;
}


/*下方图片区域*/
.btm-banner-com {
  margin-top: 16px;
  width: 600px;
  height: 180px;
  display: flex;
  background: linear-gradient(112deg, #fff7fb, #fff7f7 59.99%, #fff9fa);
  border-radius: 12px;
  justify-content: space-between;
}

.banner-com1 {
  width: 276px;
  height: 164px;
  cursor: pointer;
  border-radius: 12px;
  margin-top: 8px;
  margin-left: 8px;
  object-fit: cover;
}

.banner-com1:hover,
.banner-com2:hover {
  border: 1px solid #39bf3e;
  box-shadow: 2px 4px 16px #00000029;
  transform: scale(1.02);
  transition: all 0.3s ease;
}

.banner-com2 {
  width: 276px;
  height: 164px;
  cursor: pointer;
  border-radius: 12px;
  margin-top: 8px;
  margin-right: 8px;
  object-fit: cover;
}

/*--------------------------*/
/* 信息区域 */
.ctn-bg-r {
  margin-left: 16px;
  width: 285px;
  background-color: #F7F8FC;
  border-radius: 12px;
}

/*信息上区域*/
.ctn-t1 {
  display: flex;
  align-items: center;
  height: 124px;
  padding: 24px 0 24px 10px;
  font-family: PingFangSC-Regular;
  font-size: 16px;
  color: #444;
  letter-spacing: 0;
  text-align: center;
  background: #fff;
  background-image: linear-gradient(112deg, #fff7fb, #fff7f7 59.99%, #fff9fa);
  /* background: #39bf3e; */
  border-radius: 12px;
}

/*头像*/
.hn-logo {
  display: inline-block;
  text-align: center;
}

/* 头像样式优化 */
.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  /* 圆形 */
  object-fit: cover;
  /* 图片裁剪以填充容器 */
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  /* 轻微阴影 */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

/* 鼠标悬停头像放大一点 */
.avatar:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 更换头像按钮样式 */
.change-avatar-btn {
  margin-top: 10px;
  padding: 8px 16px;
  font-size: 14px;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* 按钮悬停效果 */
.change-avatar-btn:hover {
  background-color: #0056b3;
  transform: translateY(-1px);
}

/* 按钮按下效果 */
.change-avatar-btn:active {
  transform: translateY(1px);
}

.hn-text {
  font-family: PingFangSC-Regular;
  font-size: 16px;
  color: #444;
  letter-spacing: 0;
  text-align: center;
  /* margin-left: 10px; */
}

/*登入\注册*/
.t1-btm a {
  display: flex;
  justify-content: center;
  background: red;
  padding: 7px 34px;
  margin: 16px 30px 0;
  font-family: PingFangSC-Medium;
  font-size: 14px;
  color: #fff;
  letter-spacing: 0;
  cursor: pointer;
  box-sizing: border-box;
  border-radius: 4px;
}

.login-btn {
  display: block;
  margin-top: -24px;
}

/*右边信息*/
.buyer-services {
  width: 100%;
  height: 252.53px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 16px 30px 0;
  box-sizing: border-box;
}

.service-item {
  width: 100px;
  height: 118.27px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 20px;
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  background: #ececec;
}

.service-item p {
  margin-top: 6px;
  font-family: PingFangSC-Regular;
  font-size: 14px;
  color: #646464;
  letter-spacing: 0;
  font-weight: 400;
}

/* 上架商品 */
.t1-btm.open-shop-btn {
  padding: 7px 34px;
  margin: 16px 30px 0;
  font-family: PingFangSC-Medium;
  font-size: 14px;
  background: rgba(177, 255, 187, 0.1);
  border: 1px solid #39bf3e;
  color: #39bf3e;
}

.t1-btm.open-shop-btn:hover {
  background: rgba(153, 255, 166)
}

/* --------------------商品样式----------------------*/
/* 主体 */
.home {
  height: 700px;
  width: 100%;
}

.tab-container {
  height: 700px;
  width: 1200px;
  position: relative;
  margin: 0 auto;
  margin-top: 40px;
  box-sizing: border-box;
  border-radius: 12px;
  /* background: #fff; */
}

/*tab标签样式*/
.tab-header {
  width: 100%;
  height: 52px;
  background: #fff;
  display: flex;
  align-items: center;
  border-radius: 2px;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  width: 100%;
}

.tab-items {
  box-sizing: border-box;
  display: inline-block;
  height: 100%;
  white-space: nowrap;
}

.tab-item {
  align-items: center;
  border-bottom: none;
  border-radius: 8px;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  flex-direction: row;
  height: 32px;
  justify-content: flex-start;
  margin: 10px 8px;
  padding: 0 8px 0 4px;
  transition: all .4s ease;
  vertical-align: middle;
  background-color: #F7F8FC;
}

.item-title {
  color: #1f1f1f;
  font-size: 16px;
  font-weight: 400;
  height: 24px;
  letter-spacing: 0;
  line-height: 24px;
  white-space: nowrap;
}

.tabIcon {
  height: 28px;
  margin-right: 2px;
}

.active {
  background-color: #fff1eb;
  position: relative;
}

.title-active {
  color: #FF0F23;
}

/* 商品列表容器 */
.tab-content {
  position: relative;
  width: 1200px;
  background: #fff1eb;
  padding-bottom: 20px;
  margin: 0 auto;
  /* 居中显示 */
}

/* 卡片区域*/
.product-list {
  width: 100%;
  padding: 20px;
  overflow: hidden;
  /* 清除浮动 */
}

/* 卡片样式*/
.product-card {
  float: left;
  width: calc(25% - 15px);
  /* 4个卡片，考虑间距 */
  /*392px*/
  height: 320px;
  margin-right: 20px;
  margin-bottom: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid #eee;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 每行第4个卡片去掉右边距 */
.product-card:nth-child(4n) {
  margin-right: 0;
}

/* 卡片悬停效果 */
.product-card:hover {
  border: 1px solid #ff0f23;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(255, 15, 35, 0.1);
}

/* 卡片图片 */
.product-image {
  width: 100%;
  height: 180px;
  /* 调整高度以适应整体布局 */
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 15px;
}

/* 卡片名称 */
.product-name {
  display: block;
  text-align: left;
  margin: 10px 0;
  /* margin-top: 20px; */
  font-size: 16px;
  /* font-weight: 500; */
  line-height: 1.4;
  height: 44px;
  overflow: hidden;
  color: #333;
}

/* 卡片价格 */
.product-price {
  display: block;
  text-align: left;
  color: #FF0F23;
  font-size: 18px;
  font-weight: bold;
}

/*已售*/
.product-price .Sold {
  display: inline-block;
  font-size: 12px;
  color: rgb(140, 140, 140);
  margin-left: 4px;
  line-height: 20px;
  font-weight: normal;
  margin-bottom: -1px;
}

/* 购买按钮 */
.product-btn {
  display: block;
  width: 100px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  background: rgba(255, 134, 44, .1);
  border: 1px solid #ff862c;
  color: #ff862c;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: absolute;
  right: 20px;
  bottom: 16px;
  text-decoration: none;
  font-size: 14px;
}

.product-btn:hover {
  background: #ff862c;
  color: #fff;
  transform: scale(1.05);
}

/* 清除浮动 */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/*=============================新品秒杀区域=================*/
/*秒杀区域*/
.Seckill {
  display: flex;
  margin: 0px auto;
  margin-top: 100px;
  width: 1200px;
  height: 266px;
  /* background: #fff; */
  border-radius: 12px;
}

.header {
  width: 208px;
  height: 259px;
  padding: 44px 0;
  background: url('../images/seckill/skillBg.3e32104.jpg') no-repeat;
  border-radius: 12px;
  font-size: 16px;
  margin-top: 7px;
}

.seckillList {
  width: 992px;
  height: 266px;
  /* background: linear-gradient(112deg, #fff7fb, #fff7f7 59.99%, #fff9fa); */
  border-radius: 12px;
  position: relative;
  padding-top: 7px;
  overflow: hidden;
  /*用于商品列表固定*/
}

.title {
  font-size: 28px;
  font-weight: 700;
  /*文字粗细*/
  color: #fff;
}

.timeCurrent {
  margin-top: 20px;
  color: #fff;
}

.timetitle {
  font-weight: 700;
  color: #fff;
}

.lines {
  width: 17px;
  height: 2px;
  margin: 10px auto 0;
  background: #fff;
}

.tip {
  margin-top: 10px;
  font-size: 16px;
  color: #fff;
}

/*时间区域*/
.time {
  display: flex;
  margin-top: 20px;
  justify-content: center;
}

.hours,
.minutes,
.seconds {
  padding: 5px;
  font-size: 16px;
  font-weight: 700;
  background: #000;
  color: #fff;
}

.timeTxt {
  margin: 4px 5px;
  color: #fff;
}

.seckillList .seckilwarp {
  background: linear-gradient(112deg, #fff7fb, #fff7f7 59.99%, #fff9fa);
  display: flex;
  width: 100%;
  height: 100%;

}

.pre {
  cursor: pointer;
  position: relative;
  float: left;
  width: 25px;
  height: 34px;
  bottom: 150px;
  /*居左并而居中显示*/
  background: url('../images/seckill/left.png');
  box-sizing: border-box;
}

.next {
  cursor: not-allowed;
  /* cursor: no-drop; */
  position: relative;
  float: right;
  width: 25px;
  height: 34px;
  bottom: 150px;
  /*居右并而居中显示*/
  background: url('../images/seckill/rigth.png');
}

.item {
  cursor: pointer;
  min-width: 248px;
  padding: 21px 0;
  display: block;
  position: relative;
  /*用于移动*/
  background: #fff;
  border-right: 1px solid #eee;
  /* right: 0px; */
  transition: all 0.3s ease;
  border-radius: 12px;
}

.item:hover {
  border: 1px solid #ff0f23;
  box-sizing: 0 5px 15px rgba(255, 15, 35, 0.1);
  box-shadow: 0 5px 15px rgba(255, 15, 35, 0.1);
  margin-top: -7px;
}

/*商品内容区域*/
.picTxt {
  width: 164px;
  height: 266px;
  margin: 0 auto;
  /* background: red; */
}

.pictrue {

  margin: 0 auto;

}

.pictrue img {
  width: 164px;
  height: 164px;
  object-fit: cover;
  border-radius: 8px;
}

.name {
  color: #282828;
  text-align: center;
  width: 164px;
  margin: 10px auto 0;
  font-size: 14px;
}

.line1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.money {
  text-align: center;
  width: 164px;
  margin: 12px auto 0;
}

.money .font-color {
  font-weight: 700;
  font-size: 16px;
}

.font-color {
  color: #e93323 !important;
  /*强制是#e93323颜色*/
}

.money .y_money {
  color: #a3a3a3;
  text-decoration: line-through;
  margin-left: 6px;
}

/*弹窗*/
.top {
  width: 234px;
  height: 39.5px;
  position: fixed;
  display: flex;
  z-index: 2025;
  text-align: center;
  top: -90px;
  /*30px 为导航栏高度*/
  left: 45%;
  /* 平滑效果 */
  transition: all 0.5s ease;
}
.top {
  transition: top 0.3s ease;
}
.top.show {
  top: 30px;
}
.top.hide {
  top: -90px;
}

.color {
  background-color: #fff;
  box-shadow: 0 12px 36px 0 rgba(49, 49, 77, 0.12);
  border: 1px solid #d8eafc;
  border-radius: 4px;
}

.img-elment {
  width: 16px;
  height: 16px;
  margin: 12px;
}

.txt-elment {
  margin: auto -4px;
  font-size: 14px;
  color: #39bf3e;
  line-height: 1;
}
