
.section-cat.with-bg {
  padding-top: 60px;
  position: relative;
}
.section-cat.with-full-bg {
  padding: 84px 0;
  position: relative;
  background: var(--color1);
  z-index: 0;
  overflow: hidden;
}
.section-cat.with-full-bg:before {
  content: '';
  background: #2F558599;
  filter: blur(144px);
  width: 1000px;
  height: 500px;
  position: absolute;
  border-radius: 40%;
  left: -15%;
  transform: rotate(45deg);
  pointer-events: none;
  z-index: -1;
}
.section-cat.with-full-bg:after {
  content: '';
  background: #2F558599;
  filter: blur(144px);
  width: 1000px;
  height: 500px;
  position: absolute;
  border-radius: 40%;
  right: -30%;
  transform: rotate(-20deg);
  bottom: 8%;
  pointer-events: none;
  z-index: -1;
}
.section-cat.with-bg:before {
  content: '';
  width: 100%;
  height: 283px;
  background: linear-gradient(45deg, #3a5b84, var(--color1));
  position: absolute;
  top: 0;
  z-index: -1;
}
.section-cat .sw {
  width: 100%;
}
.section-cat .swiper-cat:not(.swiper-initialized) .swiper-slide {
  flex-shrink: unset;
  margin-left: 15px;
  width: 310px;
  flex: 0 0 310px;
}

.cat-card {
  position: relative;
  display: block;
  text-decoration: none;
  overflow: hidden;
  background: #f5f5f5;
}

.card-image {
  width: 100%;
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.card-label {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 18px;
  z-index: 0;
  padding: 20px 18px;
  text-align: center;
  
}
.card-label:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(102px);
  background: #FFFFFF99;
  transition: 0.4s ease;
}
.cat-card:hover .card-label:before {
  backdrop-filter: blur(102px);
  background: #ffffff;
}
.label-title {
  display: block;
  font-size: 20px;
  color: var(--color1);
  line-height: 1;
}

.label-subtitle {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  margin-top: 6px;
  color: var(--color1);
  line-height: 1;
}

@media (max-width: 767.99px) {
 

  .cat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 16px;
  }

  .cat-grid__item,
  .cat-grid .cat-card {
    height: 100%;
  }

  
  
}

@media (max-width: 575.99px) {
  .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .label-title {
    font-size: 12px;
    
  }
  
  .label-subtitle {
    font-size: 8px;
 
  }
  .card-label {
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 6px;
    z-index: 0;
    padding: 7px 18px;
    text-align: center;
}
}

