/* .catalog-block .catalog-holder {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 30px;
} */

.catalog-block .product-cat-items-wrapper {
  margin-bottom: 30px;
}

.product-cat-items-wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}
.product-cat-item * {
  transition: var(--Transition);
}
.product-cat-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 260px;
  padding: 30px;
  gap: 20px;
  border-radius: 20px;
  background: var(--bg-primary-second);
  overflow: hidden;
}
.product-cat-item__name {
  z-index: 1;
}
.product-cat-item .btn {
  width: fit-content;
  padding: 10px;
  aspect-ratio: 1 / 1;
}
.product-cat-item .btn svg path {
  stroke: var(--bg-alt-main);
}
.product-cat-item:hover .btn {
  background: var(--colors-main);
  border-color: var(--colors-main);
}
.product-cat-item:hover .btn svg path {
  stroke: var(--bg-primary-main);
}
.product-cat-item__img {
  display: flex;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  max-width: 176px;
  height: auto;
  aspect-ratio: 176 / 182;
  transform: translate(0, 20px);
  overflow: hidden;
}
.product-cat-item__img svg {
  width: 100%;
  height: 100%;
}
.product-cat-item__img svg path {
  stroke: var(--colors-main);
}
.product-cat-item__img img {
  object-position: top left;
}
.product-cat-item:hover .product-cat-item__img {
  transform: translate(0, 0);
}

@media (max-width: 1480px) {
  .product-cat-items-wrapper {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}
@media (max-width: 1220px) {
  .product-cat-item {
    min-height: 220px;
    padding: 20px;
  }
}
@media (max-width: 1024px) {
  .product-cat-items-wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .product-cat-items-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 512px) {
  .product-cat-item {
    min-height: 200px;
    padding: 15px;
  }
  .product-cat-item__name {
    font-size: 14px !important;
  }
  .product-cat-item .btn {
    border-radius: 10px;
    z-index: 1;
    background: var(--colors-main) !important;
    border-color: var(--colors-main) !important;
  }
  .product-cat-item .btn svg path {
    stroke: var(--bg-primary-main) !important;
  }
}

@media screen and (max-width: 450px) {
  .product-cat-item__img {
    position: static;
    transform: unset;
    inset: unset;
    max-height: 100px;
  }
  .product-cat-item__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: unset;
  }
  .product-cat-item {
    gap: 10px;
  }
  .product-cat-item .btn.first {
    display: none;
  }
  .product-cat-item {
    min-height: unset;
  }
}

@media (max-width: 425px) {
  .product-cat-item {
    padding: 10px;
    border-radius: 10px;
  }
  .product-cat-item__name {
    width: 100%;
    font-size: 12px !important;
  }
  .product-cat-item__img {
    aspect-ratio: 20 / 12;
  }
}
@media (max-width: 320px) {
  .product-cat-items-wrapper {
    grid-template-columns: 1fr;
  }
}
