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

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

/* 复选款 */
.checkbox {
  position: relative;
  -webkit-appearance: none;
  flex: none;
  width: 16px;
  height: 16px;
  border: 1px solid #767676;
  background-color: #fff;
  border-radius: 2.5px;
  transition: background-color 0.2s ease-in-out, border 0.2s ease-in-out;
  cursor: pointer;
}

.checkbox:checked {
  border-color: #000;
  background-color: #000;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEwIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEgM0w0IDZMOS4wMDE0NiAxIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjEuNSIvPjwvc3ZnPg==);
  background-position: center;
  background-repeat: no-repeat;
}

/* 隐藏密码输入框旁边的小眼睛图标 */
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; /* 可选，设置圆角 */
}

body {
  letter-spacing: 0.3px !important;
}

img,
video {
  width: 100%;
  height: auto;
  max-width: unset;
  vertical-align: top;
}

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

.arrow-down {
  transform: scaleY(1);
  transition: transform 0.3s ease;
}

.arrow-up {
  transform: scaleY(-1);
  transition: transform 0.3s ease;
}


:root {
  --container: 1920px;
  /* 主色 */
  --my-yellow: #F5D76E;

  /* 背景色 */
  --bg-white: #ffffff;
  --bg-sand: #FAF4F0;
  --bg-grey: #F6FBFF;

  /* 辅助色 */
  --my-border: #D8E1F0;
  --my-dsand: #F4E7D4;

  /* 文字色 */
  --my-title: #0A1321;
  --my-text: #05224E;
  --my-greytext: #8892A3;
  --my-label: #E6986F;
}

/* price */
.price--highlight {
  color: var(--my-text);
}

.price--compare {
  color: var(--my-greytext);
}

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

  .section-top {
    margin-top: 120px;
  }

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

  .header-title {
    color: var(--my-title);
  }

  /* font-size */
  .pf-64 {
    line-height: 120%;
    font-size: 64px !important;
  }
  .pf-48 {
    line-height: 120%;
    font-size: 48px !important;
  }
  .pf-40 {
    line-height: 120%;
    font-size: 40px !important;
  }
  .pf-32 {
    line-height: 120%;
    font-size: 32px !important;
  }
  .pf-30 {
    line-height: 120%;
    font-size: 30px !important;
  }
  .pf-24 {
    line-height: 120%;
    font-size: 24px !important;
  }
  .pf-20 {
    font-size: 20px !important;
  }
  .pf-18 {
    font-size: 18px !important;
  }
  .pf-16 {
    line-height: 150%;
    font-size: 16px !important;
  }
  .pf-14 {
    line-height: 150%;
    font-size: 14px !important;
  }
  .pf-12 {
    font-size: 12px !important;
  }

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

  /* section-header */
  .section-header {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-bottom: 60px;
  }

  .section-header .section-title {
    line-height: 44px;
    margin-bottom: 0;
    margin-top: 0;
    text-transform: capitalize;
  }
  .section-header-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .section-text {
    text-align: center;
    line-height: 24px;
  }
  .section-text p {
    margin: 0;
  }
  .section-header .view-all {
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 20px;
    text-decoration: unset;
    color: var(--my-black2);
  }
  
  /* 弹窗 */
  .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;
  }
  .popup-video {
    width: 60%;
  }
  .close-popup-btn {
    position: absolute;
    right: 40px;
    top: 40px;
    cursor: pointer;
    z-index: 1000;
  }

  /* 水波纹按钮 */
  .ripple-button {
    display: block;
    position: relative;
    padding: 18px 58px;
    border-radius: 45px;
    overflow: hidden;
    background: var(--my-yellow);
    z-index: 1;
    transition: all 0.5s ease;
  }
  .ripple-button::before,
  .ripple-button::after {
    transition: all 0.5s ease;
  }
  .ripple-button:hover::before {
    width: 400px;
    height: 400px;
    content: "";
    position: absolute;
    top: -150%;
    left: 50%;
    transform: translate(-50%, -75%);
    border-radius: 45%;
    background-color: #fff;
    animation: wave 5s linear infinite;
    z-index: -1;
  }
  .ripple-button:hover::after {
    width: 400px;
    height: 400px;
    content: "";
    position: absolute;
    top: -140%;
    left: 50%;
    transform: translate(-50%, -75%);
    border-radius: 40%;
    background-color: #ffffff80;
    animation: wave 10s linear infinite;
    z-index: -1;
  }
}

