/* ===== Форма «Заказать» (webform 50) — без агрегации ===== */
.page-node-50 h1,
.page-node-50 #page-title,
.page-node-50 .title {
  text-align: center !important;
}

#webform-ajax-wrapper-50,
.page-node-50 #content #webform-client-form-50,
.page-node-50 #webform-client-form-50 {
  margin-left: auto !important;
  margin-right: auto !important;
}

#webform-client-form-50,
.zakazat #webform-client-form-50,
.zakazat .webform-client-form {
  max-width: 760px !important;
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
  border: 1px solid #DBDBDB;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  padding: 16px 18px 20px;
  background: #fff;
}

/* Дубль заголовка «Заказать» внутри webform (остаётся H1 страницы) */
#webform-client-form-50 #webform-component-text,
.zakazat #webform-component-text {
  display: none !important;
}

#webform-client-form-50 .webform-component,
#webform-client-form-50 .form-item-captcha-response,
.zakazat #webform-client-form-50 .webform-component {
  clear: both;
  overflow: hidden;
  margin: 0 0 10px;
}

#webform-client-form-50 .webform-component label,
.zakazat #webform-client-form-50 .webform-component label {
  float: left !important;
  display: block !important;
  width: 135px !important;
  margin: 0 10px 0 0 !important;
  padding-top: 6px;
  font-size: 13px;
  line-height: 1.2;
  box-sizing: border-box;
}

#webform-client-form-50 input.form-text,
#webform-client-form-50 input.form-number,
#webform-client-form-50 select.form-select,
#webform-client-form-50 .form-item-captcha-response input,
#webform-client-form-50 input[name="captcha_response"],
.page-node-50 #webform-client-form-50 #webform-component-fio input.form-text,
.page-node-50 #webform-client-form-50 #webform-component-telefon input.form-text,
.zakazat #webform-client-form-50 input.form-text,
.zakazat #webform-client-form-50 .form-item-captcha-response input {
  float: left;
  width: 295px !important;
  max-width: calc(100% - 150px) !important;
  min-width: 0 !important;
  height: 28px !important;
  box-sizing: border-box;
  padding: 0 10px !important;
  border: 1px solid #DBDBDB !important;
  background: #fff !important;
  -webkit-border-radius: 5px !important;
  -moz-border-radius: 5px !important;
  border-radius: 5px !important;
  font-size: 14px;
  outline: 0 none !important;
  box-shadow: none !important;
}

#webform-client-form-50 textarea,
#webform-client-form-50 #webform-component-kommentariy textarea,
.zakazat #webform-client-form-50 textarea {
  float: left;
  width: 590px !important;
  max-width: calc(100% - 150px) !important;
  min-width: 0 !important;
  height: 87px !important;
  box-sizing: border-box;
  padding: 6px 10px !important;
  border: 1px solid #DBDBDB !important;
  background: #fff !important;
  -webkit-border-radius: 5px !important;
  -moz-border-radius: 5px !important;
  border-radius: 5px !important;
  font-size: 14px;
  outline: 0 none !important;
  box-shadow: none !important;
}

#webform-client-form-50 .form-item-captcha-response input,
#webform-client-form-50 input[name="captcha_response"],
.zakazat #webform-client-form-50 .form-item-captcha-response input {
  width: 202px !important;
  font-weight: bold;
}

#webform-client-form-50 .form-item-captcha-response input:focus,
#webform-client-form-50 input[name="captcha_response"]:focus {
  border: 1px solid #DBDBDB !important;
  outline: 0 none !important;
  box-shadow: none !important;
}

#webform-client-form-50 .description,
.zakazat #webform-client-form-50 .description {
  clear: both;
  margin-left: 145px !important;
  font-size: 12px;
  font-style: italic;
  color: #737373;
}

#webform-client-form-50 #webform-component-kukiboks input.form-checkbox,
#webform-client-form-50 #webform-component-kukiboks input[type="checkbox"] {
  float: left;
  width: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  height: 16px !important;
  margin: 4px 8px 0 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#webform-client-form-50 #webform-component-kukiboks label {
  float: none !important;
  display: inline !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding-top: 2px;
  vertical-align: middle;
  cursor: pointer;
}

#webform-client-form-50 #webform-component-kukiboks .description {
  margin-left: 24px !important;
}

#webform-client-form-50 .captcha {
  clear: both;
  overflow: hidden;
  margin: 10px 0;
}

#webform-client-form-50 .captcha > img {
  float: left;
  margin: 0 10px 0 145px;
}

#webform-client-form-50 .form-item-captcha-response {
  float: left;
  clear: none;
  overflow: visible;
}

#webform-client-form-50 .form-item-captcha-response label {
  float: none !important;
  width: auto !important;
  display: block !important;
  margin: 0 0 4px !important;
  padding-top: 0;
}

#webform-client-form-50 .form-actions,
.zakazat #webform-client-form-50 .form-actions {
  clear: both;
  margin-left: 145px;
}

#webform-client-form-50 input.form-submit,
.zakazat #webform-client-form-50 input.form-submit {
  margin-left: 0;
}
