/* Быстрый заказ — оформление 1:1 к макету (светлый блок, шапки колонок, галочки) */

.quick-order.section {
  background: #f5f6fb;
  margin-top: -75px;
  padding: 56px 0 64px;
  position: relative;
  z-index: 2;
  border-radius: 0;
  scroll-margin-top: 88px;
}

/* Если анимация AOS не сработала — карточки всё равно видны */
.quick-order [data-aos].aos-init:not(.aos-animate) {
  opacity: 1 !important;
  transform: none !important;
}

.quick-order .section-title {
  margin-bottom: 28px;
}

.quick-order .section-title h2 {
  color: #3c2cb7;
}

.quick-order .section-title p {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  color: #8b8fa3;
}

@media (max-width: 600px) {
  .quick-order .section-title p {
    text-align: center;
  }
}

.quick-order .card {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(60, 44, 183, 0.12);
  background: #fff;
}

.quick-order .quick-order2__body,
.quick-order .card__body {
  padding: 22px 22px 18px;
}

.qo-col-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 0;
  text-align: left;
  border-bottom: 0;
}

/* Едва заметные линии между пунктами списков */
.quick-order .quick-order__list {
  gap: 0;
}

.quick-order .quick-order__item {
  padding: 11px 0;
  border-bottom: 1px solid rgba(60, 44, 183, 0.12);
}

.quick-order .quick-order__item:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

/* ПК: длинные названия услуг — перенос без налезания на соседние строки */
@media (min-width: 1201px) {
  .quick-order .quick-order__service .quick-order__item {
    padding: 12px 0;
  }

  .quick-order .quick-order__service .radio {
    align-items: flex-start;
  }

  .quick-order .quick-order__service .radio label {
    align-items: flex-start;
    padding-right: 30px;
    min-width: 0;
  }

  .quick-order .quick-order__service .radio label .img {
    margin-top: 1px;
  }

  .quick-order .quick-order__service .radio .tit {
    line-height: 1.25;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .quick-order .quick-order__service .radio-mark {
    top: 2px;
  }
}

.qo-col-head__icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #ecebff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qo-col-head__icon img {
  width: 20px;
  height: 20px;
  display: block;
}

.qo-col-head__title {
  font-family: "Mont", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  color: #1f2430;
  margin: 0;
}

.qo-col-head__sub {
  margin-top: 2px;
  font-size: 13px;
  line-height: 18px;
  color: #8b8fa3;
}

.qo-col-head--tariff {
  align-items: flex-start;
  justify-content: space-between;
}

.qo-col-head__main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.qo-tariff-info-btn {
  flex-shrink: 0;
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(57, 74, 232, 0.35);
  border-radius: 999px;
  background: #f4f5ff;
  color: #394ae8;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  padding: 7px 10px;
  cursor: pointer;
  text-align: left;
  max-width: 148px;
}

.qo-tariff-info-btn__ico {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.qo-tariff-info-btn:hover {
  color: #2b39c9;
  border-color: rgba(43, 57, 201, 0.55);
  background: #eceeff;
}

.qo-tariff-info-btn.is-empty {
  opacity: 0.55;
  cursor: default;
}

/* ——— Модальное окно «подробнее о тарифе» ——— */
.qo-tariff-modal .modal-backdrop.in {
  background: rgba(31, 36, 48, 0.45);
}

.qo-tariff-modal__shell {
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #f7f7fb;
  box-shadow: 0 24px 64px rgba(60, 44, 183, 0.22);
}

.qo-tariff-modal__shell .qo-tariff-modal__close.close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  background: #fff !important;
  color: #3c2cb7;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  opacity: 1;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.qo-tariff-modal__shell .qo-tariff-modal__close.close svg {
  width: 18px;
  height: 18px;
}

.qo-tariff-modal__shell .qo-tariff-modal__close.close svg path {
  fill: currentColor;
}

.qo-tariff-modal__shell .qo-tariff-modal__close.close:hover {
  color: #fff;
  background: #3c2cb7 !important;
  border-color: #fff;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22);
  transform: scale(1.05);
}

.qo-tariff-modal__shell .qo-tariff-modal__close.close:hover svg path {
  fill: currentColor;
}

.qo-tariff-modal__body {
  padding: 0;
  text-align: left;
}

