/* Custom content */
.product__details-wrapper {
  margin-top: 0;
}
.product__details-container summary {
  align-items: center;
}
.product__details-container summary .icon-accordion {
  width: 24px;
  height: 24px;
}
.product__details-container summary .icon-accordion svg {
  width: 24px;
  height: 24px;
}
.product__details-container summary .accordion__title {
  line-height: 24px;
}
/* Product info */
.product__info-container > * + * {
  margin: 10px 0;
}
.product__info-container .product__info-description {
  max-width: 100%;
  overflow-x: auto;
}
@media screen and (min-width: 960px) {
  .product__column-sticky {
    display: block;
    position: sticky;
    top: 20px;
    z-index: 2;
  }

  /* product_image_pc_position */
  .product--left .product__info-wrapper {
    padding-left: 60px;
  }

  .product--left .product__media-wrapper {
    padding-right: 0px;
  }

  .product--right .product__info-wrapper {
    padding-right: 60px;
  }

  .product--right .product__media-wrapper {
    padding-left: 0px;
  }

  /* product_image_size */
  .product--large .product__media-wrapper {
    max-width: 66%;
    width: 66%;
  }

  .product--large .product__info-wrapper {
    max-width: 34%;
    width: 34%;
  }

  .product--medium .product__media-wrapper,
  .product--medium .product__info-wrapper {
    max-width: 50%;
    width: 50%;
  }

  .product--small .product__media-wrapper {
    max-width: 34%;
    width: 34%;
  }

  .product--small .product__info-wrapper {
    max-width: 66%;
    width: 66%;
  }
}
@media screen and (max-width: 959px) {
  .product__media-wrapper {
    padding: 0;
    /* margin: 0 -10px; */
    /* width: calc(100% + 20px); */
    max-width: calc(100% + 20px);
  }
}
/* Product form */
.product-form {
  display: block;
}
.product-form .product-form__error-message-wrapper:not([hidden]) {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: rgb(var(--color-discount-tag-background));
}
.product-form .product-form__error-message-wrapper:not([hidden]) .icon-error {
  margin-right: 5px;
}
.product-form .product-form__buttons > * {
  margin-bottom: 10px;
}
.product-form .product-form__buttons .pay-button-buy-now {
  overflow: unset;
}
.quantity-input-label {
  margin-bottom: 10px;
}
/* Form Elements */
.product-form__input {
  flex: 0 0 100%;
  padding: 0;
  margin: 0 0 20px 0;
  max-width: 100%;
  min-width: fit-content;
  border: none;
}
variant-radios .product-form__input {
  margin-bottom: 10px;
}
variant-radios,
variant-selects {
  display: block;
}
fieldset.product-form__input .form__label {
  margin-bottom: 10px;
}
/* variant-radios */
.product-form__input input[type="radio"] {
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  position: absolute;
  height: 1px;
  width: 1px;
}
.product-form__input input[type="radio"] + label {
  border: var(--sku-selector-border-thickness) solid
    rgba(var(--color-text), var(--sku-selector-border-opacity));
  background-color: rgb(var(--color-page-background));
  color: rgba(var(--color-text));
  border-radius: var(--sku-selector-border-radius);
  display: inline-block;
  margin-right: 6px;
  padding: 7.5px 15px;
  text-align: center;
  cursor: pointer;
  position: relative;
  margin-bottom: 10px;
  vertical-align: middle;
}
.product-form__input input[type="radio"] + label::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  border-radius: var(--sku-selector-border-radius);
  box-shadow: var(--sku-selector-shadow-offset-x)
    var(--sku-selector-shadow-offset-y) var(--sku-selector-shadow-blur)
    rgba(var(--color-text), var(--sku-selector-shadow-opacity));
  z-index: -1;
}
.product-form__input input[type="radio"] + label::after {
  content: "";
  width: calc(100% + 2px + var(--sku-selector-border-thickness) * 2);
  height: calc(100% + 2px + var(--sku-selector-border-thickness) * 2);
  position: absolute;
  top: calc(var(--sku-selector-border-thickness) * -1 - 1px);
  left: calc(var(--sku-selector-border-thickness) * -1 - 1px);
  border: 1px solid transparent;
  border-radius: var(--sku-selector-border-radius-outset);
}
.product-form__input input[type="radio"] + label:hover::after {
  border-color: rgba(var(--color-text), var(--sku-selector-border-opacity));
}
.product-form__input input[type="radio"] + label.variant-image__wrapper {
  position: relative;
  width: 40px;
  height: 40px;
  padding: 5px;
}
/* reset tool tip max width */
.product-form__input
  input[type="radio"]
  + label.variant-image__wrapper
  tool-tip {
  max-width: min(80vw, 100px);
}
.product-form__input
  input[type="radio"]
  + label.variant-image__wrapper
  .variant-image__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-form__input input[type="radio"]:checked + label {
  background-color: rgba(var(--color-button-background));
  color: rgba(var(--color-button-text));
}
.product-form__input
  input[type="radio"]:checked
  + label.variant-image__wrapper {
  background-color: transparent;
  border-color: rgba(var(--color-button-background));
}
.product-form__input input[type="radio"]:checked + label:hover::after {
  border-color: transparent;
}
/* variant-selects */
variant-selects .field::after,
variant-selects .field:hover::after,
variant-selects .field:focus::after,
variant-selects .field:focus-within::after {
  border-color: rgba(var(--color-text));
}
.product-sell-info {
  margin-bottom: 0 !important;
}
.product-sell-info .product-sell-box {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.product-sell-info .product-sell-box:last-child {
  margin-bottom: 0;
}
.product-sell-info .product-sell-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  color: var(--color-text);
  stroke: currentColor;
  line-height: 1;
}
.product-sell-info .product-sell-icon svg {
  width: 100%;
}
@media screen and (max-width: 959px) {
  .product-sell-info .product-sell-icon {
    width: 20px;
    height: 20px;
  }
}
.product-sell-info .product-sell-text {
  margin-left: 16px;
  color: var(--color-text);
}
/* Product popup */
.product-popup-modal {
  box-sizing: border-box;
  opacity: 0;
  position: fixed;
  visibility: hidden;
  z-index: -1;
  margin: 0 auto;
  top: 0;
  left: 0;
  overflow: auto;
  width: 100%;
  background-color: rgba(var(--color-text), 0.3);
  height: 100%;
}
.product-popup-modal[open] {
  opacity: 1;
  visibility: visible;
  z-index: 101;
}
.product-popup-modal__content {
  border-radius: var(--menu-modal-border-radius);
  background-color: rgb(var(--color-page-background));
  overflow: auto;
  height: calc(100% - 120px);
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  padding: 40px 60px 40px 40px;
  border-color: rgba(var(--color-text), var(--menu-modal-border-opacity));
  border-style: solid;
  border-width: var(--menu-modal-border-thickness);
  box-shadow: var(--menu-modal-shadow-offset-x)
    var(--menu-modal-shadow-offset-y) var(--menu-modal-shadow-blur)
    rgba(var(--color-text), var(--menu-modal-shadow-opacity));
}
@media screen and (max-width: 959px) {
  .product-popup-modal__content {
    padding: 20px 40px 20px 20px;
    width: 335px;
    height: 60%;
    max-height: 380px;
  }
}
.product-popup-modal__content img {
  max-width: 100%;
}
@media screen and (max-width: 959px) {
  .product-popup-modal__content table {
    display: block;
    max-width: fit-content;
    overflow-x: auto;
    white-space: nowrap;
    margin: 0;
  }
}
.product-popup-modal__content-info > * {
  height: auto;
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
}
@media screen and (max-width: 959px) {
  .product-popup-modal__content-info > * {
    max-height: 100%;
  }
}
.product-popup-modal__toggle {
  background-color: rgb(var(--color-page-background));
  border: 1px solid rgba(var(--color-text), 0.05);
  border-radius: 50%;
  color: rgba(var(--color-text), 1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  padding: 14px;
  width: 40px;
}
@media screen and (max-width: 959px) {
  .product-popup-modal__toggle {
    top: 10px;
    right: 10px;
    padding: 9px;
    width: 30px;
  }
}
.product-popup-modal__toggle:hover {
  color: rgba(var(--color-text), 0.75);
}
.product__inventory .low-stock,
.product__inventory .in-stock,
.product__inventory .out-stock {
  display: inline-flex;
  align-items: flex-start;
}
.product__inventory .low-stock::before,
.product__inventory .in-stock::before,
.product__inventory .out-stock::before {
  --icon-size: 10px;
  content: "";
  display: block;
  width: var(--icon-size);
  height: var(--icon-size);
  border-radius: 50%;
  background-color: currentColor;
  margin: calc((1em * var(--body-line-height) - var(--icon-size)) / 2) 0;
  margin-right: 8px;
  flex-shrink: 0;
}
.product__inventory .low-stock::before {
  background-color: #fe9e0f;
}
.product__inventory .in-stock::before {
  background-color: #35c08e;
}
.product__inventory .out-stock {
  color: #f86140;
}
.product .add-to-registry-btn{
  font-size: 14px;
  font-weight: 550;
  line-height: 1.28;
  letter-spacing: 0.6px;
  text-decoration: underline;
  text-underline-offset: 5px;
  margin-bottom: 30px;
  display: inline-block;
}
.product .add-to-registry-btn:hover{
  text-decoration: underline;
}
@media screen and (max-width: 959px) {
  .product .add-to-registry-btn {
    font-size: 12px;
    line-height: 1.33;
    margin-bottom: 20px;
  }
}
.product__info-item:has(.product-form .product-form__submit[disabled]){
  display: none!important;
}
#wishlist-notice{
  margin: 0!important;
  @media screen and (min-width: 960px) {
    margin-bottom: 20px!important;
  }
}
#wishlist-notice button{
  padding: 12px 28px;
  font-size: 14px;
  font-style: normal;
  font-weight: 550;
  line-height: 1.28;
  letter-spacing: 0.6px;
  font-family: var(--body-font);
  min-height: 46px;
}
#wishlist-product-details{
  display: none;
}
#MediaGallery-main-product-info .collect-btn-icon svg{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M7.4681 16.3307L7.14542 16.7127L7.4681 16.3307ZM9.99999 4.35389L9.62799 4.68797C9.72282 4.79357 9.85806 4.85389 9.99999 4.85389C10.1419 4.85389 10.2772 4.79357 10.372 4.68797L9.99999 4.35389ZM12.5319 16.3307L12.8546 16.7127L12.5319 16.3307ZM7.79079 15.9488C5.26862 13.8179 2.16666 11.6627 2.16666 7.60166H1.16666C1.16666 12.2269 4.76375 14.7005 7.14542 16.7127L7.79079 15.9488ZM2.16666 7.60166C2.16666 5.59836 3.22326 3.92984 4.6471 3.23231C6.02837 2.55564 7.87682 2.73806 9.62799 4.68797L10.372 4.0198C8.3733 1.79427 6.05509 1.429 4.20716 2.33428C2.40179 3.21872 1.16666 5.26181 1.16666 7.60166H2.16666ZM7.14542 16.7127C7.57326 17.0741 8.02474 17.4527 8.48062 17.7382C8.93539 18.0231 9.44736 18.25 9.99999 18.25V17.25C9.7193 17.25 9.39793 17.1328 9.01139 16.8907C8.62597 16.6494 8.22817 16.3183 7.79079 15.9488L7.14542 16.7127ZM12.8546 16.7127C15.2362 14.7005 18.8333 12.2269 18.8333 7.60166H17.8333C17.8333 11.6627 14.7314 13.8179 12.2092 15.9488L12.8546 16.7127ZM18.8333 7.60166C18.8333 5.26181 17.5982 3.21872 15.7928 2.33428C13.9449 1.429 11.6267 1.79427 9.62799 4.0198L10.372 4.68797C12.1232 2.73806 13.9716 2.55564 15.3529 3.23231C16.7767 3.92984 17.8333 5.59836 17.8333 7.60166H18.8333ZM12.2092 15.9488C11.7718 16.3183 11.374 16.6494 10.9886 16.8907C10.6021 17.1328 10.2807 17.25 9.99999 17.25V18.25C10.5526 18.25 11.0646 18.0231 11.5194 17.7382C11.9752 17.4527 12.4267 17.0741 12.8546 16.7127L12.2092 15.9488Z' fill='black'/%3E%3C/svg%3E");
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  margin-bottom: -2px;
}
#MediaGallery-main-product-info .collect-btn-icon svg path{
  opacity: 0;  
}
#MediaGallery-main-product-info .collect-btn-icon svg:has(path[fill="#C20000"]) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M8.83301 1.7558C10.7428 -0.120128 12.8918 -0.389635 14.626 0.459906C16.4313 1.34433 17.6659 3.38774 17.666 5.72748C17.666 10.3527 14.0691 12.8266 11.6875 14.8388C11.2597 15.2001 10.8083 15.5788 10.3525 15.8642C9.89775 16.1491 9.3856 16.3759 8.83301 16.3759C8.28043 16.3759 7.76821 16.1491 7.31348 15.8642C6.85769 15.5787 6.40627 15.2001 5.97852 14.8388C3.59686 12.8266 5.7042e-05 10.3527 0 5.72748C7.34113e-05 3.38775 1.23475 1.34433 3.04004 0.459906C4.77428 -0.389679 6.92318 -0.120088 8.83301 1.7558Z' fill='%23CA0000'/%3E%3C/svg%3E");
}
.product__modal-opener .sale-badge {
    background: #C71A1A;
    color: #FFFFFF;
    font-size: 14px;
    padding: 2px 12px;
    line-height: 1.4285 !important;
    display: inline-block;
    position: absolute;
    left: 12px;
    border-radius: 4px;
    bottom: auto;
    top: 20px;
}
/* The ipad end responds to the mobile end in vertical screen */
/* @custom-media --tablet (max-width: 959px); */
/* @custom-media --gt-mobile (min-width: 751px); */
/* detectingScreen need to consider the configuration of the tablet */