@media screen and (min-width: 741px) and (max-width: 1200px) {
  .pf-64 {
    line-height: 120%;
    font-size: 48px !important;
  }
  .pf-48 {
    line-height: 120%;
    font-size: 40px !important;
  }
  .pf-40 {
    line-height: 120%;
    font-size: 32px !important;
  }
}

@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;
  }

  /* section-header */
  .section-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
  }
  .section-header .section-title {
    font-weight: 600;
    line-height: 29px;
    margin-bottom: 0;
    margin-top: 0;
    text-transform: capitalize;
  }
  .section-header-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .section-text {
    line-height: 20px;
  }
  .section-text p {
    margin: 0;
  }
  .section-header .view-all {
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 16px;
    text-decoration: unset;
    color: var(--my-black2);
  }


  /* 弹窗 */
  .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;
  }

  /* 水波纹按钮 */
  .ripple-button {
    display: block;
    position: relative;
    height: 44px;
    padding: 12px 40px;
    border-radius: 45px;
    overflow: hidden;
    background: var(--my-yellow);
    z-index: 1;
    transition: all 0.5s ease;
  }
  .ripple-button::before,
  .ripple-button::after {
    transition: all 0.5s ease;
    opacity: 0;
  }
  .ripple-button::before {
    width: 400px;
    height: 400px;
    content: "";
    position: absolute;
    top: -215%;
    left: 50%;
    transform: translate(-50%, -75%);
    border-radius: 45%;
    background-color: #fff;
    animation: wave 5s linear infinite;
    z-index: -1;
  }
  .ripple-button::after {
    width: 400px;
    height: 400px;
    content: "";
    position: absolute;
    top: -205%;
    left: 50%;
    transform: translate(-50%, -75%);
    border-radius: 40%;
    background-color: #ffffff80;
    animation: wave 10s linear infinite;
    z-index: -1;
  }
  .ripple-button:hover::before,.ripple-button:hover::after{
    opacity: 1;
  }
  .header-title {
    color: var(--my-title);
  }
  /* font-size */
  .mf-40 {
    line-height: 120%;
    font-size: 40px !important;
  }
  .mf-32 {
    line-height: 120%;
    font-size: 32px !important;
  }
  .mf-25 {
    line-height: 120%;
    font-size: 25px !important;
  }
  .mf-24 {
    line-height: 120%;
    font-size: 24px !important;
  }
  .mf-20 {
    line-height: 120%;
    font-size: 20px !important;
  }
  .mf-18 {
    font-size: 18px !important;
  }
  .mf-16 {
    line-height: 150%;
    font-size: 16px !important;
  }
  .mf-14 {
    line-height: 150%;
    font-size: 14px !important;
  }
  .mf-12 {
    line-height: 150%;
    font-size: 12px !important;
  }

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

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

/* 水波动画 */
@keyframes wave {
  0% {
    transform: translate(-50%, -75%) rotate(0);
  }
  100% {
    transform: translate(-50%, -75%) rotate(360deg);
  }
}

/*! highlighted-text */

