/*--------------------------------------------------------------*/
/* #region - Product Category Listing */
/*--------------------------------------------------------------*/

/* Column Width Adjust */

.elementor-widget-wdt-shop-product-cat .wdt-shop-category-listing-item.wdt-one-third { width: 33.333%; }
.elementor-widget-wdt-shop-product-cat .wdt-shop-category-listing-item.wdt-one-half { width: 50%; }
.elementor-widget-wdt-shop-product-cat .wdt-shop-category-listing-item.wdt-one-fourth { width: 25%; }

/* Common Styles */

/* .elementor-widget-wdt-shop-product-cat .elementor-widget-container { margin: -15px; } */
.elementor-widget-wdt-shop-product-cat .wdt-shop-category-listing-item:not(.swiper-slide) { padding: 15px; margin: 0 !important; }
.wdt-shop-category-listing-item:not(.column),
.wdt-shop-category-listing-item .wdt-shop-category-listing-inner,
.wdt-shop-category-listing-item .wdt-shop-category-listing-inner>div { float: left; width: 100%; }
.wdt-shop-category-listing-item .wdt-shop-category-listing-inner .wdt-shop-category-meta-data { text-align: center; }

.wdt-shop-category-listing-item .wdt-shop-category-listing-image,
.wdt-shop-category-listing-item .wdt-shop-category-listing-inner .wdt-shop-category-meta-data { position: relative; }

.wdt-shop-category-listing-item .wdt-shop-category-listing-inner,
.wdt-shop-category-listing-item .wdt-shop-category-listing-image { overflow: hidden; text-align: center; }

.wdt-shop-category-listing-item .wdt-shop-category-listing-image { display: grid; align-items: end; }

.wdt-shop-category-listing-item .wdt-shop-category-listing-image>a { grid-area: 1/-1; }

.wdt-shop-category-listing-item .wdt-shop-category-listing-image>a~a.wdt-shop-cat-button {
	text-align: center;
	-webkit-transform: translateY(30px);
	transform: translateY(30px);
	opacity: 0;
	-webkit-transition: var(--wdt-Ad-Transition);
	transition: var(--wdt-Ad-Transition);
	z-index: 1;
	margin: 20px;
}

.wdt-shop-category-listing-item:hover .wdt-shop-category-listing-image>a~a.wdt-shop-cat-button {
	-webkit-transform: translateY(0);
	transform: translateY(0);
	opacity: 1;
}

.wdt-shop-category-listing-item .wdt-shop-category-listing-image>a,
.wdt-shop-category-listing-item .wdt-shop-category-listing-image img { display: block; }
.wdt-shop-category-listing-item .wdt-shop-category-listing-inner .wdt-shop-category-meta-data h3 { margin-top: 0; }
.wdt-shop-category-listing-item .wdt-shop-category-listing-inner .wdt-shop-category-meta-data h3:only-child { margin-bottom: 0; }
.wdt-shop-category-listing-item .wdt-shop-category-listing-inner .wdt-shop-category-meta-data .wdt-shop-category-starting-price-html del { display: none; }
.wdt-shop-category-listing-item .wdt-shop-category-listing-inner .wdt-shop-category-meta-data ins { background: none; }
.wdt-shop-category-listing-item .wdt-shop-category-listing-inner .wdt-shop-category-meta-data .wdt-shop-category-starting-price-html+.button { margin-top: 20px; }

/* Category Type 1 */

.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-image-meta{
    display: grid;
    place-items: center;
}
.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-image-meta > div{
    grid-area: 1/-1;
}
.swiper-wrapper:has(.wdt-shop-category-listing-item.type1){ cursor:auto; }
.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner .wdt-shop-category-listing-image .wdt-shop-category-listing-color {
	content: "";
	height: 0;
	margin: auto;
	padding-top: 75%;
	position: absolute;
	bottom: 40%;
	left: 50%;
	top: auto;
	width: 75%;
	z-index: -1;
	-webkit-border-radius: var(--wdtRadius_Full);
	border-radius: var(--wdtRadius_Full);
	-webkit-transform: translate(-50%, 50%);
	transform: translate(-50%, 50%);
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: bottom 0.3s ease-in-out 0s, padding-top 0.3s ease-in-out 0.3s, width 0.3s ease-in-out 0.3s;
	transition: bottom 0.3s ease-in-out 0s, padding-top 0.3s ease-in-out 0.3s, width 0.3s ease-in-out 0.3s;
}
.wdt-shop-category-listing-item.type1 .wdt-shop-category-title{
    margin-top: 20px;
}
.wdt-shop-category-listing-item.type1 .wdt-shop-category-title a{
    font-size: var(--wdtFontSize_H6);
    font-weight: var(--wdtFontWeight_Base);
    /* text-transform: uppercase; */
}

