.collections-wrapper {
  padding-top: 100px;
}
.collections-wrapper__card {
  transition: ease all 150ms;
}
.collections-wrapper__card:nth-child(odd):hover,
.collections-wrapper__card:nth-child(even):hover {
  background-color: var(--color-primary--2);
  color: var(--color-white);
}

.collections-wrapper__content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}


.collections-wrapper__texts {
  padding: 0 var(--px160-percent);
}

.collection-wrapper__subtitle p {
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 30.8px */
}


.collections-wrapper__cards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  align-self: stretch;
}

.collections-wrapper__card {
  width: 100%;

  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.collections-wrapper__card:nth-child(odd){
  background-color: var(--color-primary--4);
}
.collections-wrapper__card:nth-child(even) {
  background-color: var(--color-primary--3);
}


.collections-wrapper__card.collection__card--last {
  background-image: url(../../images/collections/background-collection.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  background-color: var(--color-primary--1) !important;
}

.collection__card--last .collections-card {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  height: 100%;
}

.collection__card--last .collections-card__content {
  display: flex;
  flex-direction: column;
  gap: 48px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-shrink: 0;
  align-self: stretch;
  height: 100%;

  padding: 24px 32px;
}


.collection__card--last .collections-card__title {
  color: var(--color-white);

  text-align: center;
  font-family: var( --font-title);
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%; /* 56px */
  text-transform: uppercase;

  max-width: 300px;
}




@media all and (min-width: 480px) {
  .collections-wrapper__card {
    width: 50%;
  }

  .collections-wrapper__card:nth-child(1),
  .collections-wrapper__card:nth-child(4),
  .collections-wrapper__card:nth-child(5){
    background-color: var(--color-primary--4);
  }
  .collections-wrapper__card:nth-child(2),
  .collections-wrapper__card:nth-child(3),
  .collections-wrapper__card:nth-child(6),
  .collections-wrapper__card:nth-child(7) {
    background-color: var(--color-primary--3);
  }
}

@media all and (min-width: 900px) {
  .collections-wrapper__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .collections-wrapper__card:nth-child(odd){
    background-color: var(--color-primary--4);
  }
  .collections-wrapper__card:nth-child(even) {
    background-color: var(--color-primary--3);
  }

  .collections-wrapper__card {
    width: 100%;
  }

  .collection__card--last {
    grid-column: span 2;
  }


}

@media all and (min-width: 1300px) {
  .collections-wrapper__cards {
    grid-template-columns: repeat(4, 1fr);
  }

  .collections-wrapper__card:nth-child(5),
  .collections-wrapper__card:nth-child(7) {
    background-color: var(--color-primary--3);
  }

  .collections-wrapper__card:nth-child(6){
    background-color: var(--color-primary--4);
  }


  .collection__card--last {
    grid-column: span 1;
  }

}