.qo-tariff-modal__hero {
  padding: 28px 28px 22px;
  background: linear-gradient(135deg, #3c2cb7 0%, #5b4fe8 100%);
  color: #fff;
}

.qo-tariff-modal__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.qo-tariff-modal__title {
  margin: 0 36px 10px 0;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  color: #fff;
}

.qo-tariff-modal__price {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
}

.qo-tariff-modal__price-value {
  display: inline-block;
  margin-left: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 700;
  color: #fff;
}

.qo-tariff-modal__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: -18px 20px 0;
  padding-bottom: 4px;
  position: relative;
  z-index: 1;
}

.qo-tariff-modal__stat {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 8px 24px rgba(60, 44, 183, 0.08);
  border: 1px solid rgba(60, 44, 183, 0.06);
}

.qo-tariff-modal__stat-ico {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #ecebff;
  position: relative;
}

.qo-tariff-modal__stat-ico::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
}

/* Две палочки «паузы»: центрируем всю пару, а не первую черту */
.qo-tariff-modal__stat-ico--start::before {
  inset: auto;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 8px;
  margin: 0;
  background: #3c2cb7;
  border-radius: 1px;
  /* вторая палочка: 2px + зазор 3px = смещение 5px */
  box-shadow: 5px 0 0 #3c2cb7;
  /* ширина пары 2+3+2=7 → сдвиг на половину */
  transform: translate(-3.5px, -50%);
}

.qo-tariff-modal__stat-ico--speed::before {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 9px solid #3c2cb7;
  transform: rotate(90deg);
  background: transparent;
}

.qo-tariff-modal__stat-ico--min::before,
.qo-tariff-modal__stat-ico--max::before {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #3c2cb7;
}

.qo-tariff-modal__stat-ico--min::before {
  opacity: 0.45;
}

.qo-tariff-modal__stat-label {
  font-size: 11px;
  color: #8b8fa3;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.qo-tariff-modal__stat-value {
  font-size: 14px;
  font-weight: 600;
  color: #1f2430;
  line-height: 1.35;
}

.qo-tariff-modal__section {
  margin: 16px 20px 0;
  padding: 14px 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #ecebf3;
}

.qo-tariff-modal__section-title {
  font-size: 13px;
  font-weight: 700;
  color: #3c2cb7;
  margin-bottom: 8px;
}

.qo-tariff-modal__section-text {
  font-size: 14px;
  line-height: 1.5;
  color: #667085;
  white-space: pre-line;
}

.qo-tariff-modal__section-text--mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  color: #394ae8;
  word-break: break-all;
}

.qo-tariff-modal__alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 20px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #eef0ff;
  border: 1px solid rgba(57, 74, 232, 0.18);
}

