/* OnProfi поверх Slate «Маркет». Палитра — из настроек «Оформления сайта» (Slate 3453beb3), здесь только
   то, чего в теме нет: заголовок раздела, плагины оформления заказа (phonemask — в теме с 9277e094). 09.11.2026 */

/* Keep the category heading beside the breadcrumb container, before both columns. */
.slate[data-ds="market"] .onprofi-category-heading { margin-bottom: 24px; }
.slate[data-ds="market"] .onprofi-category-heading + .s-page .s-category { padding-top: 0; }

/* Подтверждение заказа: блоки «Вам перезвонить?» (свой HTML+CSS в оформлении заказа, .callme_fixed)
   и плагин communications («Если какого-то товара не окажется в наличии») — карточкой темы,
   радио — штатные Slate (их рисует base.css), без самодельных квадратиков #3bb300. 28.10.2026 */
.slate .callme_fixed_wrap:empty { display: none; }
.slate .callme_fixed,
.slate .plugin_communications {
    margin: 0 0 var(--space-4); padding: var(--space-5) var(--space-6);
    background: var(--color-bg-soft); border: var(--border-width) solid var(--color-border);
    border-radius: var(--radius-lg); box-shadow: none;
    font-size: var(--text-sm); line-height: 1.5; color: var(--color-fg);
}
.slate .callme_fixed > div,
.slate .plugin_communications .communications_title { margin: 0 0 var(--space-2); font-size: var(--text-base); font-weight: 600; }
.slate .plugin_communications .communications_description { margin: 0 0 var(--space-3); color: var(--color-fg-muted); }
.slate .callme_fixed ul,
.slate .plugin_communications ul { display: grid; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.slate .callme_fixed li,
.slate .plugin_communications ul li { margin: 0; }
.slate .callme_fixed li { display: flex; align-items: flex-start; gap: var(--space-3); }
.slate .callme_fixed input[type="radio"] { position: static; z-index: auto; opacity: 1; }
.slate .callme_fixed input[type="radio"] + label { display: block; width: auto; cursor: pointer; }
.slate .callme_fixed input[type="radio"] + label::before { content: none; }
.slate .callme_fixed label b { margin-right: var(--space-1); }
.slate .plugin_communications label { gap: var(--space-3); }
.slate .callme_fixed input[type="radio"],
.slate .plugin_communications input[type="radio"] { margin-top: 2px; }
.slate .plugin_communications.is-error { border-color: var(--color-danger, #c03333); }

/* Оформление заказа: клиентский CSS оформления (fixorder, «html body …») рисует серые рамки #ccc вокруг
   «Покупателя» и адреса и большие «*»/«✔» в углу. В Slate — карточкой темы, «*» не нужна (поля помечены),
   «✔» — маленький кружок акцента. Прикрепление карточки предприятия (orderattach) — подзаголовком. 28.10.2026 */
.slate .wa-step-auth-section .wa-section-body,
.slate .wa-order-form-wrapper .wa-step-details-section .wa-details-fields-section {
    position: relative; padding: var(--space-5) var(--space-6) !important;
    background: var(--color-bg-soft); border: var(--border-width) solid var(--color-border); border-radius: var(--radius-lg);
}
.slate .wa-step-auth-section .wa-section-body_notready::after,
.slate .wa-order-form-wrapper .wa-step-details-section .wa-details-fields-section_notready::after { content: none; display: none; }
.slate .wa-step-auth-section .wa-section-body:not(.wa-section-body_notready)::after,
.slate .wa-order-form-wrapper .wa-step-details-section .wa-details-fields-section:not(.wa-details-fields-section_notready)::after {
    top: var(--space-3); right: var(--space-3); background: var(--color-accent); color: var(--color-accent-fg); border: 0;
}
.slate .plugin-orderattach .wa-header { margin: 0 0 var(--space-3); font-size: var(--text-base); font-weight: 600; line-height: 1.4; }
.slate .plugin-orderattach .n-upload-dragger { border-radius: var(--radius-lg); border-color: var(--color-border-strong); background: var(--color-bg); }
