/* KIMI FINAL CSS FIX - Полная изоляция от глобальной темы */

/* ============================================
   1. СБРОС ТОЛЬКО ДЛЯ КОНТЕЙНЕРА (не для *)
   ============================================ */

/* Установка базового размера ТОЛЬКО для контейнера */
.kimi-contact-page {
  font-size: 16px;
  line-height: 1.5;
}

/* ============================================
   2. HERO BADGE - Точные значения Kimi
   ============================================ */
.kimi-contact-page .hero-badge,
.kimi-contact-page .kmc-badge,
.hero-badge.kmc-badge,
.kmc-badge {
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
}

/* ============================================
   3. HERO TITLE - Точные значения Kimi
   ============================================ */
.kimi-contact-page .hero-title,
.kimi-contact-page .kmc-hero__title,
.hero-title.kmc-hero__title {
  font-size: clamp(36px, 4.2vw, 54px) !important;
  font-weight: 800 !important;
  line-height: 1.04 !important;
  letter-spacing: -0.02em !important;
}

/* ============================================
   4. HERO DESC - Точные значения Kimi
   ============================================ */
.kimi-contact-page .hero-desc,
.kimi-contact-page .kmc-hero__desc,
.hero-desc.kmc-hero__desc {
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
}

/* ============================================
   5. SECTION LABEL - Точные значения Kimi
   ============================================ */
.kimi-contact-page .section-label,
.kimi-contact-page .kmc-section__label,
.section-label.kmc-section__label {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
}

/* ============================================
   6. SECTION TITLE - Точные значения Kimi
   ============================================ */
.kimi-contact-page .section-title,
.kimi-contact-page .kmc-section__title,
.section-title.kmc-section__title {
  font-size: clamp(32px, 3.6vw, 48px) !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.02em !important;
}

/* ============================================
   7. MOBILE 390 - Точные значения Kimi
   ============================================ */
@media screen and (max-width: 480px) {
  .kimi-contact-page {
    font-size: 16px;
  }
  
  .kimi-contact-page .hero-badge,
  .kimi-contact-page .kmc-badge,
  .hero-badge.kmc-badge,
  .kmc-badge {
    font-size: 11px !important;
    letter-spacing: 0.12em !important;
  }
  
  .kimi-contact-page .hero-title,
  .kimi-contact-page .kmc-hero__title,
  .hero-title.kmc-hero__title {
    font-size: 28px !important;
    letter-spacing: -0.01em !important;
    line-height: 1.04 !important;
  }
  
  /* HERO DESC - ключевой фикс для 390 */
  .kimi-contact-page .hero-desc,
  .kimi-contact-page .kmc-hero__desc,
  .hero-desc.kmc-hero__desc {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }
  
  .kimi-contact-page .section-title,
  .kimi-contact-page .kmc-section__title,
  .section-title.kmc-section__title {
    font-size: 26px !important;
    letter-spacing: -0.01em !important;
  }
  
  .kimi-contact-page .section-label,
  .kimi-contact-page .kmc-section__label,
  .section-label.kmc-section__label {
    font-size: 11px !important;
    letter-spacing: 0.1em !important;
  }
}

/* ============================================
   8. TABLET 768 - Точные значения Kimi
   ============================================ */
@media screen and (max-width: 768px) and (min-width: 481px) {
  .kimi-contact-page .hero-title,
  .kimi-contact-page .kmc-hero__title,
  .hero-title.kmc-hero__title {
    font-size: 34px !important;
  }
  
  .kimi-contact-page .section-title,
  .kimi-contact-page .kmc-section__title,
  .section-title.kmc-section__title {
    font-size: 32px !important;
  }
  
  .kimi-contact-page .hero-desc,
  .kimi-contact-page .kmc-hero__desc,
  .hero-desc.kmc-hero__desc {
    font-size: 15px !important;
  }
}

/* ============================================
   9. HERO PADDING - Точные значения Kimi
   ============================================ */
@media screen and (max-width: 768px) {
  .kimi-contact-page .hero-block,
  .kimi-contact-page .kmc-hero,
  .hero-block.kmc-hero,
  .kmc-hero {
    padding: 24px 20px !important;
  }
}

@media screen and (max-width: 480px) {
  .kimi-contact-page .hero-block,
  .kimi-contact-page .kmc-hero,
  .hero-block.kmc-hero,
  .kmc-hero {
    padding: 24px 20px !important;
    border-radius: 14px !important;
  }
}

