.product-category-wrapper {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.product-category-wrapper>div {
    width: calc((100% - 40px)/5);
    border-radius: 5px;
}

@media only screen and (min-width: 768px)and (max-width:991px),
only screen and (min-width:992px)and (max-width:1199px) {
    .product-category-wrapper>div {
        width: calc((100% - 20px)/3)
    }
}

@media only screen and (min-width: 576px)and (max-width:767px) {
    .product-category-wrapper>div {
        width: calc((100% - 10px)/2)
    }
}

@media(max-width: 575px) {
    .product-category-wrapper>div {
        width: calc((100% - 0px)/1)
    }
}

.product-category-single {
    display: inline-block;
    overflow: hidden
}


/* .product-category-single:hover .product-category-img img {
    transform: scale(1.05)
} */

.product-category-img a {
    position: relative;
    display: block
}

.product-category-img a:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    opacity: .4;
    left: 0;
    top: 0
}

.product-category-img a img {
    width: 100%;
}

.pos-rel {
    position: relative
}


/*------------ milo effect -------------*/

.effect-milo {
    background: rgb(48, 110, 255);
    background: linear-gradient(0deg, rgba(48, 110, 255, 1) 0%, rgba(248, 102, 158, 1) 100%);
    box-shadow: #0366d64d 0px 0px 0px 3px;
}

.effect-milo img {
    opacity: 1;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(0px, 0, 0) scale(1.12);
    transform: translate3d(0px, 0, 0) scale(1.12);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-transform: translate3d(0px, 0, 0) scale(1.12);
    -ms-transform: translate3d(0px, 0, 0) scale(1.12);
    -o-transform: translate3d(0px, 0, 0) scale(1.12);
}

.effect-milo:hover img {
    opacity: 0.5;
    -webkit-transform: translate3d(0, 0, 0) scale(1);
    transform: translate3d(0, 0, 0) scale(1);
    -moz-transform: translate3d(0, 0, 0) scale(1);
    -ms-transform: translate3d(0, 0, 0) scale(1);
    -o-transform: translate3d(0, 0, 0) scale(1);
}

.effect-milo h2 {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 1em 1.2em;
}

.effect-milo p {
    padding: 0 10px 0 0;
    width: 50%;
    border-right: 1px solid #ffffff86;
    text-align: right;
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(-40px, 0, 0);
    transform: translate3d(-40px, 0, 0);
}

.effect-milo:hover p {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}


/*---------------------------------------------*/

/* -------------------------- image gallery light box strat ------------------------------ */

.main .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1rem;
    justify-content: center;
    align-items: center;
  }
  .main .card {
    background: #ffffff;
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.24); */
    /* color: #333333; */
    border-radius: 5px;
  }
  .main .card-image {
    background: #ffffff;
    display: block;
    padding-top: 70%;
    position: relative;
    width: 100%;
  }
  .main .card-image img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  @media only screen and (max-width: 600px) {
    .main .container {
      display: grid;
      grid-template-columns: 1fr;
      grid-gap: 1rem;
    }
  }

  /* ------------------------------ image gallery light box end ---------------------------------------- */

  /* ------------------------------ video gallery border ---------------------------------- */

  .video-bdr{
    border-radius: 5px;
  }