.product-card,
.products-carousel__item {
  width: 140px;
  position: relative;
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 10px;
}
.product-card:hover .product-card__name,
.products-carousel__item:hover .product-card__name {
  opacity: 1;
}
.product-card__photo-link {
  touch-action: pan-x pan-y;
}
.product-card__photo-link {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-20);
  background: var(--color-surface-subtle);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  padding: 0;
}
.pflame-home-carousel .product-card__photo-link,
.pflame-home-onsale .product-card__photo-link {
  height: 193px;
}
.product-card__label {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0 8px;
  line-height: 18px;
  width: fit-content;
  height: 18px;
  background: var(--color-promo-soft);
  border-radius: var(--radius-8);
  font-weight: var(--weight-600);
  font-size: 10px;
  text-align: center;
  color: var(--color-btn-main--default);
}
.product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}
.product-card__badge .badge {
  display: block;
  width: fit-content;
  height: 18px;
  padding: 0 8px;
  line-height: 18px;
  background: var(--color-promo-soft);
  border-radius: var(--radius-8);
  font-weight: var(--weight-600);
  font-size: 10px;
  text-align: center;
  color: var(--color-btn-main--default);
}
.product-card__badge .badge span {
  display: block;
  line-height: inherit;
}
.product-card__btn-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  display: block;
  width: 20px;
  height: 17px;
  color: var(--color-icon-muted);
  font-size: 0;
}
.product-card__btn-add {
  position: absolute;
  top: 47px;
  right: 10px;
  display: block;
  width: 20px;
  height: 20px;
  color: var(--color-icon-muted);
  font-size: 0;
}
.product-card__btn-wishlist:hover {
  color: #000000;
}
.product-card__btn-add:hover {
  color: #000000;
}
.product-card__btn-add svg.compare-from-list.active,
.product-card__btn-add svg.compare-from-list.active use {
  color: #EF773D;
}
.product-card__btn-wishlist.is-added {
  color: #EF773D;
}
.price-box__old-price {
  display: flex;
  gap: 4px;
}
.old-price__price {
  font-weight: var(--weight-600);
  font-size: 10px;
  line-height: 12px;
  text-decoration-line: line-through;
  color: var(--color-text);
  opacity: 0.4;
}
.actual-price__price {
  font-weight: var(--weight-600);
  font-size: 12px;
  line-height: 15px;
  color: var(--color-text);
}
.old-price__discount {
  font-weight: var(--weight-600);
  font-size: 10px;
  line-height: 12px;
  color: var(--color-btn-main--default);
}
.product-card__stock,
.product-card__gotocart,
.product-card__qty,
.product-card__btn-cart {
  border: 0;
  background: transparent;
  font-size: 0;
  width: 20px;
  height: 20px;
  margin: 0 10px;
  padding: 0;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.product-card__stock,
.product-card__gotocart,
.product-card__qty {
  order: 2;
}
.product-card__stock {
  color: gray;
  opacity: 0.4;
}
.addtocart-btn-wrapper {
  position: relative;
  width: 100%;
}
form.addtocart .gotocart-btn.wa-hide,
form.addtocart .product-card__qty.wa-hide {
  display: none !important;
}
form.addtocart .addtocart-btn.wa-hide,
form.addtocart .product-card__btn-cart.wa-hide {
  display: none !important;
}
@media (max-width: 767px) {
  form.addtocart .product-card__qty {
    display: none !important;
  }
  form.addtocart .gotocart-btn:not(.wa-hide) {
    display: inline-flex !important;
  }
}
@media (min-width: 768px) and (max-width: 1179px) {
  form.addtocart .product-card__qty {
    display: none !important;
  }
  form.addtocart .gotocart-btn:not(.wa-hide) {
    display: inline-flex !important;
  }
}
.product-card__qty {
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 0 10px;
  user-select: none;
}
.product-card__qty-btn {
  flex: 0 0 18px;
  width: 18px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 0;
  cursor: pointer;
  padding: 0;
  min-width: 0;
}
.product-card__qty-btn svg.icon {
  width: 18px;
  height: 20px;
  display: block;
  opacity: 1;
}
.product-card__qty-value {
  flex: 0 0 auto;
  min-width: 20px;
  text-align: center;
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
}
.product-card__qty .js-quantity-field {
  display: none !important;
}
.product-card__name {
  font-weight: var(--weight-600);
  font-size: 12px;
  line-height: 15px;
  color: var(--color-text);
  opacity: 0.7;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.product-card__photo {
  display: block;
  width: 100%;
  height: auto;
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}
.pflame-home-carousel .product-card__photo,
.pflame-home-onsale .product-card__photo {
  height: 100%;
  object-fit: cover;
}
.product-card__photo.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}
.pflame-home-carousel .product-card__photo.is-active,
.pflame-home-onsale .product-card__photo.is-active {
  height: 100%;
}
.product-card__photo-link.is-switching[data-switch-dir="next"] .product-card__photo.is-active {
  animation: productCardSlideInNext 220ms ease both;
}
.product-card__photo-link.is-switching[data-switch-dir="prev"] .product-card__photo.is-active {
  animation: productCardSlideInPrev 220ms ease both;
}
@keyframes productCardSlideInNext {
  from {
    transform: translate3d(10px, 0, 0);
    opacity: 0.7;
    filter: blur(0.5px);
  }
  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    filter: blur(0);
  }
}
@keyframes productCardSlideInPrev {
  from {
    transform: translate3d(-10px, 0, 0);
    opacity: 0.7;
    filter: blur(0.5px);
  }
  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    filter: blur(0);
  }
}
.product-card__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0 12px;
}
.product-card__dots[hidden] {
  display: none !important;
}
.product-card__dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--color-icon-muted);
}
.product-card__dot.is-active {
  background: #b9b8b8;
}
@media (max-width: 767px) {
  .product-card .offers,
  .products-carousel__item .offers {
    order: 3;
    width: fit-content;
  }
  .product-card > .product-card__btn-cart,
  .products-carousel__item > .product-card__btn-cart {
    order: 3;
  }
  .product-card__top {
    order: 1;
  }
  .product-card__price-box {
    order: 2;
  }
  .product-card__name {
    order: 4;
  }
}
@media (min-width: 768px) and (max-width: 1179px) {
  .product-card .offers,
  .products-carousel__item .offers {
    order: 3;
    width: fit-content;
  }
  .product-card > .product-card__btn-cart,
  .products-carousel__item > .product-card__btn-cart {
    order: 3;
  }
  .product-card__top {
    order: 1;
  }
  .product-card__price-box {
    order: 2;
  }
  .product-card__name {
    order: 4;
  }
}
@media (min-width: 768px) and (max-width: 1179px) {
  .pflame-home-carousel .product-card__photo-link,
  .pflame-home-onsale .product-card__photo-link {
    height: 256px;
  }
}
@media (min-width: 1180px) and (max-width: 1374px) {
  .product-card__btn-wishlist {
    width: 23px;
    height: 23px;
  }
  .product-card__btn-wishlist svg.icon {
    width: 23px;
    height: 23px;
  }
  .product-card__label {
    font-size: 12px;
    line-height: 21px;
    height: 21px;
  }
  .product-card__btn-add {
    top: 54px;
    width: 23px;
    height: 23px;
  }
  .product-card__btn-add svg.icon {
    width: 23px;
    height: 23px;
  }
}
@media (min-width: 1180px) {
  .product-card,
  .products-carousel__item {
    width: 180px;
  }
  .product-card:hover .product-card__stock.gray,
  .products-carousel__item:hover .product-card__stock.gray,
  .product-card:hover .product-card__gotocart,
  .products-carousel__item:hover .product-card__gotocart,
  .product-card:hover .product-card__qty,
  .products-carousel__item:hover .product-card__qty,
  .product-card:hover .product-card__btn-cart,
  .products-carousel__item:hover .product-card__btn-cart {
    visibility: visible;
  }
  .product-card .offers,
  .products-carousel__item .offers {
    order: 7;
    width: 100%;
  }
  .product-card > .product-card__btn-cart,
  .products-carousel__item > .product-card__btn-cart {
    order: 7;
  }
  .product-card__price-box {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .price-box__old-price {
    order: 2;
  }
  .old-price__price {
    font-weight: 600;
    font-size: 13px;
    line-height: 16px;
  }
  .old-price__discount {
    font-weight: 600;
    font-size: 13px;
    line-height: 16px;
  }
  .actual-price__price {
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
  }
  .product-card__name {
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
  }
  .product-card__stock.gray,
  .product-card__gotocart,
  .product-card__qty,
  .product-card__btn-cart {
    visibility: hidden;
    display: flex;
    width: 100%;
    height: 44px;
    line-height: 44px;
    margin: 0;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    gap: 8px;
    background: #EF773D;
    border: 0;
    border-radius: 8px;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    color: #FFFFFF;
    cursor: pointer;
  }
  .product-card__stock.gray svg,
  .product-card__gotocart svg,
  .product-card__qty svg,
  .product-card__btn-cart svg {
    opacity: 0.6;
  }
  .product-card__stock.gray:hover,
  .product-card__gotocart:hover,
  .product-card__qty:hover,
  .product-card__btn-cart:hover {
    background-color: #ff905b;
  }
  .product-card__stock.gray,
  .product-card__gotocart,
  .product-card__qty {
    background-color: #F3F4F7;
    color: #171717;
    flex-direction: row;
    gap: 0;
    font-size: 16px;
    font-weight: 600;
  }
  .product-card__stock.gray:hover,
  .product-card__gotocart:hover,
  .product-card__qty:hover {
    background-color: #F3F4F7;
    color: #171717;
  }
  form.addtocart .addtocart-btn-wrapper .product-card__qty:not(.wa-hide) {
    padding: 0 10px;
    justify-content: space-between;
    border-radius: 8px;
  }
  form.addtocart .gotocart-btn {
    display: none !important;
  }
  form.addtocart .product-card__qty:not(.wa-hide) {
    display: flex !important;
  }
  .product-card__gotocart {
    flex-direction: column;
    gap: 3px;
  }
  .product-card__gotocart span {
    line-height: 1;
    font-size: 16px;
    font-weight: 300;
  }
  .product-card__gotocart span.product-card__gotocart-sub {
    font-size: 12px;
  }
  .product-card__gotocart:hover {
    color: #ff905b;
  }
  .product-card__qty-btn {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
  }
  .product-card__qty-btn svg.icon {
    width: 20px;
    height: 20px;
  }
  .product-card__qty-value {
    font-size: 16px;
    min-width: 24px;
  }
  .products-carousel__btn--more {
    margin: 20px auto 0;
    height: 44px;
    line-height: 44px;
    font-size: 16px;
    padding: 0 20px;
  }
}
@media (min-width: 1375px) {
  .product-card,
  .products-carousel__item {
    width: 210px;
  }
  .product-card__label {
    font-size: 12px;
    line-height: 21px;
    height: 21px;
  }
  .product-card__badge .badge {
    font-size: 12px;
    line-height: 21px;
    height: 21px;
  }
  .product-card__btn-add,
  .product-card__btn-wishlist {
    width: 24px;
  }
  .product-card__btn-add svg.icon,
  .product-card__btn-wishlist svg.icon {
    width: 24px;
    height: 24px;
  }
  .actual-price__price {
    font-size: 20px;
    line-height: 24px;
  }
  .old-price__price {
    font-size: 14px;
    line-height: 17px;
  }
  .old-price__discount {
    font-size: 14px;
    line-height: 17px;
  }
  .product-card__name {
    font-size: 16px;
    line-height: 20px;
  }
}
@media (min-width: 1180px) and (max-width: 1374px) {
  .pflame-home-carousel .product-card__photo-link,
  .pflame-home-onsale .product-card__photo-link {
    height: 247px;
  }
}
@media (min-width: 1375px) {
  .pflame-home-carousel .product-card__photo-link,
  .pflame-home-onsale .product-card__photo-link {
    height: 290px;
  }
}
