.f-price {
  align-items: center;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  line-height: 1.5;
  position: relative;
  font-weight: var(--font-body-weight-bold);
}

.f-price__badges {
  align-items: center;
  display: none;
  margin-inline-start: 1.2rem;
}

.f-price__badge-sale {
  margin-inline-end: 6px;
}

.f-price__badge-sale [data-sale-value] {
  margin-inline-start: 3px;
}

.f-price.f-price--unavailable {
  visibility: hidden;
}

.f-price--large {
  font-size: var(--font-h4-size);
  line-height: 1.45455;
}

@media (max-width: 767.98px) {
  .f-price--large {
    font-size: calc(var(--font-heading-mobile-scale) * var(--font-h4-size));
    line-height: calc(1 + .4546/max(1, var(--font-heading-scale)));
  }
}

.f-price--sold-out .f-price__availability,
.f-price__regular {
  display: block;
}

.f-price__sale,
.f-price__availability,
.f-price .f-price__badge-sale,
.f-price .f-price__badge-sold-out,
.f-price--on-sale:has(.f-price__sale) .f-price__regular,
.f-price--on-sale .f-price__availability,
.f-price--no-compare .f-price__compare {
  display: none;
}

.f-price--on-sale:not(:has(.f-price__sale)) .f-price__regular [data-ratio-role="price"] {
  color: rgb(var(--color-product-price-sale));
}

.f-price--sold-out .f-price__badge-sold-out,
.f-price--on-sale .f-price__badge-sale,
.f-price--sold-out .f-price__badges,
.f-price--on-sale .f-price__badges {
  display: inline-flex;
}

.f-price--on-sale .f-price__sale {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem .8rem;
}

.f-price--center {
  display: flex;
  justify-content: center;
}

.f-price--on-sale .f-price-item--sale {
  color: rgb(var(--color-product-price-sale));
}

.f-price--on-sale .f-price-item--regular {
  color: var(--color-foreground-lighten-60);
  font-size: var(--font-body-size);
  line-height: var(--font-body-line-height);
  font-weight: var(--font-body-weight);
}

.f-price__unit-wrapper {
  font-size: 85%;
  line-height: 1.2;
  text-transform: uppercase;
  color: rgba(var(--color-foreground), .75);
  order: 1;
  width: 100%;
}

.f-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: calc(var(--font-body-size) * .9);
  font-weight: var(--font-body-weight-bold);
  line-height: 1.8rem;
  padding: .2rem .8rem;
  color: var(--ratio-color-1);
  background: var(--ratio-color-4);
  border: 1px solid transparent;
  border-radius: var(--badges-radius);
}

.f-badge--sale {
  color: var(--color-badge-sale-text, #fff);
  background: var(--color-badge-sale);
}

.f-badge--soldout {
  color: var(--color-badge-soldout-text, var(--ratio-color-1));
  background: var(--color-badge-soldout);
}

.f-badge--hot {
  color: var(--color-badge-hot-text, var(--ratio-color-1));
  background: var(--color-badge-hot, var(--ratio-color-45));
}

.f-badge--new {
  color: var(--color-badge-new-text, var(--ratio-color-1));
  background: var(--color-badge-new, var(--ratio-color-46));
}

.f-badge span[data-sale-value] {
  margin-inline-start: .4rem;
}

.product-card__wrapper {
  position: relative;
  display: block;
  color: currentColor;
  text-decoration: none;
}

.product-card__title {
  position: relative;
}

.product-card__title a {
  color: currentColor;
}

@media (max-width: 767.98px) {
  .product-card__title.text-upper {
    font-size: calc(var(--font-body-size) * 1px);
  }
}

.product-card .f-price {
  margin: .2rem 0 0;
}

.product-card .f-price--on-sale .f-price__sale {
  gap: 0 .8rem;
}

.product-card.product-card-style-standard .product-card__info .f-price {
  font-weight: var(--font-body-weight);
}

.product-card__image {
  transition: .85s cubic-bezier(.4, 0, .2, 1);
}

.product-card__image--main {
  --aspect-ratio: 3/4;
  transition: opacity 1.2s ease;
}

.product-card__image--second {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transform: scale3d(1.08, 1.08, 1);
}

.product-card__image-wrapper {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--pcard-radius);
}

.product-card__image-wrapper video {
  object-fit: cover;
}