.wdt-shop-category-listing-item.type1:hover .wdt-shop-category-listing-inner .wdt-shop-category-listing-image .wdt-shop-category-listing-color {
	bottom: 50%;
	padding-top: 200%;
	width: 200%;
}

.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data {
	padding: clamp(1.875rem, 1.044rem + 2.7759vw, 4.375rem); /* 30 - 70 */
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: var(--wdtTertiaryColor);
	transition: var(--wdtBaseTransition);
    width: 100%;
    height: 100%;
    border-radius: var(--wdtRadius_2X);
}
.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data a{display: inline-block;}
.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data a img{width: calc(100% / 2);}
.wdt-shop-category-listing-item.type1:hover .wdt-shop-category-listing-inner .wdt-shop-category-meta-data {
	background-color: rgb(var(--wdtTertiaryColorRgb), 0.8);
}

.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner .wdt-shop-category-listing-image img {
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: var(--wdt-Ad-Transition);
	transition: var(--wdt-Ad-Transition);
	margin: auto;
    max-height: 320px;
    width: 100%;
}
.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner .wdt-shop-category-listing-image,
.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner .wdt-shop-category-listing-image a{
    width: 100%;
    height: 100%;
}

.wdt-shop-category-listing-item.type1:hover .wdt-shop-category-listing-inner .wdt-shop-category-listing-image img {
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner {
	display: grid;
}


.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data .wdt-shop-category-count {
	margin-top: 34px;
	line-height: normal;
	transition: var(--wdtBaseTransition);
}

.wdt-shop-category-listing-item.type1:hover .wdt-shop-category-listing-inner .wdt-shop-category-meta-data .wdt-shop-category-count {
	color: var(--wdtLinkHoverColor);
}

.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner {
	border-radius: var(--wdtRadius_2X);
	overflow: hidden;
}

.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-image>a,
.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-image img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: center;
}

/* Type 2 */

.wdt-shop-category-listing-item.type2 .wdt-shop-category-listing-inner .wdt-shop-category-listing-image img {
	min-height: clamp(25rem, 20.8449rem + 13.8793vw, 37.5rem);/* 400 - 600 */
	object-fit: cover;
	object-position: center;
}

.wdt-shop-category-listing-item.type2 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data {
	text-align: center;
	position: absolute;
	bottom: 40px;
	z-index: 2;
	opacity: 0;
	transform: scale(0.6);
	pointer-events: none;
	transition: var(--wdtBaseTransition);
}
.wdt-shop-category-listing-item.type2.wdt-slide-active .wdt-shop-category-listing-inner .wdt-shop-category-meta-data {opacity: 1; pointer-events: all;transform: scale(1);}
.wdt-shop-category-listing-item.type2 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data a:hover{ color: rgb(var(--wdtHeadAltColorRgb),0.5);}
.wdt-shop-category-listing-item.type2 .wdt-shop-category-listing-image>a {
	position: relative;
}

