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

.category.style-7 .category-card {
    display: flex;
    text-align: center;
    border-radius: 6px;
    position: relative;
    transition: all 0.4s ease;
    padding: 8px 0px 0px 12px;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-color);
    overflow: hidden;
    gap: 5px;
    background: var(--white-color);
    height: 100%;
    transition: 0.3s all ease;
    gap: 5px;
}
.category.style-7 .category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 3px 6px rgb(226, 226, 226);
}

/* .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;
}

.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-info {
    flex: 1;
    display: flex;
    align-items: center; /* vertical center text */
}

.category.style-7 .category-info p {
    font-weight: 600;
    max-width: 120px;
}

.category.style-7 .category-img {
    display: flex;
    align-items: flex-end; /* push image to bottom */
    justify-content: flex-end; /* align to right */
    height: 100%;
}
.category.style-7 .category-info-2 p,
.category.style-7 .category-info p {
    margin: 0;
}

.category.style-7 .category-card img {
    border-radius: 5px;
    object-fit: cover;
    width: 80px;
    height: 80px;
    border-radius: 8px;
}

/* .category.style-7 .category-card .category-info-2{
 display: none;
}
.category.style-7 .category-card .category-info-2 p{
     color:var(--white-color);
     font-weight: 500;
     font-size: 1.5rem;
      text-align: center;

}
.category.style-7 .category-card:hover .category-info-2 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    color:var(--white-color);
    text-align: center;
    z-index: 130;
    display: block;
}


 */

.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: 1400px) {
    .category.style-7 .category-inner {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .category.style-7 .category-inner {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .category.style-7 .category-inner {
        gap: 20px; /* row-gap column-gap */
    }
}

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

    .category.style-7 .category-info p {
        max-width: 80px;
    }

    .category.style-7 .category-info p {
        font-size: 1.3rem;
    }
}

@media (max-width: 360px) {
    .category.style-7 .category-inner {
        gap: 10px; /* row-gap column-gap */
    }

    .category.style-7 .category-card img {
        object-fit: cover;
        height: 60px;
        width: 60px;
    }
    .category.style-7 .category-info p {
        font-size: 1.2rem;
    }
    .category.style-7 .category-card {
        padding: 0.6rem 0.7rem;
    }

    .category.style-7 .category-card .category-info {
        text-align: center;
    }
}
/*============================================================================================
   End Category Area
=============================================================================================*/
