/** Shopify CDN: Minification failed

Line 47:35 Unexpected ".5"

**/
/* Figma 1:324 — Product card (new-product-card snippet) */

.new-product-card.new-product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  background: transparent;
}

/* —— Image (Placeholder Image) —— */
.new-product-card__media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background-color: #f4f4f4;
}
.new-product-card__media .super-image-container{
  background-color: #f4f4f4;

}

/* 图片宽高比（由 section 传入对应 class） */
.new-product-card__media--ratio-304-364 {
  aspect-ratio: 304 / 364.8;
}

.new-product-card__media--ratio-284-400 {
  aspect-ratio: 284 / 400;
}

.new-product-card__media--ratio-1-1 {
  aspect-ratio: 1 / 1;
}

.new-product-card__media--ratio-3-4 {
  aspect-ratio: 3 / 4;
}
.new-product-card__media--ratio-3-4.5 {
  aspect-ratio: 3 / 3.5;

}

.new-product-card__media-link {
  position: relative;
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.new-product-card__image {
  transition: opacity 0.35s ease;
}

.new-product-card__image--primary {
  position: relative;
  z-index: 0;
}

.new-product-card__image--hover {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.new-product-card__image--hover .super-image-container,
.new-product-card__image--hover .super-image-ratio-box {
  width: 100%;
  height: 100%;
}

.new-product-card__media-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  background-color: rgba(0, 0, 0, 0.05);
}

.new-product-card__media .super-image-container,
.new-product-card__media .super-image-ratio-box {
  width: 100%;
  height: 100%;
}

 

.new-product-card__media picture,
.new-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center;
  display: block;
}

/* Theme badges (+ Badges settings) — Figma 1:324 top-right */
.new-product-card .t4s-product-badge.new-product-card__badges {
  position: absolute;
  z-index: 4;
  top: 10px;
  right: 17px;
  left: auto;
  bottom: auto;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 4px;
  max-width: calc(100% - 20px);
  pointer-events: none;
}

.new-product-card .t4s-product-badge.new-product-card__badges > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--product-badge-bg, #e8c8d0);
  color: var(--product-badge-color, #1e1612);
  border-radius: 0 !important;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 3px 6px;
  font-family: var(--font-family-2, var(--font-family-1, inherit));
  font-size: 10px;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  word-break: break-word;
  border-radius: 0;
}

.badge_shape_1 .new-product-card .t4s-product-badge.new-product-card__badges > span {
  border-radius: 0px;
  padding: 4px 8px;
  font-size: 12px;
  min-width: 0;
  height: auto;
}

.badge_shape_2 .new-product-card .t4s-product-badge.new-product-card__badges > span {
  border-radius: 0;
}

.badge_shape_3 .new-product-card .t4s-product-badge.new-product-card__badges > span {
  border-radius: 0;
  padding: 4px 8px;
  font-size: 12px;
  min-width: 0;
  height: auto;
}

.badge_shape_4 .new-product-card .t4s-product-badge.new-product-card__badges > span {
  border-radius: 0;
  min-width: 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 11px;
}

.atc-price-btn {
  display: flex;
  text-decoration: none;
  height: 40px;
  padding: 10px 20px 8px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  position: absolute!important;
  z-index: 3;
  bottom: 48px;
  left: 17px;
  right: 17px;
  width: calc(100% - 34px);
  margin: 0;
  border: 1px solid #1e1612;
  background-color: #1e1612;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.3s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

 
.atc-price-btn:disabled:not(.is--loading),
.atc-price-btn[aria-disabled='true']:not(.is--loading) {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Add to cart loading — ProductAjax only adds .is--loading, does not remove [hidden] on spinner */
.atc-price-btn.t4s-btn-loading__svg.is--loading {
  pointer-events: none;
  opacity: 1 !important;
 
  cursor: wait;
}

/* Desktop overlay: keep absolute positioning during load */
.new-product-card__media .atc-price-btn.is--loading {
  position: absolute !important;
}


.atc-price-btn.is--loading .atc-price-btn__content {
  visibility: hidden;
  opacity: 0;
}

.atc-price-btn.is--loading > .t4s-loading__spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 1.8rem;
  height: 1.8rem;
  margin: 0;
  transform: translate(-50%, -50%);
  display: flex !important;
  align-items: center;
  justify-content: center;
  visibility: visible !important;
  pointer-events: none;
}

.atc-price-btn.is--loading > .t4s-loading__spinner[hidden] {
  display: flex !important;
}

.atc-price-btn.is--loading .t4s-svg-spinner {
  display: block;
  width: 100%;
  height: 100%;
}

.atc-price-btn.is--loading .t4s-path {
  stroke: currentColor;
}

/* Desktop: hover image swap + show ATC button */
@media (hover: hover) {
  .new-product-card__image--hover {
    display: block;
  }
  .atc-price-btn {
    opacity: 0;
    pointer-events: none;
  }

  .new-product-card__media.has-hover-image:has(.new-product-card__media-link:hover) .new-product-card__image--primary {
    opacity: 0;
  }

  .new-product-card__media.has-hover-image:has(.new-product-card__media-link:hover) .new-product-card__image--hover {
    opacity: 1;
  }

  .new-product-card__media:has([data-product-card-swatch]:hover) .new-product-card__image--primary {
    opacity: 1;
  }

  .new-product-card__media:has([data-product-card-swatch]:hover) .new-product-card__image--hover {
    opacity: 0;
  }

  .new-product-card__media:hover .atc-price-btn:not(:disabled):not([aria-disabled='true']):not(.is--loading) {
    opacity: 1;
    pointer-events: auto;
    background-color: transparent;
    color: #1e1612;
    border-color: #1e1612;
  }

  .new-product-card__media:hover .atc-price-btn:disabled,
  .new-product-card__media:hover .atc-price-btn[aria-disabled='true'] {
    pointer-events: none;
  }
}

/* 触屏：按钮常显可点 */
@media (hover: none) {
  .atc-price-btn {
    opacity: 1;
    pointer-events: auto;
  }
}

/* —— Content —— */
.new-product-card__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px; 
  width: 100%;
  color: #1e1612;
  line-height: 1.5;
  text-align: center;
}

