/* Кнопка "Прайс" */
.product_page__pricelist-btn {
    background: #ea491b !important;   /* кирпичный цвет */
    color: #fff !important;          /* белый текст */
    border: 1px solid #ea491b !important;
    border-radius: 6px;              /* округление углов (по желанию) */
    transition: all 0.2s ease-in-out;
}

/* Эффект при наведении */
.product_page__pricelist-btn:hover {
    background: transparent !important; /* убираем заливку */
    color: #000 !important;             /* текст становится черным */
    border: 1px solid #b22222 !important; /* оставляем контур */
}



/* Кнопка "Задать вопрос" */
.product_page__question-btn {
    background: #fff !important;              /* белая заливка */
    color: #000 !important;                   /* черный текст */
    border: 1px solid #7065f0 !important;     /* фиолетовая рамка */
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
}

/* Эффект при наведении */
.product_page__question-btn:hover {
    background: #7065f0 !important;           /* фиолетовая заливка */
    color: #fff !important;                   /* белый текст */
    border: 1px solid #7065f0 !important;     /* оставляем фиолетовую рамку */
}
/* GLOBOOS override: карта на карточке — мобильная высота уже */
@media (max-width: 768px) {
  #product_page .product_page__map {
    width: 100% !important;   /* перебиваем фиксированные 340/400px */
    max-width: 100% !important;
    height: 170px !important; /* сделай 160–200px по вкусу */
    overflow: hidden !important;
  }
}

.products__wrapper .hot {
  flex: 0 0 100%;
  width: 100%;
}
.products__wrapper .hot .container {
  max-width: 1128px;
  margin: 0 auto;
  padding: 0;
}
.btn--outline {
  background: transparent;
  color: #7065F0;
  border: 1px solid #7065F0;
}
.btn--ghost {
  background: transparent;
  color: #7065F0;
  border: 1px solid rgba(112, 101, 240, 0.2);
}

