/* MS Quick Order — модалки. Визуал берём из темы (.modal / .form-grid / .field / .co-line). */

/* Тема задаёт .modal-back{display:grid}, поэтому атрибут hidden перебиваем явно. */
.modal-back.ms-qo-overlay[hidden] { display: none !important; }

/* Карточка товара в модалке — как в макете: фон, паддинг, радиус. */
.ms-qo-product { background: var(--bg-soft); padding: 12px; border-radius: var(--r); margin-bottom: 18px; }
.ms-qo-product__info { flex: 1; min-width: 0; }
.ms-qo-product__title { font-weight: 600; font-size: 14px; color: var(--ink); line-height: 1.35; }
.ms-qo-product__sku { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.co-line__media { width: 52px; height: 52px; flex: none; display: grid; place-items: center; }
.co-line__media img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }

/* Согласие на обработку — мелкое, выровнено по верху (как в макете). */
.ms-qo-form .ms-consent { margin-top: 14px; font-size: 12px; color: var(--muted); align-items: flex-start; }
.ms-qo-form .ms-consent .check__box { margin-top: 1px; }
.ms-qo-form .ms-consent a { color: var(--accent); }

/* Кнопка отправки + состояние загрузки. */
.ms-qo-form .ms-qo-submit { margin-top: 18px; }
.ms-qo-submit.is-loading { opacity: .7; pointer-events: none; }

/* Honeypot + сообщение результата. */
.ms-qo-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ms-qo-result { margin-top: 12px; font-size: 14px; text-align: center; }
.ms-qo-result.is-ok { color: var(--success); font-weight: 600; }
.ms-qo-result.is-err { color: var(--accent); }
