/* --- Featured Products
-------------------------------------------------------- */
.wp-thumbnail-product {
  padding: 0;

  .wp-block-columns {
    gap: 0 30px;
  }

  .wc-block-grid__products {
    margin: 0;
  }
}

.wp-product-category-thumbnail {
  height: 100%;

  .wp-block-cover {
    height: 100%;
  }
}

.wp-thumbnail-product .wc-block-featured-category,
.wp-thumbnail-product .wp-product-cateogry-block {
  height: 100%;
}

.wp-block-group.alignfull.wp-thumbnail-product {
  margin: 30px !important;
  max-width: 100% !important;
  background-color: transparent;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.wc-block-featured-category__description p {
  margin: 0;
  line-height: 1.75;
}

/* --- three column product showcase **/
.wc-block-grid__product .wc-block-grid__product-title,
.wp-product-showcase .wc-block-featured-product .wc-block-featured-product__title,
.wp-product-showcase .wp-block-post-title {
  color: var(--wp--preset--color--foreground);
  font-size: var(--wp--preset--font-size--content-heading);
  line-height: var(--wp--custom--typography--line-height--heading-two);
  font-weight: var(--wp--custom--typography--font-weight--medium);
  padding-left: 0;
  padding-right: 0;

}


.wc-block-grid__product del,
.wp-product-showcase .wc-block-featured-product .wc-block-featured-product__price del {
  font-weight: var(--wp--custom--typography--font-weight--regular);
  opacity: 0.5;
}

.wp-product-showcase .wc-block-featured-product .wc-block-featured-product__description p,
.wp-product-showcase .wp-block-woocommerce-product-summary p {
  font-size: var(--wp--preset--font-size--upper-heading);
}

.wp-product-cateogry-block .wc-block-featured-category .wc-block-featured-category__description,
.wp-product-showcase .wc-block-featured-product .wc-block-featured-product__description,
.wp-product-showcase .wp-block-woocommerce-product-summary {
  color: var(--wp--preset--color--body-text);
}

.wp-product-cateogry-block .wc-block-featured-category .wc-block-featured-category__background-image,
.wp-product-showcase .wc-block-featured-product .wc-block-featured-product__background-image {
  position: relative;
  object-fit: contain !important;
  margin: 0 0 21px;
  transition: all 0.4s;
  background-color: var(--wp--preset--color--primary);
}

.wp-block-latest-products .wc-block-product .product-image-container img {
  transition: 0.4s;
}

.wp-block-latest-products .wc-block-grid__product:hover .wc-block-grid__product-image img,
.wp-block-latest-products .wc-block-product:hover .product-image-container img,
.wp-product-cateogry-block .wc-block-featured-category:hover img.wc-block-featured-category__background-image,
.wp-thumbnail-product .wc-block-product-category:hover img,
.wc-block-featured-product:hover img.wc-block-featured-product__background-image {
  -webkit-transform: translateY(-4px);
  transform: translateY(-4px);

}

.wp-product-showcase .wc-block-featured-product.has-background-dim .background-dim__overlay:before {
  opacity: 0;
}



.wp-thumbnail-product .wp-block-columns .wp-product-category-thumbnail {
  overflow: hidden;
}

.wp-thumbnail-product .wp-block-columns .wp-product-category-thumbnail img {
  transform: scale(1.1);
  transition: all 0.4s;
  -webkit-box-shadow: 21px 22px 0px 7px rgba(235, 235, 235, 1);
  -moz-box-shadow: 21px 22px 0px 7px rgba(235, 235, 235, 1);
  box-shadow: 21px 22px 0px 7px rgba(235, 235, 235, 1);
}

.wp-thumbnail-product .wp-block-columns:hover .wp-product-category-thumbnail img {
  transform: scale(1);
}

.wp-block-group-heading+.wp-product-cateogry-block {
  margin-block-start: 0;
}

.wc-block-featured-product {
  min-height: 380px !important;
}

.wp-on-sale-products.wp-block-section .wp-block-group-heading,
.wp-product-showcase.wp-block-section .wp-block-group-heading {
  margin-bottom: 35px;
}


.wc-block-featured-product__link .wp-block-buttons>.wp-block-button {
  line-height: 0;
}

.wp-block-best-sellers>.wp-block-group {
  position: relative;
}

.wp-block-best-sellers .wc-block-featured-product__wrapper {
  padding-left: var(--wp--custom--spacing--testimonial-inner-gap);
  padding-right: var(--wp--custom--spacing--testimonial-inner-gap);

  .wc-block-featured-product__title {
    font-size: var(--wp--preset--font-size--product-heading);
  }
}

.wp-block-best-sellers .fse-slider-wrapper .swiper-button-next {
  right: auto;
  left: 55px;
  background-color: transparent;
}

.wp-block-best-sellers .fse-slider-wrapper .swiper-button-prev {
  background-color: transparent;
  left: -35px;
}

.wp-block-best-sellers .fse-slider-wrapper .swiper-button {
  color: #fff;
  opacity: 0.3;

  &:hover {
    opacity: 1;
  }
}

.wp-block-best-sellers .wp-block-group.wp-block-slider-wrapper {
  position: static;
}

.wp-block-best-sellers .wp-block-fse-pro-slider .navigation-wrap {
  opacity: 1;
  visibility: visible;
  left: auto;
  top: 35px;
  position: absolute;
  right: 105px;

}

.wp-block-best-sellers .fse-slider-wrapper .swiper-button-prev:before,
.wp-block-best-sellers .fse-slider-wrapper .swiper-button-next:before {
  content: '';
  width: 50px;
  height: 2px;
  background: #fff;
  left: 10px;
  position: relative;
  top: -1px;
}

.wp-block-best-sellers .fse-slider-wrapper .swiper-button-prev:before {
  left: 37px;
}


.wp-block-best-sellers .fse-slider-wrapper {
  max-width: 100% !important;
  position: inherit;
}

.wp-block-best-sellers .swiper-pagination {
  max-width: var(--wp--style--global--wide-size);
}

.wp-block-best-sellers .swiper-slide {
  opacity: 0.4;
}

.swiper-slide.swiper-slide-prev,
.swiper-slide.swiper-slide-active,
.swiper-slide.swiper-slide-next {
  opacity: 1;
}

/** latest products  **/
.wp-block-latest-products .wp-block-product-new ul li,
.wp-block-latest-products .wc-block-product-template .wc-block-product {
  display: flex;
  align-items: center;

  .wp-block-button.wc-block-grid__product-add-to-cart,
  .product-buttons {
    margin-left: auto;
    margin-right: 0;
  }
}

.wp-block-latest-products {

  .wc-block-grid__products,
  .wc-block-product-template {

    .wc-block-grid__product,
    .wc-block-product {
      border-top: 1px solid var(--wp--preset--color--border-color);
      padding-top: var(--wp--custom--spacing--group-heading-bottom-gap);
      padding-bottom: var(--wp--custom--spacing--group-heading-bottom-gap);
      margin: 0;
      border-bottom: none;

      &:last-child {
        padding-bottom: 0;
      }


      .wc-block-grid__product-title,
      .wp-block-post-title {
        font-size: var(--wp--preset--font-size--product-heading);
        font-weight: var(--wp--custom--typography--font-weight--bold);
        text-align: left;
      }

      .wc-block-grid__product-price,
      .wp-block-woocommerce-product-price {
        font-weight: var(--wp--custom--typography--font-weight--bold);
        font-size: var(--wp--preset--font-size--content-heading);
        text-align: left;

      }

      .wp-block-button.wc-block-grid__product-add-to-cart,
      .product-buttons {
        margin: 0
      }

    }
  }
}




.block-editor-block-list__block .wp-block-product-new ul li .wc-block-grid__product-link {
  width: 60% !important;
  display: flex;
  align-items: center;
  gap: 50px;

  .wc-block-grid__product-title,
  .wc-block-grid__product-image {
    width: 40%;
  }
}

.block-editor-block-list__block.wp-block-best-sellers .swiper-slide {
  opacity: 1;
}

.block-editor-block-list__block.wp-block-best-sellers .wp-block-group.wp-block-slider-wrapper {
  width: 100%;
}


.wp-block-latest-products {
  .wc-block-product-template {
    .product-buttons {
      .wc-block-components-product-button {
        display: block;
      }
    }
  }
}