.main-category{
    position: relative;
    display: block;
}
.head_explore_cont{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 2;
    padding: 2rem;
    transition: all 0.3s ease-in-out;
}

.head_explore_cont:hover{
    
    background: rgba(145, 116, 70, 0.5);
}

.head_explore_cont:hover .exploreBtn{
    letter-spacing: 2px;
}

.head_explore_cont:hover .exploreBtn::after{
    width: 100%;
}

.head_explore_cont h2{
    color: var(--bg-white);
}

.main-category .exploreBtn{
    text-decoration: none;
    color: var(--bg-white);
    white-space: nowrap;
}

.main-category .exploreBtn::after{
    background: var(--bg-white);
}

.main-category .exploreBtn svg path{
    fill: var(--bg-white);
}

.main-category img{
    transition: all 0.3s ease-in-out;
}

/* .main-category:hover img{
    transform: scale(0.99);
} */

.customArrow{
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 2rem;
    width: auto;
}
.card-collection{
    position: relative;
}
.card-caption{
    position: absolute;
    bottom: 0;
}

.collection-prev, .collection-next{
    width: 50px;
}

.collection-prev.swiper-button-disabled, .collection-next.swiper-button-disabled{
    opacity: 0.5;
}

.collection-prev svg, .collection-next svg{
    width: 100%;
    height: auto;
}


.collectionHeading{
    width: fit-content;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.collectionHeading::after{
    content: '';
    display: block;
    width: 130px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease-in-out;
}

.collectionHeading:hover::after{
    width: 100%;
}

.card-caption{
    padding: 2rem 0.5rem 2rem 3rem;
}

.card-caption h3{
    font-size: 20px;
    color: var(--bg-white);
}

.card-caption .exploreBtn{
    color: #fff;
}

.card-caption .exploreBtn::after{
    background: var(--bg-white);
}

.card-caption .exploreBtn svg, .card-caption .exploreBtn path{
    fill: var(--bg-white);
}

.collections-swiper .swiper-pagination{
    position: relative;
    top: inherit;
    bottom: inherit;
    padding-top: 10px;
}

.catImgCont{
    overflow: hidden;
}
.catImgCont img{
    transition: all 1.5s ease-in-out;
}

.catImgCont img:hover{
    transform: scale(1.1);
}



@media(min-width:1200px){
    .card-caption h3{
    font-size: 1.6vw;
}
    .collectionHeading::after{
        width: 6.771vw;
    }
    .leftSpace{
    padding-left: 4vw;
}
.collection-prev, .collection-next{
    width: 3vw;
}
}

@media(min-width:991px){
    .leftSpace{
        padding-left: 3rem;
    }
    .swiper-pagination{
        display: none;
    }
}

@media(max-width:991px){
    
    .collectionHeading{
        position: relative;
        top: inherit;
        transform: translate(0);
    }
    .customArrow{
        position: relative;
        bottom: inherit;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 2.5rem;
    }
    .card-caption{
        padding: 1rem 0.5rem 1rem 1rem;
    }
}

@media(max-width:576px){
    .collection-prev,
  .collection-next {
    display: none;
  }
  .collectionHeading{
    text-align: center;
    width: 100%;
  }
  .collectionHeading::after{
    display: none;
  }
}