/*---------------------------*/
/* #region - Product Category Listing */
/*---------------------------*/

.elementor-widget-wdt-shop-product-cat .elementor-widget-container {
    margin-left: -10px;
    margin-right: -10px;
}

.elementor-widget-wdt-shop-product-cat .wdt-shop-category-listing-item {
    margin: 0;
    padding: 10px;
}

.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;
}

.wdt-shop-category-listing-item .wdt-shop-category-listing-image>a {
    border-radius: var(--wdtRadius_3X);
    -webkit-border-radius: var(--wdtRadius_3X);
    overflow: hidden;
}

.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 .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;
}


/* Type 1 */

.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner {
    display: grid;
    transition: var(--wdtAltTransition);
    transition: var(--wdtAltTransition);
    transition-property: transform;
}

.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner>div {
    grid-area: 1/-1;
}

.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner>div.wdt-shop-category-listing-image a {
    position: relative;
    margin: 1px;
}

.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner>div.wdt-shop-category-listing-image a:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(45deg, transparent 50%, rgba(var(--wdtTertiaryColorRgb), .5) 32%, transparent 65%);
    opacity: 1;
    background-size: 500%;
    background-position: bottom left;
    transition: var(--wdtAltTransition);
    transition-property: background-position, opacity;
}

.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner:hover>div.wdt-shop-category-listing-image a:before {
    background-position: bottom right;
    opacity: 0;
    transition-delay: 0s, .5s;
}

