/**************************/
/* product */
/**************************/
.desktop .sw--product {
  padding-bottom: 1rem;
}

.sw--product.grid-cols .swiper-wrapper {
  padding-bottom: 1rem;
}

.sw--product .swiper-slide {
  width: 30.6rem;
  height: auto;
}

.mobile .sw--blog .swiper-slide {
  width: 33.7rem;
}

.mobile .sw--product .swiper-slide {
  width: 25.6rem;
}

.product-card {
  box-shadow: -1px 0 3px #d2d2d22b, 0 0 1rem #dddddd33;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 3rem;
  padding: 1.6rem;
  background: var(--c-white);
  transition: var(--anim);
  border: 1px solid var(--c-neutral-50);
  gap: 1.6rem;
}

.product-card__img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 80%;
  object-fit: contain;
}

.product-card__img {
  border-radius: 1.8rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-body {
  display: flex;
  flex: 1;
  position: relative;
  flex-direction: column;
  overflow: hidden;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2.6rem;
}

.discount-percentage {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 2.7rem;
  height: 3.5rem;
  background: var(--c-primary);
  border-radius: 0.6rem;
  font-size: var(--fs-12);
  white-space: nowrap;
  color: var(--c-white);
  padding: 0.5rem;
  line-height: 1;
  vertical-align: middle;
}

.product-card__cart {
  position: relative;
  width: 4rem;
  height: 4rem;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background-color: var(--c-secondary);
  border-radius: 50%;
  transition: background-color 0.3s;
  margin-left: 4px;
  margin-bottom: 4px;
}

.mobile .swiper-slide .product-card__cart {
  display: none;
}

.product-card__cart i {
  transition: color 0.3s;
}

.product-card__cart .border-circle {
  inset: -0.4rem;
}

.product-card__cart .border-circle .path {
  stroke: var(--c-secondary);
}

.product-card__cart:hover {
  background-color: var(--c-primary);
}

.product-card__cart:hover i {
  color: var(--c-white);
}

.product-card__cart:hover .path {
  stroke-dasharray: 100, 18;
  stroke-dashoffset: 51;
  stroke: var(--c-primary);
}

.product-card__title {
  font-size: var(--fs-16);
  font-weight: bold;
  flex: 1;
}

.product-card__title a:hover {
  color: var(--c-primary);
}

.price .on-sale {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

.price {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: right;
}

.woocommerce-Price-currencySymbol {
  color: var(--c-blue-150);
  font-size: var(--fs-12);
}

.price del .woocommerce-Price-currencySymbol {
  display: none;
}

.woocommerce-Price-amount {
  display: block;
  font-size: var(--fs-18);
  font-weight: bold;
}

.mobile .woocommerce-Price-amount {
  font-size: 2rem;
}

del .woocommerce-Price-amount {
  font-size: var(--fs-14);
  font-weight: normal;
  color: var(--c-blue-150);
}

.mobile del .woocommerce-Price-amount {
  font-size: 1.6rem;
}

.woocommerce-variation-price .price {
  display: flex;
  align-items: unset;
  gap: 0;
  flex-direction: column;
  line-height: 1.5;
  text-align: right;
}

.price-inquiry {
  font-size: var(--fs-18);
  font-weight: bold;
  color: var(--c-primary);
}

.out-of-stock {
  font-size: var(--fs-18);
  font-weight: bold;
  color: var(--c-danger);
}

.product-card::before {
  content: "";
  background-color: var(--c-neutral-50);
  position: absolute;
  border-radius: 0 0 5rem 7rem;
  top: 100%;
  width: 51%;
  height: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: inset 0 0.55px 4px #00000015;
  pointer-events: none;
  transition: var(--anim);
}

.product-card:hover::before {
  background-color: var(--c-secondary);
}

@media (width <576px) {
  .archiveshop-cards .product-card {
    flex-direction: row;
    gap: 1rem;
  }

  .archiveshop-cards .product-card__img {
    width: 26%;
    flex: none;
  }

  .archiveshop-cards .product-card__img img {
    max-width: 100%;
  }
}

/**************************/
/* card attributes */
/**************************/

.product-item {
  height: 100%;
  display: flex;
  position: relative;
  box-shadow: -1px 0 3px #d2d2d22b, 0 0 1rem #dddddd33;
  border: 1px solid var(--c-neutral-50);
  border-radius: 3rem;
  align-items: self-start;
}

.product-item::before {
  content: "";
  background-color: var(--c-neutral-50);
  position: absolute;
  border-radius: 0 0 5rem 7rem;
  top: 100%;
  width: 36%;
  height: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: inset 0 0.55px 4px #00000015;
  pointer-events: none;
  transition: var(--anim);
}

.product-item:hover::before {
  background-color: var(--c-secondary);
}

.product__item__image {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 0.8rem;
  width: 26%;
  padding: 1rem;
  flex: none;
}

.product__item__image img {
  width: 100%;
  max-height: 25rem;
  object-fit: contain;
  height: 100%;
}

.product__item__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  padding-right: .5rem;
}

.product__item__header {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  margin-bottom: 1.6rem;
  gap: 2rem;
  align-items: self-start;
}

.product__item__header .wishlist-item:not(.wished) {
  color: var(--c-secondary);
}

.product__item__title {
  font-size: var(--fs-16);
  font-weight: bold;
  padding-top: 1rem;
}

.product__item__title:hover {
  color: var(--c-secondary);
}

.product__item__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--c-neutral-100);
  padding-top: 1.8rem;
  margin-top: auto;
}

