/*-----------------------------------*/
/*Archives, Product , Category Pages /*
/*-----------------------------------*/

/*Product category Overview Section 2*/
.product-cat-overview #gallery-improved {
  margin-bottom: 20px;
  overflow: hidden;
  clip-path: var(--angled-edge-mask);
}

.product-cat-overview #gallery-improved .swiper-slide {
  display: flex;
}

.product-cat-overview #gallery-improved .swiper-slide a {
  width: 100%;
}

.product-cat-overview #gallery-improved .swiper-slide img {
  width: 100%;	
  height: calc(100% - 70px);
  object-fit: cover;
}

.product-cat-overview #gallery-improved .swiper-slide a:before {
  content: "";
  position: absolute;
  z-index: -1;
  display: flex;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 191, 0, 0.6) 0%,
    var(--e-global-color-primary) 92%
  );
}

@media screen and (max-width: 1024px){
  .product-gallery.elementor-widget.Improved.e-widget-swiper {
    max-width: 560px;
 }
}

.product-cat-overview #gallery-improved .img-caption {
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 70px;
  padding: 0px 20px;
  background: var(--e-global-color-cc89936);
  margin: 0;
  color: white;
  font-family: var(--font-stack-heading);
  line-height: 1.25em;
}

.product-cat-overview #gallery-improved .img-caption:before {
  content: "";
  width: 12px;
  height: 12px;
  display: block;
  background-image: url(/wp-content/uploads/2024/11/icon-polygon-primary.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.product-cat-overview .gallery-improved__nav .swiper-slide {
  cursor: pointer;
  padding: 4px;
}

.product-cat-overview .gallery-improved__nav .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-cat-overview .gallery-improved__nav .swiper-slide.swiper-slide-thumb-active::after {
    border: 2px var(--e-global-color-accent) solid;
    background: transparent !important;
}

@media screen and (max-width: 767px) {
  .product-cat-overview #gallery-improved .swiper-slide img {
    height: calc(100% - 50px);
  }	
	
  .product-cat-overview #gallery-improved .img-caption {
    height: 50px;
    font-size: 0.9rem;
  }
	
  .product-cat-overview #gallery-improved .img-caption:before { 
    width: 10px;
    height: 10px;
  }

  .product-cat-overview .gallery-improved__nav .swiper-slide {
    padding: 2px;
  }
}

@media screen and (max-width: 375px) {
  .product-cat-overview #gallery-improved .img-caption {
    font-size: 0.85rem;
  }
}

/* Quality & Finder Section */
.quality-section .polygon-bg,
.polygon-bg.finder-text-wrap {
  overflow: hidden;
}

.quality-section .polygon-bg:before,
.polygon-bg.finder-text-wrap:before {
  content: "";
  width: 100%;
  clip-path: var(--angled-edge-mask);
  position: absolute;
  height: 100%;
  background: white;
}

@media screen and (min-width: 1025px) {
  .quality-section .polygon-bg:before,
  .manifold-gauge-finder .polygon-bg:before {
    background: rgb(255 255 255 / 80%);
  }
}

@media screen and (max-width: 1024px) {
  .quality-section {
    background-image: none !important;
  }

  .quality-text-wrap.polygon-bg {
    margin-top: -50px;
  }
	
  .quality-section .quality-img-wrap-tablet:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 80%, #000000 100%);
  }
}

@media screen and (max-width: 767px) {
  .manifold-gauge-finder {
    background-image: none !important;
  }

  .quality-text-wrap.polygon-bg,
  .finder-text-wrap.polygon-bg {
    margin-top: -25px;
  }
}

/* line effect on hover for the product range cards */
a.product-range-card {
  border: 1px var(--e-global-color-gray-border) solid;
}

a.product-range-card::before {
    content: "";
    position: absolute;
    left: -1px;
    top: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    transition: .3s, background-position .3s .3s;
    --b: 2px;
    /* the border thickness*/
    --g: 0px;
    /* the gap on hover */

    --_g: #0000 25%, var(--e-global-color-accent) 0;
    background:
        conic-gradient(from 180deg at top var(--b) right var(--b), var(--_g)) var(--_i, 200%) 0 /200% var(--_i, var(--b)) no-repeat,
        conic-gradient(at bottom var(--b) left var(--b), var(--_g)) 0 var(--_i, 200%)/var(--_i, var(--b)) 200% no-repeat;
}

a.product-range-card:hover::before {
    --_i: 100%;

    transition: .3s, background-size .3s .3s;
    cursor: pointer;
}

a.product-range-card .product-range-text p {
  font-size: 0.9rem;
}
/*-----------------------------------*/
/*END OF Child Category Pages/*
/*-----------------------------------*/

/*-----------------------------------*/
/* Manifold Gauge Products Pape */
/*-----------------------------------*/
@media screen and (max-width: 1024px) {
  .back-parent-page-section .text-wrap {
    background-color: black;
  }
}