:root {
    --pw-request-line: #e3e5e8;
    --pw-request-soft: #f6f7f8;
    --pw-request-ink: #1f2328;
    --pw-request-mute: #5b6470;
    --pw-request-paper: #fff;
}
.bh-powder-request .pw-form { margin: 36px 0 20px; padding: 22px; border: 1px solid var(--pw-request-line); border-radius: 8px; background: var(--pw-request-soft); scroll-margin-top: 90px; }
.bh-powder-request .pw-form__title { margin: 0 0 8px; font-size: 22px; line-height: 1.3; }
.bh-powder-request .pw-form__lead { max-width: 760px; margin: 0 0 16px; color: var(--pw-request-mute); line-height: 1.5; }
.bh-powder-request .pw-form__form { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.bh-powder-request .pw-form__field { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 13px; color: var(--pw-request-mute); }
.bh-powder-request .pw-form__field--wide { grid-column: 1 / -1; }
.bh-powder-request input[type="text"], .bh-powder-request select, .bh-powder-request textarea { box-sizing: border-box; width: 100%; max-width: 100%; min-height: 44px; padding: 9px 10px; border: 1px solid var(--pw-request-line); border-radius: 4px; background: var(--pw-request-paper); color: var(--pw-request-ink); font: inherit; font-size: 16px; }
.bh-powder-request textarea { resize: vertical; }
.bh-powder-request input[type="file"] { max-width: 100%; min-width: 0; font-size: 14px; }
.bh-powder-request button { justify-self: start; max-width: 100%; min-height: 44px; }
.bh-powder-request .pw-form__policy, .bh-powder-request .pw-form__call, .bh-powder-request .baihu-consents { grid-column: 1 / -1; }
.bh-powder-request .pw-form__policy, .bh-powder-request .pw-form__call { margin: 0; font-size: 13px; color: var(--pw-request-mute); overflow-wrap: anywhere; }
.bh-powder-request .pw-form__call { margin-top: 12px; }
.bh-powder-request input:focus-visible,
.bh-powder-request textarea:focus-visible,
.bh-powder-request select:focus-visible,
.bh-powder-request button:focus-visible {
    outline: 2px solid var(--pw-request-ink);
    outline-offset: 2px;
}
@media (max-width: 767px) {
    .bh-powder-request .pw-form__form { grid-template-columns: 1fr; }
    .bh-powder-request .pw-form { padding: 16px; }
}

/* «Не нашли нужный порошок?» — отдельная плашка (Саша 30.10.2026): слева заголовок и прямая
   связь, справа короткая форма. Только модификатор: формы карточек порошков не трогаем. */
.bh-powder-request .pw-form--card {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 32px 48px;
    align-items: start;
    margin: 48px 0 24px;
    padding: 36px 40px;
    border: 1px solid var(--pw-request-line);
    border-radius: 20px;
    background: var(--pw-request-soft);
    box-shadow: 0 1px 2px rgba(31, 35, 40, .04), 0 12px 32px -18px rgba(31, 35, 40, .18);
}
.bh-powder-request .pw-form--card .pw-form__title { margin: 0 0 12px; font-size: 28px; line-height: 1.15; }
.bh-powder-request .pw-form--card .pw-form__lead { margin: 0 0 20px; font-size: 16px; }
.bh-powder-request .pw-form--card .pw-form__call { margin: 0; padding-top: 16px; border-top: 1px solid var(--pw-request-line); font-size: 14px; line-height: 1.6; }
.bh-powder-request .pw-form--card .pw-form__call a { color: var(--pw-request-ink); font-weight: 600; white-space: nowrap; }
.bh-powder-request .pw-form--card .pw-form__form { gap: 14px 16px; }
.bh-powder-request .pw-form--card .pw-form__field { font-size: 13px; font-weight: 600; color: var(--pw-request-ink); }
.bh-powder-request .pw-form--card input[type="text"],
.bh-powder-request .pw-form--card textarea { min-height: 48px; padding: 12px 14px; border-radius: 10px; font-weight: 400; }
.bh-powder-request .pw-form--card textarea { min-height: 96px; }
.bh-powder-request .pw-form--card textarea::placeholder { color: #9aa1aa; }
.bh-powder-request .pw-form--card .baihu-consents { margin: 2px 0 4px; font-size: 13px; font-weight: 400; color: var(--pw-request-mute); }
.bh-powder-request .pw-form--card button { min-height: 48px; padding: 0 32px; border-radius: 10px; }
.bh-powder-request .pw-form--card .baihu-form__note { grid-column: 1 / -1; margin: 0; }
@media (max-width: 991px) {
    .bh-powder-request .pw-form--card { grid-template-columns: 1fr; gap: 20px; padding: 28px; }
}
@media (max-width: 767px) {
    .bh-powder-request .pw-form--card { margin: 32px 0 16px; padding: 22px 18px; border-radius: 16px; }
    .bh-powder-request .pw-form--card .pw-form__title { font-size: 22px; }
    .bh-powder-request .pw-form--card .pw-form__lead { margin-bottom: 14px; font-size: 15px; }
    .bh-powder-request .pw-form--card button { width: 100%; justify-self: stretch; }
}
