/* Kybun Joya product cards — legacy app.css */
body.storefront-page .card-product{
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  text-align: start;
  border: 1px solid #d1d1d1;
  padding: 20px;
  position: relative;
  border-radius: 5px;
}
body.storefront-page .card-product .list-star{
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}
body.storefront-page .card-product .list-star i{
  color: #ffc107;
}
body.storefront-page .card-product .card-product-wrapper > .product-img {
  display: flex;
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  align-items: stretch;
}
body.storefront-page .card-product .card-product-wrapper{
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  z-index: 20;
  aspect-ratio: 1/1.4;
}
body.storefront-page .card-product .card-product-wrapper .sold-out{
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--bg-11);
  border-radius: 999px;
  height: 73px;
  width: 73px;
  padding: 0 5px;
}
body.storefront-page .card-product .card-product-wrapper .sold-out span{
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  background-color: var(--bg-11);
  position: relative;
  z-index: 12;
}
body.storefront-page .card-product .card-product-wrapper .sold-out::after{
  height: 1px;
  width: calc(100% - 16px);
  position: absolute;
  z-index: 1;
  opacity: 0.1;
  content: "";
  background-color: var(--main);
  transform: rotate(-45deg);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
body.storefront-page .card-product .card-product-wrapper img{
  display: block;
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.5s ease, transform 2s cubic-bezier(0, 0, 0.44, 1.18);
}
body.storefront-page .card-product .card-product-wrapper .img-hover{
  position: absolute;
  inset: 0;
  opacity: 0;
}
body.storefront-page .card-product .card-product-wrapper:hover .product-img .img-product{
  opacity: 0;
}
body.storefront-page .card-product .card-product-wrapper:hover .product-img .img-hover{
  display: block;
  z-index: 1;
  opacity: 1;
  -webkit-transform: scale(1.09);
  transform: scale(1.09);
}
body.storefront-page .card-product .card-product-wrapper .size-list{
  position: absolute;
  z-index: 20;
  bottom: 0;
  left: 0;
  right: 0;
}
body.storefront-page .card-product .card-product-wrapper .list-product-btn{
  z-index: 10;
  position: absolute;
  bottom: 48px;
  left: 15px;
  right: 15px;
}
body.storefront-page .card-product .card-product-wrapper .list-product-btn.absolute-2{
  bottom: 25px;
}
body.storefront-page .card-product .card-product-wrapper .list-product-btn.absolute-3{
  bottom: 57px;
}
body.storefront-page .card-product .card-product-wrapper .on-sale-wrap{
  position: absolute;
  top: 5px;
  right: 5px;
  left: 5px;
  z-index: 5;
}
body.storefront-page .card-product .card-product-wrapper .on-sale-wrap .on-sale-item{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  word-break: break-word;
  padding: 0 6px;
  min-width: 40px;
  text-transform: capitalize;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  line-height: 22px;
  position: relative;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 999px;
}
body.storefront-page .card-product .card-product-wrapper .on-sale-wrap .new{
  background-color: #ff3232;
}
body.storefront-page .card-product .card-product-wrapper .on-sale-wrap .best-seller{
  background-color: #44ad55;
}
body.storefront-page .card-product .card-product-wrapper .on-sale-wrap .recommend{
  background-color: #bea36e;
}
body.storefront-page .card-product .card-product-wrapper .on-sale-wrap .pre-order{
  background-color: #55a653;
  color: var(--white);
}
body.storefront-page .card-product .card-product-wrapper .column-left{
  bottom: unset !important;
  right: unset !important;
  top: 15px;
}
body.storefront-page .card-product .card-product-wrapper .column-right{
  bottom: unset !important;
  left: unset !important;
  top: 15px;
}
body.storefront-page .card-product .btn-quick-add{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  transition: transform 0.4s ease 0s, opacity 0.4s ease 0s;
  z-index: 12;
  height: 32px;
  background-color: var(--main);
  color: var(--white);
  font-size: 12px;
  line-height: 32px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.storefront-page .card-product .card-product-info{
  padding-top: 10px;
  gap: 8px;
  display: grid;
}
body.storefront-page .card-product .card-product-info .title{
  font-size: 16px;
  line-height: 19.2px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}
body.storefront-page .card-product .card-product-info .price{
  font-size: 14px;
  line-height: 14px;
  font-weight: 600;
}
body.storefront-page .card-product .card-product-info .old-price{
  text-decoration: line-through;
  display: inline-block;
  margin-right: 5px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.5);
}
body.storefront-page .card-product .card-product-info .new-price{
  color: var(--red_1);
}
body.storefront-page .card-product .card-product-info.has-padding{
  padding-right: 15px;
  padding-left: 15px;
  padding-bottom: 30px;
}
body.storefront-page .card-product .countdown-box{
  position: absolute;
  z-index: 3;
  left: 5px;
  right: 5px;
  text-align: center;
  pointer-events: none;
  transition: 0.4s ease-out 0s;
  overflow: hidden;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 5px;
  max-height: 40px;
  background-color: var(--white);
  border-radius: 3px;
}
body.storefront-page .card-product .countdown-box .countdown__timer{
  display: flex;
  gap: 4px;
}
body.storefront-page .card-product .countdown-box .countdown__item{
  font-size: 14px;
  line-height: 22.4px;
  color: var(--primary);
  font-weight: 600;
}
body.storefront-page .card-product .description{
  display: none;
  font-size: 14px;
  line-height: 22.4px;
  margin-top: 2px;
}
body.storefront-page .card-product.none-hover .card-product-wrapper:hover .img-product{
  opacity: 1;
}
body.storefront-page .card-product.none-hover .card-product-wrapper:hover .img-hover{
  display: none;
}

body.storefront-page .card-product .card-product-wrapper.has-hover-image:hover .product-img .img-product,
body.storefront-page .card-product .card-product-wrapper:has(.img-hover):hover .product-img .img-product {
  opacity: 0;
}
body.storefront-page .card-product.style-5 > .card-product-info {
  position: static !important;
}
body.storefront-page .card-product.style-5 > .card-product-info > .list-star {
  z-index: 30;
}
body.storefront-page .card-product .card-product-wrapper .size-list.style-3 {
  background-color: rgba(255, 255, 255, 0.5);
}
body.storefront-page .card-product .card-product-wrapper .size-list.style-3 span {
  color: var(--main, #000);
  font-weight: 600;
}
