@charset "UTF-8";
/* ---------- Заголовок страницы ---------- */
.main-order-page h1 {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: normal;
  color: #000;
}
@media (max-width: 1023px) {
  .main-order-page h1 {
    font-size: 24px;
  }
}
@media (max-width: 767px) {
  .main-order-page h1 {
    font-size: 22px;
  }
}
.order-form__subtitle {
  margin: 2px 0 30px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 15px;
  line-height: normal;
  color: #101010;
}
@media (max-width: 1023px) {
  .order-form__subtitle {
    margin-bottom: 20px;
  }
}
/* ---------- Форма ---------- */
.order-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px;
  border: 1px solid #d8d6d6;
  border-radius: 6px;
  font-family: "Montserrat", Arial, sans-serif;
  color: #101010;
  box-sizing: border-box;
}
.order-form *, .order-form *::before, .order-form *::after {
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .order-form {
    gap: 18px;
    padding: 12px;
  }
}
.order-form a {
  color: #d0021b;
  text-decoration: none;
}
.order-form a:hover {
  text-decoration: underline;
}
.order-form__columns {
  display: flex;
  gap: 20px;
}
@media (max-width: 1023px) {
  .order-form__columns {
    flex-direction: column;
  }
}
.order-form__section {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
@media (max-width: 767px) {
  .order-form__section {
    gap: 14px;
  }
}
.order-form__section-title {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.15;
}
@media (max-width: 767px) {
  .order-form__section-title {
    font-size: 16px;
  }
}
.order-form__divider {
  flex: 0 0 1px;
  align-self: stretch;
  background: #eee;
}
@media (max-width: 1023px) {
  .order-form__divider {
    display: none;
  }
}
.order-form__fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.order-form__checks {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.order-form__checks:empty {
  display: none;
}
@media (max-width: 767px) {
  .order-form__checks {
    gap: 18px;
  }
}
.order-form__captcha:empty {
  display: none;
}
.order-form__btn.shop2-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 16px 30px;
  border: 0;
  border-radius: 6px;
  background: #d0021b;
  box-shadow: none;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 18px;
  color: #fff;
  text-transform: none;
  cursor: pointer;
  transition: background-color 0.2s;
}
.order-form__btn.shop2-btn svg {
  flex: 0 0 20px;
}
.order-form__btn.shop2-btn:hover, .order-form__btn.shop2-btn:focus-visible {
  background: #b00217;
}
/* ---------- Блок доставки ---------- */
.order-pickup, .order-address {
  border-radius: 6px;
  background: #f7f7f7;
}
.order-pickup {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px;
}
@media (max-width: 767px) {
  .order-pickup {
    align-items: flex-start;
    gap: 16px;
    padding: 12px 12px 12px 12px;
  }
  .order-pickup .order-pickup__icon {
    margin-top: 5px;
  }
}
.order-pickup__icon {
  flex: 0 0 48px;
  line-height: 0;
}
.order-pickup__text {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  word-break: break-word;
}
.order-pickup__title {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.15;
}
@media (max-width: 767px) {
  .order-pickup__title {
    font-size: 16px;
  }
}
.order-pickup__address {
  font-size: 15px;
  line-height: normal;
}
.order-address {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}
@media (max-width: 767px) {
  .order-address {
    padding: 12px;
  }
}
.order-address__head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.order-address__head svg {
  flex: 0 0 20px;
}
.order-address__title {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.15;
}
@media (max-width: 767px) {
  .order-address__title {
    font-size: 16px;
  }
}
.order-address__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 1023px) {
  .order-address__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .order-address__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}
