/* =========================
   MANZANA GLOBAL SMALL UI
========================= */

.icon,
.benefit-icon,
.card-icon {
  width: 56px;
  height: 56px;
  background: #e8eddd;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.icon i,
.benefit-icon i,
.card-icon i {
  font-size: 38px;
  background: #5aa030;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.badge {
  display: inline-block;
  background: #e8eddd;
  padding: 4px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: #5aa030;
}


/* =========================
   MANZANA BADGE HEADING
   Маленький H2-бейдж: ★ Каталог / Популярное
========================= */

/* Базовая секция. По умолчанию — белый фон */
.manzana-heading-badge-section {
  width: 100%;
  padding: 30px 20px 0;
  background: #ffffff;
  box-sizing: border-box;
  font-family: 'Nunito', 'TildaSans', Arial, sans-serif;
}

/* Вариант секции на зелёном фоне */
.manzana-heading-badge-section--green {
  background: #e8eddd;
}

.manzana-heading-badge-section * {
  box-sizing: border-box;
}

.manzana-heading-badge {
  max-width: 1180px;
  min-height: auto;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

/* Базовый вид капсулы.
   Это вариант для белого фона: зелёная капсула + белый текст */
.manzana-heading-badge-section .manzana-heading-badge h2.manzana-heading-badge__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  max-width: max-content;
  min-height: 34px;
  margin: 0;
  padding: 8px 18px;
  border: 0;
  border-radius: 100px;
  background: #e8eddd;
  color: #333333;

  font-family: 'Nunito', 'TildaSans', Arial, sans-serif;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

/* Капсула именно на зелёном фоне:
   белая капсула + тёмный текст */
.manzana-heading-badge-section--green .manzana-heading-badge h2.manzana-heading-badge__label {
  background: #ffffff;
  color: #333333;
}

/* Все span внутри бейджа наследуют стиль от h2.
   Поэтому цвет меняется в одном месте, а не конфликтует */
.manzana-heading-badge-section .manzana-heading-badge h2.manzana-heading-badge__label span {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.manzana-heading-badge-section .manzana-heading-badge__icon {
  font-size: inherit;
  line-height: 1;
}

@media (max-width: 900px) {
  .manzana-heading-badge-section {
    padding: 20px 0 0;
  }

  .manzana-heading-badge {
    min-height: auto;
    padding: 30px;
  }
}

@media (max-width: 560px) {
  .manzana-heading-badge {
    padding: 20px 0 0 20px;
  }

  .manzana-heading-badge-section .manzana-heading-badge h2.manzana-heading-badge__label {
    padding: 8px 15px;
    font-size: 12px;
  }
}


/* =========================
   MANZANA NUMBER HEADING
   Номерные заголовки: 01 / 02
========================= */

.manzana-heading-number-section,
.manzana-heading-number-section-white {
  width: 100%;
  box-sizing: border-box;
  font-family: 'Nunito', 'TildaSans', Arial, sans-serif;
}

.manzana-heading-number-section *,
.manzana-heading-number-section-white * {
  box-sizing: border-box;
}

/* Вариант на зелёном фоне */
.manzana-heading-number-section {
  background: #e8eddd;
  padding: 28px 20px 18px;
}

/* Вариант на белом фоне */
.manzana-heading-number-section-white {
  background: #ffffff;
  padding: 0 20px;
}

/* Внутренняя карточка на зелёном фоне */
.manzana-heading-number {
  position: relative;
  max-width: 1180px;
  min-height: 120px;
  margin: 0 auto;
  padding: 20px 40px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(51, 51, 51, 0.08);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Внутренний блок на белом фоне */
.manzana-heading-number-white {
  position: relative;
  max-width: 1180px;
  min-height: 150px;
  margin: 0 auto;
  padding: 2px 40px;
  background: #ffffff;
  border: 0;
  box-shadow: none;
  outline: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.manzana-heading-number__bg,
.manzana-heading-number-white__bg {
  position: absolute;
  left: 34px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(90, 160, 48, 0.12);
  font-size: 112px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.08em;
  pointer-events: none;
  user-select: none;
}

.manzana-heading-number__bg {
  color: rgba(90, 160, 48, 0.10);
}

.manzana-heading-number__content,
.manzana-heading-number-white__content {
  position: relative;
  z-index: 2;
  margin-left: 132px;
}

.manzana-heading-number__line,
.manzana-heading-number-white__line {
  display: block;
  width: 68px;
  height: 2px;
  margin-bottom: 16px;
  border-radius: 2px;
  background: #5aa030;
}

.manzana-heading-number h2,
.manzana-heading-number-white h2 {
  margin: 0;
  color: #333333;
  font-size: 38px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.manzana-heading-number p,
.manzana-heading-number-white p {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(51, 51, 51, 0.72);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 300;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .manzana-heading-number-section {
    padding: 24px 16px 14px;
  }

  .manzana-heading-number-section-white {
    padding: 0 16px;
  }

  .manzana-heading-number,
  .manzana-heading-number-white {
    min-height: 130px;
    padding: 24px 28px;
    border-radius: 24px;
  }

  .manzana-heading-number__content,
  .manzana-heading-number-white__content {
    margin-left: 108px;
  }

  .manzana-heading-number__bg,
  .manzana-heading-number-white__bg {
    left: 24px;
    font-size: 96px;
  }

  .manzana-heading-number__line,
  .manzana-heading-number-white__line {
    width: 60px;
    margin-bottom: 14px;
  }
}

@media (max-width: 560px) {
  .manzana-heading-number-section {
    padding: 18px 14px 10px;
  }

  .manzana-heading-number-section-white {
    padding: 0 14px;
  }

  .manzana-heading-number,
  .manzana-heading-number-white {
    min-height: 125px;
    padding: 22px 20px;
    border-radius: 22px;
    align-items: center;
  }

  .manzana-heading-number__bg,
  .manzana-heading-number-white__bg {
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 82px;
  }

  .manzana-heading-number__content,
  .manzana-heading-number-white__content {
    margin-left: 96px;
    padding-top: 0;
  }

  .manzana-heading-number__line,
  .manzana-heading-number-white__line {
    width: 44px;
    margin-bottom: 12px;
  }

  .manzana-heading-number h2,
  .manzana-heading-number-white h2 {
    font-size: 30px;
    line-height: 1.12;
  }

  .manzana-heading-number p,
  .manzana-heading-number-white p {
    font-size: 16px;
    line-height: 1.45;
  }
}

@media (max-width: 380px) {
  .manzana-heading-number__bg,
  .manzana-heading-number-white__bg {
    font-size: 72px;
    left: 16px;
  }

  .manzana-heading-number__content,
  .manzana-heading-number-white__content {
    margin-left: 82px;
  }

  .manzana-heading-number__line,
  .manzana-heading-number-white__line {
    width: 36px;
  }

  .manzana-heading-number h2,
  .manzana-heading-number-white h2 {
    font-size: 28px;
  }
}