/* Стили только для главной (shop/index.html). Подключается из main_layout при request.path == "/". */

/* Заголовки секций главной */
@media screen and (max-width:440px) {
  .title-elements__wrapper--main-page {
    padding-top: 16px;
    margin-bottom: 8px;
  }
}

.title-elements__wrapper--main-page h1 {
  font-weight: 300;
  font-size: 28px;
  line-height: 142.69%;
  color: #3B3B3A;
}

@media screen and (max-width: 940px) {
  .title-elements__wrapper--main-page h1 {
    font-size: 24px;
  }
}

/* Популярные товары */
.bestsellers {
  padding-bottom: 80px;
}
@media screen and (max-width:1791px) {
  .catalog__products--bestsellers .catalog__product:nth-last-child(-n+3) {
    display: none;
  }
}

@media screen and (max-width:1640px) {
  .catalog__products--bestsellers .catalog__product:nth-last-child(-n+3) {
    display: flex;
  }
}

@media screen and (max-width:1599px) {
  .catalog__products--bestsellers .catalog__product:nth-last-child(-n+3) {
    display: none;
  }
}

@media screen and (max-width:1347px) {
  .catalog__products--bestsellers .catalog__product:nth-last-child(-n+5) {
    display: none;
  }
}

@media screen and (max-width:1095px) {
  .catalog__products--bestsellers .catalog__product:nth-last-child(-n+5) {
    display: flex;
  }

  .catalog__products--bestsellers .catalog__product:nth-last-child(-n+4) {
    display: none;
  }
}

@media screen and (max-width:783px) {
  .catalog__products--bestsellers .catalog__product:nth-last-child(-n+5) {
    display: none;
  }
}

/* Герой, слайдер, CTA */
/* HERO SECTION */

.hero-section {
  position: relative;
}

.hero-section__wrapper {
  display: flex;
  margin-top: 60px;
}

@media screen and (max-width:780px) {
  .hero-section__wrapper {
    margin-top: 32px;
  }
}

/* SLIDER */
.top-slider {
  height: 350px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  overflow: hidden;
}

@media screen and (max-width:1200px) {
  .top-slider {
    margin-top: 0;
    height: 300px;
  }
}

@media screen and (max-width:980px) {
  .top-slider {
    height: 240px;
  }
}

/* Swiper (главная) */
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
  display: block;
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: hsla(0, 0%, 100%, 0.5);
  cursor: pointer;
  color: #3B3B3A;
}

.swiper-button-next {
  right: 16px;
}

.swiper-button-prev {
  left: 16px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  position: absolute;
  font-family: swiper-icons;
  font-size: 18px;
  font-weight: 800;
  text-transform: none !important;
  letter-spacing: 0;
  font-variant: initial;
  line-height: 1;
}

.swiper-button-prev:after {
  top: 11px;
  left: 15px;
}

.swiper-button-next:after {
  top: 11px;
  left: 17px;
}

.swiper-pagination-bullet {
  opacity: 0.45;
  background: rgb(233, 232, 232);
  height: 12px;
  width: 12px;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: rgb(240, 239, 239);
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: 12px;
}