.wdt-shop-category-listing-item.type2 .wdt-shop-category-listing-image>a::before {
	content: '';
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: linear-gradient(180deg, rgba(255, 99, 33, 0) 36.92%, rgb(var(--wdtPrimaryColorRgb), 0.8) 100%);
	z-index: 1;

}
.wdt-shop-category-listing-item.type2{padding: 0 !important; transition: var(--wdtBaseTransition);}
.elementor-widget-container:has( .wdt-shop-category-listing-item.type2){margin: 0;}
.wdt-shop-category-listing-item.type2 .wdt-shop-category-listing-inner{ filter: grayscale(100%); transition: var(--wdtBaseTransition); margin: auto;}
.wdt-shop-category-listing-item.type2.wdt-slide-active .wdt-shop-category-listing-inner{filter: grayscale(0%); height: 100%;}
.wdt-shop-category-listing-item.type2.wdt-slide-active{z-index: 4; transform: rotate(0deg) translateX(0px) translateY(0px);}

.wdt-taxonomy-swiper{cursor: grab;}
.wdt-taxonomy-pagination-wrapper{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    cursor: default;
}
.wdt-taxonomy-pagination-wrapper> div{
    background: var(--wdtTertiaryColor);
    color: var(--wdtSecondaryColor);
    position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  width: 40px;
  height: 40px;
  font-size: 0.8rem;
  margin: 0;
  padding: 0;
  -webkit-border-radius: var(--wdtRadius_Full);
  border-radius: var(--wdtRadius_Full);
  transition: var(--wdtBaseTransition);
  z-index: 1;
  cursor: pointer;
  opacity: 1;
  visibility: visible;
}
.wdt-taxonomy-pagination-wrapper> div::before{
    position: relative;
    font-family: "theme-icons";
    font-style: normal;
    font-size: .8rem;
    font-weight: var(--wdtFontWeight_Alt);
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0px;
    width: 100%;
    height: 100%;
    top: 0px;
    bottom: 0;
    -webkit-transition: background-color var(--wdtBaseTransition);
    transition: background-color var(--wdtBaseTransition);
    margin: auto;
    border-radius: var(--wdtRadius_Part);
    -webkit-transform: none;
    transform: none;
    line-height: 0;
}
.wdt-taxonomy-pagination-wrapper> .wdt-taxonomy-swiper-button-next::before{
    content: "\e803";
    border-radius: inherit;
}
.wdt-taxonomy-pagination-wrapper> .wdt-taxonomy-swiper-button-prev::before{
    content: "\e800";
}
.wdt-taxonomy-pagination-wrapper:has( .wdt-taxonomy-swiper-button-next.swiper-button-disabled + .wdt-taxonomy-swiper-button-prev.swiper-button-disabled ){
    display: none;
}

@media(min-width:1281px){
.wdt-shop-category-listing-item.type2:first-child{  transform: rotate(-25deg) translateX(80px) translateY(250px);}
.wdt-shop-category-listing-item.type2:last-child{ transform: rotate(25deg) translateX(-80px) translateY(250px);}
.wdt-shop-category-listing-item.type2.swiper-slide-next{  transform: rotate(-25deg) translateX(100px) translateY(100px);}
.wdt-shop-category-listing-item.type2:nth-child(4){  transform: rotate(25deg) translateX(-100px) translateY(100px); z-index: 2;}
}

/* For Icon */

.wdt-shop-category-listing-item .wdt-shop-category-listing-inner:has(> .wdt-shop-category-listing-image > a svg),
.wdt-shop-category-listing-item .wdt-shop-category-listing-inner .wdt-shop-category-listing-image:has(> a svg) {
	overflow: visible;
}

.wdt-shop-category-listing-item .wdt-shop-category-listing-image>a:has(> svg) {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: clamp(3.125rem, 2.569rem + 3.0675vw, 6.25rem);
	/*100px - 50px*/
	color: var(--wdtHeadAltColor);
	-webkit-transform: translateY(0);
	transform: translateY(0);
	-webkit-transition: var(--wdt-Ad-Transition);
	transition: var(--wdt-Ad-Transition);
	margin: auto;
}

.wdt-shop-category-listing-item.type1:hover .wdt-shop-category-listing-image>a:has(> svg) {
	-webkit-transform: translateY(-10px);
	transform: translateY(-10px);
}



/* #endregion - Product Category Listing */

/*--------------------------------------------------------------*/
/* Responsive */
/*--------------------------------------------------------------*/
@media only screen and (max-width: 1024px) {
	.elementor-widget-wdt-shop-product-cat .wdt-shop-category-listing-item.wdt-one-fourth {
		width: 33.333%;
	}
}

