/** Generators Page **/
.generators-section, .generatorModal {
  font-family: "Montserrat Alternates", sans-serif;
}
.generators-section h1, .generators-section h2, .generators-section h3, .generatorModal h1, .generatorModal h2, .generatorModal h3 {
  font-weight: 600;
}

.generators {
  background-color: #131316;
  padding-top: 114px;
}
.generators__container, .generators__hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.generators__container {
  max-width: 1480px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.generators__hero {
  background-position: top;
  background-size: cover;
  position: relative;
  height: 60vh;
  min-height: 565px;
  align-items: center;
  padding: 0 20px;
  line-height: 1.1;
  text-align: center;
}
.generators__hero:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}
.generators__title {
  font-family: "Montserrat Alternates", sans-serif;
  text-align: center;
  position: relative;
  font-weight: 600;
  font-size: clamp(46px, 8vw, 84px);
  letter-spacing: 0.16px;
  line-height: 1.15;
  margin-bottom: 40px;
  color: #ECEAEA;
  z-index: 1;
}
.generators__text {
  font-family: "Montserrat Alternates", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: clamp(32px, 8vw, 36px);
  letter-spacing: 0.16px;
  color: #ECEAEA;
  line-height: 1.25;
  text-align: center;
  width: 80%;
  margin: 0 auto 50px;
}
.generators .remarks__btn {
  max-width: 400px;
  margin: 0 auto;
}
.generators__wrapper {
  max-width: 1080px;
  margin: 40px auto;
}
.generators__items {
  gap: 3.6em;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
}
.generators .home__item {
  margin: 0;
}
.generators__item {
  font-family: "Montserrat", sans-serif;
  height: 100%;
  padding: 24px 36px;
  line-height: 1.4;
}
@media screen and (max-width: 767px) {
  .generators .home__item-icon {
    width: 42px;
    height: 42px;
  }
  .generators .home__items {
    gap: 24px;
  }
  .generators .home__item:last-child .home__item-icon {
    width: 85px;
    height: 60px;
    margin-bottom: 0;
  }
  .generators__hero {
    height: calc(100vh - 130px);
    padding-top: 50px;
  }
  .generators__text {
    font-size: clamp(26px, 8vw, 26px);
    margin-bottom: 50px;
    width: 100%;
  }
}

.selects-generators__wrapper {
  margin-bottom: 60px;
}
.selects-generators__text {
  max-width: 832px;
  margin: 0 auto;
}
.selects-generators .section-title-bg {
  width: 100vw;
}

/***/
.why-buy__group {
  position: relative;
  border-radius: 30px;
  max-width: 1447px;
  margin: 0 auto 40px;
  padding: 30px 20px;
  overflow: hidden;
}
.why-buy__group::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/generators/why-buy-bg.webp");
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.5;
}
.why-buy__group_title, .why-buy__group__items {
  position: relative;
  z-index: 2;
}
.why-buy__group_title {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.16px;
  color: #fff;
  margin-bottom: 50px;
}
.why-buy__group .why-buy__group_items {
  gap: 2.2em 3.6vw;
  grid-template-columns: repeat(auto-fill, minmax(263px, 1fr));
  margin-bottom: 0;
}
.why-buy__group .why-buy__item {
  color: #757577;
  text-align: center;
  display: flex;
  gap: 20px;
  flex-direction: column;
  padding: 20px;
}
.why-buy__group .why-buy__item_title {
  color: white;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.16px;
}
.why-buy__group .why-buy__item_text {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
}
@media screen and (max-width: 1260px) {
  .why-buy__group .why-buy__group_items {
    gap: 2em 2.6vw;
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 765px) {
  .why-buy__group .why-buy__group_items {
    grid-template-columns: 1fr;
  }
}

/***/
.generator-info {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../img/generators/generator_bg_info.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 30px;
  padding: 70px 20px;
  margin-bottom: 70px;
  position: relative;
  overflow: hidden;
}
.generator-info:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}
.generator-info__text {
  position: relative;
  z-index: 1;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  text-align: center;
  line-height: 1.6;
  font-size: 26px;
  letter-spacing: 0.16px;
  color: #FFFFFF;
  max-width: 1220px;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .generator-info {
    padding: 30px 20px;
    margin-bottom: 40px;
  }
  .generator-info__text {
    font-size: 18px;
  }
}

/***/
.generator-products .selects__items {
  gap: 3vh 3.2vw;
}
.generator-products .selects__items, .generator-products .selects__item {
  grid-template-columns: 1fr 1fr;
}
.generator-products .selects__item {
  display: grid;
  padding: 0;
  overflow: hidden;
}
.generator-products__thumbnail, .generator-products__content {
  display: flex;
}
.generator-products__thumbnail {
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.generator-products__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.generator-products__content {
  padding: 25px 20px;
  flex-direction: column;
  text-align: center;
  justify-content: space-between;
  gap: 1.6em;
  height: 100%;
}
.generator-products__item_title {
  font-size: 24px;
  letter-spacing: 0.16px;
  color: #FFFFFF;
}
.generator-products__item_text {
  font-weight: 400;
  font-size: 15px;
  color: #FFFFFF;
}
@media screen and (min-width: 1024px) {
  .generator-products .selects__item img {
    filter: brightness(0.5);
    transition: filter 0.1s;
  }
  .generator-products .selects__item:hover img {
    filter: brightness(1);
  }
}
@media screen and (max-width: 1280px) {
  .generator-products .selects__items {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 767px) {
  .generator-products .selects__item {
    grid-template-columns: 1fr;
    grid-template-rows: 250px auto;
  }
  .generator-products__content {
    padding: 18px 15px;
  }
}
@media screen and (max-width: 375px) {
  .generator-products .selects__item {
    grid-template-rows: 200px auto;
  }
}

#generatorForm {
  grid-auto-flow: dense;
  grid-template-columns: 1fr 1fr;
  display: grid;
  grid-gap: 1em;
}

.generatorModal__title {
  margin-bottom: 16px;
}

#generatorForm .remarks__message,
#generatorForm .remarks__btn {
  grid-column: 1/-1;
}

#generatorForm input, #generatorForm textarea {
  border: 1px solid #b2b2b3;
  background-color: #fff;
  color: #2b2e38;
}

@media screen and (max-width: 767px) {
  #generatorForm {
    grid-template-columns: 1fr;
  }
}