.product-card__info {
  padding: 1.6rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.product-card__info.text-center .f-price { justify-content: center; }
.product-card__info.text-center .f-price > * { justify-content: center; }
.product-card__info.text-right .f-price { justify-content: flex-end; }
.product-card__info.text-right .f-price > * { justify-content: flex-end; }

.product-card__type {
  display: block;
  color: rgba(var(--color-foreground), .6);
  text-transform: var(--font-subheading-transform);
}

.product-card__badge {
  position: absolute;
  inset-inline-start: 1.2rem;
  top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: .6rem;
}

.product-card__quickview {
  position: absolute;
  top: 2rem;
  inset-inline-end: 2rem;
  z-index: 2 !important;
}

.product-card__main-actions {
  position: absolute;
  left: 2rem;
  right: 2rem;
  bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.product-card__atc {
  width: 100%;
  padding: 0 1.5rem;
}

.product-card__swatch {
  display: flex;
  align-items: center;
  margin-top: .8rem;
}

.text-center .product-card__swatch { justify-content: center; }
.text-right .product-card__swatch { justify-content: flex-end; }

.product-card__atc-text {
  --line-clamp: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: var(--line-clamp, unset);
  -webkit-box-orient: vertical;
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .product-card__image-wrapper--main-only .product-card__image {
    transition: transform var(--animation-default);
  }
  .product-card__wrapper:hover .product-card__image-wrapper--main-only .product-card__image {
    transform: scale(1.08);
  }
}

.product-card__image picture,
.product-card__image picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (min-width: 768px) and (hover: hover) {
  .product-card__wrapper:hover .product-card__image-wrapper:not(.product-card__image-wrapper--main-only):has(.product-card__image--second img.lazyloaded) .product-card__image--main {
    opacity: 0;
  }
  .product-card__wrapper:hover .product-card__image-wrapper .product-card__image--second:has(img.lazyloaded) {
    opacity: 1;
    visibility: visible;
    transform: scaleZ(1);
  }
  .product-card__wrapper:hover .product-card__image-wrapper .product-card__title {
    color: rgb(var(--color-link-hover));
  }
  .product-card__wrapper:hover .product-card__image-wrapper .product-card__actions .btn,
  .product-card__wrapper:hover .product-card__image-wrapper .product-card__quickview {
    opacity: 1;
    transform: translateZ(0);
  }
}

.product-card--list {
  --card-padding: 1.4rem;
}

.product-card--list .product-card__wrapper {
  display: flex;
  align-items: center;
  overflow: visible;
  gap: 0 2.2rem;
  padding: var(--card-padding);
}

.product-card--list .product-card__info {
  text-align: start;
  padding: 0;
  padding-inline-end: 5.8rem;
  flex: 1;
}

.product-card--list .product-card__info .f-price {
  justify-content: flex-start;
  margin: .8rem 0 0;
}

.product-card--list .product-card__info .f-price__regular {
  margin: 0;
}

.product-card--list .product-card__image-wrapper {
  width: 10rem;
  flex: 0 0 auto;
  border-radius: var(--blocks-radius);
}

.product-card--list .product-card__atc {
  position: absolute;
  bottom: auto;
  inset-inline: auto 1.6rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
}

.blocks-corner--round .product-card--list .product-card__image-wrapper {
  border-radius: calc(var(--blocks-radius) - var(--card-padding));
}

@media (min-width: 768px) {
  .product-card:not(.product-card--list) .product-card__quickview {
    opacity: 0;
    transform: translate(var(--pcard-quickview-offset, 15px));
    transition: .54s transform cubic-bezier(.4, 0, .2, 1), .54s opacity cubic-bezier(.4, 0, .2, 1);
  }
  .product-card:not(.product-card--list) .product-card__quickview:focus-visible {
    transform: translateZ(0);
    opacity: 1;
  }
  .product-card:not(.product-card--list) .product-card__actions .btn {
    opacity: 0;
    transform: translateY(15px);
    transition: .54s transform cubic-bezier(.4, 0, .2, 1), .54s opacity cubic-bezier(.4, 0, .2, 1);
  }
  .product-card:not(.product-card--list) .product-card__actions .btn:focus-visible {
    transform: translateZ(0);
    opacity: 1;
  }
}

@media (max-width: 767.98px) {
  .product-card__quickview {
    display: none;
  }
  .product-card__main-actions {
    flex-direction: column;
    align-items: flex-end;
    width: auto;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
  .product-card__action-button {
    padding: 0;
    border-radius: 50%;
    width: 4.2rem !important;
    height: 4.2rem !important;
    line-height: 1;
  }
  .product-card__action-text {
    position: absolute;
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: max-width .25s cubic-bezier(.104, .204, .492, 1), padding .25s cubic-bezier(.104, .204, .492, 1);
    white-space: nowrap;
  }
  .product-card-list-on-mobile .product-card__wrapper {
    display: flex;
    align-items: flex-start;
    column-gap: 1.2rem;
    padding: 1rem 0 0;
    padding-inline-end: 5rem;
    margin-top: 1rem;
  }
  .product-card-list-on-mobile .product-card__badge {
    display: none;
  }
  .product-card-list-on-mobile .product-card__actions {
    inset-inline-start: auto;
    inset-inline-end: 0;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
  }
  .product-card-list-on-mobile .product-card__quickview {
    display: none;
  }
  .product-card-list-on-mobile .product-card__image-wrapper {
    position: static;
    width: 7rem;
    flex-shrink: 0;
    border-radius: var(--small-blocks-radius) !important;
  }
  .product-card-list-on-mobile .product-card__info {
    padding: 0 !important;
    flex-grow: 1;
  }
}
