.offers__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 30px;
  padding-top: 40px;
}

.offers__card {
  max-width: 100%;
  width: 100%;
  height: 160px;
  background: var(--white-color);
  -webkit-box-shadow: var(--box-shadow);
  box-shadow: var(--box-shadow);
  border-radius: 10px;
  border-top: 2px solid var(--bg-color);
  position: relative;
  overflow: hidden;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.offers__card:hover a {
  -webkit-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2) inset;
  box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2) inset;
}

.offers__card a {
  width: 100%;
  height: 100%;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.offers__card h2 {
  position: absolute;
  top: 16px;
  left: 30px;
  font-weight: 700;
  font-size: 22px;
  line-height: 26px;
}

.offers__card p {
  position: absolute;
  left: 30px;
  bottom: 25px;
  font-weight: 400;
  font-size: 15px;
  line-height: 18px;
  max-width: 160px;
  background: initial;
}

.offers__card img {
  position: absolute;
  bottom: 15px;
  right: 10px;
  width: 50px;
  height: 50px;
}

.offers__card span:nth-child(1),
.offers__card span:nth-child(2),
.offers__card span:nth-child(3) {
  position: absolute;
  border-radius: 50%;
}

.offers__card span:nth-child(1) {
  width: 288px;
  height: 288px;
  background: #e8dbff;
  top: 50px;
  right: 75px;
}

.offers__card2 span:nth-child(1) {
  background: #eeffdb;
}

.offers__card3 span:nth-child(1) {
  background: #ffdbdb;
}

.offers__card4 span:nth-child(1) {
  background: #dbfff4;
}

.offers__card span:nth-child(2) {
  width: 247px;
  height: 247px;
  background: #dcc7ff;
  top: 72px;
  right: 85px;
}

.offers__card2 span:nth-child(2) {
  background: #d4ffae;
}

.offers__card3 span:nth-child(2) {
  background: #ffc7c7;
}

.offers__card4 span:nth-child(2) {
  background: #baffe4;
}

.offers__card span:nth-child(3) {
  width: 206px;
  height: 206px;
  background: #d0b4ff;
  top: 98px;
  right: 95px;
}

.offers__card2 span:nth-child(3) {
  background: #c1f592;
}

.offers__card3 span:nth-child(3) {
  background: #ffb4b4;
}

.offers__card4 span:nth-child(3) {
  background: #99fbdf;
}

/* ----------------------------- best-offers ------------------------- */

.best-offers {
  padding-top: 30px;
}

.best-offers__title h2 {
  font-weight: 700;
  font-size: 36px;
  line-height: 38px;
}

.best-offers__title p {
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  color: var(--blue-color);
}

.best-offers__buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  gap: 20px;
  margin: 50px 0;
}

.best-offers__buttons a {
  display: inline-block;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: var(--blue-color);
  background: var(--white-color);
  -webkit-box-shadow: var(--box-shadow);
  box-shadow: var(--box-shadow);
  border-radius: 30px;
  border: 2px solid rgba(71, 79, 160, 0.12);
  padding: 15px 30px;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  text-shadow: none;
}

.best-offers__buttons a:hover {
  -webkit-box-shadow: 0px 12.5px 10px rgba(71, 79, 160, 0.035) inset, 0px 6.6px 5.3px rgba(71, 79, 160, 0.028) inset, 0px 2.7px 2.2px rgba(71, 79, 160, 0.02) inset;
  box-shadow: 0px 12.5px 10px rgba(71, 79, 160, 0.035) inset, 0px 6.6px 5.3px rgba(71, 79, 160, 0.028) inset, 0px 2.7px 2.2px rgba(71, 79, 160, 0.02) inset;
  text-shadow: 2px 2px 4px rgba(179, 147, 211, 0.1), 3px 4px 4px rgba(179, 147, 211, 0.15), 4px 6px 4px rgba(179, 147, 211, 0.2), 5px 8px 4px rgba(179, 147, 211, 0.25);
}

.best-offers__type-title {
  font-weight: 700;
  font-size: 36px;
  line-height: 36px;
  margin: 40px 0;
  text-align: center;
}

.best-offers__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 25px;
  margin: 0 25px;
  /*scrollbar-width: none;*/
}

/*@media (max-width: 375px) {*/
/*  .best-offers__row {*/
/*    margin: 0 -10px;*/
/*    padding: 0;*/
/*  }*/
/*}*/

