/* CATALOG */

.catalog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 331/452;
  z-index: 0;
  padding: 40px 0 20px 0;
}

.catalog-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.7) 32.81%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
}

.catalog-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-card-title {
  position: relative;
  width: 100%;
  color: var(--white);
  text-align: center;
  font-family: var(--open-sans);
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  z-index: 2;
  transition: transform 1s ease;
}

.catalog-card-btn {
  position: relative;
  border: none;
  margin: 0 15px;
  padding: 10px 15px;
  background: var(--secondary);
  border-radius: 8px;
  color: var(--white);
  z-index: 2;
  font-size: 16px;
  transition: all 0.3s ease;
}

/* PRODUCTS */
.product-card {
  display: block;
  width: 100%;
  box-shadow: 0px 0px 3px 0px rgba(121, 121, 121, 0.3);
  border-radius: 8px;
  max-height: 450px;
  transition:all .3s ease;
}

.product-card:hover{
     box-shadow: 0px 0px 4.5px 1px rgba(121, 121, 121, 0.8);
}

.product-card-title{
    height:48px;
}
.product-card-info {
  padding: 10px 8px;
  border-radius: 0;
}

.product-card-info .titleh5 {
  font-size: 18px;
}

.product-card-info .titleh6 {
  font-size: 12px;
}

.product-card-img {
  width: 100%;
  height:200px;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.prices-cover{
    min-height:56px;
}




/* .footer-social-links path{
  color: var(--icons);
} */

/* ANIMATION */

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

@keyframes bounce {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes jumpDown {
  0% {
    transform: translateY(-200%);
  }
  25% {
    transform: translateY(50%);
  }
  50% {
    transform: translateY(-50%);
  }
  75% {
    transform: translateY(25%);
  }
  100% {
    transform: translateY(0%);
  }
}

@keyframes jumpUp {
  0% {
    transform: translateY(200%);
  }
  25% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(50%);
  }
  75% {
    transform: translateY(-25%);
  }
  100% {
    transform: translateY(0%);
  }
}

/* ADAPTIVE */

@media (min-width: 960px) {
  .catalog-card-btn {
    opacity: 0;
  }

  .catalog-card:hover .catalog-card-btn {
    animation: jumpDown 0.5s linear forwards;
    opacity: 1;
  }

  .catalog-card::after {
    
    height: 20%;
    transition: all 0.1s linear;
  }

  .catalog-card:hover::after {
    height: 100%;

  }

  .product-card-info {
    padding: 15px;
  }
  .product-card-info .titleh5 {
    font-size: 18px;
  }

  .product-card-info .titleh6 {
    font-size: 16px;
  }

  .product-card-btn {
    opacity: 0;
    margin-top: 0;
  }

  .product-card:hover .product-card-btn {
    animation: jumpUp 0.5s linear forwards;
    opacity: 1;
  }

  .swiper-button-next img,
  .swiper-button-prev img {
    width: 32px;
    height: 32px;
  }
  
}