.product-item__price {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.product-item__link {
  display: flex;
  align-items: center;
  gap: .8rem;
  background: var(--c-primary);
  color: var(--c-white);
  border-radius: 4rem;
  height: 4.6rem;
  font-size: var(--fs-14);
  flex: none;
  padding: 1rem;
  min-width: 14rem;
}

.product-item__icon {
  position: relative;
  width: 2.9rem;
  height: 2.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background-color: var(--c-white);
  border-radius: 50%;
  transition: background-color 0.3s;
  color: var(--c-primary);
  flex: none;
}

.product-item__link:hover {
  background-color: var(--c-secondary);
}

.product-item__link:hover i {
  color: var(--c-secondary);
}

.product-item__icon .border-circle {
  inset: -0.25rem;
}

.product-item__icon i {
  transition: color 0.3s;
}

.card-product-attrs {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.4rem;
  column-gap: 5rem;
  border-top: 1px solid var(--c-neutral-100);
  padding: 1.8rem 0;
  color: var(--c-blue-150);
  flex: 1;
}

.card-product-attr {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  border-radius: 1.2rem;
  line-height: 1.5;
}



.card-product-attr__label {
  flex-shrink: 0;
  min-width: 5rem;
  white-space: nowrap;
}

.card-product-attr__value,
.card-product-attr__label {
  font-size: var(--fs-14);
  align-items: center;
  display: flex;
}


/**************************/
/* card visual attributes */
/**************************/
.card-visual-attrs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.2rem;
}

.card-visual-attr {
  align-items: center;
}

.card-visual-attr__title {}

.card-progress {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  background: var(--c-neutral-50);
  padding: .6rem;
  border-radius: 1rem;
  flex-direction: row-reverse;
}

.card-progress__segment {
  width: 4.4rem;
  height: 1.3rem;
  border-radius: 1.2rem;
  transition: var(--anim);
}

.card-progress__segment--filled {
  background-color: #0e1d7d5e;
}

.card-progress__segment--empty {
  background-color: var(--c-white);
}

/**************************/
/* card meta services */
/**************************/
.card-meta-services {
  display: flex;
  gap: 1.5rem;
}

.card-meta-service {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: var(--fs-12);
}

.card-meta-service i {
  font-size: 2.8rem;
  color: var(--c-primary);
}

.card-meta-service__title {
  display: flex;
  flex-direction: column;
  color: var(--c-blue-150);
}

.card-meta-service__title b {
  color: var(--c-neutral-950);
  font-weight: bold;
}

@media (width >=1024px) {
  .card-product-attrs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-item {

    gap: 1.5rem;
  }

  .product__item__image {
    width: 25rem;
    flex: none;
    margin: 0;
  }
}

@media (width >=1280px) {
  .product-item__price {
    margin-right: auto;
  }

  .product__item__footer {
    flex-direction: row;
    justify-content: space-between;
  }

  .product__item__body {
    padding: 2.4rem;
  }
}

.mobile .features-attrs {
  display: none;
  border-top: 1px solid var(--c-neutral-100);
  border-bottom: 1px solid var(--c-neutral-100);
  padding: 1.5rem 0;
  margin-top: 1rem;
}