@media screen and (max-width: 600px) {
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

/* Hero section CTA */

.hero-section__cta {
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 320px;
  width: 320px;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 52px;
  margin-left: 32px;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.hero-section__cta:hover {
  -webkit-box-shadow: 4px 4px 10px rgba(47, 48, 53, 0.08);
  box-shadow: 4px 4px 10px rgba(47, 48, 53, 0.08);
}

@media screen and (max-width: 1320px) {
  .hero-section__cta {
    display: none;
  }
}

.hero-section__cta-heading {
  font-weight: bold;
  font-size: 24px;
  line-height: 130%;
  color: #42424A;
  margin-bottom: 20px;
}

.hero-section__cta-text {
  font-size: 18px;
  line-height: 140%;
  color: #42424A;
  margin-bottom: 32px;
}

.hero-section__cta-decoration {
  position: absolute;
  top: -20px;
  right: -20px;
}

.hero-section__cta-decoration-img {
  height: 180px;
}

/* hero Buttons */

.hero-section__buttons {
  display: flex;
  margin-top: 32px;
}

@media screen and (max-width: 780px) {
  .hero-section__buttons {
    margin-top: 20px;
  }
}

.hero-section__buttons-wrapper {
  display: flex;
  width: 100%;
  gap: 32px;
}

@media screen and (max-width: 900px) {
  .hero-section__buttons-wrapper {
    gap: 20px;
  }
}

@media screen and (max-width: 700px) and (min-width: 581px) {
  .hero-section__buttons-wrapper {
    gap: 12px;
  }
  .hero-section__action-button {
    padding: 12px;
    height: 74px;
  }
  .hero-section__action-button-img-wrapper {
    height: 34px;
    min-height: 34px;
    width: 34px;
    min-width: 34px;
  }
  .hero-section__action-button-img {
    height: 18px;
  }
  .hero-section__action-button-text {
    margin-left: 8px;
    font-size: 13px;
  }
}

@media screen and (max-width: 580px) {
  .hero-section__buttons-wrapper {
    flex-direction: column;
    gap: 16px;
  }
}

.hero-section__action-button {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 20px;
  height: 100px;
  flex: 1 1 0;
  min-width: 0;
  padding: 16px 28px;
  cursor: pointer;
}

.hero-section__action-button:hover {
  -webkit-box-shadow: 4px 4px 10px rgba(47, 48, 53, 0.08);
  box-shadow: 4px 4px 10px rgba(47, 48, 53, 0.08);
}


@media screen and (max-width: 780px) {
  .hero-section__action-button {
    width: auto;
    padding: 16px;
    height: 80px;
  }
}

@media screen and (max-width: 580px) {
  .hero-section__action-button {
    width: 100%;
  }
}

/* Если баннер справа ещё показывается и места мало — прячем кнопку "Пригласить..." */
@media screen and (max-width: 1230px) and (min-width: 1116px) {
  .hero-section__action-button--invite {
    display: none;
  }
}

.hero-section__action-button-img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--accent-color);
  border-radius: 100px;
  height: 70px;
  min-height: 70px;
  width: 70px;
  min-width: 70px;
}

@media screen and (max-width: 1220px) {
  .hero-section__action-button-img-wrapper {
    height: 50px;
    min-height: 50px;
    width: 50px;
    min-width: 50px;
  }
}

@media screen and (max-width: 644px) {
  .hero-section__action-button-img-wrapper {
    height: 40px;
    min-height: 40px;
    width: 40px;
    min-width: 40px;
  }
}

.hero-section__action-button-img {
  height: 36px;
}

/* Чуть меньше иконка только у "Рассчитать крепеж" */
.hero-section__action-button--calculate .hero-section__action-button-img {
  height: 30px;
}

@media screen and (max-width: 1220px) {
  .hero-section__action-button-img {
    height: 24px;
  }

  .hero-section__action-button--calculate .hero-section__action-button-img {
    height: 22px;
  }
}

@media screen and (max-width: 644px) {
  .hero-section__action-button-img {
    height: 20px;
  }

  .hero-section__action-button--calculate .hero-section__action-button-img {
    height: 18px;
  }
}

.hero-section__action-button-text {
  font-size: 18px;
  font-weight: 600;
  margin-left: 20px;
}

@media screen and (max-width: 1220px) {
  .hero-section__action-button-text {
    font-size: 16px;
    margin-left: 12px;
  }
}

@media screen and (max-width: 644px) {
  .hero-section__action-button-text {
    font-size: 14px;
    margin-left: 10px;
  }
}

