  header, .header, #header,
  footer, .footer, #footer {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  /* Если ваш шаблон имеет обёртку, которая создаёт отступы под фиксированный хедер */
  body {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }


/* === ОСНОВНОЙ КОНТЕЙНЕР === */
.section-contacts {
  margin-bottom: 120px;
}

.feedback-widget {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px 50px;
  border: 1px solid #e6e6e6;
  border-radius: 60px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  transition: all .4s ease;
}

/* === ПЛАВНАЯ СМЕНА ШАГОВ === */
.feedback-step {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(20px);
  transition: all .5s cubic-bezier(0.25, 1, 0.3, 1);
}
.feedback-step--active {
  opacity: 1;
  max-height: 2000px;
  transform: translateY(0);
  overflow: visible;
}

/* === ЗАГОЛОВКИ === */
.feedback-title {
  font-size: 20px;
  font-weight: 600;
  color: #222;
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* === ЗВЁЗДЫ === */
.feedback-stars {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}

.feedback-star {
  font-size: 50px;
  background: none;
  border: none;
  color: #d3d3d3;
  cursor: pointer;
  transition: transform .2s ease, color .2s ease;
}
.feedback-star:hover { transform: scale(1.2); }

.feedback-star.active,
.feedback-star.hovered {
  color: #FFB400 !important;
}

/* === ПОДСКАЗКА === */
.feedback-hint {
  text-align: center;
  color: #777;
  font-size: 15px;
  margin: 20px 0 20px;
}

/* === ПЛОЩАДКИ === */
.feedback-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.feedback-link {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid #e6e6e6;
  background: #f9f9f9;
  color: #222;
  font-family: "DrukTextWideCyr-Medium", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .25s ease;
}
.feedback-link:hover {
  border-color: #5b61ff;
  background: #5b61ff;
  color: #fff;
  transform: translateY(-2px);
}

/* === ТЕГИ === */
.feedback-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 16px;
}

.feedback-tag {
  border: 1px solid #ddd;
  background: #f8f8f8;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  transition: all .25s ease;
}
.feedback-tag.selected {
  background: rgba(91,97,255,0.1);
  border-color: #5b61ff;
  color: #5b61ff;
}

/* === ФОРМА === */
#feedbackForm {
  display: block;
  max-width: 760px;
  margin: 0 auto;
}

#feedbackForm label {
  display: block;
  margin: 18px 0 6px;
  text-align: left;
  color: #222;
  font-weight: 600;
}

/* === ПОЛЯ === */
#feedbackForm .form-popup__input.form-input {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 50px;
  padding: 14px 20px;
  font-size: 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
  box-sizing: border-box;
}

#feedbackForm .form-popup__input.form-input:focus,
#feedbackForm textarea:focus {
  border-color: #5b61ff;
  box-shadow: 0 0 0 3px rgba(91,97,255,0.1);
  outline: none;
}

/* === TEXTAREA === */
#feedbackForm textarea#fb_comment {
  width: 100%;
  min-height: 140px;
  border-radius: 30px;
  resize: vertical;
  padding: 14px 20px;
}

/* === ЧЕКБОКС === */
#feedbackForm .form-group.form-check {
  display: flex;
  align-items: baseline;
  gap: 8px;
  justify-content: flex-start;
  margin-top: 14px;
}

#feedbackForm .form-check-input {
  width: 18px;
  height: 18px;
  accent-color: #5b61ff;
  margin: 0;
  flex-shrink: 0;
}

#feedbackForm .form-check-label {
  font-size: 14px;
  color: #222;
  line-height: 1.4;
}

/* === КНОПКИ === */
#feedbackForm .btn,
.feedback-step[data-step="platforms"] .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  cursor: pointer;
  margin: 10px 6px 0;
}

/* — Отправить — */
#feedbackForm .btn-primary,
.feedback-step[data-step="platforms"] .btn-primary {
  background: #5b61ff;
  border: none;
  border-radius: 999px;
  color: #fff;
  padding: 12px 28px;
  font-weight: 600;
  transition: all .25s ease;
}
#feedbackForm .btn-primary:hover,
.feedback-step[data-step="platforms"] .btn-primary:hover {
  background: #4449e6;
}

/* — Изменить оценку — */
#feedbackForm .btn-outline,
.feedback-step[data-step="platforms"] .btn-outline {
  border: 1px solid #5b61ff;
  border-radius: 999px;
  color: #5b61ff;
  background: transparent;
  padding: 12px 28px;
  font-weight: 600;
  transition: all .25s ease;
}
#feedbackForm .btn-outline:hover,
.feedback-step[data-step="platforms"] .btn-outline:hover {
  background: #5b61ff;
  color: #fff;
  transform: translateY(-1px);
}

/* === АДАПТИВ === */
@media (max-width: 768px) {
  .feedback-widget {
    padding: 30px 24px;
    border-radius: 40px;
  }

  .feedback-links {
    flex-direction: column;
    align-items: center;
  }

  .feedback-tags {
    justify-content: center;
  }

  #feedbackForm .btn,
  .feedback-step[data-step="platforms"] .btn {
    width: 100%;
    margin: 10px 0;
  }
}

@media (max-width: 480px) {
  .feedback-stars {
    gap: 6px;
  }

  .feedback-star {
    font-size: 36px;
  }
}



/* Только для ноутбуков: фиксируем страницу на 100% высоты */
@media (min-width: 769px) and (max-width: 1600px) {
    html, body {
        height: 100vh;
        overflow: hidden !important;
    }

    .section-contacts {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center; /* Центрирование по вертикали */
        margin: 0 !important; /* Удаляем огромный нижний маргин */
        padding: 0 !important;
    }

    .feedback-widget {
        margin: 0 auto !important;
        max-height: calc(100vh - 80px); /* Чтобы не вылезало */
        overflow: auto; /* Только виджет может скроллиться, страница — нет */
    }
}