.order-address__grid .order-field--wide {
  grid-column: 1 / -1;
}
/* ---------- Поле (карточка) ---------- */
.order-field {
  position: relative;
}
.order-field--hidden {
  display: none;
}
.order-field__box {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin: 0;
  padding: 16px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fff;
  cursor: text;
  transition: border-color 0.2s, background-color 0.2s;
}
.order-field:not(.order-field--static) .order-field__box:hover, .order-field .order-field__box:focus-within {
  border-color: #d0021b;
}
.order-field__label {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.15;
  color: #101010;
}
.order-field__star {
  font-size: 15px;
  line-height: 16px;
  color: #ff604e;
}
.order-field__control, .order-field__value {
  display: block;
  width: 100%;
  min-height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  box-shadow: none;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.15;
  color: #101010;
}
.order-field__control {
  height: 24px;
}
.order-field__control::placeholder {
  color: rgba(16, 16, 16, 0.6);
  opacity: 1;
}
.order-field__control--textarea {
  height: auto;
  min-height: 24px;
  padding-top: 3px;
  resize: none;
  overflow: hidden;
}
.order-field__control--multi {
  height: auto;
}
.order-field__value {
  padding-top: 3px;
  white-space: pre-line;
  word-break: break-word;
  color: rgba(16, 16, 16, 0.6);
}
.order-field--static .order-field__box {
  cursor: default;
}
.order-field__select {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.order-field__select select.order-field__control {
  flex: 1 1 auto;
  padding-right: 30px;
  appearance: none;
  -webkit-appearance: none;
  background: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" viewBox="0 0 20 20"%3E%3Cpath stroke="%23101010" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.8" d="m5 7.5 5 5 5-5"/%3E%3C/svg%3E') no-repeat right center / 20px 20px;
  color: rgba(16, 16, 16, 0.6);
  cursor: pointer;
}
.order-field__select-icon {
  display: none;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  background: no-repeat center / 24px 24px;
}
.order-field[data-method="telegram"] .order-field__select-icon {
  display: block;
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"%3E%3Ccircle cx="12" cy="12" r="12" fill="%2329A9EB"/%3E%3Cpath fill="%23fff" d="M5.4 11.8 16.9 7.4c.5-.2 1 .1.8.9l-2 9.3c-.1.6-.5.8-1 .5l-2.9-2.1-1.4 1.3c-.2.2-.3.3-.6.3l.2-3 5.4-4.9c.2-.2 0-.3-.3-.1l-6.7 4.2-2.9-.9c-.6-.2-.6-.6.1-1z"/%3E%3C/svg%3E');
}
.order-field[data-method="whatsapp"] .order-field__select-icon {
  display: block;
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"%3E%3Ccircle cx="12" cy="12" r="12" fill="%2325D366"/%3E%3Cpath fill="none" stroke="%23fff" stroke-width="1.5" d="M6.5 17.5 7.3 15A5.6 5.6 0 1 1 9.4 17z"/%3E%3Cpath fill="%23fff" d="M10 9.3c.2-.4.6-.4.8 0l.4 1c.1.2 0 .4-.1.5l-.3.3c.4.8 1 1.4 1.8 1.8l.3-.3c.1-.1.3-.2.5-.1l1 .4c.4.2.4.6 0 .9-.6.5-1.4.6-2.2.2a6 6 0 0 1-2.6-2.6c-.3-.8-.2-1.6.4-2.1z"/%3E%3C/svg%3E');
}
.order-field[data-method="max"] .order-field__select-icon {
  display: block;
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"%3E%3Ccircle cx="12" cy="12" r="12" fill="%237B4DFF"/%3E%3Cpath fill="%23fff" d="M6.5 16.5V7.5h1.8l3.7 5 3.7-5h1.8v9h-1.9v-5.9l-3.6 4.8-3.6-4.8v5.9z"/%3E%3C/svg%3E');
}
.order-field[data-method="email"] .order-field__select-icon {
  display: block;
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"%3E%3Ccircle cx="12" cy="12" r="12" fill="%23D0021B"/%3E%3Crect width="10" height="7.5" x="7" y="8.25" fill="none" stroke="%23fff" stroke-width="1.4" rx="1"/%3E%3Cpath fill="none" stroke="%23fff" stroke-width="1.4" d="m7.5 9 4.5 3.5L16.5 9"/%3E%3C/svg%3E');
}
.order-field[data-method="phone"] .order-field__select-icon {
  display: block;
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"%3E%3Ccircle cx="12" cy="12" r="12" fill="%2334C759"/%3E%3Cpath fill="%23fff" d="M9.2 7.2c.3-.3.8-.3 1 .1l1 1.7c.2.3.1.7-.1 1l-.7.6a6.5 6.5 0 0 0 3 3l.6-.7c.3-.2.7-.3 1-.1l1.7 1c.4.2.4.7.1 1l-.9.9c-.6.6-1.6.7-2.4.3a10 10 0 0 1-4.4-4.4c-.4-.8-.3-1.8.3-2.4z"/%3E%3C/svg%3E');
}
.order-field__options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 15px;
}
.order-field__note {
  display: block;
  margin-top: 6px;
  padding: 0 16px;
  font-size: 12px;
  line-height: 1.3;
  color: rgba(16, 16, 16, 0.6);
}
.order-field.is-error .order-field__box {
  border-color: rgba(255, 96, 78, 0.2);
  background: rgba(255, 96, 78, 0.1);
}
.order-field.is-error .order-field__label, .order-field.is-error .order-field__control, .order-field.is-error .order-field__control::placeholder {
  color: #ff604e;
}
.order-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.order-radio input {
  accent-color: #d0021b;
}
/* ---------- Чекбоксы ---------- */
.order-check.mg-styler-label--checkbox {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  font-size: 15px;
  line-height: 1.15;
  color: #101010;
  cursor: pointer;
}
.order-check.mg-styler-label--checkbox__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.order-check.mg-styler-label--checkbox__box {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(210, 211, 224, 0.4);
  border-radius: 3px;
  background: #f4f4f4 no-repeat center / 20px 20px;
  transition: background-color 0.2s, border-color 0.2s;
}
.order-check.mg-styler-label--checkbox__text {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
}
.order-check.mg-styler-label--checkbox__star {
  color: #d0021b;
}
.order-check.mg-styler-label--checkbox:hover .order-check.mg-styler-label--checkbox__box {
  border-color: #d0021b;
}
.order-check.mg-styler-label--checkbox__input:focus-visible + .order-check.mg-styler-label--checkbox__box {
  box-shadow: 0 0 0 2px rgba(208, 2, 27, 0.25);
}
.order-check.mg-styler-label--checkbox__input:checked + .order-check.mg-styler-label--checkbox__box {
  border-color: #d0021b;
  background-color: #d0021b;
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" viewBox="0 0 20 20"%3E%3Cpath stroke="%23fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.8" d="m5 10.5 3.2 3L15 6.5"/%3E%3C/svg%3E');
}
.order-check.mg-styler-label--checkbox.is-error .order-check.mg-styler-label--checkbox__box {
  border-color: rgba(255, 96, 78, 0.6);
  background-color: rgba(255, 96, 78, 0.1);
}
.order-check.mg-styler-label--checkbox--small {
  font-size: 14px;
}
.order-check.mg-styler-label--checkbox--small .order-check__box {
  flex-basis: 20px;
  width: 20px;
  height: 20px;
  background-size: 16px 16px;
}
@media (max-width: 767px) {
  .order-check.mg-styler-label--checkbox {
    align-items: flex-start;
  }
}