.qo-tariff-modal__alert-ico {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.qo-tariff-modal__alert-text {
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
  color: #394ae8;
  white-space: pre-line;
}

.qo-tariff-modal__body > :last-child {
  margin-bottom: 20px;
}

.qo-tariff-modal .modal-body {
  padding: 0;
}

.qo-tariff-modal.modal--order-info .order-description {
  box-shadow: none;
  border: 0;
  padding: 0;
}

/* ПК: окно по центру экрана */
@media (min-width: 601px) {
  .qo-tariff-modal.modal.in {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    overflow-y: auto;
  }

  .qo-tariff-modal .modal-dialog {
    position: relative;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0;
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    flex-shrink: 0;
  }

  .qo-tariff-modal__shell {
    max-height: calc(100vh - 48px);
    overflow: auto;
  }
}

@media (max-width: 600px) {
  .qo-tariff-modal__stats {
    grid-template-columns: 1fr;
    margin-top: -14px;
  }

  .qo-tariff-modal__title {
    font-size: 19px;
  }

  .qo-tariff-modal__hero {
    padding: 24px 20px 18px;
  }

  .qo-tariff-modal__section,
  .qo-tariff-modal__alert,
  .qo-tariff-modal__stats {
    margin-left: 16px;
    margin-right: 16px;
  }
}

.quick-order .quick-order__title {
  margin-bottom: 0;
}

/* Галочки как в макете: заливка + белая галка */
.quick-order .radio-mark {
  border: 1.5px solid #c5c8d6;
  border-radius: 5px;
  background: #fff;
}

.quick-order .radio input:hover ~ .radio-mark {
  border-color: #3c2cb7;
}

.quick-order .radio input:checked ~ .radio-mark {
  background: #3c2cb7;
  border-color: #3c2cb7;
}

.quick-order .radio input:checked ~ .radio-mark:after {
  opacity: 1;
  background: url(../img/ico/radio-mark-white.svg) no-repeat center;
  background-size: 11px 8px;
  width: 12px;
  height: 10px;
}

.quick-order .order-checkout .form-group > label,
.quick-order .order-checkout .form__group label {
  color: #3c2cb7;
  font-weight: 600;
}

.quick-order .qo-add-link {
  color: #394ae8 !important;
  font-weight: 600;
  font-size: 14px;
}

.quick-order .qo-limits-note {
  margin: 0;
  color: #8b8fa3;
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
}

.quick-order .qo-urls-panel {
  margin-bottom: 8px;
  width: 100%;
}

.quick-order .qo-urls,
.quick-order .qo-url-row {
  width: 100%;
}

.quick-order .qo-url-row--single,
.quick-order .qo-urls-panel--single .qo-urls-meta {
  grid-template-columns: minmax(0, 1fr) 110px;
}

.quick-order .qo-url-row--single .qo-url-remove,
.quick-order .qo-urls-panel--single .qo-urls-meta__spacer:last-child {
  display: none;
}

.quick-order .qo-urls-meta {
  display: grid;
  grid-template-columns: 1fr 110px 40px;
  gap: 8px;
  margin-top: 4px;
}

.quick-order .qo-urls-meta .qo-limits-note {
  grid-column: 2;
}

.quick-order .qo-urls-meta .qo-limits-note {
  grid-column: 2;
}

.quick-order .qo-urls-meta .qo-urls-hint {
  grid-column: 1;
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  color: #8b8fa3;
}

@media (max-width: 576px) {
  .quick-order .qo-urls-meta {
    grid-template-columns: 1fr 40px;
  }

  .quick-order .qo-urls-meta .qo-urls-hint,
  .quick-order .qo-urls-meta .qo-limits-note {
    grid-column: 1;
    text-align: left;
  }

  .quick-order .qo-url-row--single,
  .quick-order .qo-urls-panel--single .qo-urls-meta {
    grid-template-columns: 1fr;
  }
}

.quick-order .limits_title {
  color: #8b8fa3;
  font-size: 12px;
}

.quick-order .order-checkout__total .tit {
  color: #1f2430;
  font-weight: 700;
}

.quick-order .order-checkout__total .btn {
  background: #3c2cb7;
  border-radius: 10px;
  margin-top: 12px;
}

.quick-order #qo-promocode::placeholder {
  text-transform: uppercase;
  color: #a0a4b8;
}

.quick-order .form-promocode {
  position: relative;
  width: 100%;
}

.quick-order .form-promocode .form-control {
  width: 100%;
  padding-right: 44px;
}