.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner>div.wdt-shop-category-meta-data {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner .wdt-shop-category-listing-image>a {
    -webkit-perspective: 500px;
    -ms-perspective: 500px;
    perspective: 500px;
}

.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: 50%;
    border-radius: 50%;
    -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-listing-inner .wdt-shop-category-meta-data {
    padding: 0;
}

.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data h3 {
    position: relative;
    width: fit-content;
    font-size: 28px;
    writing-mode: sideways-lr;
    padding: 15px 10px;
    margin: 0;
    background-color: var(--wdtBodyBGColor);
    border-radius: 0;
    border-bottom-right-radius: var(--wdtRadius_3X);
}

.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data h3::before,
.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data h3::after {
    content: '';
    position: absolute;
    backface-visibility: hidden;
    will-change: transform;
    isolation: isolate;
    width: 60px;
    height: 60px;
    rotate: 0deg;
    z-index: 10;
    background-color: inherit;
    clip-path: path("M30,0C21.7,0,14.1,3.5,8.8,8.8S0,21.7,0,30V0H30z");
}

.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data h3::before {
    right: -59px;
    top: 0;
}

.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data h3::after {
    left: 0px;
    bottom: -59px;
}

.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner .wdt-shop-category-listing-image img {
    margin: auto;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-transition: var(--wdtAltTransition);
    transition: var(--wdtAltTransition);
}

.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data>*:last-child {
    margin-bottom: 0;
}

.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data>.wdt-shop-category-total-items {
    display: none;
}

.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: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:hover .wdt-shop-category-listing-inner .wdt-shop-category-listing-image img {
    -webkit-transform: translateZ(35px);
    transform: translateZ(35px);
}


.wdt-shop-category-listing-item.type1.swiper-slide:not(.swiper-slide-active) .wdt-shop-category-listing-inner {
    -webkit-transform: scale(.7);
    transform: scale(.7);
}

.wdt-shop-category-listing-item.type1.swiper-slide.swiper-slide-prev .wdt-shop-category-listing-inner,
.wdt-shop-category-listing-item.type1.swiper-slide.swiper-slide-next .wdt-shop-category-listing-inner {
    -webkit-transform: scale(.85);
    transform: scale(.85);
}


/* Type 2 */
.wdt-shop-category-listing-item.type2 .wdt-shop-category-listing-inner {
    border: 0px solid var(--wdtBorderColor);
}

.wdt-shop-category-listing-item.type2 .wdt-shop-category-listing-inner {
    display: grid;
}

.wdt-shop-category-listing-item.type2 .wdt-shop-category-listing-inner>div {
    grid-area: 1/-1;
}

.wdt-shop-category-listing-item.type2 .wdt-shop-category-listing-inner .wdt-shop-category-listing-image img {
    margin: auto;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.wdt-shop-category-listing-item.type2 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data {
    border-style: solid;
    border-width: 0;
    border-color: inherit;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.wdt-shop-category-listing-item.type2 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data h3 {
    font-size: 30px;
    writing-mode: sideways-lr;
    text-orientation: upright;
    padding: 20px 15px 20px 10px;
    display: inline-flex;
    width: fit-content;
    background-color: var(--wdtBodyBGColor);
    border-bottom-right-radius: var(--wdtRadius_3X);
    top: -1px;
    position: relative;
    border-color: var(--wdtBodyBGColor);
}

.wdt-shop-category-listing-item.type2 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data h3::before,
.wdt-shop-category-listing-item.type2 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data h3::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    rotate: 0deg;
    z-index: 10;
    background-color: var(--wdtBodyBGColor);
    backface-visibility: hidden;
    will-change: transform;
    isolation: isolate;
    clip-path: path("M30,0C21.7,0,14.1,3.5,8.8,8.8S0,21.7,0,30V0H30z");
    border: 1px solid var(--wdtBodyBGColor);
}

.wdt-shop-category-listing-item.type2 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data h3::before {
    right: -60px;
    top: 0;
}

.wdt-shop-category-listing-item.type2 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data h3::after {
    left: 0px;
    bottom: -60px;
}

.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data .wdt-shop-cat-button {
    background-color: var(--e-global-color-6031b5c);
    border-radius: 0;
    border-top-left-radius: var(--wdtRadius_3X);
    display: inline-flex;
    margin-left: auto;
    margin-top: 0;
    width: fit-content;
    font-size: 0;
    padding: 0px;
    padding-left: 10px;
    padding-top: 10px;
    align-self: flex-end;
    position: relative;
}

/* .wdt-shop-category-listing-item.type1.swiper-slide-active .wdt-shop-category-listing-inner .wdt-shop-cat-button { -webkit-transform: translateY(0%); transform: translateY(0%); } */
.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data .wdt-shop-cat-button::before,
.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data .wdt-shop-cat-button::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    rotate: 0deg;
    z-index: 10;
    background-color: inherit;
    clip-path: path("M60,30v30H30c8.3,0,15.8-3.4,21.2-8.8C56.6,45.8,60,38.3,60,30z");
    backface-visibility: hidden;
    isolation: isolate;
    will-change: transform;
}

.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data .wdt-shop-cat-button::before {
    left: -59px;
    bottom: 0;
}

.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data .wdt-shop-cat-button::after {
    right: 0px;
    top: -59px;
}

.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data .wdt-shop-cat-button .wdt-btn-text:before {
    rotate: -45deg;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
    display: inline-flex;
    background-color: var(--wdtPrimaryColor);
    border-radius: var(--wdtRadius_Full);
    content: '\e801';
    position: relative;
    font-size: var(--wdtFontSize_H5);
    font-family: "sweetheart-icon";
    color: currentColor;
    line-height: 1;
    transition: var(--wdtBaseTransition);
}

.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data .wdt-shop-cat-button:hover .wdt-btn-text:before {
    background-color: var(--wdtSecondaryColor);
    rotate: 0deg;
}

.wdt-shop-category-listing-item.type1 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data .wdt-shop-cat-button:hover .wdt-btn-text:before {
    background-color: var(--wdtSecondaryColor);
    rotate: 0deg;
}

.wdt-shop-category-listing-item.type2 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data>*:last-child {
    margin-bottom: 0;
}

.wdt-shop-category-listing-item.type2 .wdt-shop-category-listing-inner .wdt-shop-category-meta-data>.wdt-shop-category-total-items {
    display: none;
}

/* #endregion - Product Category Listing */