.order-modal {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 5px;
  padding: 40px 36px 36px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  margin: 0 auto;
}

.order-modal__close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.order-modal__close:hover {
  opacity: 0.6;
}

.order-modal__close-icon {
  width: 20px;
  height: 20px;
  stroke: #333;
  stroke-width: 2;
}

.order-modal__title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.order-modal__subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 28px;
  line-height: 1.5;
}

.order-form {
  display: flex;
  flex-direction: column;
}

.modal[data-modal='callback-banner'] {
  max-width: 640px;
  width: calc(100% - 40px);
  max-height: calc(100dvh - 40px);
}

@supports not (height: 100dvh) {
  .modal[data-modal='callback-banner'] {
    max-height: calc(100vh - 40px);
  }
}

.modal[data-modal='callback-banner'] .modal__head {
  padding: 32px 60px 24px;
}

.modal[data-modal='callback-banner'] .modal__cont {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.modal[data-modal='callback-banner'] .form__item + .form__item {
  margin-top: 0;
}

.order-form__input {
  width: 100%;
  border: 1.5px solid #d0d0d0;
  border-radius: 5px;
  padding: 16px 18px;
  font-family: inherit;
  font-size: 15px;
  color: #1a1a1a;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 16px;
  background: #fff;
}

.order-form__input::placeholder {
  color: #aaa;
}

.order-form__input:focus {
  border-color: #a82428;
}

.order-form__input--error {
  border-color: #a82428;
}

.order-form__textarea {
  width: 100%;
  border: 1.5px solid #d0d0d0;
  border-radius: 5px;
  padding: 16px 18px;
  font-family: inherit;
  font-size: 15px;
  color: #1a1a1a;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 16px;
  background: #fff;
  resize: vertical;
  min-height: 110px;
}

.order-form__textarea::placeholder {
  color: #aaa;
}

.order-form__textarea:focus {
  border-color: #a82428;
}

.radio-group {
  margin-bottom: 22px;
}

.radio-group__label {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
  display: block;
}

.radio-group__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.radio-pill {
  position: relative;
  cursor: pointer;
}

.radio-pill__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-pill__text {
  display: inline-block;
  padding: 10px 22px;
  border: 1.5px solid #d0d0d0;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  color: #a82428;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
  background: #fff;
}

.radio-pill__text:hover {
  border-color: #a82428;
  background: #fdf5f5;
}

.radio-pill__input:checked + .radio-pill__text {
  background: #a82428;
  color: #fff;
  border-color: #a82428;
}

.order-form__submit {
  width: 100%;
  padding: 16px;
  background: #a82428;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.1s;
  margin-top: 8px;
}

.order-form__submit:hover {
  background: #8e1e21;
}

.order-form__submit:active {
  transform: scale(0.98);
}

.order-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}