.new-product-card__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
  gap:15px;
}

.new-product-card__title-link {
  color: inherit;
  text-decoration: none;
  width: 100%;
}

.new-product-card__title-link:hover .new-product-card__title {
  color: var(--color-primary, #1E1612);
}

.new-product-card__title {
  margin: 0;
  font-family: var(--font-family-2, var(--font-family-1, inherit));
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  color: #1e1612;
  text-align: center;
  text-transform: uppercase;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.new-product-card__subtitle {
  margin: 0;
  font-family: var(--font-family-2, var(--font-family-1, inherit));
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #000;
  width: 100%;
  word-break: break-word;
}

/* Figma 1:2006 — spec line e.g. "24 Vials" */
.new-product-card__spec {
  margin: 4px 0 0;
  font-family: var(--font-family-2, var(--font-family-1, inherit));
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: #1e1612;
  width: 100%;
  text-align: center;
  word-break: break-word;
}

.new-product-card__price-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  width: 100%;
  margin-top: 0;
}

.new-product-card__price {
  margin: 0;
  font-family: var(--font-family-2, var(--font-family-1, inherit));
  font-size: 14px;
  font-weight: 400;
  line-height: 19.6px;
  color: #1e1612;
}

.new-product-card__compare-price {
  margin: 0;
  font-family: var(--font-family-2, var(--font-family-1, inherit));
  font-size: 14px;
  font-weight: 400;
  line-height: 19.6px;
  color: #1e1612;
}

.new-product-card__compare-price s {
  text-decoration: line-through;
  text-decoration-skip-ink: none;
}
.new-product-card__compare-price {
  color:#797474;
}

/* Product card swatches — bottom-left of the image */
.new-product-card__swatch {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  width: auto;
  max-width: calc(100% - 24px);
  margin: 0;
}

.new-product-card__media .new-product-card__swatch {
  position: absolute;
  z-index: 5;
  /* left: 12px; */
  bottom: 6px;
  pointer-events: auto;
}

.new-product-card__media:has(.new-product-card__swatch) .atc-price-btn {
  bottom: 48px;
}

.new-product-card__swatch-list {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px;
}

.new-product-card__swatch-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  padding: 2px;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 0;
  position: relative;
  z-index: 2;
}

.new-product-card__swatch-item.is--active {
  border-color: transparent;
}

.new-product-card__swatch-item:hover,
.new-product-card__swatch-item:focus,
.new-product-card__swatch-item:focus-visible,
.new-product-card__gemstone-swatch:hover,
.new-product-card__gemstone-swatch:focus,
.new-product-card__gemstone-swatch:focus-visible {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none;
  border-color: transparent;
  color: inherit;
}
.new-product-card__swatch-item.is--active,
.new-product-card__swatch-item.is--active:hover,
.new-product-card__swatch-item.is--active:focus-visible,
.new-product-card__gemstone-swatch.is--active:hover,
.new-product-card__gemstone-swatch.is--active:focus-visible {
  border-color: #1e1612;
  background: transparent !important;
  background-color: transparent !important;
}

.new-product-card__swatch-item-inner {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #f2f2f2;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}

.new-product-card__swatch-item-inner.has-visual-swatch {
  background: var(--swatch--background);
  background-position: var(--swatch-focal-point, center center);
  background-repeat: no-repeat;
  background-size: cover;
}

.new-product-card__swatch-item.is--soldout {
  opacity: 0.45;
}

.new-product-card__swatch:not(.is--expanded) .new-product-card__swatch-item--hidden {
  display: none;
}

.new-product-card__swatch.is--expanded .new-product-card__swatch-more {
  display: none;
}

.new-product-card__swatch-more {
  appearance: none;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-family-2, var(--font-family-1, inherit));
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: #000;
  text-decoration: none;
  /* text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45); */
  white-space: nowrap;
}

.new-product-card__swatch-more:hover,
.new-product-card__swatch-more:focus,
.new-product-card__swatch-more:focus-visible {
  background: transparent !important;
  background-color: transparent !important;
  border-color: transparent !important;
  color: #000;
}

