/*$box-shadow: (*/
/**/ /*"sm": 0 0 0.375rem 0 rgba(46, 38, 61, 0.18), //*/
/**/ /*"md": 0 0 0.625rem 0 rgba(46, 38, 61, 0.2), //*/
/**/ /*"lg": 0 0 1rem 0 rgba(46, 38, 61, 0.22) //
);*/
/*
1 colore bottone
2 bordo/hover
3 testo
*/
/*$box-shadow: (*/
/**/ /*"sm": 0 0 0.375rem 0 rgba(46, 38, 61, 0.18), //*/
/**/ /*"md": 0 0 0.625rem 0 rgba(46, 38, 61, 0.2), //*/
/**/ /*"lg": 0 0 1rem 0 rgba(46, 38, 61, 0.22) //
);*/
/*
1 colore bottone
2 bordo/hover
3 testo
*/
.homeCardRow {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 1.5rem;
}
.homeCardRow__title {
  font-weight: bold;
  color: var(--fg);
}
.homeCardRow > div {
  width: 100%; /* make it fill parent */
  max-width: 100%; /* prevent overflow */
  flex: 1 1 auto;
  min-width: 0; /* super important inside flexbox */
}
.homeCardRow > div .swiper-slide {
  width: 360px;
}

.homeCard {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  --baseCardUnit: 120px;
  width: calc(var(--baseCardUnit) * 3);
}
.homeCard__image {
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
  width: calc(var(--baseCardUnit) * 3);
  height: calc(var(--baseCardUnit) * 2);
  box-shadow: 0 0 0.375rem rgba(0, 0, 0, 0.5);
}
@media (max-width: 1024px) {
  .homeCard__image {
    max-width: 300px;
  }
}
@media (max-width: 768px) {
  .homeCard__image {
    max-width: 340px;
  }
}
@media (max-width: 640px) {
  .homeCard__image {
    max-width: 400px;
  }
}
.homeCard__image img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.homeCard__info {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 28px fit-content() 22px 30px;
  width: calc(var(--baseCardUnit) * 3);
  overflow: hidden;
}
@media (max-width: 1024px) {
  .homeCard__info {
    max-width: 300px;
  }
}
@media (max-width: 768px) {
  .homeCard__info {
    max-width: 340px;
  }
}
@media (max-width: 640px) {
  .homeCard__info {
    max-width: 400px;
  }
}
.homeCard__info h3 {
  font-weight: 700;
  font-size: 1.1rem;
  white-space: nowrap;
}
.homeCard__info h5 {
  font-weight: 400;
  font-size: 0.9rem;
  white-space: nowrap;
}
.homeCard__info p {
  font-size: 0.9rem;
  color: var(--fg-light);
}
.homeCard__info__pills {
  display: flex;
  gap: 0.5rem;
  padding-top: 8px;
}
.homeCard__info__pills .pill {
  font-size: 12px;
  padding: 0.25rem 0.75rem;
  white-space: nowrap;
}
.homeCard__favorite {
  --unit: 50px;
  position: absolute;
  width: calc(var(--unit) * 2);
  height: calc(var(--unit) * 2);
  top: calc(var(--unit) * -1);
  right: calc(var(--unit) * -1);
  background-color: var(--bg-light);
  border-radius: 50%;
  font-size: calc(var(--unit) * 0.5);
  display: grid;
  grid-template-areas: "_q _w" "a _f";
  grid-template-columns: var(--unit) var(--unit);
  grid-template-rows: var(--unit) var(--unit);
  box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.4);
}
.homeCard__favorite .heart {
  grid-area: a;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}
.homeCard__favorite .heart i {
  position: absolute;
  top: calc(var(--unit) * 0.18);
  right: calc(var(--unit) * 0.12);
  text-shadow: rgba(56, 56, 56, 0.2) 0px 6px 12px;
}
.homeCard__favorite--liked {
  background-color: color-mix(in srgb, white 90%, red);
}
.homeCard__favorite--liked i {
  font-weight: bold;
  color: red;
  transition: color 0.3s ease, transform 0.3s ease;
  animation: pop 0.4s ease forwards;
  --fa-secondary-opacity: 1;
}
@keyframes pop {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.2);
  }
  60% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

/*# sourceMappingURL=Home.css.map */