@keyframes strokeAnimation {
  0% {
    stroke-dashoffset: 1;
    opacity: 0;
  }

  1% {
    opacity: 1;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

.highlighted-text {
  display: inline-block;
  position: relative;
  font-style: normal;
}
.highlighted-text .icon {
  z-index: -1;
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  stroke: var(--my-dsand);
  transform: scaleX(1);
}

.highlighted-text .icon-circle {
  width: 120%;
  height: 140%;
  /* inset-block-start: -20%;
  inset-inline-start: -10%; */
  inset-block-start: -15%;
  inset-inline-start: -7%;
}

.highlighted-text .icon-basic-underline {
  /* width: 100%;
  height: 30%;
  inset-block-start: auto;
  inset-block-end: -20%; */
  width: 100%;
  height: 40%;
  inset-block-start: auto;
  inset-block-end: -24%;
}

.highlighted-text .icon-sketch-underline {
  width: 100%;
  height: 60%;
  inset-block-start: auto;
  /* inset-block-end: -20%; */
  inset-block-end: -28%;
}

.highlighted-text .icon-squiggle-underline {
  width: 100%;
  height: 50%;
  inset-block-start: auto;
  inset-block-end: -30%;
}

.highlighted-text .icon-squiggle-underline-2 {
  width: 100%;
  height: 50%;
  inset-block-start: auto;
  inset-block-end: -35%;
}

.highlighted-text .icon path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  transition: opacity 1.3s cubic-bezier(0.65, 0, 0.35, 1),
              stroke-dashoffset 1.3s cubic-bezier(0.65, 0, 0.35, 1);
}

.highlighted-text.animate .icon path {
  opacity: 1;
  /* animation: strokeAnimation 1.3s cubic-bezier(0.65, 0, 0.35, 1) forwards; */
}

.highlighted-text[data-style=text] {
  transition: color var(--animation-smooth);
}

.highlighted-text.animate[data-style=text] {
  color: rgb(var(--color-highlight));
}

.highlighted-text:is([data-style=full_text], [data-style=half_text], [data-style=underline]) {
  background-repeat: no-repeat;
  background-image: linear-gradient(to var(--transform-origin-end), rgb(var(--color-highlight)) 0, rgb(var(--color-background)) 100%), linear-gradient(to var(--transform-origin-end), rgb(var(--color-highlight)) 0, rgb(var(--color-background)) 100%);
  transition: background-size var(--animation-smooth);
}

.highlighted-text.with-gradient:is([data-style=full_text], [data-style=half_text], [data-style=underline]) {
  background-image: var(--gradient-highlight);
}

.highlighted-text[data-style=full_text] {
  background-position: var(--transform-origin-start) 70%;
  background-size: 0 80%;
}

.highlighted-text.animate[data-style=full_text] {
  background-size: 100% 80%;
}

.highlighted-text[data-style=half_text] {
  background-position: var(--transform-origin-start) 90%;
  background-size: 0 28%;
}

.highlighted-text.animate[data-style=half_text] {
  background-size: 100% 28%;
}

.highlighted-text[data-style=underline] {
  background-size: 0 3px, 0% 80%;
  background-position: var(--transform-origin-start) 90%, var(--transform-origin-start) 50%;
}

.highlighted-text.animate[data-style=underline] {
  background-size: 100% 3px, 0% 80%;
}

.highlighted-text[data-style=stencil] {
  -webkit-text-stroke: var(--stencil-stroke-width, 0.02em) currentColor;
  -webkit-text-fill-color: transparent;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  .js .highlighted-text.with-gradient[data-style=text] {
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-repeat: no-repeat;
    background-image: var(--gradient-highlight);
    background-position: var(--transform-origin-start) 100%;
    background-size: 0 100%;
    transition: background-size var(--animation-smooth);
  }

  .js .highlighted-text.with-gradient.animate[data-style=text] {
    background-size: 100% 100%;
  }
}




/*! marquee */
:root {
  --transform-logical: 1;
  --section-grid-gap: 70px;
  --font-size: 96px;
}

@keyframes scrolling-left {
  0% {
    transform: translate3d(calc(-100% * var(--transform-logical)), 0, 0);
    visibility: visible;
  }

  100% {
    transform: translate3d(calc(-200% * var(--transform-logical)), 0, 0);
  }
}

@keyframes scrolling-right {
  0% {
    transform: translate3d(calc(-200% * var(--transform-logical)), 0, 0);
    visibility: visible;
  }

  100% {
    transform: translate3d(calc(-100% * var(--transform-logical)), 0, 0);
  }
}

.marquee.animate {
  animation-name: scrolling-left;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-duration: var(--duration);
  animation-play-state: running;
  width: max-content;
}

@media (prefers-reduced-motion: reduce) {
  .marquee.animate {
    animation: none;
  }
}

/*! scrolling-text */
.no-js .scrolling-text {
  justify-content: center;
}

.scrolling-text {
  --grid-gap: calc(var(--section-grid-gap)/ 2);
}

.scrolling-text .marquee {
  padding-inline: calc(var(--grid-gap)/ 2);
}

.scrolling-text .marquee,
.scrolling-text__item {
  gap: var(--grid-gap);
}

.scrolling-text--right .marquee.animate {
  animation-name: scrolling-right;
}

@media (prefers-reduced-motion: reduce) {
  .scrolling-text--right .marquee.animate {
    animation: none;
  }
}

/* .marquee.with-dot .scrolling-text__item:first-child::before,
.scrolling-text__item.with-text+.scrolling-text__item.with-text::before {
  content: '';
  display: block;
  width: var(--sp-5);
  height: var(--sp-5);
  border: 1px solid currentColor;
  border-radius: var(--rounded-full);
} */

.scrolling-text__item.with-text {
  font-size: max(12px, calc(var(--font-size)*0.6));
}

@media screen and (pointer: fine) {
  .scrolling-text:hover .marquee {
    animation-play-state: paused;
  }
}

.scrolling-text.paused .marquee {
  animation-play-state: paused;
}

@media screen and (min-width: 1024px) {
  .scrolling-text {
    --grid-gap: var(--section-grid-gap);
  }

  .scrolling-text__item.with-text {
    font-size: calc(var(--font-size)*0.75);
  }
}

@media screen and (min-width: 1280px) {
  .scrolling-text__item.with-text {
    font-size: var(--font-size);
  }
}

.scrolling-wrapper {
  --logical: -1;
  padding-block-start: calc(var(--section-padding-top) * 0.75);
  padding-block-end: calc(var(--section-padding-bottom) * 0.75);
  transform: rotate(calc(357deg * var(--logical) * var(--transform-logical)));
}

.scrolling-wrapper.with-right {
  --logical: 1;
}

.scrolling-wrapper::before {
  content: '';
  z-index: -1;
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: -5%;
  width: 110%;
  height: 100%;
  background: var(--gradient-background);
  background-color: rgb(var(--color-background));
}

.scrolling-wrapper+.scrolling-wrapper {
  margin-block-start: -1%;
  transform: rotate(calc(3deg * var(--logical) * var(--transform-logical)));
  filter: grayscale(1);
  opacity: 0.25;
}

.scrolling-text-section {
  overflow: hidden;
}

@media screen and (min-width: 741px) {
  .scrolling-text-section {
    overflow: unset;
  }

  .scrolling-wrapper {
    padding-block-start: var(--section-padding-top);
    padding-block-end: var(--section-padding-bottom);
  }
}

@supports (overflow: clip) {
  .scrolling-text-section {
    overflow-x: clip;
    overflow-y: visible;
  }
}


/* font weight */
.fw-300 {
  font-weight: 300 !important;
}
.fw-400 {
  font-weight: 400 !important;
}
.fw-500 {
  font-weight: 500 !important;
}
.fw-600 {
  font-weight: 600 !important;
}
.fw-700 {
  font-weight: 700 !important;
}
.fw-800 {
  font-weight: 800 !important;
}

.swiper-button-next svg,
.swiper-button-prev svg {
  width: 100%;
  height: 100%;
}

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

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

#judgeme_product_reviews .jdgm-rev-widg {
  padding: 0 !important;
}