/* Swiper slide: full height cards */
.swiper-slide > .new-product-card.new-product-card {
  height: auto;
}

@media screen and (min-width: 768px) and (max-width: 1280px) {
  .new-product-card__title {
    font-size: max(13px, calc(14 / 1280 * 100vw));
    line-height: 1.5;
  }

  .new-product-card__subtitle,
  .new-product-card__spec {
    font-size: max(11px, calc(12 / 1280 * 100vw));
  }

  .new-product-card__price,
  .new-product-card__compare-price {
    font-size: max(13px, calc(14 / 1280 * 100vw));
  }
}

@media screen and (min-width: 1025px) and (max-width: 1280px) {
  .new-product-card__price,
  .new-product-card__compare-price {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .new-product-card__price-row {
    gap:4px;
  }
  .new-product-card .atc-price-btn{
    display:none!important;
  }
  .new-product-card.new-product-card {
    gap: 10px;
  }

  .new-product-card__title {
    font-size: 14px;
    line-height: 21px;
    min-height: 42px;
    -webkit-line-clamp: 2;
  }

  .new-product-card__subtitle,
  .new-product-card__spec {
    font-size: 12px;
  }

  .new-product-card__price,
  .new-product-card__compare-price {
    font-size: 14px;
    line-height: 19.6px;
  }

  .new-product-card .t4s-product-badge.new-product-card__badges {
    top: 8px;
    right: 8px;
  }

  .new-product-card .t4s-product-badge.new-product-card__badges > span {
    font-size: 11px;
    padding: 3px 6px;
  }

  /* Mobile 2-col product grid (Figma 1:3123–1:3139) —  on section root */
   .is-mb-product-grid {
    overflow: visible;
  }

   .is-mb-product-grid .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap:15px;
    row-gap: 48px;
    transform: none !important;
  }

   .is-mb-product-grid .swiper-slide {
    width: auto !important;
    height: auto;
    margin: 0 !important;
  }

 
   .new-product-card.new-product-card {
    
    gap: 10px;
    align-items: center;
  }

   .new-product-card__media {
    display: block;
    position: relative;
  }

   .new-product-card__media .new-product-card__swatch {
    /* left: 8px; */
    bottom: 6px;
    max-width: calc(100% - 16px);
  }

   .new-product-card__media-link {
    grid-row: 1;
    display: block;
  }

   .new-product-card__content {
 
    gap: 10px;
    align-items: center;
  }

  --title-only .new-product-card__content {
    gap: 0;
  }

  --title-only .new-product-card__price-row,
  --title-only .new-product-card__compare-price,
  --title-only .new-product-card__subtitle,
  --title-only .new-product-card__spec {
    display: none;
  }

   .new-product-card__header {
    gap: 0;
  }

   .new-product-card__price,
   .new-product-card__compare-price {
    font-size: 13.1px;
    line-height: 19.6px;
  }

   .new-product-card .t4s-product-badge.new-product-card__badges {
    top: 10px;
    right: 10px;
    left: auto;
  }

   .new-product-card .t4s-product-badge.new-product-card__badges > span {
    padding: 3px 6px!important;
    font-size: 10px!important;
    line-height: 1.3;
    background-color: #e8c8d0;
    color: #1e1612;
  }

   .atc-price-btn {
    display: none !important;
  }
}

/* Category listing — title-focused card (Figma 1:514) */
  .new-product-card__media .super-image-container,
  .new-product-card__media .super-image-ratio-box {
  height: 100%;
}

/* 2026/10/13 */

@media (min-width: 999px) {
.new-product-card__media ,.new-product-card__media .super-image-container{
    aspect-ratio: 3 / 3.5 !important; 
  }

  .atc-price-btn {
    opacity:0;
    position:relative !important;
    width:100% !important;
    max-width:100% !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    border: 1px solid #000 !important;
    color: #000 !important;
    background: #fff !important;

  }
  .t4s-product--new-card:hover .atc-price-btn{
    opacity:1;
  }
 .new-product-card__media:hover + .new-product-card__content .product-card-pc .atc-price-btn  {
  color: #fff !important;
  background-color: #000 !important;
  border-color: #000 !important;
}
  .t4s-product--new-card:hover .atc-price-btn:not(:disabled):not([aria-disabled='true']):not(.is--loading) {
    pointer-events: auto;
  }
  /* .atc-price-btn:hover:not(:disabled):not(.is--loading) {
    color: #fff !important;
    background-color: #000 !important;
    border-color: #000 !important;
  } */
  .new-product-card__swatch {
    width:100% !important;
    max-width:100%;
    margin-top:10px;
    min-height:25px;
  }
  .product-card-m {
    display:none;
  }
  .product-card-pc {
    width:100%;
    min-height:75px;
  }
  .new-product-card.new-product-card {
    gap:0;
  }

}
@media (max-width: 998px) {
  .product-card-pc {
    display:none;
  }
  .super-image-container {
    aspect-ratio:3 / 4 !important;
  }
}
