.add-seller-hero {
  background: url("/resources/costo/images/bg_images/add-seller-hero-bg.png") 0 0 no-repeat;
  background-size: cover;
  background-position: center;
}

@media (max-width: 768px) {
  .add-seller-hero {
    background-position-x: -215px;
    background-position-y: -30px;
  }
}

.top-cards-seller {
  background: url("/resources/costo/images/bg_images/top-bg.svg") 0 0 no-repeat;
}

.stats-section {
  position: relative;
  padding-left: 1rem;
  padding-right: 1rem;
}

.stats-custom-scrollbar {
  display: none;
  position: relative;
  height: 8px;
  background: #E0EEFF;
  border-radius: 4px;
  margin-top: 16px;
  overflow: hidden;
}

.stats-custom-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #248DFF;
  border-radius: 4px;
  transition: left 0.05s linear;
  cursor: grab;
}

.stats-custom-thumb:active {
  cursor: grabbing;
}

.stats-custom-scrollbar {
  cursor: pointer;
}

.top-cards__seporator {
  width: 2px;
  height: 100px;
  background: linear-gradient(
    180deg,
    rgba(196, 196, 196, 0) 0.01%,
    rgba(196, 196, 196, 0.42) 26.79%,
    #c4c4c4 48.55%,
    rgba(196, 196, 196, 0.29) 79.79%,
    rgba(196, 196, 196, 0) 107.13%
  );
}

.stats-scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
  margin-top: -110px;
  /* отступы чтобы первая карточка не обрезалась */
  margin-left: -1rem;
  margin-right: -1rem;
}

.stats-scroll-wrapper .stats-cards-inner:first-child {
  padding-left: 1rem;
}
.stats-scroll-wrapper .stats-cards-inner:last-child {
  padding-right: 1rem;
}

.stats-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.stats-cards-inner {
  display: flex;
  gap: 16px;
  /* flex-start + max-content — единственный способ корректно скроллить */
  justify-content: flex-start;
  width: max-content;
}

/* на xl экранах все 4 карточки влезают — центрируем без скролла */
@media (min-width: 1280px) {
  .stats-scroll-wrapper {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    overflow-x: visible;
  }

  .stats-cards-inner {
    justify-content: center;
    width: auto;
  }
}

@media (max-width: 639px) {
  .stats-scroll-wrapper {
    margin-top: -60px;
  }
}

.stat-card {
  background: url("/resources/costo/images/bg_images/card-bg-vector.webp") center / cover no-repeat, #248DFF;
}

.how-to-work-section {
  background: url("/resources/costo/images/bg_images/BGRounds.png") 0 0 no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.how-to-work-bottom-fade {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  height: 234px;
  background: linear-gradient(0deg, #258DFE 28.35%, rgba(36, 141, 255, 0.00) 71.42%);
}

@media (min-width: 1280px) {
  .how-to-work-bottom-fade {
    height: 364px;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .how-to-work-bottom-fade {
    height: 285px;
  }
}

@media (max-width: 639px) {
  .how-to-work-bottom-fade {
    margin-left: -1rem;
  }
}

.how-to-work-right-fade {
  display: none;
  position: absolute;
  right: -18px;
  top: 110px;
  height: 475px;
  width: 220px;
  background: linear-gradient(270deg, #248DFF 0%, rgba(36, 141, 255, 0.00) 80%);
}

@media (max-width: 639px) {
  .how-to-work-right-fade {
    display: block;
  }
}

.best-agregator-section {
  background: url("/resources/costo/images/bg_images/bg_phones.png") 0 0 no-repeat;
  background-position: center;
  background-size: 100%;
  background-size: cover;
}

@media (max-width: 639px) {
  .best-agregator-section {
    background: url("/resources/costo/images/bg_images/bg-phones-mobile.png") 0 0 no-repeat;
    background-position: bottom;
    background-size: contain;
    height: 550px;
  }
}

.brand-card {
  border-radius: 24px;
  display: flex;
  background-color: #f3faff;
}

@media (max-width: 1024px) {
  .brand-card {
    max-width: 168px;
  }
}

.connect-seller {
  display: flex;
  position: relative;
  background: url("/resources/costo/images/bg_images/BGRounds.png") 0 0 no-repeat;
  background-position: right;
  background-position: 510px;
}

.connect-seller .connect-seller-bg-phones {
  height: 242px;
  width: 100%;
  position: absolute;
  background: url("/resources/costo/images/bg_images/connect-seller-bg.png") 0 0 no-repeat;
  background-size: cover;
  bottom: 0;
}

#hde-contact-container {
  bottom: 70px !important;
}