@media only screen and (max-width: 767px) {

	.elementor-widget-wdt-shop-product-cat .wdt-shop-category-listing-item.wdt-one-third, 
	.elementor-widget-wdt-shop-product-cat .wdt-shop-category-listing-item.wdt-one-fourth { width: 50%; }
}

@media only screen and (max-width: 480px) {

	.elementor-widget-wdt-shop-product-cat .wdt-shop-category-listing-item.wdt-one-third,
	.elementor-widget-wdt-shop-product-cat .wdt-shop-category-listing-item.wdt-one-half,
	.elementor-widget-wdt-shop-product-cat .wdt-shop-category-listing-item.wdt-one-fourth {
		width: 100%;
	}
}
/* =========================================================
   CATEGORY FLOWER SLIDER
========================================================= */

.wdt-category-slider-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding:0;
    background:transparent;
}

/* Track */
.wdt-category-slider-track {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 600px;
}

/* =========================================================
   COMMON ITEM
========================================================= */

.wdt-category-slider-item {
    position: absolute;
    transition: all .6s cubic-bezier(.22, .61, .36, 1);
    transform-origin: bottom center;
    pointer-events:none; 
    opacity: 0;
    z-index: 1;

    /* Smooth entry/exit for items added or removed from the DOM */
    will-change: transform, opacity, filter;
    width: 100%;
}

/* =========================================================
   ACTIVE CENTER
========================================================= */

.wdt-category-slider-item.active {
    transform:
        translateX(0)
        translateY(-20px)
        rotate(0deg)
        scale(1);
  
    opacity: 1;
    z-index: 10;
}

/* =========================================================
   LEFT SIDE
========================================================= */

.wdt-category-slider-item.pre-item-1 {
    transform:
        translateX(-180px)
        translateY(110px)
        rotate(-14deg);
    z-index: 6;
    opacity:1;
}

.wdt-category-slider-item.pre-item-2 {
    transform:
        translateX(-340px)
        translateY(200px)
        rotate(-30deg);
    z-index: 4; opacity: 1;
}

/* =========================================================
   RIGHT SIDE
========================================================= */

.wdt-category-slider-item.nxt-item-1 {
    transform:
        translateX(180px)
        translateY(110px)
        rotate(14deg);
    z-index: 6; opacity:1;
}

.wdt-category-slider-item.nxt-item-2 {
    transform:
        translateX(340px)
        translateY(210px)
        rotate(30deg);
    z-index: 4; opacity:1;
}

/* Off-screen entry position — item slides in from here */
.wdt-category-slider-item.nxt-item-3 {
    transform:
        translateX(500px)
        translateY(300px)
        rotate(45deg);
    opacity: 0;
    z-index: 2;
}

/* Off-screen exit position — leftmost item slides out to here */
.wdt-category-slider-item.pre-item-3 {
    transform:
        translateX(-500px)
        translateY(300px)
        rotate(-45deg);
    opacity: 0;
    z-index: 2;
}

/* =========================================================
   IMAGE WRAPPER
========================================================= */

.wdt-category-slider-image-wrapper {
    width: 300px;
    height: 540px;
    border-radius: var(--wdtRadius_2X);
    overflow: hidden;
    position: relative;
    background: #222;
    position: relative;
}
.wdt-category-slider-item .wdt-category-slider-image-wrapper:after {
    bottom: 0;
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    background: linear-gradient(rgba(var(--wdtPrimaryColorRgb), 0) 30%, rgba(var(--wdtPrimaryColorRgb), .7) 100%);
    z-index: 10;
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay:.3s;
}

.wdt-category-slider-item.active .wdt-category-slider-image-wrapper:after {
    opacity: 1;
    transform: translateY(-20px);
}

/* Image */
.wdt-category-slider-item  .wdt-category-slider-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all .5s ease;     filter: grayscale(.8);
}
.wdt-category-slider-item.active .wdt-category-slider-image-wrapper img {
    filter: grayscale(0)
}


/* =========================================================
   ACTIVE IMAGE
========================================================= */


