/* 自定义菜单和滑动提示样式 - 请勿修改此部分 */
.first-menu-line {
  position: relative;
  margin-top: 0.24rem !important; 
}

.main-content-box {
  box-sizing: border-box;
  padding: 0.3rem 0 0.1rem 0rem;
  width: 100%;
  border: 1px solid #e6e7eb;
  border-radius: 0.05rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  position: relative;
}

@media screen and (max-width: 750px) {
  .first-menu-line {
    margin-top: 0.26rem !important;
  }
  
}
/* 原始样式开始 */

.main-title-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.2rem;
}
.btn-box .qty-box {
  display: flex;
  align-items: center;
  font-size: 0.12rem;
  color: #666;
  padding: 0.01rem 0.08rem;
  border-radius: 0.02rem;
}
.btn-box .qty-box .stock-num {
  color: #ff6b35;
  font-weight: bold;
  margin-left: 0.05rem;
}
.btn-box .price-box {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.main-title {
  font-size: 0.24rem;
  color: #171725;
  font-weight: 600;
  position: relative;
  padding-left: 0.15rem;
  margin-bottom: 0;
}

.main-title:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 0.24rem;
  width: 0.04rem;
  background: #0058ff;
  border-radius: 0.03rem;
}

.cart-des {
  position: relative;
  padding: 0.15rem 0.2rem;
  margin-bottom: 0.2rem;
  background-color: rgba(0, 88, 255, 0.05);
  border: none;
  border-radius: 0.03rem;
  box-shadow: none;
  font-size: 0.14rem;
  line-height: 1.6;
  color: #333;
  overflow-y: auto;
  border-left: none;
}

.cart-des::before {
  content: none;
}

.cart-des * {
  margin: initial;
  padding: initial;
}

.cart-des p {
  margin: 0.08rem 0;
}

.cart-des a {
  color: #0058ff;
  text-decoration: none;
}

.cart-des a:hover {
  text-decoration: underline;
}

.cart-des img {
  max-width: 100%;
  height: auto;
}

.cart-des ul, .cart-des ol {
  padding-left: 0.2rem;
  margin: 0.08rem 0;
}

.cart-des h1, .cart-des h2, .cart-des h3, 
.cart-des h4, .cart-des h5, .cart-des h6 {
  margin: 0.12rem 0;
  color: #333;
}

.search-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}
.menu-line {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 0.15rem;
  padding: 0.12rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
  border-radius: 0.08rem;
  box-shadow: 0 2px 8px rgba(14, 98, 255, 0.06), 0 1px 2px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(14, 98, 255, 0.08);
  box-sizing: border-box;
}
.menu-line:last-child {
  margin-bottom: 0.1rem;
}

/* 第一行：图标 + 导航标题 */
.menu-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.1rem;
  padding: 0 0.02rem 0.08rem 0.02rem;
  border-bottom: 1px solid rgba(14, 98, 255, 0.12);
  position: relative;
}

.menu-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0.4rem;
  height: 1px;
  background: linear-gradient(90deg, #0E62FF 0%, #4A85FF 100%);
  border-radius: 1px;
}

.menu-label {
  font-size: 0.14rem;
  color: #0E62FF;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.01rem;
  line-height: 0.16rem;
  display: flex;
  align-items: center;
}

/* 第二行：实际内容 */
.menu-content {
  display: flex;
  flex-wrap: wrap;
  gap: 0.06rem;
  align-items: flex-start;
  padding: 0 0.02rem;
}
.menu-item {
  padding: 0.06rem 0.12rem;
  margin: 5px;
  border: 1px solid rgba(14, 98, 255, 0.15);
  border-radius: 0.06rem;
  font-size: 0.14rem;
  color: #333;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 1px 3px rgba(14, 98, 255, 0.06);
  height: 0.38rem;
  line-height: 1;
  box-sizing: border-box;
  background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-width: 0.7rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}
