.v-cards-home {
  // width: 95%;
  margin: 2rem auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 2rem;
  row-gap: 2rem;
}

.v-card {
  box-shadow: 0 2px 43px -4px rgba(0, 0, 0, 0.19);
  transition: all 0.3s ease-out;
  cursor: pointer;
  border-radius: 8px;
  &__overlay {
    position: absolute;
    // background: linear-gradient(0deg, rgba(196, 62, 62, 1) 0%, rgba(0, 0, 0, 0) 100%);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
  &__img {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    min-height: 260px;
    @include gradient-gen(white);
    &.active {
      border-radius: 8px;
      height: 350px;
      img {
        height: 350px;
      }
    }
    img {
      width: 100%;
      height: 260px;
      min-height: 260px;
      object-fit: cover;
      transition: transform 0.35s ease;
      display: block;
      // border-radius: 8px 0 0 8px;
    }
  }
  &:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05); // 0 0 0 6px #eee, 0 0 0 8px $primary;
    .v-card__img {
      img {
        transform: scale(1.1) rotate(1deg);
      }
    }
  }
  &__content {
    padding: 1rem;
    display: flex;
    flex-direction: row;
  }
  &__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-grow: 1;
    span {
      margin-top: 0.5rem;
      font-weight: 400;
      font-size: 12px;
    }
  }
  &__detail {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    padding: 1rem;
    color: var(--primary-text);
    &--text {
      font-size: 1.2rem;
      font-weight: 400;
    }
    &--price {
      @include gradient-gen($primary);
      padding: 0.5rem;
      border-radius: 4px;
      margin-bottom: 0.5rem;
    }
  }
}

@media (max-width: 1600px) {
  .v-cards-home {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1400px) {
  .v-cards-home {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .v-cards-home {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .v-cards-home {
    grid-template-columns: repeat(2, 1fr);
  }
  .v-card {
    &__img {
      img {
        width: 100%;
        height: 220px;
        // border-radius: 8px 0 0 8px;
      }
    }
  }
}

@media (max-width: 576px) {
  .v-cards-home {
    grid-template-columns: 1fr;
  }
}

// @media (min-width: 576px) {
// }

.v-cursos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 3rem;
  column-gap: 3rem;
  width: 100%;
  margin-bottom: 2rem;
}

.v-cursos {
  &__content {
    transition: box-shadow 0.3s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: $third-color;
    // margin-bottom: 3rem;
    background-color: white;
    // @include gradient-gen($second-color);
    box-shadow: 0 2px 43px -4px rgba(0, 0, 0, 0.19);
    // @include boxshadow-md(white);
    border-radius: 8px;
    cursor: pointer;
    &:active {
      will-change: box-shadow;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05);
    }
  }

  &__img {
    height: 260px;
    position: relative;
    img {
      height: 260px;
      width: 100%;
      display: block;
      object-fit: cover;
      border-radius: 8px 8px 0 0;
    }
  }
  &__stock {
    position: absolute;
    color: white;
    bottom: 1rem;
    right: 0;
    font-size: 18px;
    background-color: $whatsapp;
    border-radius: 4px 0 0 4px;
    padding: 1rem;
    i {
      margin-right: 1rem;
    }
  }
  &__details {
    padding: 1rem;
    // background-color: red;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    line-height: 1.7;
    &--title {
      font-size: 16px;
      text-align: center;
      color: darken(white, 70);
      font-weight: 500;
    }
    &--title-1 {
      font-size: 26px;
      text-align: center;
      // font-family: $font-secondary;
      color: $seven-color;
      padding: 0 2rem;
    }
    button {
      @include gradient-gen($seven-color);
      padding: 1.2rem 1.5rem;
      font-weight: bold;
      @include boxshadow-md($seven-color);
      color: white;
      margin-bottom: 1rem;
      &:hover {
        @include boxshadow-hover($seven-color);
      }
    }
  }
}