/* =========================================================
   TITLE
========================================================= */

.wdt-category-slider-item .wdt-category-slider-name {
    position: absolute;
    left: 50%;
    bottom: 50px;
    transform: translateX(-50%);
    z-index: 30;
    opacity: 0;
    font-size: clamp(1.75rem, 4vw, 2.125rem); /* Min-28 & Max-34 */
    font-weight:var(--wdtFontWeight_H3);
    font-family:var(--wdtFontTypo_H3);
    line-height: var(--wdtLineHeight_H3);
    color: var(--wdtHeadAltColor) !important;
    letter-spacing: .5px;
    transition: var(--wdt-Ad-Transition); width:100%; text-align:center; pointer-events:none;
}

.wdt-category-slider-item.active .wdt-category-slider-name {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events:all;
}
.wdt-category-slider-item.active  .wdt-category-slider-image-wrapper{ pointer-events:all; }

/* Hide count */
.wdt-category-slider-count {
    display: none;
}

/* =========================================================
   BOTTOM HIDE EFFECT
========================================================= */

.wdt-category-slider-track:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0px;
    background: #171717;
    z-index: 20;
    pointer-events: none;
}

/* =========================================================
   LINK
========================================================= */

.wdt-category-slider-link {
    display: grid;
    place-items: end center;
    pointer-events:none;
}

.wdt-category-slider-link > * {
    grid-area: 1 / -1;
}

/* =========================================================
   HEADER HIDE
========================================================= */

.wdt-category-slider-header {
    display: none;
}

/* =========================================================
   HOVER
========================================================= */

.wdt-category-slider-item:hover {
    opacity: 1;
}

/* =========================================================
   TABLET
========================================================= */


@media (max-width: 1540px){
    .wdt-category-slider-item.pre-item-1{
        transform:
        translateX(-100px)
        translateY(110px)
        rotate(-14deg);
    }
    .wdt-category-slider-item.pre-item-2 {
    transform:
        translateX(-140px)
        translateY(200px)
        rotate(-20deg);}

    .wdt-category-slider-item.nxt-item-1 {
    transform:
        translateX(100px)
        translateY(110px)
        rotate(14deg);}
    
.wdt-category-slider-item.nxt-item-2 {
    transform:
        translateX(140px)
        translateY(210px)
        rotate(20deg);
}}

@media (max-width: 1280px){
    .wdt-category-slider-track{
            min-height: 550px;
    }
   
}

@media (max-width: 1024px) {

       .wdt-category-slider-track {
        min-height: 400px;
    }

    .wdt-category-slider-image-wrapper {
        width: 250px;
        height: 400px;
    }

    .wdt-category-slider-item.pre-item-2 {
        transform:
            translateX(-250px)
            translateY(170px)
            rotate(-24deg);
    }

    .wdt-category-slider-item.nxt-item-2 {
        transform:
            translateX(250px)
            translateY(170px)
            rotate(24deg);
    }

    .wdt-category-slider-item.nxt-item-3 {
        transform:
            translateX(380px)
            translateY(260px)
            rotate(36deg);
        opacity: 0;
    }

    .wdt-category-slider-item.pre-item-3 {
        transform:
            translateX(-380px)
            translateY(260px)
            rotate(-36deg);
        opacity: 0;
    }
}

@media (max-width:777px) {

   .wdt-category-slider-track {
        min-height: 400px;
    }
    .wdt-category-slider-image-wrapper{ width:100%; }


    .wdt-category-slider-item.pre-item-2 {
        transform:
            translateX(0px)
            translateY(0px)
            rotate(0deg);
    }

    .wdt-category-slider-item.nxt-item-2 {
        transform:
            translateX(0px)
            translateY(0px)
            rotate(0deg);
    }

    .wdt-category-slider-item.nxt-item-3 {
        transform:
            translateX(0px)
            translateY(0px)
            rotate(0deg);
        opacity: 0;
    }

    .wdt-category-slider-item.pre-item-3 {
        transform:
            translateX(0px)
            translateY(0px)
            rotate(0deg);
        opacity: 0;
    }
}



