/* 隐藏主页面滚动条 */
.no-scroll {
  overflow: hidden !important;
  touch-action: none;
  padding-right: 8px;
  /* 根据滚动条的宽度设置 */
}

/* 使菜单栏在阴影层显示时可滚动 */
.allow-scroll {
  overflow-y: auto;
}

/* 隐藏密码输入框旁边的小眼睛图标 */
input[type="password"]::-ms-reveal {
  display: none;
}

/* 另一种方式，可能需要针对不同浏览器进行调整 */
input[type="password"]::-webkit-password-field {
  display: none;
}

/* 整个滚动条的宽度和高度 */
::-webkit-scrollbar {
  width: 8px;
  /* 设置宽度 */
  height: 8px;
  /* 设置高度（水平滚动条） */
}

/* 滚动条轨道 */
::-webkit-scrollbar-track {
  background: #f1f1f1;
  /* 设置轨道背景色 */
  border-radius: 10px;
  /* 可选，设置圆角 */
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
  background: #888;
  /* 设置滑块背景色 */
  border-radius: 10px;
  /* 可选，设置圆角 */
}

p {
  margin: 0;
}

.metafield-rich_text_field {
  word-wrap: break-word;
  word-break: break-word;
}

:root {
  --container: 1520px;
  --section-gap: 40px;
  --my-blue: #1ECAD3;
  --my-black: #212322;
  --my-black1: rgba(33, 35, 34, 0.5);
  --my-white: #ffffff;
  --my-white1: rgba(255, 255, 255, 0.9);
  --my-white2: rgba(255, 255, 255, 0.7);
  --my-white3: rgba(255, 255, 255, 0.5);
  --my-red: #FF0000;
  --my-border: #BFCED6;

  --padding1: 5px;
  --padding2: 10px;
  --padding3: 20px;
  --padding4: 30px;
  --padding5: 40px;
  --padding6: 60px;
}

/* product-item 加个隐藏 */
.product-item .product-item-meta__price-list-container {
  display: none;
}

.product-item {
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--my-border);
}

.product-item:hover {
  border: 1px solid var(--my-blue);
}

.product-item .product-item__aspect-ratio {
  border-radius: 8px;
  overflow: hidden;
}

.product-item .product-item-meta__title {
  line-height: 24px;
}

.product-item:hover .product-item-meta__title {
  color: var(--my-blue);
  text-decoration: underline;
}

.product-item .product-item-meta__des {
  color: var(--my-black1);
  line-height: 22px;
}

@media screen and (min-width: 741px) {
  .container {
    width: calc(var(--container));
    max-width: 100%;
    padding-left: 40px;
    padding-right: 40px;
    margin: 0 auto;
  }

  .header-container {
    width: 100%;
    max-width: 100%;
    padding-left: 40px;
    padding-right: 40px;
    margin: 0 auto;
  }

  /* font-size */
  .pf-88 {
    font-size: 88px;
  }

  .pf-48 {
    font-size: 48px;
    line-height: 56px;
  }

  .pf-40 {
    font-size: 30px;
  }

  .pf-32 {
    font-size: 32px;
  }

  .pf-24 {
    font-size: 24px;
  }

  .pf-22 {
    font-size: 22px;
  }

  .pf-20 {
    font-size: 20px;
    line-height: 28px;
  }

  .pf-18 {
    font-size: 18px;
  }

  .pf-16 {
    font-size: 16px;
    line-height: 24px;
  }

  .pf-14 {
    font-size: 14px;
  }

  .pf-12 {
    font-size: 12px;
  }

  /* margin top */
  .mt-20 {
    margin-top: 20px;
  }

  .mt-30 {
    margin-top: 30px;
  }

  .mt-40 {
    margin-top: 40px;
  }

  .mt-120 {
    margin-top: 120px !important;
  }


  /* margin bottom */
  .mb-20 {
    margin-bottom: 20px;
  }

  .mb-30 {
    margin-bottom: 30px;
  }

  .mb-40 {
    margin-bottom: 40px;
  }

  .mb-120 {
    margin-bottom: 120px;
  }


  :root {
    --product-list-block-spacing: 20px;
    --product-list-column-gap: 20px !important;
    --vertical-breather: 40px;
  }

  /* section-header */
  .section-header {
    text-align: center;
  }

  .section-header .section-title {
    line-height: 56px;
    margin-bottom: 0;
  }

  /* header */
  .header {
    border-bottom: 1px solid #FFFFFF1F;
  }

  /* 弹窗 */
  .short-popup_shadow,
  .personal-popup_shadow {
    background-color: rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    cursor: pointer;
    width: 100%;
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
  }

  .short-popup-main,
  .personal-popup-main {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    border-radius: 4px;
  }

  .close-popup-btn {
    position: absolute;
    right: 40px;
    top: 40px;
    cursor: pointer;
    z-index: 1000;
  }
}