.quick-order .form-promocode__btn {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.quick-order .form-promocode__btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.quick-order .form-promocode__btn img {
  width: 18px;
  height: 18px;
  display: block;
}

.quick-order .qo-promo-msg {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
}

.quick-order .qo-promo-msg[hidden] {
  display: none !important;
}

.quick-order .qo-promo-msg__ico[hidden] {
  display: none !important;
}

.quick-order .qo-promo-msg__ico {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  display: block;
}

.quick-order .qo-promo-msg__text {
  flex: 1;
  min-width: 0;
}

.quick-order .qo-promo-msg--ok {
  background: #ecfdf3;
  border: 1px solid rgba(12, 214, 93, 0.28);
  color: #027a48;
}

.quick-order .qo-promo-msg--error {
  background: #fef3f2;
  border: 1px solid rgba(231, 60, 60, 0.22);
  color: #b42318;
}

.quick-order .order-form-error,
.svc-order-panel .order-form-error {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fef3f2;
  border: 1px solid rgba(231, 60, 60, 0.22);
  color: #b42318;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.quick-order .order-form-error[hidden],
.svc-order-panel .order-form-error[hidden] {
  display: none !important;
}

.quick-order .order-form-error.order-form-error--show,
.svc-order-panel .order-form-error.order-form-error--show {
  opacity: 1;
  transform: translateY(0);
}

.quick-order .order-form-error__ico,
.svc-order-panel .order-form-error__ico {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  display: block;
}

.quick-order .order-form-error__text,
.svc-order-panel .order-form-error__text {
  flex: 1;
  min-width: 0;
}

/* Карточки не раздуваются длинным текстом тарифа */
.quick-order .quick-order__row,
.quick-order .quick-order__card,
.quick-order .card__body,
.quick-order .order-checkout,
.quick-order .form-group,
.quick-order .tariff-select,
.quick-order .select {
  min-width: 0;
  max-width: 100%;
}

/* Выпадающий список тарифа — в стиле сайта (bootstrap-select) */
.quick-order .tariff-select .bootstrap-select,
.quick-order .platform-select .bootstrap-select,
.quick-order .services-select .bootstrap-select {
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
}

.quick-order .bootstrap-select > .dropdown-toggle,
.quick-order .bootstrap-select > .dropdown-toggle:focus,
.quick-order .bootstrap-select > .dropdown-toggle:hover,
.quick-order .bootstrap-select > .dropdown-toggle:active {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 36px 10px 14px;
  border: 1px solid #3c2cb7;
  border-radius: 8px;
  background: #fff !important;
  color: #1f2430 !important;
  font-family: "Mont", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  box-shadow: none !important;
  outline: 0 !important;
  overflow: hidden;
}

.quick-order .bootstrap-select > .dropdown-toggle .filter-option {
  text-align: left;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.quick-order .bootstrap-select > .dropdown-toggle .filter-option-inner,
.quick-order .bootstrap-select > .dropdown-toggle .filter-option-inner-inner {
  display: block;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #1f2430;
}

/* Иконки в мобильных выпадающих списках площадки/услуги */
.quick-order .select--icon .filter-option-inner-inner {
  display: flex !important;
  align-items: center;
  gap: 10px;
}

.quick-order .select--icon .glyphicon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-right: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.quick-order .select--icon .dropdown-menu li a .glyphicon {
  width: 24px;
  height: 24px;
  margin-right: 12px;
  top: 0;
  display: inline-flex;
  vertical-align: middle;
}

.quick-order .bootstrap-select .dropdown-menu {
  border: 1px solid rgba(60, 44, 183, 0.18);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(60, 44, 183, 0.12);
  padding: 6px 0;
  margin-top: 4px;
}

/* Мобилка: списки площадки / услуги / тарифа чуть выше.
   Высоту задаём только внешнему .open — не .inner, иначе скролл ломается. */
@media (max-width: 1000px) {
  .quick-order .bootstrap-select > .dropdown-menu.open,
  .svc-order-panel .bootstrap-select > .dropdown-menu.open,
  .new-order .bootstrap-select > .dropdown-menu.open {
    max-height: 245px !important;
    overflow: auto !important;
    -webkit-overflow-scrolling: touch;
    overflow-anchor: none;
  }
}

.bootstrap-select .dropdown-menu li {
  width: 100%;
}

.bootstrap-select .dropdown-menu li a {
  display: flex;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  align-items: center;
  cursor: pointer;
}

/* Полная ширина строки кликабельна (тип/тариф во всех формах заказа) */
.quick-order .bootstrap-select .dropdown-menu li a,
.svc-order-panel .bootstrap-select .dropdown-menu li a,
.new-order .bootstrap-select .dropdown-menu li a {
  display: flex !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  border-radius: 8px;
  padding: 10px 14px;
}

.quick-order .bootstrap-select .dropdown-menu li a {
  padding: 10px 14px;
  font-size: 14px;
  color: #1f2430;
  white-space: normal;
  word-break: break-word;
}

.quick-order .bootstrap-select .dropdown-menu li a:hover,
.quick-order .bootstrap-select .dropdown-menu li.selected a {
  background: #ecebff;
  color: #3c2cb7;
}

.quick-order .bootstrap-select .dropdown-toggle .caret {
  border-top-color: #3c2cb7;
}

@media (max-width: 991px) {
  .quick-order.section {
    margin-top: -40px;
    padding: 24px 0 48px;
  }

  .qo-col-head {
    margin-bottom: 12px;
    padding-bottom: 12px;
  }
}

/* /services — оформление заказа (как в быстром заказе) */
.svc-order-panel .qo-urls-panel {
  margin-bottom: 8px;
  width: 100%;
}

.svc-order-panel .qo-urls,
.svc-order-panel .qo-url-row {
  width: 100%;
}

.svc-order-panel .qo-urls {
  display: grid;
  gap: 10px;
}

.svc-order-panel .qo-url-row {
  display: grid;
  grid-template-columns: 1fr 110px 40px;
  gap: 8px;
  align-items: center;
}

.svc-order-panel .qo-urls-meta {
  display: grid;
  grid-template-columns: 1fr 110px 40px;
  gap: 8px;
  margin-top: 4px;
}

.svc-order-panel .qo-limits-note {
  grid-column: 2;
  margin: 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.35;
  color: #8b8fa3;
}

.svc-order-panel .qo-urls-hint {
  grid-column: 1;
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  color: #8b8fa3;
}

.svc-order-panel .qo-url-row--single,
.svc-order-panel .qo-urls-panel--single .qo-urls-meta {
  grid-template-columns: minmax(0, 1fr) 110px;
}

.svc-order-panel .qo-url-row--single .qo-url-remove,
.svc-order-panel .qo-urls-panel--single .qo-urls-meta__spacer:last-child {
  display: none;
}

.svc-order-panel .qo-url-row .form-control {
  min-width: 0;
  width: 100%;
}

.svc-order-panel .qo-url-count {
  text-align: center;
}

.svc-order-panel .qo-url-remove {
  width: 40px;
  height: 40px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #fff;
  color: #667085;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.svc-order-panel .qo-url-remove:hover {
  background: #fef3f2;
  color: #b42318;
  border-color: #fecdca;
}

.svc-order-panel .qo-add-link {
  display: inline-block;
  border: 0;
  background: transparent;
  color: #394ae8;
  cursor: pointer;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
}

.svc-order-panel .qo-add-link:disabled {
  color: #98a2b3;
  cursor: default;
}

.svc-order-panel #svc-promocode::placeholder {
  text-transform: uppercase;
  color: #a0a4b8;
}

.svc-order-panel .form-promocode {
  position: relative;
  width: 100%;
}

.svc-order-panel .form-promocode .form-control {
  width: 100%;
  padding-right: 44px;
}

.svc-order-panel .form-promocode__btn {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.svc-order-panel .form-promocode__btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.svc-order-panel .form-promocode__btn img {
  width: 18px;
  height: 18px;
  display: block;
}

.svc-order-panel .qo-promo-msg {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
}

.svc-order-panel .qo-promo-msg[hidden] {
  display: none !important;
}

.svc-order-panel .qo-promo-msg__ico[hidden] {
  display: none !important;
}

.svc-order-panel .qo-promo-msg__ico {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.svc-order-panel .qo-promo-msg--ok {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

.svc-order-panel .qo-promo-msg--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b42318;
}

@media (max-width: 576px) {
  .svc-order-panel .qo-urls-meta,
  .svc-order-panel .qo-urls-panel--single .qo-urls-meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .svc-order-panel .qo-urls-hint,
  .svc-order-panel .qo-limits-note {
    grid-column: 1 / -1;
    text-align: left;
  }

  .svc-order-panel .qo-url-row,
  .svc-order-panel .qo-url-row--single {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .svc-order-panel .qo-url-row:not(.qo-url-row--single) {
    grid-template-columns: minmax(0, 1fr) 40px;
  }

  .svc-order-panel .qo-url-row .form-control,
  .svc-order-panel .qo-url-count {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .svc-order-panel .qo-url-count {
    grid-column: 1 / -1;
  }

  .svc-order-panel .qo-url-row:not(.qo-url-row--single) .qo-url-remove {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    height: auto;
  }
}

.order-checkout__total .tit:has(.cs-price-old) {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}

.order-checkout__total .tit > .cs-total-label + .value,
.quick-order .order-checkout__total .tit > .cs-total-label + .value,
.new-order__form .order-checkout__total .tit > .cs-total-label + .value {
  margin-left: 0.45em;
}

.order-checkout__total .cs-price-old {
  margin-left: 8px;
  text-decoration: line-through;
  color: #8b8fa3;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.order-checkout__total .cs-price-old[hidden],
.order-checkout__total .cs-loyalty[hidden] {
  display: none !important;
}

.order-checkout__total .tit.cs-loyalty,
.quick-order .order-checkout__total .tit.cs-loyalty,
.new-order__form .order-checkout__total .tit.cs-loyalty {
  font-family: "Mont", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.35;
  color: #8b8fa3;
  margin: 0 0 16px;
}

.order-checkout__total .tit:has(+ .cs-loyalty),
.quick-order .order-checkout__total .tit:has(+ .cs-loyalty),
.new-order__form .order-checkout__total .tit:has(+ .cs-loyalty) {
  margin-bottom: 8px;
}

.order-checkout__total .tit.cs-loyalty .value {
  margin-left: 6px;
  font-weight: 400;
  color: #8b8fa3;
}
