/*============================================================================================
   Start Category Area
=============================================================================================*/
.category.style-7 .category-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 24px; /* row-gap column-gap */
}

.category.style-7 .category-card {
    display: block;
    text-align: center;
    border-radius: 12px;
    position: relative;
	transition: all 0.4s ease;
}

.category.style-7 .category-card .category-card-overlay{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  transition: all 0.4s;
border-radius: 10px;
}

.category.style-7 .category-card::after{
 content: '';
  width: calc(100% - 3rem);
  height: calc(100% - 3rem);
  border: 1px solid #fff;
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 90;
  transition: all 0.3s;
  transform: scale(1.1);
  opacity: 0;
  display: block;
}

.category.style-7 .category-card:hover::after{
    opacity: 1;
    transform: scale(0.9);

}

.category.style-7 .category-card:hover .category-card-overlay{
   background: black;
  opacity: 0.75;
}

.category.style-7 .category-img {
	position: relative;
	transition: all 0.4s ease;
	overflow: hidden;
	border-radius: 8px;
}


.category.style-7 .category-card img {
    object-fit: contain;
    width: 100%;
    border-radius: 8px;
    transition: all 0.4s ease;
}
.category.style-7 .category-card:hover img {
    transform: scale(0.94);
}
.category.style-7 .category-info {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    color:var(--white-color);
    text-align: center;
    z-index: 130;
       opacity: 0;

}

.category.style-7 .category-card:hover .category-info{
   opacity: 1;
}
.category.style-7 .category-card h4 {
    font-size: 20px;
    font-weight: 600;
    line-height: 120%;
    text-transform: uppercase;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: center;
    color: var(--white-color);
    margin-bottom: 6px;
    transition: all 0.3s ease;
}



@media (max-width: 991px) {
.category.style-7 .category-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; /* row-gap column-gap */
}

    .category.style-7 .category-card h4 {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
  .category.style-7 .category-inner {
    gap: 15px; /* row-gap column-gap */
  }
 .category.style-7 .category-card h4 {
   font-size: 14px;
  }
}
@media (max-width: 479px) {
  .category.style-7 .category-inner {
    gap: 12px; /* row-gap column-gap */
  }
 .category.style-7 .category-card h4 {
   font-size: 12px;
  }
}
/*============================================================================================
   End Category Area
=============================================================================================*/