.hero-section__sale-banner-wrapper {
  display: flex;
  height: 100px;
  min-width: 320px;
  width: 320px;
  margin-left: 32px;
  border-radius: 20px;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-section__sale-banner {
  display: flex;
  width: 100%;
}

.hero-section__sale-banner-wrapper--mobile {
  display: none;
}

@media screen and (max-width: 1115px) {
  .hero-section__sale-banner-wrapper {
    display: none;
  }
  .hero-section__sale-banner-wrapper--mobile  {
    display: flex;
    width: 100%;
    margin-top: 32px;
  }
  
  @media screen and (max-width:780px) {
    .hero-section__sale-banner-wrapper--mobile  {
      margin-top: 20px;
    }
  }
  
  .hero-section__sale-banner {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
  }
  
  @media screen and (max-width: 440px) {
    .hero-section__sale-banner {
      border-radius: 10px;
    }
  }
  
  .hero-section__banner-img-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    max-width: 100%;
  }
  
  .hero-section__banner-img {
    max-width: 100%;
  }
  
  @media screen and (max-width: 1450px) {
    .hero-section__banner-img {
      max-width: none;
      height: 80px;
    }
  }
  
  @media screen and (max-width: 600px) {
    .hero-section__banner-img {
      max-width: none;
      height: 60px;
    }
  }
  
  @media screen and (max-width: 440px) {
    .hero-section__banner-img {
      max-width: none;
      height: 40px;
    }
  }
}

/* Сетка категорий на главной */
/* Styles for index page */
.categories__wrapper--index-page .hero-categories__category:nth-last-child(1) {
  display: none;
}

.categories__wrapper--index-page .hero-categories__category:nth-last-child(2) {
  display: none;
}

@media screen and (max-width: 1495px) {
  .categories__wrapper--index-page .hero-categories__category:nth-last-child(1) {
    display: flex;
  }

  .categories__wrapper--index-page .hero-categories__category:nth-last-child(2) {
    display: flex;
  }
}

/* Промо проектировщикам */
.engineering-promo {
  margin-top: 80px;
}

.engineering-promo__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.engineering-promo__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 50%;
}

@media screen and (max-width: 880px) {
  .engineering-promo__content {
    width: 100%;
  }
}


.engineering-promo__tag {
  font-size: 21px;
  line-height: 32px;
  color: #FE6D04;
  margin-bottom: 20px;
}

@media screen and (max-width: 1280px) {
  .engineering-promo__tag {
    font-size: 18px;
    line-height: 1.4em;
    margin-bottom: 14px;
  }
}

.engineering-promo__heading {
  font-weight: bold;
  font-size: 56px;
  line-height: 72px;
  color: #373741;
  margin-bottom: 26px;
  max-width: 500px;
}

@media screen and (max-width: 1280px) {
  .engineering-promo__heading {
    font-size: 42px;
    line-height: 1.4em;
    margin-bottom: 18px;
  }
}

@media screen and (max-width: 880px) {
  .engineering-promo__heading {
    max-width: 100%;
  }
}

@media screen and (max-width: 580px) {
  .engineering-promo__heading {
    font-size: 28px;
    margin-bottom: 12px;
  }
}

.engineering-promo__text {
  font-size: 18px;
  line-height: 27px;
  color: #373741;
  margin-bottom: 60px;
  max-width: 500px;
}

@media screen and (max-width: 1280px) {
  .engineering-promo__text {
    font-size: 16px;
    line-height: 1.4em;
    margin-bottom: 40px;
    max-width: 460px;
  }
}

@media screen and (max-width: 880px) {
  .engineering-promo__text {
    font-size: 16px;
    line-height: 1.4em;
    max-width: 100%;
  }
}

@media screen and (max-width: 440px) {
  .engineering-promo__text {
    margin-bottom: 24px;
  }
}

.engineering-promo__bullets {
  display: flex;
  margin-bottom: 60px;
}

@media screen and (max-width: 440px) {
  .engineering-promo__bullets {
    flex-direction: column;
    margin-bottom: 40px;
  }
}

/* @media screen and (max-width: 1280px) {
  .engineering-promo__text {
    font-size: 16px;
    line-height: 1.4em;
    margin-bottom: 40px;
    max-width: 460px;
  }
} */