.menu-item.active {
  background: #3B7CFF;
  color: #ffffff;
  border-color: #0E62FF;
  box-shadow: 0 2px 8px rgba(14, 98, 255, 0.3);
  transform: translateY(-1px);
}
.menu-item.active:hover {
  background: linear-gradient(135deg, #0052D9 0%, #3366FF 100%);
  box-shadow: 0 4px 12px rgba(14, 98, 255, 0.4);
  transform: translateY(-2px);
      color: #ffffff !important;
}

.shopping-box {
  box-sizing: border-box;
  margin-top: 0.2rem;
  min-height: 3rem;
}
.goods-list-div {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0.24rem;
  padding: 0.1rem;
}

/* 响应式网格布局 */
@media screen and (min-width: 1200px) {
  .goods-list-div {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.3rem;
    padding: 0px !important;
  }
}

@media screen and (max-width: 1199px) and (min-width: 768px) {
  .goods-list-div {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.24rem;
  }
}

@media screen and (max-width: 767px) and (min-width: 480px) {
  .goods-list-div {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.2rem;
    padding: 0.08rem;
  }
}

@media screen and (max-width: 479px) {
  .goods-list-div {
    grid-template-columns: 1fr;
    gap: 0.16rem;
    padding: 0.05rem;
  }
}
.shopping-item {
  position: relative;
  box-sizing: border-box;
  min-height: 2.8rem;
  border: 1px solid #f0f2f5;
  border-radius: 0.12rem;
  padding: 0.24rem;
  background: #ffffff;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

.shopping-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0E62FF 0%, #4A85FF 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}


.shopping-item .goods-top-tag {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  column-gap: 0.15rem;
  row-gap: 0.15rem;
  font-size: 0.18rem;
  color: #fff;
}
.shopping-item .active-name {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
  padding: 0.04rem 0.12rem;
  line-height: 0.3rem;
  border-radius: 0.06rem;
  box-shadow: 0 2px 4px rgba(238, 90, 82, 0.3);
}
.shopping-item .tag-item {
  background: linear-gradient(135deg, #ffa726 0%, #ff9800 100%);
  padding: 0.02rem 0.08rem;
  line-height: 0.24rem;
  border-radius: 0.04rem;
  color: #fff;
  font-size: 0.13rem;
  box-shadow: 0 2px 4px rgba(255, 152, 0, 0.3);
}
.shopping-item .firewall-box {
  background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
  padding: 0.04rem 0.12rem;
  line-height: 0.3rem;
  display: flex;
  align-items: center;
  border-radius: 0.06rem;
  box-shadow: 0 2px 4px rgba(68, 160, 141, 0.3);
}
.shopping-item .firewall-box .firewall-icon {
  margin-right: 0.08rem;
  width: 0.2rem;
  height: 0.2rem;
}
.goods-name {
  color: #2c3e50;
  font-size: 0.16rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.shopping-item:hover .goods-name {
  color: #0E62FF;
}

.goods-description {
  max-height: 250px;
  overflow: auto;
  margin-top: 0.15rem;
  color: #5a6c7d;
  font-size: 0.13rem;
  line-height: 1.5;
  white-space: pre-line;
  margin-bottom: 0.5rem;
}
.goods-description::-webkit-scrollbar {
  /*滚动条整体样式*/
  width: 4px;
}
.goods-description::-webkit-scrollbar-track {
  /*滚动条里面轨道*/
  box-shadow: inset 0 0 5px rgba(87, 175, 187, 0.1);
  border-radius: 10px;
  background: #fff;
}
.goods-description::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/
  box-shadow: inset 0 0 5px rgba(97, 184, 179, 0.1);
  background: #e6e9f4;
}
.goods-description img {
  max-width: 100%;
}
.btn-box {
  width: 100%;
  box-sizing: border-box;
  padding: 0 0.2rem 0 0.12rem;
  position: absolute;
  bottom: 0.15rem;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.btn-box .qty-box {
  display: flex;
  align-items: center;
  font-size: 0.13rem;
  color: #6b7280;
  padding: 0.04rem 0.08rem;
  border-radius: 0.04rem;
  backdrop-filter: blur(4px);
}

.btn-box .qty-box .stock-num {
  background: linear-gradient(135deg, #ffa726 0%, #ff9800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  margin-left: 0.05rem;
}
.btn-box .price-box {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.btn-box .price-box .price-box-left {
  text-align: right;
  display: flex;
  align-items: flex-end;
  column-gap: 0.04rem;
}
.btn-box .price-box .original-price {
  font-size: 0.12rem;
  color: #a0a8b8;
  text-decoration: line-through;
  position: relative;
}

.btn-box .price-box .original-price .money {
  font-size: 0.14rem;
}

.btn-box .item-price {
  font-size: 0.24rem;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  position: relative;
}

.btn-box .item-price .item-price-prefix {
  font-size: 0.12rem;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-box .item-price .item-price-cycle {
  font-size: 0.13rem;
  color: #6b7280;
  font-weight: 400;
}
.btn-box .el-button {
  border: none;
  font-size: 0.13rem;
  color: #ffffff;
  background: linear-gradient(135deg, #0E62FF 0%, #4A85FF 100%);
  border-radius: 0.06rem;
  width: 0.7rem;
  height: 0.34rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.btn-box .el-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-box .el-button:hover {
  background: linear-gradient(135deg, #0052D9 0%, #3366FF 100%);
  box-shadow: 0 4px 12px rgba(14, 98, 255, 0.4);
  transform: translateY(-1px);
}

.btn-box .el-button:hover::before {
  left: 100%;
}

.btn-box .el-button:active {
  transform: translateY(0);
}
.tips {
  color: #8692b0;
  font-size: 0.13rem;
  text-align: center;
  margin-top: 18px;
}









.blue-a-text {
  color: #0058ff;
  cursor: pointer;
}
.up-dialog .el-dialog__header {
  display: none;
}
.up-dialog .el-dialog__body {
  padding: 0.6rem 0.8rem;
}
.up-dialog .dia-title {
  font-size: 0.24rem;
  color: #171725;
}
.up-dialog .dia-concent {
  margin-top: 0.3rem;
}
.up-dialog .dia-concent .up-tips {
  font-size: 0.16rem;
  color: #1e2736;
}
.up-dialog .dia-concent .file-box {
  margin-top: 0.1rem;
  display: flex;
  align-items: center;
}
.up-dialog .dia-concent .file-box .file-name {
  flex: 1;
  border: 0.01rem solid #e6e7eb;
  height: 0.46rem;
  line-height: 0.46rem;
  padding: 0 0.16rem;
  background: rgba(102, 107, 128, 0.08);
  font-size: 0.15rem;
}
.up-dialog .dia-concent .file-box .file-name:focus {
  outline: none;
  border: 0.01rem solid #e6e7eb;
}
.up-dialog .dia-concent .file-box .file-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.12rem 0.28rem;
  height: 0.46rem;
  box-sizing: border-box;
  color: #4e5259;
  font-size: 0.16rem;
  border: 0.01rem solid #e6e7eb;
  margin-left: 0.1rem;
  cursor: pointer;
}
.up-dialog .dia-foter {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 0.4rem;
}
.up-dialog .dia-foter .confim-btn,
.up-dialog .dia-foter .cancel-btn {
  min-width: 1.12rem;
  border: none;
  border-radius: 0.03rem 0.03rem 0.03rem 0.03rem;
  font-size: 0.16rem;
}
.up-dialog .dia-foter .confim-btn {
  background: #0058ff;
  color: rgba(255, 255, 255, 0.9);
}
.up-dialog .dia-foter .cancel-btn {
  margin-left: 0.12rem;
  background: #e7e7e7;
  color: #1e2736;
}
.el-popover {
  max-width: none;
}
@media screen and (max-width: 1080px) {
  .main-title-box {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .search-input-box {
    margin-top: 0;
  }
  
  .search-input-box .search-input {
    width: 2.5rem;
  }
}
@media screen and (max-width: 750px) {
  .main-title-box {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0.24rem;
  }
  .money{
    font-size: 22px;
  }
  
  .main-title {
    font-size: 0.32rem;
    margin-bottom: 0.2rem;
    padding-left: 0.2rem;
    margin-top: 0.3rem;
  }
  
  .main-title:before {
    height: 0.3rem;
    width: 0.06rem;
  }
  
  .cart-des {
    padding: 0.24rem 0.26rem;
    margin-bottom: 0.3rem;
    font-size: 0.2rem;
    line-height: 1.8;
  }
  
  .search-input-box {
    width: 100%;
    flex-direction: row;
    align-items: center;
  }
  
  .qty-box {
    font-size: 0.2rem !important;
  }
  
  .tag-item {
    font-size: 0.16rem;
    padding: 0 0.12rem;
    line-height: 0.28rem;
  }
  
  .search-input-box .search-input {
    width: calc(100% - 0.9rem);
    margin-bottom: 0;
  }
  
  .search-input-box .search-input .el-input__inner {
    height: 0.55rem !important;
    font-size: 0.18rem !important;
  }
  
  .search-input-box .search-btn {
    width: 0.9rem;
    height: 0.55rem;
    margin-left: 0.1rem;
    font-size: 0.19rem;
  }
  
  .main-content-box {
    padding: 0.3rem 0 0.2rem 0;
    border-radius: 0.06rem;
  }
  
  
  .menu-line {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.24rem 0.18rem;
    margin-bottom: 0.24rem;
    box-sizing: border-box;
  }
  
  .menu-header {
    padding: 0 0.08rem 0.12rem 0.08rem;
    margin-bottom: 0.14rem;
    justify-content: flex-start;
  }
  
  .menu-header::after {
    left: 0.08rem;
  }
  
  .menu-label {
    font-size: 0.23rem;
  }
  
  .menu-content {
    flex-wrap: wrap;
    padding: 0 0.08rem;
    gap: 0.12rem;
    justify-content: flex-start;
  }

  .menu-item {
    padding: 0.1rem 0.18rem;
    font-size: 0.21rem;
    white-space: nowrap;
    height: 0.44rem;
    border-radius: 0.06rem;
  }
  
  
  .goods-list-div {
    grid-template-columns: repeat(1, 1fr);
    row-gap: 0.25rem;
  }
  
  .shopping-item {
    min-height: 2.8rem;
    padding: 0.25rem;
    margin-bottom: 0.15rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 0.08rem;
  }
  
  .goods-name {
    font-size: 0.25rem;
    margin-bottom: 0.15rem;
    font-weight: 500;
    line-height: 1.4;
  }
  
  .goods-description {
    max-height: 200px;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    font-size: 0.2rem;
    color: #666;
  }
  
  .btn-box {
    padding: 0 0.19rem;
    bottom: 0.2rem;
    font-size: 0.2rem;
  }

  qty-box{
    font-size: 0.2rem !important;
  }
  
  .btn-box .item-price {
    font-size: 0.3rem;
    font-weight: 600;
  }
  
  .btn-box .item-price .item-price-cycle {
    font-size: 12px;
  }
  
  .btn-box .el-button {
    font-size: 0.16rem;
    width: 1rem;
    height: 0.48rem;
    border-radius: 0.06rem;
  }
  
  .tips {
    font-size: 0.17rem;
    margin-top: 0.25rem;
  }
  
  .search-box .el-select .el-input__inner,
  .second-select .el-input__inner,
  .search-input .el-input__inner {
    height: 0.5rem !important;
    line-height: 0.5rem;
    font-size: 0.16rem !important;
  }
  
  .el-input .el-input__inner {
    font-size: 0.16rem !important;
  }
  
  .menu-label {
    font-size: 0.23rem !important;
    margin-right: 0.16rem;
    margin-top: 5px;
    margin-bottom: 0.08rem;
    height: 0.42rem;
    line-height: 0.42rem;
    border: none;
    border-radius: 0.04rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  }
}
@media screen and (max-width: 350px) {
  .menu-item {
    padding: 0.08rem 0.14rem;
    font-size: 0.17rem;
    margin-right: 0.1rem;
  }
  
  .search-input-box .search-input {
    width: calc(100% - 0.85rem);
  }
  
  .search-input-box .search-btn {
    width: 0.75rem;
  }
}
@media screen and (min-width: 751px) and (max-width: 915px) {
  .goods-list-div {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 751px) and (max-width: 1080px) {
  .main-content-box {
    padding: 0.25rem 0 0.1rem 0;
  }
  
  .search-box {
    padding: 0 0.3rem;
  }
  
  .menu-line {
    margin-bottom: 0.12rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.08rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .menu-line::-webkit-scrollbar {
    display: none;
  }
  
  .menu-item {
    flex-shrink: 0;
    white-space: nowrap;
  }
  
  .shopping-box {
    padding: 0 0.3rem 0.4rem;
  }
  
  .goods-list-div {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 0.15rem;
    column-gap: 0.15rem;
  }
}

.menu-label {
      font-size: 0.14rem;
    margin-right: 0.12rem;
    border-radius: 0.04rem;
    white-space: nowrap;
    display: inline-block;
    height: 0.29rem;
    line-height: 0.29rem;
    box-sizing: border-box;
    border: none;
    position: relative;
}


@media screen and (max-width: 750px) {
  .menu-label {
    font-size: 0.16rem;
    margin-right: 0.12rem;
    margin-bottom: 0.08rem;
    height: 0.4rem;
    line-height: 0.4rem;
    border: none;
  }
  
}

@media screen and (max-width: 750px) {
  .menu-line {
    overflow-x: visible;
    flex-wrap: wrap;
    padding-bottom: 0.12rem;
    align-items: center;
    position: relative;
  }
  
}
.first-menu-line {
  position: relative;
  margin-top: 0.02rem !important; 
}

/* 公告模块样式 */
.notice-box {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 0.08rem;
  margin: 0.15rem 0;
  padding: 0.16rem;
  color: #495057;
  line-height: 1.5;
  font-size: 0.14rem;
}

@media screen and (max-width: 750px) {
  .notice-box {
    font-size: 0.21rem !important;
  }
}