.allproduct-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  padding: 20px 0px;
  box-sizing: border-box;
}


.allproduct-card {
  position: relative;
  text-align: center;
  border: 1px solid #ff09f5;
  border-radius: 20px;
  padding: 20px;
  max-width: 268px;
  cursor: pointer;
  margin: 0 auto;
  transition: 0.3s;
  overflow: hidden
}


.allproduct-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -70%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-15deg);
  transition: all 0.3s ease-in-out;
}


.allproduct-card:hover::before {
  animation: shineAllProduct 1.4s ease forwards;
}

@keyframes shineAllProduct {
  0% {
    left: -70%;
  }
  100% {
    left: 120%;
  }
}


.allproduct-card:hover {
  transition: 0.3s;
  opacity: 0.8;
}

.allproduct-card img {
  width: 270px;
  height: 185px;
  border-radius: 20px;
}

.category-name {
  font-size: 18px;
  font-weight: 500;
  margin-top: 10px;
  margin-bottom: 3px;
}
.category-description {
  font-size: 14px;
  color: #666666;
}

.podrobnee {
  background: linear-gradient(to top, #ff09f5, #ff4747);
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 500;
  border-radius: 20px;
  margin-top: 15px;
}

.allproduct-cards-two {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.allproduct-cards-two:not(:last-child) {
  margin-bottom: 20px;
}

.allproduct-cards-two .allproduct-card:not(:last-child) {
  margin-right: 20px;
}

@media screen and (max-width: 1319px) {
  .allproduct-cards {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(2, auto)
  }
  .allproduct-cards-two {
    justify-content: center;
  }
}

.allproduct-cards-four {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.allproduct-cards-four:not(:last-child) {
  margin-bottom: 20px;
}

@media screen and (max-width: 680px) {
  .allproduct-cards-two {
    flex-direction: column;
  }
  .allproduct-cards-two .allproduct-card:not(:last-child) {
    margin-right: 0px;
    margin-bottom: 20px;
  }
}
.paginator {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  gap: 10px;
  flex-wrap: wrap;
}

.paginator a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #f0f0f0;
  border-radius: 50%;
  text-decoration: none;
  color: black;
  font-weight: bold;
  transition: 0.3s;
}

.paginator a:hover {
  background-color: #ff09f5;
  color: white;
  transition: 0.3s;
}

.paginator a.active {
  background-color: #ff09f5;
  color: white;
}

@media screen and (max-width: 1024px) {
  .allproduct-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}


@media screen and (max-width: 768px) {
  .allproduct-cards {
    grid-template-columns: 1fr;
    padding: 10px;
  }
}