.services {
  background: linear-gradient(180deg, #F8F8FF 0%, #FFFFFF 100%);
  padding-bottom: 80px;
}
.services__section {
  padding: 80px 0;
}
.services__section--light {
  background: #F5F4FF;
}
.services__mission-box {
  background: #fff;
  border-radius: 24px;
  padding: 48px;
  max-width: 880px;
  margin: 0 auto;
  border: 1px solid #E7E6F5;
  text-align: center;
}
.services__mission-text {
  font-size: 18px;
  line-height: 1.6;
  opacity: .8;
}
.services__section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
}
.services__section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.services__section-link {
  color: #7065F0;
  font-weight: 600;
}
.services__hero {
  padding: 120px 0 80px;
}
.services__hero-content {
  display: flex;
  gap: 48px;
  align-items: center;
}
.services__hero-text {
  flex: 1 1 50%;
}
.services__hero-title {
  font-size: 48px;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 20px;
}
.services__hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  opacity: .75;
  margin-bottom: 32px;
}
.services__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.services__hero-actions--center {
  justify-content: center;
  margin-top: 32px;
}
.services__hero-actions--wrap {
  flex-wrap: wrap;
  justify-content: center;
}
.services__hero-btn {
  min-width: 200px;
}
.services .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  min-height: 52px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  gap: 8px;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.services .btn:hover {
  background: #5a51d6;
  color: #fff;
  border: 1px solid #5a51d6;
  box-shadow: 0 8px 20px rgba(90, 81, 214, 0.25);
}
.services .btn.btn--outline {
  background: transparent;
  color: #7065F0;
  border-color: rgba(112, 101, 240, 0.65);
}
.services .btn.btn--outline:hover {
  color: #fff;
  border: 1px solid #5a51d6;
  box-shadow: 0 8px 20px rgba(90, 81, 214, 0.25);
}
.services__hero-actions .btn {
  min-width: 200px;
}
.services__stats-cta .btn {
  min-width: 220px;
}
.services__hero-visual {
  flex: 1 1 50%;
  min-height: 260px;
  border-radius: 24px;
  background: linear-gradient(135deg, #DED9FF 0%, #F5F4FF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.services__hero-visual--with-image {
  background: linear-gradient(135deg, #E6E2FF 0%, #F6F5FF 45%, #FFFFFF 100%);
  box-shadow: 0 32px 48px rgba(112, 101, 240, 0.12);
  padding: 32px;
}
.services__hero-visual--with-image img {
  width: 100%;
  max-width: 420px;
  height: auto;
}
.services__workflow-wrapper {
  display: flex;
  gap: 40px;
  padding: 48px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(232, 229, 255, 0.65) 0%, #FFFFFF 100%);
  border: 1px solid rgba(112, 101, 240, 0.12);
  box-shadow: 0 32px 60px rgba(16, 10, 85, 0.08);
}
.services__workflow-intro {
  flex: 0 0 320px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.services__workflow-desc {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(16, 24, 40, 0.75);
}
.services__workflow-ctas {
  justify-content: flex-start;
}
.services__workflow-grid {
  flex: 1 1 auto;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.workflow-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid #E7E6F5;
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 16px 32px rgba(112, 101, 240, 0.08);
}
.workflow-card__badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7065F0 0%, #9F95FF 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.workflow-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.workflow-card__title {
  font-size: 20px;
  font-weight: 600;
}
.workflow-card__desc {
  margin: 0;
  opacity: .75;
  line-height: 1.5;
}
.services__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.services__cards--columns {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.services__cards--formats {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 960px;
  margin: 0 auto;
}
.services-card {
  background: #fff;
  border: 1px solid #E7E6F5;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 200px;
}
.services-card--numbered {
  position: relative;
  padding-top: 48px;
}
.services-card__number {
  position: absolute;
  top: 20px;
  left: 28px;
  font-size: 14px;
  font-weight: 600;
  color: #7065F0;
}
.services-card__title {
  font-size: 22px;
  font-weight: 600;
}
.services-card__desc {
  opacity: .75;
  line-height: 1.5;
}
.services-card__list {
  margin: 0;
  padding-left: 18px;
  opacity: .75;
  line-height: 1.5;
}
.services-card__cta {
  margin-top: auto;
  align-self: flex-start;
}
.services-card--list {
  min-height: auto;
}
.services-card__list--check {
  list-style: none;
  padding-left: 0;
  opacity: .85;
}
.services-card__list--check li {
  display: flex;
  gap: 8px;
  line-height: 1.5;
}
.services-card__list--check li::before {
  content: '✔';
  color: #7065F0;
  margin-right: 8px;
}
.services-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.services-steps--wide {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.services-step {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid #E7E6F5;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 210px;
}
.services-step__number {
  font-size: 14px;
  font-weight: 600;
  color: #7065F0;
}
.services-step__title {
  margin-top: 12px;
  font-weight: 600;
  font-size: 18px;
}
.services-step__desc {
  margin-top: 8px;
  opacity: .7;
  line-height: 1.5;
}
.services-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.services-plan {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid #E7E6F5;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.services-plan--popular {
  border-color: #7065F0;
  box-shadow: 0 12px 32px rgba(112, 101, 240, 0.15);
}
.services-plan__badge {
  display: inline-block;
  background: #7065F0;
  color: #fff;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
}
.services-plan__name {
  font-size: 20px;
  font-weight: 600;
}
.services-plan__price {
  font-size: 28px;
  font-weight: 700;
}
.services-plan__features {
  margin: 0;
  padding-left: 18px;
  opacity: .75;
  line-height: 1.6;
}
.services-plan__cta {
  margin-top: auto;
}
.services-locations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.services-locations__group h3 {
  font-weight: 600;
  margin-bottom: 12px;
}
.services-locations__group ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.5;
  color: rgba(16, 24, 40, 0.75);
}
.services-locations__group ul li + li {
  margin-top: 6px;
}
.services-locations__group ul a {
  color: #7065F0;
  text-decoration: none;
  font-weight: 500;
}
.services-locations__group ul a:hover {
  text-decoration: underline;
}
.services-faq {
  border: 1px solid #E7E6F5;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
}
.services-faq__item {
  padding: 20px 24px;
  border-bottom: 1px solid #E7E6F5;
}
.services-faq__summary {
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.services-faq__answer {
  margin-top: 12px;
  opacity: .75;
  line-height: 1.5;
}
.services__cta {
  padding: 80px 0;
}
.services__cta-inner {
  background: #100A55;
  border-radius: 24px;
  padding: 48px;
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}
.services__cta-title {
  font-size: 28px;
  font-weight: 600;
}
.services__cta-text {
  margin-top: 8px;
  opacity: .75;
}
.services__cta-btn {
  background: #fff;
  color: #100A55;
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-weight: 600;
}
.services__cta-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid #fff;
}
.services-list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.services-list__item {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #E7E6F5;
  line-height: 1.5;
  opacity: .8;
}
.services-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}
.services-stat {
  text-align: center;
  background: #fff;
  border-radius: 20px;
  padding: 32px 24px;
  border: 1px solid #E7E6F5;
}
.services-stat__value {
  font-size: 36px;
  font-weight: 700;
}
.services-stat__desc {
  margin-top: 8px;
  opacity: .75;
  line-height: 1.4;
}
.services-team {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}
.services-team__text {
  font-size: 18px;
  line-height: 1.6;
  opacity: .8;
  margin-bottom: 24px;
}
.services-contact {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}
.services-contact li span:first-child {
  font-weight: 600;
  margin-right: 6px;
}
.services-contact a {
  color: inherit;
}

.services__stats-cta {
  margin-top: 16px;
}

@media (max-width: 992px) {
  .services__hero-content {
    flex-direction: column;
  }
  .services__cards,
  .services-steps,
  .services-plans,
  .services__cards--columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .services__workflow-wrapper {
    flex-direction: column;
    padding: 40px 32px;
  }
  .services__workflow-intro {
    max-width: none;
  }
}

@media (max-width: 600px) {
  .services__hero-actions .btn {
    min-width: 100%;
  }
  .services__cta-inner .btn {
    width: 100%;
  }
  .services__workflow-ctas {
    justify-content: center;
  }
  .workflow-card {
    flex-direction: column;
    gap: 16px;
  }
  .workflow-card__badge {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .services__hero {
    padding: 80px 0 40px;
  }
  .services__hero-title {
    font-size: 34px;
  }
  .services__hero-visual--with-image {
    padding: 24px;
    box-shadow: 0 20px 36px rgba(112, 101, 240, 0.12);
  }
  .services__hero-subtitle {
    font-size: 16px;
  }
  .services__cards,
  .services__cards--columns,
  .services-steps,
  .services-plans {
    grid-template-columns: 1fr;
  }
  .services__workflow-grid {
    grid-template-columns: 1fr;
  }
  .services__workflow-wrapper {
    padding: 32px 24px;
  }
  .services__section {
    padding: 56px 0;
  }
  .services__cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .services__mission-box {
    padding: 32px 24px;
  }
}
.product__sticker {
  margin-bottom:-40px !important;
}
/* Дублируем для мобильных, чтобы перебить их спец.стили */
@media screen and (max-width: 1140px) {
  .product__sticker {
    margin-bottom:-40px !important;
  }
}

@media screen and (max-width: 768px) {
  .product__sticker {
    margin-bottom:-40px !important;
  }
}
/* Горячие предложения — картинка и контент внутри карточки */
.hot__products .product {
  overflow: hidden;
  padding: 0 0 30px;
  flex: 0 0 352px;
  max-width: 352px;
}

.hot__products .product > *:not(.product__image) {
  padding: 0 30px;
}

.hot__products .product .product__image {
  margin: 0 0 30px;
  width: 100%;
}

.hot__products .product .product__location {
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.hot__products .product .product__square {
  margin-top: 18px;
}

.hot__products.hot__products--hint {
  animation: hot-scroll-hint 1.2s ease-in-out;
  will-change: transform;
}

@keyframes hot-scroll-hint {
  0%,
  100% {
    transform: translateX(0);
  }
  30% {
    transform: translateX(-18px);
  }
  55% {
    transform: translateX(8px);
  }
  75% {
    transform: translateX(-4px);
  }
}

/* Горячие предложения — горизонтальный скролл на мобиле */
@media (max-width: 768px) {
  .hot__products {
    display: flex !important;
    flex-wrap: nowrap !important;          /* запретить перенос строк */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 10px 16px;
    justify-content: flex-start !important; /* убрать space-between с десктопа */
  }

  /* Карточки фиксированной ширины, чтобы прокручивались вбок */
  .hot__products .product {
    flex: 0 0 auto;
    width: 280px !important;                /* переопределяем .product { width:100% } из mobile CSS */
    min-width: 280px;
    max-width: 280px;
    margin-bottom: 0;
  }

  .hot__products .product .product__image {
    height: 160px;                          /* подгони при желании */
    margin: 0 0 25px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px 8px 0 0;
  }
}

.product_page__similar.hot .container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.product_page__similar.hot .hot__wrapper {
  max-width: 100%;
  padding: 0 32px;
  margin: 0;
}

.product_page__similar.hot .hot__products {
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 24px;
  padding: 30px 32px 16px;
  justify-content: flex-start;
  -webkit-overflow-scrolling: touch;
}

.product_page__similar.hot .hot__products .product {
  flex: 0 0 352px;
}

@media (max-width: 1024px) {
  .product_page__similar.hot .hot__wrapper {
    padding: 0 24px;
  }

  .product_page__similar.hot .hot__products {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .product_page__similar.hot .hot__wrapper {
    padding: 0 16px;
  }

  .product_page__similar.hot .hot__products {
    padding: 16px;
    gap: 16px;
  }

  .product_page__similar.hot .hot__products .product {
    flex: 0 0 280px;
  }
}
/* Мобилка: скрываем кнопку "перейти к фильтрам" в блоке горячих предложений
   и убираем лишний отступ над карточками */
@media (max-width: 768px) {
  .hot__filters {
    display: none !important;
  }
  .hot__products {
    padding-top: 0 !important; /* было 30px — убираем, чтобы блок поднялся */
  }
}
/* ТОП-карточки — цвет кнопки */
.top__more{
  background: #ea491b !important;   /* новый цвет фона */
  color: #fff !important;            /* цвет текста */
  border: 2px solid #ea491b !important;
}

/* наведение */
.top__more:hover{
  background: #fff !important;
  color: #000 !important;
  border-color: #E0DEF7 !important;  /* оставь/поменяй по вкусу */
}
/* Увеличенный отступ блока sales */
.sales {
    margin-bottom: 60px; /* можно 80px если нужен более крупный зазор */
}

.top {
    margin-bottom: 60px; /* можно 80px если нужен более крупный зазор */
}


/* === PROMO в каталоге — единственный источник правды === */

/* базовая безопасность */
.products__wrapper .product.product--promo { padding-top: 0; }

/* картинка промо (и .top__item_image) — 1 в 1 как у обычной карточки */
.products__wrapper .product.product--promo .product__image,
.products__wrapper .product.product--promo .top__item_image {
  position: relative;
  display: block;
  margin: 0 -30px 40px;        /* как в карточке */
  width: 300px;                /* как в карточке */
  height: 175px;               /* как в карточке */
  border-radius: 8px 8px 0 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;

  /* обнуляем возможные «топовские» сдвиги */
  top: 0; left: 0;
  padding: 0;
  transform: none;
  box-shadow: none;
}

/* оверлей с текстом на фото */
.products__wrapper .product.product--promo .promo__overlay {
  position: absolute;
  left: 0; right: 0; bottom: 10px;
  padding: 12px 14px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.35), 0 0 1px rgba(0,0,0,.35);
  pointer-events: none;
  z-index: 1;
}
.products__wrapper .product.product--promo .promo__title   { font-size: 22px; line-height: 1.15; font-weight: 800; }
.products__wrapper .product.product--promo .promo__subtitle{ font-size: 15px; line-height: 1.25; }

/* текст под фото используем как «цену» и сближаем с кнопкой */
.products__wrapper .product.product--promo .product__price { margin-bottom: 6px; }

/* кнопка по центру, ближе к тексту; убираем иконку-«булавку» */
.products__wrapper .product.product--promo .product__square {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 6px;
  margin-bottom: 18px;
  opacity: 1;
}
.products__wrapper .product.product--promo .product__square::before { display: none; }
.products__wrapper .product.product--promo .product__square .top__more {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* мобилку можно чуть ужать по типографике */
@media (max-width: 768px) {
  .products__wrapper .product.product--promo .promo__title   { font-size: 20px; }
  .products__wrapper .product.product--promo .promo__subtitle{ font-size: 14px; }
  /* если на мобиле у обычной карточки другая высота — продублируй сюда те же значения: */
  /* .products__wrapper .product.product--promo .product__image,
     .products__wrapper .product.product--promo .top__item_image { height: 160px; margin: 0 -30px 30px; } */
}