@media screen and (max-width: 740px) {
  .lock-all {
    padding-right: 0 !important;
  }

  .no-scroll {
    padding-right: 0;
  }

  .container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  :root {
    --product-list-block-spacing: 20px;
    --product-list-column-gap: 20px !important;
    --vertical-breather: 40px;
  }

  /* header */
  .header {
    border-bottom: 1px solid #FFFFFF1F;
  }

  /* 弹窗 */
  .short-popup_shadow {
    background-color: rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    cursor: pointer;
    width: 100%;
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
  }

  .short-popup-main {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    border-radius: 4px;
  }

  .close-popup-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 1000;
  }

  .close-popup-btn svg {
    width: 100%;
    height: 100%;
  }


  .personal-popup_shadow {
    background-color: rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    cursor: pointer;
    width: 100%;
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
  }

  .personal-popup-main {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 1);
    z-index: 1000;
    border-radius: 4px;
  }

  /* font-size */
  .mf-44 {
    font-size: 44px;
  }

  .mf-32 {
    font-size: 32px;
  }

  .mf-30 {
    font-size: 30px;
  }

  .mf-28 {
    font-size: 28px;
  }

  .mf-26 {
    font-size: 26px;
  }

  .mf-24 {
    font-size: 24px;
    line-height: 28px;
  }

  .mf-22 {
    font-size: 22px;
  }

  .mf-20 {
    font-size: 20px;
    line-height: 24px;
  }

  .mf-18 {
    font-size: 18px;
  }

  .mf-16 {
    font-size: 16px;
  }

  .mf-14 {
    font-size: 14px;
  }

  .mf-12 {
    font-size: 14px !important;
  }

  /* margin top */
  .mt-5 {
    margin-top: 5px;
  }

  .mt-10 {
    margin-top: 10px;
  }

  .mt-20 {
    margin-top: 20px;
  }

  .mt-30 {
    margin-top: 30px;
  }

  .mt-40 {
    margin-top: 40px;
  }

  .mt-24 {
    margin-top: 24px;
  }

  .mt-50 {
    margin-top: 50px;
  }

  .mt-60 {
    margin-top: 60px;
  }

  .mt-120 {
    margin-top: 70px !important;
  }

  .mt-80 {
    margin-top: 80px;
  }

  /* margin bottom */
  .mb-5 {
    margin-bottom: 5px;
  }

  .mb-10 {
    margin-bottom: 10px;
  }

  .mb-20 {
    margin-bottom: 20px;
  }

  .mb-30 {
    margin-bottom: 30px;
  }

  .mb-40 {
    margin-bottom: 40px;
  }

  .mb-60 {
    margin-bottom: 60px;
  }

  .mb-80 {
    margin-bottom: 80px;
  }
}

/* font weight */
.fw-300 {
  font-weight: 300;
}

.fw-400 {
  font-weight: 400;
}

.fw-500 {
  font-weight: 500;
}

.fw-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}


.swiper-button-next,
.swiper-button-prev {
  position: unset;
  width: fit-content;
  height: fit-content;
  z-index: 3;
  margin-top: 0;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  display: none !important;
}

.swiper-button-prev,
.swiper-button-next,
.swiper-pagination {
  z-index: 2 !important;
}

.swiper-scrollbar {
  left: 0 !important;
  width: 100% !important;
}


.el-loading-spinner {
  display: flex;
  margin-top: auto;
  top: auto;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.el-loading-spinner .circular {
  width: 22px;
  height: 22px;
}

.el-loading-mask {
  background-color: var(--my-red);
}

.el-loading-spinner .path {
  stroke-width: 6px;
  stroke: #fff;
}