.kitchen-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.kitchen-card {
  display: flex;
  flex-direction: column;
  min-width: 0; // fix problem with calculate for Swiper
  border: 1px solid $gray;
  border-radius: 4px;

  &__carousel {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    width: 100%;
    max-width: 100%;
  }

  &__slide-wrapper {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    width: 100%;
    max-width: 100%;
  }

  &__slide {
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
  }

  &__sticker {
    position: absolute;
    top: 0;
    left: 0;
    width: 168px;
  }

  &__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  &__title {
    margin-bottom: 0;
  }

  &__parameters {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  &__finishes {
    display: flex;
    align-items: center;
    gap: 8px;

    &::before {
      content: '';
      height: 16px;
      width: 1px;
      background-color: $gray;
    }
  }

  &__next-btn,
  &__prev-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    background: rgba($black, .3);
    display: flex;
    justify-content: center;
    align-items: center;
    color: $white;
    font-size: 1.125rem;
    cursor: pointer;

    &.swiper-button-disabled {
      display: flex !important;
      opacity: .5;
    }
  }

  &__next-btn {
    right: 16px;
  }

  &__prev-btn {
    left: 16px;
  }

  &__strips:empty {
    display: none;
  }

  &__price--padded-top {
    margin-top: 20px;
  }

  &__price--padded-bottom {
    margin-bottom: 42px;
  }

  &__cta {
    margin-top: auto;
  }
}

@include media-breakpoint-up(md) {
  .kitchen-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }  
}

@include media-breakpoint-up(lg) {
  .kitchen-cards {
    grid-template-columns: repeat(3, 1fr);
  }  
}