.engineering-promo__bullets-item {
  padding-top: 10px;
  padding-left: 34px;
  padding-right: 34px;
  padding-bottom: 10px;
  border-right: 1px solid #E0DEE3;
  font-weight: bold;
  font-size: 18px;
  line-height: 27px;
  color: #373741;
  cursor: pointer;
}

.engineering-promo__bullets-item:hover {
  color: var(--accent-color);
}

.engineering-promo__bullets-item:first-child {
  padding-left: 0;
}

.engineering-promo__bullets-item:last-child {
  padding-right: 0;
  border-right: 1px solid transparent;
}

@media screen and (max-width: 1280px) {
  .engineering-promo__bullets-item {
    padding-top: 10px;
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 10px;
    font-size: 16px;
    line-height: 1.5em;
  }
}

@media screen and (max-width: 440px) {
  .engineering-promo__bullets-item {
    padding-top: 18px;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 18px;
    border-right: none;
    border-bottom: 1px solid #E0DEE3;
    font-size: 16px;
    line-height: 1.4;
  }
}

.cta-elements {
  display: flex;
  align-items: center;
}

@media screen and (max-width: 1060px) {
  .cta-elements {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media screen and (max-width: 880px) {
  .cta-elements {
    flex-direction: row;
    align-items: center;
  }
}

@media screen and (max-width: 520px) {
  .cta-elements {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media screen and (max-width: 520px) {
  .banner-sketch-wrapper .cta-elements {
    flex-direction: row;
    align-items: center;
  }
}

.title-elements__link--near-button {
  margin-left: 50px;
}

@media screen and (max-width: 1060px) {
  .title-elements__link--near-button {
    margin-left: 0;
    margin-top: 32px;
  }
}

@media screen and (max-width: 880px) {
  .title-elements__link--near-button {
    margin-left: 50px;
    margin-top: 0;
  }
}

@media screen and (max-width: 520px) {
  .title-elements__link--near-button {
    margin-left: 0;
    margin-top: 20px;
  }
}

.cta-elements__note {
  color: #ffffff;
  margin-left: 32px;
  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
}

@media screen and (max-width: 1060px) {
  .cta-elements__note {
    margin-left: 0;
    margin-top: 20px;
    font-size: 14px;
  }
}

@media screen and (max-width: 880px) {
  .cta-elements__note {
    margin-left: 20px;
    margin-top: 0;
  }
}

@media screen and (max-width: 520px) {
  .title-elements__link--near-button {
    margin-left: 0;
    margin-top: 20px;
  }
}

.engineering-promo__images {
  display: flex;
  width: 50%;
  height: 740px;
  position: relative;
}

@media screen and (max-width: 1470px) {
  .engineering-promo__images {
    width: 40%;
    height: 540px;
  }
}

@media screen and (max-width: 1050px) {
  .engineering-promo__images {
    width: 30%;
    height: 340px;
  }
}

.engineering-promo__img {
  position: absolute;
}

@media screen and (max-width: 1470px) {
  .engineering-promo__img {
    height: 400px;
  }
}

@media screen and (max-width: 1050px) {
  .engineering-promo__img {
    height: 200px;
  }
}

.engineering-promo__img--dots {
  bottom: 0;
  left: 116px;
}

@media screen and (max-width: 1470px) {
  .engineering-promo__img--dots {
    height: 200px;
    left: 116px;
  }
}

@media screen and (max-width: 1050px) {
  .engineering-promo__img--dots {
    height: 100px;
  }
}

.engineering-promo__img--rectangle {
  top: 0;
  right: 0;
}

.engineering-promo__img--test {
  top: 44px;
  right: 44px;
}

@media screen and (max-width: 1050px) {
  .engineering-promo__img--test {
    height: 240px;
  }
}


.engineering-promo__inner-img {
  max-width: 100%;
  max-height: 100%;
}


@media screen and (max-width: 880px) {
  .engineering-promo {
    margin-top: 40px;
  }

  .engineering-promo__wrapper {
    flex-direction: column;
  }

  .engineering-promo__content {
    order: 2;
    width: 100%;
  }

  .engineering-promo__images {
    order: 1;
    width: 100%;
    justify-content: center;
    height: 400px;
    margin-bottom: 40px;
  }

  .engineering-promo__img--rectangle {
    left: 50%;
  }

  .engineering-promo__img--test {
    right: 30%;
    height: 280px;
  }

  .engineering-promo__img--dots {
    height: 100px;
    left: auto;
    left: 30%;
  }
}

/* Отступ под фиксированную шапку (раньше был инлайн в index.html) */
body {
  padding-top: 140px;
}

@media screen and (max-width: 780px) {
  body {
    padding-top: 62px;
  }
}


/* Баннер каталога (sketch) — только главная */
/* Sketch banner */
.banner-sketch {
  background: #3B3B3A;
  border-radius: 30px;
  /* min-height: 360px; */
  position: relative;
  z-index: 5;
  overflow: hidden;
  margin-top: 100px;
  margin-bottom: 100px;
}

@media screen and (max-width: 900px) {
  .banner-sketch {
    margin-top: 60px;
    margin-bottom: 60px;
  }
}

@media screen and (max-width: 750px) {
  .banner-sketch {
    display: flex;
    flex-direction: column;
    padding: 40px 40px 60px 40px;
  }
}

@media screen and (max-width: 420px) {
  .banner-sketch {
    padding: 32px;
  }
}

.banner-sketch__bg-elements {
  position: absolute;
  height: 200%;
  top: 50%;
  right: 28px;
  transform: translate(0, -50%);
  z-index: 1;
}

@media screen and (max-width: 1770px) {
  .banner-sketch__bg-elements {
    right: -60px;
  }
}

@media screen and (max-width: 1490px) {
  .banner-sketch__bg-elements {
    right: -120px;
  }
}

@media screen and (max-width: 1490px) {
  .banner-sketch__bg-elements {
    right: -180px;
  }
}

@media screen and (max-width: 1225px) {
  .banner-sketch__bg-elements {
    right: -360px;
  }
}

@media screen and (max-width: 960px) {
  .banner-sketch__bg-elements {
    right: -460px;
  }
}

@media screen and (max-width: 740px) {
  .banner-sketch__bg-elements {
    height: 100%;
    right: 0;
    margin: 0 auto;
    top: 0;
  }
}

@media screen and (max-width: 700px) {
  .banner-sketch__bg-elements {
    right: -20%;
  }
}

@media screen and (max-width: 540px) {
  .banner-sketch__bg-elements {
    top: -20%;
    right: -50%;
  }
}

.banner-sketch-catalog {
  position: absolute;
  z-index: 1;
  top: -18px;
  right: 146px;
}

@media screen and (max-width: 1770px) {
  .banner-sketch-catalog {
    right: 56px;
  }
}

@media screen and (max-width: 1490px) {
  .banner-sketch-catalog {
    right: -10px;
    top: 0;
  }
}

@media screen and (max-width: 1280px) {
  .banner-sketch-catalog {
    right: -60px;
    top: 0;
  }
}

@media screen and (max-width: 1225px) {
  .banner-sketch-catalog {
    right: -90px;
    top: 30px;
  }
}

@media screen and (max-width: 960px) {
  .banner-sketch-catalog {
    right: -140px;
  }
}

@media screen and (max-width: 860px) {
  .banner-sketch-catalog {
    right: -180px;
  }
}

@media screen and (max-width: 740px) {
  .banner-sketch-catalog {
    position: relative;
    right: 0;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    top: 0;
  }
}

@media screen and (max-width: 420px) {
  .banner-sketch-catalog {
    margin-bottom: 16px;
  }
}

.banner-sketch-catalog img {
  max-height: 444px;
  display: flex;
}

@media screen and (max-width: 1490px) {
  .banner-sketch-catalog img {
    max-height: 400px;
  }
}

@media screen and (max-width: 740px) {
  .banner-sketch-catalog img {
    max-height: 300px;
  }
}

@media screen and (max-width: 540px) {
  .banner-sketch-catalog img {
    max-height: 240px;
  }
}

@media screen and (max-width: 420px) {
  .banner-sketch-catalog img {
    max-height: 200px;
  }
}

.banner-sketch-wrapper {
  margin: 66px 100px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  z-index: 20;
  max-width: 50%;
}

@media screen and (max-width: 1700px) {
  .banner-sketch-wrapper {
    margin: 60px;
  }
}

@media screen and (max-width: 750px) {
  .banner-sketch-wrapper {
    margin: 0;
    max-width: 100%;
  }
}

/* 
@media screen and (max-width: 1200px) {
  .banner-sketch-bg-heaters {
    height: 300px;
  }
}

@media screen and (max-width: 1030px) {
  .banner-sketch-wrapper {
    margin: 66px 100px 200px 100px;
  }
}

@media screen and (max-width: 900px) {
  .banner-sketch-wrapper {
    margin: 66px 100px 340px 100px;
  }
}

@media screen and (max-width: 580px) {
  .banner-sketch-wrapper {
    margin: 60px 60px 260px 60px;
  }

  .banner-sketch-bg-heaters {
    height: 240px;
  }
}

@media screen and (max-width: 380px) {
  .banner-sketch-wrapper {
    margin: 40px 40px 240px 40px;
  }

  .banner-sketch-bg-heaters {
    height: 200px;
  }
} */

.banner-sketch h2 {
  font-weight: bold;
  font-size: 42px;
  line-height: 142.69%;
  color: #FFFFFF;
  margin-bottom: 30px;
}

@media screen and (max-width:1640px) {
  .banner-sketch h2 {
    font-size: 34px;
  }
}

@media screen and (max-width:1110px) {
  .banner-sketch h2 {
    width: 400px;
  }
}

@media screen and (max-width:1125px) {
  .banner-sketch h2 {
    width: 350px;
    font-size: 24px;
  }
}

@media screen and (max-width:740px) {
  .banner-sketch h2 {
    width: 100%;
    font-size: 28px;
    margin-bottom: 20px;
  }
}

@media screen and (max-width:400px) {
  .banner-sketch h2 {
    font-size: 24px;
  }
}

.banner-sketch p {
  color: #FFFFFF;
  margin-bottom: 46px;
  font-size: 18px;
  line-height: 32px;
}

@media screen and (max-width:1640px) {
  .banner-sketch p {
    font-size: 16px;
    line-height: 28px;
  }
}

@media screen and (max-width:1125px) {
  .banner-sketch p {
    font-size: 14px;
    line-height: 22px;
    width: 300px;
  }
}

@media screen and (max-width:950px) {
  .banner-sketch p {
    width: 80%;
  }
}

@media screen and (max-width:420px) {
  .banner-sketch p {
    width: 100%;
    margin-bottom: 32px;
  }
}

.banner-sketch button {
  width: 214px;
  height: 52px;
  background-color: #FE6D04;
  border-radius: 10px;
  font-weight: bold;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  letter-spacing: 0.1px;
  color: #FFFFFF;
  transition: 0.2s ease-in;
  -webkit-transition: 0.2s ease-in;
  -moz-transition: 0.2s ease-in;
  -ms-transition: 0.2s ease-in;
  -o-transition: 0.2s ease-in;
}

.banner-sketch button:hover {
  background-color: #f76700;
}

@media screen and (max-width: 1080px) {
  .banner-sketch button {
    width: 180px;
    height: 48px;
    font-size: 16px;
    line-height: 24px;
  }
}

@media screen and (max-width: 420px) {
  .banner-sketch button {
    width: 120px;
    height: 46px;
  }
}

/* Ссылки «Смотреть все» в превью проектов на главной */
@media screen and (max-width:560px) {
  .title-elements__link--projects-top {
    display: none;
  }
}

.title-elements__link--projects-bottom {
  display: none;
}

@media screen and (max-width:560px) {
  .title-elements__link--projects-bottom {
    display: inline-block;
    margin-top: 32px;
  }
}