.mobile .card-meta-services {
  margin-top: 2rem;
  justify-content: space-between;
}

.product-item__btns {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.product-item__btns .product-item__link,
.product-item__btn {
  flex: 1;
  user-select: none;
  height: 4rem;
}

.product-item__btn {
  background: var(--c-neutral-150);
  border-radius: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 0 1rem; */
  gap: 1rem;
}

.product-item__btn i {
  font-size: 2rem;
  transform: rotate(180deg);
  transition: var(--anim);
}

.product-item__btn.active i {
  transform: rotate(0deg);
}

.product-item__btns .product-item__icon {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.6rem;
}

.mobile .card-product-attrs {
  border: unset;
  padding: 0;
}

/**************************/
/* post card*/
/**************************/
.post-card {
  position: relative;
  flex-direction: column;
  display: flex;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.sw--blog .swiper-slide {
  width: 41.7rem;
}

.sw--related .swiper-slide {
  width: 30.7rem;
}

.section-related-blog .btn-sw {
  --swiper-navigation-top-offset: calc(50% - 3rem);
}

.post-card__img {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 3.2rem;
}

.post-card__img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #cc967b43;
  opacity: 0;
  transition: var(--anim);
  z-index: 1;
}

.post-card:hover .post-card__img::before {
  opacity: 1;
}

.post-card__time {
  position: absolute;
  top: -1px;
  font-size: var(--fs-16);
  transform: translateX(-50%);
  z-index: 2;
  left: 50%;
  line-height: 1;
  display: flex;
  transition: 0.3s var(--ease2);
  background-color: var(--c-white);
  border-radius: 0 0 1.6rem 1.6rem;
  padding: 0 2rem 0.7rem;
  gap: 0.6rem;
}

.post-card__time b {
  padding-top: 5px;
}

.post-card__time i {
  color: var(--c-secondary);
  font-size: 1.8rem;
}

.post-card__img::after {
  content: "";
  position: absolute;
  background-image: linear-gradient(to bottom, #00000017, transparent);
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.post-card__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  transition: 0.4s var(--ease2);
  aspect-ratio: 7 / 4;
}

.post-card--detail {
  margin-top: 1.6rem;
  padding: 0 2rem;
}

.post-card__title {
  font-size: var(--fs-18);
  font-weight: bold;
}

.post-card:hover .post-card__time,
.post-card:hover .post-card__title a {
  color: var(--c-secondary);
}

.section--blog .btn-sw {
  --swiper-navigation-top-offset: 42%;
}

/* ===========================================
   QUANTITY & ADD TO CART
   =========================================== */
.quantity .plus,
.quantity .minus {
  aspect-ratio: 1 / 1;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: 2.5rem;
  flex: none;
}

.quantity .plus:hover,
.quantity .minus:hover {
  color: var(--c-secondary);
}

.quantity {
  background: var(--c-neutral-50);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 4rem;
  padding: 0.6rem;
  height: 4rem;
  max-width: 9.5rem;
}

.quantity .qty {
  width: 100%;
  font-size: 2rem;
}

.quantity .quantity-num input {
  width: 6rem;
}

/* pagination */
.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-16);
  font-weight: 700
}

ul.page-numbers {
  margin-top: min(4rem, 7vw);
  padding-bottom: 1rem
}

.page-numbers li {
  margin: 0 .5rem
}

.page-numbers li a,
.page-numbers li span {
  line-height: 1;
  height: 4rem;
  min-width: 4rem;
  border: 1px solid var(--c-neutral-200);
  color: var(--c-neutral-900);
  padding: 1rem .8rem .8rem;
  border-radius: 8px;
  transition: .3s;
  white-space: nowrap;
  background: var(--c-neutral-150);
  border-radius: 50%;
}

.page-numbers li a:hover {
  border-color: var(--c-secondary-800)
}

.prev.page-numbers,
.next.page-numbers {
  background: unset;
  border: unset;
  font-size: 2rem;
  padding: .8rem;
}

.page-numbers i {
  vertical-align: baseline
}

.page-numbers.dots {
  all: unset;
  display: block;
  font-weight: 700
}

.page-numbers li span.current {
  pointer-events: none;

  color: var(--c-white);
  background: var(--c-primary);
  border-color: var(--c-primary);
}