/* ============================================
   10. FEEDBACK FORM - Полная стилизация под Kimi
   ============================================ */

/* Обертка формы - применяется к форме внутри контентной области */
.kimi-contact-page ~ .feedback-form,
.kimi-contact-page ~ form[name="feedback"],
.kimi-contact-page ~ .feedback_block,
.kimi-contact-page + .feedback-form,
.kimi-contact-page + form[name="feedback"],
.kimi-contact-page + .feedback_block,
.kimi-contact-page .feedback-form,
.kimi-contact-page form[name="feedback"],
.kimi-contact-page .feedback_block,
.js_show_text > .feedback-form,
.js_show_text > form[name="feedback"],
.js_show_text > .feedback_block,
.kmc-wrap ~ .feedback-form,
.kmc-wrap ~ form[name="feedback"],
.kmc-wrap ~ .feedback_block {
  background: #ffc820 !important;
  border-radius: 16px !important;
  padding: 32px !important;
  max-width: 600px !important;
  margin: 32px auto !important;
  border: none !important;
  box-shadow: none !important;
}

/* Заголовок формы */
.kimi-contact-page ~ .feedback-form h3,
.kimi-contact-page ~ .feedback-form .form-title,
.kimi-contact-page .feedback-form h3,
.kimi-contact-page .feedback-form .form-title,
.js_show_text > .feedback-form h3,
.js_show_text > .feedback-form .form-title {
  font-family: Cuprum, Roboto, Arial, sans-serif !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #1a1a2e !important;
  margin: 0 0 8px !important;
  line-height: 1.1 !important;
}

/* Описание/подзаголовок формы */
.kimi-contact-page ~ .feedback-form .form-desc,
.kimi-contact-page ~ .feedback-form p,
.kimi-contact-page .feedback-form .form-desc,
.kimi-contact-page .feedback-form p,
.js_show_text > .feedback-form .form-desc,
.js_show_text > .feedback-form p {
  font-size: 15px !important;
  color: rgba(26, 26, 46, 0.8) !important;
  margin: 0 0 24px !important;
  line-height: 1.5 !important;
}

/* Контейнер полей */
.kimi-contact-page ~ .feedback-form .form-fields,
.kimi-contact-page ~ .feedback-form > div,
.kimi-contact-page .feedback-form .form-fields,
.kimi-contact-page .feedback-form > div,
.js_show_text > .feedback-form .form-fields,
.js_show_text > .feedback-form > div {
  display: flex !important;
  gap: 12px !important;
  max-width: 480px !important;
  margin: 0 auto !important;
}

/* Поле ввода */
.kimi-contact-page ~ .feedback-form input[type="tel"],
.kimi-contact-page ~ .feedback-form input[type="text"],
.kimi-contact-page ~ .feedback-form input[type="email"],
.kimi-contact-page .feedback-form input[type="tel"],
.kimi-contact-page .feedback-form input[type="text"],
.kimi-contact-page .feedback-form input[type="email"],
.js_show_text > .feedback-form input[type="tel"],
.js_show_text > .feedback-form input[type="text"],
.js_show_text > .feedback-form input[type="email"] {
  flex: 1 !important;
  height: 48px !important;
  padding: 0 16px !important;
  border: 1px solid rgba(26, 26, 46, 0.2) !important;
  border-radius: 10px !important;
  font-size: 15px !important;
  background: #ffffff !important;
  color: #1a1a2e !important;
  box-shadow: none !important;
  outline: none !important;
}

.kimi-contact-page ~ .feedback-form input:focus,
.kimi-contact-page .feedback-form input:focus,
.js_show_text > .feedback-form input:focus {
  border-color: #1a1a2e !important;
}