.best-offers__row::-webkit-scrollbar {
  height: 4px;
  background: var(--blue-color);
}

.best-offers__row::-webkit-scrollbar-thumb {
  background: var(--green-color);
}

.offers__left,
.offers__right {
  display: none;
  position: absolute;
  width: 24px;
  height: 24px;
  background: url(/img/svg/offers__left.svg) no-repeat center;
  background-size: contain;
  cursor: pointer;
}

.offers__left {
  left: 10px;
}

.offers__right {
  background: url(/img/svg/offers__right.svg) no-repeat center;
  background-size: contain;
  right: 10px;
}

.best-offers__block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0 10px;
  min-width: 150px;
  height: auto;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.best-offers__block img {
  width: 100%;
  height: 70px;
  -o-object-fit: contain;
  object-fit: contain;
  pointer-events: none;
}

.best-offers__block p {
  background: transparent;
  padding-bottom: 5px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.best-offers__block.active,
.best-offers__block:hover {
  -webkit-box-shadow: 0px 12px 14px rgba(71, 79, 160, 0.035), 0px 13px 15px rgba(71, 79, 160, 0.2),
    0px 2px 2px rgba(71, 79, 160, 0.02);
  box-shadow: 0px 12px 14px rgba(71, 79, 160, 0.035), 0px 13px 15px rgba(71, 79, 160, 0.2),
    0px 2px 2px rgba(71, 79, 160, 0.02);
  border-radius: 10px;
}

.best-offers__block.active p,
.best-offers__block:hover p {
  color: var(--blue-color);
}

.best-offers__form-section {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  -webkit-box-shadow: var(--box-shadow);
  box-shadow: var(--box-shadow);
  min-height: 150px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.best-offers__form {
  width: 100%;
  min-height: 130px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  -webkit-box-shadow: var(--box-shadow);
  box-shadow: var(--box-shadow);
  border-radius: 10px;
  margin: 10px;
  padding: 40px 30px;
  gap: 20px;
}

/* ----------------- @media --------------------- */

@media screen and (max-width: 1279px) {

  .offers__left,
  .offers__right {
    display: block;
  }
}

@media screen and (max-width: 1200px) {
  .offers__row {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 10px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 20px;
  }

  .offers__card {
    margin: 0 auto;
  }
}

@media screen and (max-width: 1023px) {
  .best-offers__form {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 10px;
  }
}

@media screen and (max-width: 849px) {
  .best-offers__buttons {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  .best-offers__form {
    background: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    margin: 0;
    padding: 10px 0;
    min-height: auto;
  }

  .best-offers__form-section {
    background: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    margin: 0;
    min-height: auto;
    gap: 0;
  }

  .offers__card {
    height: 140px;
  }
}

@media screen and (max-width: 767px) {
  .best-offers__form {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 10px;
  }

  .best-offers__title h2 {
    font-size: 30px;
    line-height: 30px;
    margin-bottom: 10px;
  }

  .best-offers__form .select {
    max-width: 300px;
  }

  .best-offers__buttons {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 30px 0;
  }

  .best-offers__buttons a {
    border-radius: 10px 10px 10px 3px;
    max-width: 310px;
    width: 100%;
    text-align: center;
    margin: 5px 0;
  }

  .best-offers__type-title {
    font-size: 20px;
    line-height: 22px;
    margin-bottom: 5px;
  }
}

@media screen and (max-width: 670px) {
  .offers__card h2 {
    top: 15px;
    font-size: 18px;
    line-height: 20px;
  }

  .offers__card p {
    bottom: 15px;
    font-size: 14px;
    line-height: 16px;
  }
}

@media screen and (max-width: 540px) {
  .offers__row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .offers__card {
    height: 110px;
  }

  .offers__card h2 {
    left: 15px;
  }

  .offers__card p {
    left: 15px;
    max-width: 220px;
  }
}

@media screen and (max-width: 460px) {
  .best-offers {
    background: none;
  }

  .best-offers__title h2 {
    font-size: 20px;
    line-height: 20px;
  }

  .best-offers__title p {
    color: var(--black-color);
  }

  .best-offers__buttons {
    margin: 20px 0;
  }
}

@media screen and (max-width: 420px) {
  .best-offers__form {
    padding: 20px 0;
  }
}