/* Кнопка отправки */
.kimi-contact-page ~ .feedback-form button[type="submit"],
.kimi-contact-page ~ .feedback-form .btn-submit,
.kimi-contact-page ~ .feedback-form input[type="submit"],
.kimi-contact-page .feedback-form button[type="submit"],
.kimi-contact-page .feedback-form .btn-submit,
.kimi-contact-page .feedback-form input[type="submit"],
.js_show_text > .feedback-form button[type="submit"],
.js_show_text > .feedback-form .btn-submit,
.js_show_text > .feedback-form input[type="submit"] {
  height: 48px !important;
  padding: 0 24px !important;
  background: #1a1a2e !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

/* Мобильная адаптация формы */
@media screen and (max-width: 480px) {
  .kimi-contact-page ~ .feedback-form,
  .kimi-contact-page ~ form[name="feedback"],
  .kimi-contact-page ~ .feedback_block,
  .kimi-contact-page .feedback-form,
  .kimi-contact-page form[name="feedback"],
  .kimi-contact-page .feedback_block,
  .js_show_text > .feedback-form,
  .js_show_text > form[name="feedback"],
  .js_show_text > .feedback_block {
    padding: 24px 20px !important;
    margin: 24px 16px !important;
    max-width: none !important;
  }
  
  .kimi-contact-page ~ .feedback-form h3,
  .kimi-contact-page .feedback-form h3,
  .js_show_text > .feedback-form h3 {
    font-size: 24px !important;
  }
  
  .kimi-contact-page ~ .feedback-form .form-fields,
  .kimi-contact-page ~ .feedback-form > div,
  .kimi-contact-page .feedback-form .form-fields,
  .kimi-contact-page .feedback-form > div,
  .js_show_text > .feedback-form .form-fields,
  .js_show_text > .feedback-form > div {
    flex-direction: column !important;
    gap: 12px !important;
  }
  
  .kimi-contact-page ~ .feedback-form input,
  .kimi-contact-page ~ .feedback-form button,
  .kimi-contact-page .feedback-form input,
  .kimi-contact-page .feedback-form button,
  .js_show_text > .feedback-form input,
  .js_show_text > .feedback-form button {
    width: 100% !important;
  }
}

/* ============================================
   MAXIMUM SPECIFICITY - без JS
   ============================================ */

/* Цепочка селекторов для максимальной специфичности */
html body.mainpage .content__center .kimi-contact-page section.hero-block span.hero-badge.kmc-badge,
html body.mainpage .content__center .kimi-contact-page section.hero-block span.kmc-badge,
html body .content__center .kimi-contact-page section.hero-block span.hero-badge,
html body .content__center .kimi-contact-page section.hero-block span.kmc-badge,
html body.mainpage .kimi-contact-page .hero-block .hero-badge,
html body.mainpage .kimi-contact-page .hero-block .kmc-badge,
html body .kimi-contact-page .hero-block .hero-badge,
html body .kimi-contact-page .hero-block .kmc-badge,
html body.mainpage .kimi-contact-page section .hero-badge,
html body.mainpage .kimi-contact-page section .kmc-badge {
  font-size: 11px !important;
  letter-spacing: 0.12em !important;
  font-weight: 800 !important;
}

html body.mainpage .content__center .kimi-contact-page section.hero-block p.hero-desc.kmc-hero__desc,
html body.mainpage .content__center .kimi-contact-page section.hero-block p.hero-desc,
html body .content__center .kimi-contact-page section.hero-block p.hero-desc,
html body.mainpage .kimi-contact-page .hero-block .hero-desc,
html body.mainpage .kimi-contact-page .hero-block .kmc-hero__desc,
html body .kimi-contact-page .hero-block .hero-desc,
html body .kimi-contact-page .hero-block .kmc-hero__desc {
  font-size: 15px !important;
  line-height: 1.5 !important;
}

@media screen and (min-width: 481px) {
  html body.mainpage .content__center .kimi-contact-page section.hero-block p.hero-desc,
  html body.mainpage .kimi-contact-page .hero-block .hero-desc,
  html body .kimi-contact-page .hero-block .hero-desc {
    font-size: 17px !important;
  }
}

/* Final contact-page cascade fixes. Typography is CSS-only; no inline JS is required. */
@media screen and (max-width: 480px) {
  body:has(.kmc-wrap) :is(#kmcSpecificityA#kmcSpecificityB#kmcSpecificityC, .kmc-wrap) .section-label.kmc-section__label,
  body:has(.kmc-wrap) :is(#kmcSpecificityA#kmcSpecificityB#kmcSpecificityC, .kmc-wrap) .kmc-section__label {
    font-size: 11px !important;
    line-height: 1 !important;
    letter-spacing: 0.1em !important;
    font-weight: 700 !important;
    padding: 6px 12px !important;
  }

  body:has(.kmc-wrap) :is(#kmcSpecificityA#kmcSpecificityB#kmcSpecificityC, .kmc-wrap) .section-title.kmc-section__title,
  body:has(.kmc-wrap) :is(#kmcSpecificityA#kmcSpecificityB#kmcSpecificityC, .kmc-wrap) .kmc-section__title {
    font-size: 26px !important;
    line-height: 1.05 !important;
    letter-spacing: -0.01em !important;
    font-weight: 800 !important;
  }

  body:has(.kmc-wrap) :is(#kmcSpecificityA#kmcSpecificityB#kmcSpecificityC, .request-section) .request-section__title.kmc-feedback-form__title,
  body:has(.kmc-wrap) :is(#kmcSpecificityA#kmcSpecificityB#kmcSpecificityC, .request-section) .request-section__title {
    font-size: 28px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.01em !important;
    font-weight: 800 !important;
    margin: 0 0 8px !important;
  }

  body:has(.kmc-wrap) :is(#kmcSpecificityA#kmcSpecificityB#kmcSpecificityC, .request-section) .kmc-feedback-form__subtitle {
    font-size: 15px !important;
    line-height: 1.45 !important;
    margin: 0 0 16px !important;
  }

  body:has(.kmc-wrap) :is(#kmcSpecificityA#kmcSpecificityB#kmcSpecificityC, .request-section) .kmc-feedback-form__form {
    gap: 12px !important;
  }

  body:has(.kmc-wrap) :is(#kmcSpecificityA#kmcSpecificityB#kmcSpecificityC, .request-section) input.kmc-feedback-form__input:not([type="hidden"]):not([aria-hidden="true"]):not([tabindex="-1"]) {
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 16px !important;
    border-radius: 10px !important;
    border: 1px solid #e5e7eb !important;
    font-size: 15px !important;
    line-height: 20px !important;
    font-weight: 400 !important;
    background: #fff !important;
  }

  body:has(.kmc-wrap) :is(#kmcSpecificityA#kmcSpecificityB#kmcSpecificityC, .request-section) button.kmc-feedback-form__submit,
  body:has(.kmc-wrap) :is(#kmcSpecificityA#kmcSpecificityB#kmcSpecificityC, .request-section) input[type="submit"].kmc-feedback-form__submit {
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 24px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    background: #ffc820 !important;
    color: #1a1a2e !important;
  }

  html body.mainpage #wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper .content__center main.main .js_show_text .kmc-wrap .section-label.kmc-section__label,
  html body.mainpage #wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper .content__center main.main .js_show_text .kmc-wrap .kmc-section__label {
    font-size: 11px !important;
    line-height: 1 !important;
    letter-spacing: 0.1em !important;
    font-weight: 700 !important;
  }

  html body.mainpage #wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper .content__center main.main .js_show_text .kmc-wrap .section-title.kmc-section__title,
  html body.mainpage #wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper .content__center main.main .js_show_text .kmc-wrap .kmc-section__title {
    font-size: 26px !important;
    line-height: 1.05 !important;
    letter-spacing: -0.01em !important;
    font-weight: 800 !important;
  }

  html body.mainpage #wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper .request-section .request-section__title.kmc-feedback-form__title,
  html body.mainpage #wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper .request-section .request-section__title {
    font-size: 28px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.01em !important;
    font-weight: 800 !important;
  }

  html body.mainpage #wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper .request-section input.kmc-feedback-form__input:not([type="hidden"]):not([aria-hidden="true"]):not([tabindex="-1"]) {
    font-size: 15px !important;
    line-height: 20px !important;
    height: 48px !important;
    min-height: 48px !important;
  }

  html body.mainpage #wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper .request-section button.kmc-feedback-form__submit,
  html body.mainpage #wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper#wrapper .request-section input[type="submit"].kmc-feedback-form__submit {
    font-size: 14px !important;
    line-height: 1 !important;
    height: 48px !important;
    min-height: 48px !important;
  }

  body:has(.kmc-wrap) :is(#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA, .kmc-wrap) .section-label.kmc-section__label,
  body:has(.kmc-wrap) :is(#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA, .kmc-wrap) .kmc-section__label {
    font-size: 11px !important;
    line-height: 1 !important;
    letter-spacing: 0.1em !important;
  }

  body:has(.kmc-wrap) :is(#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA, .kmc-wrap) .section-title.kmc-section__title,
  body:has(.kmc-wrap) :is(#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA#kmcA, .kmc-wrap) .kmc-section__title {
    font-size: 26px !important;
    line-height: 1.05 !important;
    letter-spacing: -0.01em !important;
  }
}

/* ============================================
   INLINE CTA FORM STYLES
   ============================================ */
.kmc-cta--form {
  background: #ffc820;
  border-radius: 16px;
  padding: 32px;
  margin: 32px 0;
}

.kmc-cta--form .kmc-cta__title {
  font-family: Cuprum, Roboto, Arial, sans-serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  color: #1a1a2e;
  margin: 0 0 8px;
  text-align: center;
}

.kmc-cta--form .kmc-cta__desc {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(26, 26, 46, 0.8);
  margin: 0 0 20px;
  text-align: center;
}

.kmc-cta__form {
  max-width: 480px;
  margin: 0 auto;
}

.kmc-cta__form .kmc-cta__controls {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.kmc-cta__form .kmc-cta__input {
  flex: 1;
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(26, 26, 46, 0.2);
  border-radius: 10px;
  font-size: 15px;
  background: #fff;
  color: #1a1a2e;
}

.kmc-cta__form .kmc-cta__input:focus {
  outline: none;
  border-color: #1a1a2e;
}

.kmc-cta__form button[type="submit"] {
  height: 48px;
  padding: 0 24px;
  background: #1a1a2e;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.kmc-cta__form button[type="submit"]:hover {
  background: #333355;
}

.kmc-cta__privacy {
  text-align: center;
  font-size: 12px;
  color: rgba(26, 26, 46, 0.7);
}

.kmc-cta__privacy a {
  color: #1a1a2e;
  text-decoration: underline;
}

@media screen and (max-width: 480px) {
  .kmc-cta--form {
    padding: 24px 20px;
    margin: 24px 0;
  }
  
  .kmc-cta--form .kmc-cta__title {
    font-size: 26px;
  }
  
  .kmc-cta__form .kmc-cta__controls {
    flex-direction: column;
  }
  
  .kmc-cta__form .kmc-cta__input,
  .kmc-cta__form button[type="submit"] {
    width: 100%;
  }
}

/* ============================================
   DELIVERY FORM STYLES
   ============================================ */
.kmc-delivery-form {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px;
  margin: 32px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.kmc-delivery-form .kmc-section__label {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.kmc-delivery-form .kmc-section__title {
  font-family: Cuprum, Roboto, Arial, sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  color: #1a1a2e;
  margin: 0 0 8px;
}

.kmc-delivery-form .kmc-section__subtitle {
  font-size: 15px;
  line-height: 1.5;
  color: #6b7280;
  margin: 0 0 24px;
}

.kmc-delivery-form__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kmc-delivery-form__row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kmc-delivery-form__input,
.kmc-delivery-form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 15px;
  background: #fff;
  color: #1a1a2e;
  transition: border-color 0.2s;
}

.kmc-delivery-form__input:focus,
.kmc-delivery-form__textarea:focus {
  outline: none;
  border-color: #ffc820;
}

.kmc-delivery-form__textarea {
  resize: vertical;
  min-height: 80px;
}

.kmc-delivery-form__submit {
  height: 48px;
  padding: 0 24px;
  background: #ffc820;
  color: #1a1a2e;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.kmc-delivery-form__submit:hover {
  background: #e5b400;
}

.kmc-delivery-form__privacy {
  font-size: 12px;
  color: #6b7280;
  text-align: center;
}

.kmc-delivery-form__privacy a {
  color: #0072bc;
  text-decoration: none;
}

.kmc-delivery-form__privacy a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 480px) {
  .kmc-delivery-form {
    padding: 24px 20px;
    margin: 24px 0;
  }
  
  .kmc-delivery-form .kmc-section__title {
    font-size: 24px;
  }
}

/* Main contacts: center yellow CTA block (overrides .kmc-cta--form horizontal margin) */
.kmc-wrap--contacts .kmc-cta--form {
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

@media screen and (max-width: 480px) {
  .kmc-wrap--contacts .kmc-cta--form {
    margin-left: 14px;
    margin-right: 14px;
    width: auto;
    max-width: none;
  }
}

/* City contacts: left sidebar height = content only (grid stretch fix) */
.kmc-wrap--city .kmc-layout {
  align-items: start !important;
}

.kmc-wrap--city .sidebar-nav.kmc-sidebar,
.kmc-wrap--city .kmc-sidebar {
  align-self: start !important;
  height: auto !important;
  min-height: 0 !important;
}

.kmc-wrap--city .kmc-sidebar__card {
  height: auto !important;
  min-height: 0 !important;
}
