:root {
    --bwd-shell-max: 1320px;
    --bwd-gutter: clamp(16px, 4vw, 48px);
    --bwd-shell: min(var(--bwd-shell-max), calc(100% - var(--bwd-gutter) - var(--bwd-gutter)));
}

#brx-header .bc-header-row,
#brx-footer .bc-shared-footer .bc-container,
#brx-footer > .bwx-navigation {
    width: var(--bwd-shell);
    max-width: none;
    min-width: 0;
    margin-inline: auto;
    padding-inline: 0;
}
#brx-header .bc-header-row .bc-header-cta {
    flex-shrink: 0;
    border-color: var(--bwd-strong, #126252);
    background: var(--bwd-strong, #126252);
    color: #fff;
}
#brx-header .bc-header-row .bws-cart-link {
    border-color: var(--bwd-line, #d6e2d9);
    border-radius: 8px;
    background: var(--bwd-sage, #e9f1eb);
    color: var(--bwd-deep, #12352d);
}
#brx-header .bc-header-row .bws-cart-count { background: #fff; color: var(--bwd-deep, #12352d); }
#brx-header .bc-nav-link--verify,
#brx-footer .bc-support-link,
#brx-content .bc-pwa-calc-callout a { color: var(--bwd-strong, #126252); }
#brx-footer .bc-copyright { color: #435c52; }

a.bwd-support-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    color: var(--bwd-strong, #126252);
    font: 650 14px/1.35 var(--bwd-text, Inter, system-ui, sans-serif);
    white-space: nowrap;
    text-decoration: underline;
    text-underline-offset: .2em;
}
.bwd-support-phone svg { flex: 0 0 16px; }
a.bwd-support-phone:focus-visible { outline: 2px solid var(--bwd-strong, #126252); outline-offset: 2px; }
#brx-header .bc-topbar:has(.bwd-support-phone) { padding: 0; }
#brx-header .bc-topbar p:has(.bwd-support-phone) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: clamp(12px, 2vw, 24px);
    width: var(--bwd-shell);
    margin: 0;
}
#brx-header .bc-topbar :is(.bwa-delivery-promo, .bwd-support-phone) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: inherit;
    font: 650 13px/1.35 var(--bwd-text, Inter, system-ui, sans-serif);
    white-space: nowrap;
    text-decoration: none;
}
#brx-header .bc-topbar a:focus-visible { outline-color: #b0e3c9; outline-offset: -2px; }
#brx-header .bc-mobile-panel > .bwd-support-phone { margin-block: 6px; }
#brx-footer .bc-footer-contact > .bwd-support-phone { margin-block: 8px 4px; }
#brx-content .bc-contacts-channel > .bwd-support-phone { margin-block-end: 6px; }
#brx-content .bc-claim-steps > li > .bwd-support-phone { grid-column: 1 / -1; }
@media (max-width: 480px) {
    #brx-header .bc-topbar .bwd-delivery-promo-detail { display: none; }
}
#brx-header :is(a, button):focus-visible,
#brx-footer a:focus-visible {
    outline: 2px solid var(--bwd-strong, #126252);
    outline-offset: 2px;
}
.bwd-commerce #brx-header .bc-header-row :is(a, button):focus-visible { outline-offset: 3px; }
@media (hover: hover) {
    a.bwd-support-phone:hover { color: var(--bwd-deep, #12352d); }
    #brx-header .bc-topbar :is(.bwa-delivery-promo, .bwd-support-phone):hover { color: #fff; text-decoration: underline; }
    #brx-header .bc-header-row .bc-header-cta:hover { background: #0a493d; color: #fff; }
    #brx-header .bc-header-row .bws-cart-link:hover { border-color: #a3beae; background: #e4f0e7; }
    #brx-footer .bc-support-link:hover { color: var(--bwd-deep, #12352d); text-decoration: underline; }
}

@media (max-width: 1180px) {
    #brx-header .bc-header-row .bc-desktop-nav { display: none; }
    #brx-header .bc-header-row .bc-menu-toggle {
        display: inline-grid;
        flex: 0 0 44px;
        place-content: center;
        min-width: 44px;
        min-height: 44px;
    }
    #brx-header .bc-header-row .bws-cart-link { margin-inline-start: auto; }
    #brx-header .bc-header-row:has(.bws-cart-link) .bc-header-cta { margin-inline-start: 0; }
    #brx-header .bc-header-row:not(:has(.bws-cart-link, .bc-header-cta)) .bc-menu-toggle { margin-inline-start: auto; }
}
@media (max-width: 600px) {
    #brx-header .bc-header-row > .bc-header-cta { display: none; }
    #brx-header .bc-header-row:not(:has(.bws-cart-link)) .bc-menu-toggle { margin-inline-start: auto; }
}

@media (max-width: 350px) {
    #brx-header .bc-header-row .bwa-cart-label { display: none; }
}

/* The three header rows share the site's content edge. */
#brx-header .bwd-header-services { padding: 0; }
.bwd-header-service-inner,
.bwd-header-nav-inner {
    width: var(--bwd-shell);
    margin-inline: auto;
}
.bwd-header-service-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
#brx-header .bwd-header-service-inner a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    color: inherit;
    font: 650 11px/1.35 var(--bwd-text, Inter, system-ui, sans-serif);
    letter-spacing: .065em;
    text-transform: uppercase;
    text-decoration: none;
}
.bwd-header-service-inner a + a { border-inline-start: 1px solid rgb(226 232 240 / 20%); }
.bwd-header-service-inner i { color: #b0e3c9; }
#brx-header .bwd-header .bwd-header-main {
    display: grid;
    grid-template-columns: auto minmax(160px, 1fr) repeat(6, auto);
    align-items: center;
    gap: 8px clamp(8px, 1.25vw, 18px);
    min-height: 76px;
    padding-block: 11px;
}
.bwd-header-main .bc-brand { min-width: 0; justify-self: start; }
#brx-header .bwd-header-search {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    border: 1px solid var(--bwd-line, #d6e2d9);
    border-radius: 999px;
    background: var(--bwd-page, #f5f7f3);
}
#brx-header .bwd-header-search input {
    flex: 1 1 0;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 0 12px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--bwd-ink, #142e28);
    font: 500 14px/1.4 var(--bwd-text, Inter, system-ui, sans-serif);
    box-shadow: none;
}
#brx-header .bwd-header-search input::placeholder { color: var(--bwd-muted, #4c6259); opacity: 1; }
#brx-header .bwd-header-search button {
    order: -1;
    display: grid;
    flex: 0 0 44px;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--bwd-strong, #126252);
    cursor: pointer;
}
#brx-header .bwd-header-search:focus-within { outline: 2px solid var(--bwd-strong, #126252); outline-offset: 2px; }
#brx-header .bwd-header-search input:focus-visible { outline: 0; }
#brx-header .bwd-header-search button:focus-visible { outline-offset: -3px; }
#brx-header .bwd-header-main > .bwd-support-phone { font-weight: 750; text-decoration: none; }
#brx-header .bwd-header-icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--bwd-line, #d6e2d9);
    border-radius: 50%;
    background: var(--bwd-page, #f5f7f3);
    color: var(--bwd-strong, #126252);
}
.bwd-header-icon svg { width: 19px; height: 19px; }
#brx-header .bwd-header-icon.bwd-support-max,
#brx-content .bwp-support-messenger.bwd-support-max {
    border-color: transparent;
    background: linear-gradient(40deg, #00bfff -10%, #471aff 56%, #9500ff);
    color: #fff;
}
#brx-header .bwd-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 7px 16px;
    border-radius: var(--bwd-control-radius, 8px);
    background: var(--bwd-strong, #126252);
    color: #fff;
    font: 750 14px/1.35 var(--bwd-display, Manrope, Inter, sans-serif);
    white-space: nowrap;
    text-decoration: none;
}
#brx-header .bwd-header-main > .bws-cart-link { margin-inline-start: 0; }
.bwd-header-main .bwa-cart-label { display: none; }
#brx-header .bwd-header-nav { border-top: 1px solid var(--bwd-line, #d6e2d9); }
.bwd-header-nav-inner { display: flex; align-items: stretch; justify-content: space-between; gap: 6px 12px; }
#brx-header .bwd-header-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    color: var(--bwd-ink, #142e28);
    font: 650 13px/1.35 var(--bwd-text, Inter, system-ui, sans-serif);
    text-decoration: none;
    white-space: nowrap;
}
#brx-header .bwd-header-nav a[aria-current="page"] { color: var(--bwd-strong, #126252); text-decoration: underline; text-underline-offset: .26em; }
.bwd-header-menu-contact {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    align-items: center;
    justify-content: start;
    gap: 8px;
    padding-block-end: 12px;
    margin-block-end: 12px;
    border-bottom: 1px solid var(--bwd-line, #d6e2d9);
}
.bwd-header-menu-contact > :is(.bwd-support-phone, .bwd-header-cta) { grid-column: 1 / -1; justify-self: start; }
@media (hover: hover) {
    #brx-header .bwd-header-service-inner a:hover,
    #brx-header .bwd-header-nav a:hover,
    #brx-header .bwd-header-main > .bwd-support-phone:hover { text-decoration: underline; text-underline-offset: .22em; }
    #brx-header :is(a.bwd-header-icon, .bwd-header-search button):hover { background: var(--bwd-sage, #e9f1eb); }
    #brx-header .bwd-header-cta:hover { background: #0a493d; }
}
@media (max-width: 1180px) {
    #brx-header .bwd-header .bwd-header-main { grid-template-columns: auto minmax(120px, 1fr) repeat(3, auto); }
    #brx-header .bwd-header-main > :is(.bwd-header-icon, .bwd-header-cta),
    #brx-header .bwd-header-nav { display: none; }
    #brx-header .bwd-header-main .bc-menu-toggle { margin-inline-start: 0; }
}
@media (max-width: 767px) {
    #brx-header .bwd-header-services { display: none; }
    #brx-header .bwd-header .bwd-header-main {
        grid-template-columns: minmax(0, 1fr) repeat(3, auto);
        gap: 7px 6px;
        min-height: 0;
        padding-block: 8px 10px;
    }
    #brx-header .bwd-header-main .bc-brand { gap: 8px; }
    #brx-header .bwd-header-main .bc-brand-name { font-size: 26px; }
    #brx-header .bwd-header-main > .bwd-header-search { grid-area: 2 / 1 / auto / -1; }
    #brx-header .bwd-header-search input { font-size: 16px; }
    #brx-header .bwd-header-main > .bwd-support-phone {
        justify-content: center;
        width: 44px;
        border: 1px solid var(--bwd-line, #d6e2d9);
        border-radius: 50%;
    }
    #brx-header .bwd-header-main > .bwd-support-phone span { display: none; }
    #brx-header .bwd-header-main > .bws-cart-link { position: relative; width: 44px; padding: 0; }
    #brx-header .bwd-header-main .bws-cart-count {
        position: absolute;
        inset-block-start: 0;
        inset-inline-end: 0;
        min-width: 16px;
        min-height: 16px;
        padding-inline: 3px;
        font-size: 10px;
    }
}

/* The native Bricks calculator appears on the homepage and on /calculator/. */
#biocia-calculator.bc-calculator {
    --lab-ink: #142e28;
    --lab-muted: #435c52;
    --lab-accent: #126252;
    --lab-line: #c8dacf;
    --lab-pale: #e9f1eb;
    --lab-dark: #13362d;
    padding-block: clamp(24px, 3.7vw, 48px);
    border: 0;
    border-radius: 0;
    background: var(--lab-pale);
    color: var(--lab-ink);
    scroll-margin-top: 124px;
}
#biocia-calculator.bc-calculator > .bc-container {
    width: var(--bwd-shell);
    max-width: none;
    min-width: 0;
    margin-inline: auto;
    padding-inline: 0;
}
#biocia-calculator .bc-calc-head {
    max-width: 850px;
    margin: 0 0 18px;
}
#biocia-calculator .bc-calc-head .bc-section-kicker {
    display: block;
    margin: 0 0 8px;
    color: var(--lab-accent);
}
#brx-content #biocia-calculator .bc-calc-head h2 {
    margin: 0 0 10px;
    color: var(--lab-ink);
    font-family: Manrope, Inter, system-ui, sans-serif;
    font-size: clamp(27px, 3.2vw, 43px);
    font-weight: 760;
    letter-spacing: -.035em;
    line-height: 1.12;
}
#brx-content #biocia-calculator .bc-calc-head .bc-section-intro {
    margin: 0;
    max-width: 78ch;
    color: var(--lab-muted);
    font-size: 15px;
    line-height: 1.55;
}
#biocia-calculator .bc-calc-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
    gap: clamp(12px, 2vw, 24px);
    align-items: stretch;
}
#biocia-calculator .bc-calc-grid > *,
#biocia-calculator .bc-calc-grid .biocia-fragment { min-width: 0; }
#biocia-calculator #biocia-calc-form {
    min-width: 0;
    margin: 0;
    padding: clamp(14px, 2vw, 25px);
    border: 1px solid var(--lab-line);
    border-radius: 14px;
    background: #fff;
    color: var(--lab-ink);
}
#biocia-calculator .bc-calc-inputs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
#biocia-calculator .bc-field { min-width: 0; margin: 0; }
#biocia-calculator .bc-field--wide { grid-column: 1 / -1; }
#biocia-calculator .bc-field label {
    display: block;
    margin: 0 0 5px;
    color: var(--lab-ink);
    font: 650 13px/1.35 Inter, system-ui, sans-serif;
}
#biocia-calculator .bc-field-box {
    display: flex;
    align-items: center;
    min-width: 0;
    border: 1px solid var(--lab-line);
    border-radius: 8px;
    background: #f8fbf8;
    color: var(--lab-ink);
}
#biocia-calculator .bc-field-box:focus-within { border-color: var(--lab-accent); box-shadow: 0 0 0 2px #d3e9df; }
#biocia-calculator .bc-field-box input {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    margin: 0;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--lab-ink);
    font: 700 17px/1.35 Inter, system-ui, sans-serif;
    font-variant-numeric: tabular-nums;
    appearance: textfield;
}
#biocia-calculator .bc-field-box input::-webkit-inner-spin-button,
#biocia-calculator .bc-field-box input::-webkit-outer-spin-button { appearance: none; margin: 0; }
#biocia-calculator .bc-field-box:has(input[aria-invalid="true"]) { border-color: #a4273e; }
#biocia-calculator .bc-field-box input:focus-visible { outline-offset: -2px; }
#biocia-calculator .bc-field-box :is(span, small) {
    flex: none;
    padding-inline: 9px;
    border: 0;
    color: var(--lab-muted);
    background: transparent;
    font: 650 12px/1.4 Inter, system-ui, sans-serif;
}
#biocia-calculator .bc-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 6px 0 0;
}
#biocia-calculator .bc-presets button {
    min-width: 44px;
    min-height: 44px;
    padding: 5px 8px;
    border: 1px solid var(--lab-line);
    border-radius: 6px;
    background: #fff;
    color: var(--lab-ink);
    font: 650 12px/1.3 Inter, system-ui, sans-serif;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
#biocia-calculator .bc-presets button:hover { background: #edf5ef; border-color: #9ebdac; }
#biocia-calculator .bc-presets button[aria-pressed="true"] {
    border-color: var(--lab-accent);
    background: var(--lab-pale);
    color: var(--lab-accent);
}
#biocia-calculator #biocia-volume-range {
    width: 100%;
    min-height: 30px;
    margin: 0;
    accent-color: var(--lab-accent);
}
#biocia-calculator .bc-range-labels {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin-top: 1px;
    color: var(--lab-muted);
    font-size: 11px;
}
#biocia-calculator .bc-calc-error { margin: 8px 0 0; color: #a4273e; font-size: 13px; }
#biocia-calculator .bc-calc-error:empty { display: none; }
#biocia-calculator :is(.bc-calc-disclaimer, .form-privacy-notice) {
    margin: 8px 0 0;
    color: var(--lab-muted);
    font-size: 12px;
    line-height: 1.5;
}
#biocia-calculator .bc-calc-disclaimer { padding-top: 9px; border-color: var(--lab-line); }
#biocia-calculator .form-privacy-notice a { color: var(--lab-accent); text-underline-offset: .2em; }
#biocia-calculator .bc-calc-result {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32px;
    grid-template-rows: auto auto auto;
    align-content: start;
    align-items: start;
    align-self: start;
    gap: 12px 14px;
    min-width: 0;
    min-height: 0;
    padding: clamp(16px, 2.1vw, 26px);
    border: 1px solid #23483c;
    border-radius: 14px;
    background: var(--lab-dark);
    color: #f1f8f4;
}
#biocia-calculator .bc-calc-result > :first-child { min-width: 0; }
#biocia-calculator .bc-result-kicker { color: #c2e1d3; font-size: 11px; }
#biocia-calculator .bc-result-value {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 3px 8px;
    margin: 4px 0;
    color: #b1efd4;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.05;
    overflow-wrap: anywhere;
}
#biocia-calculator .bc-result-value small { color: #c2e1d3; font-size: 15px; }
#biocia-calculator .bc-result-milliliters { margin: 0; color: #e1f3ea; font-size: 14px; }
#biocia-calculator .bc-volume-gauge { width: 30px; height: 88px; margin: 0; border-color: #77988b; background-color: #204c3f; }
#biocia-calculator .bc-result-facts {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 8px;
    border-color: #3e6658;
    color: #e2f3eb;
}
#biocia-calculator .bc-result-facts > div { gap: 5px 10px; padding-block: 5px; }
#biocia-calculator .bc-result-facts > div > * { color: #e2f3eb; font-size: 14px; line-height: 1.35; }
#biocia-calculator .bc-result-facts > div > :first-child { color: #c2e1d3; }
#biocia-calculator .bc-result-formula {
    grid-column: 1 / -1;
    margin: 0;
    padding: 9px 10px;
    border-radius: 7px;
    background: #20453a;
    color: #e1f3ea;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
#biocia-calculator :is(button, input, a):focus-visible { outline: 2px solid var(--lab-accent); outline-offset: 2px; }

@media (max-width: 767px) {
    #biocia-calculator .bc-calc-grid { grid-template-columns: minmax(0, 1fr); }
    #biocia-calculator .bc-calc-head { margin-bottom: 13px; }
}
@media (max-width: 350px) {
    #biocia-calculator .bc-calc-inputs { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    #biocia-calculator .bc-presets button { transition: none; }
}

/* Shared footer. Design rule N14. */
#brx-footer .bwd-footer {
    border-block-start: 1px solid var(--bwd-line, #d6e2d9);
    background: var(--bwd-sage, #e9f1eb);
    color: var(--bwd-ink, #142e28);
    font: 400 15px/1.55 var(--bwd-text, Inter, system-ui, sans-serif);
}
#brx-footer .bwd-footer .bc-footer {
    border: 0;
    background: transparent;
    color: inherit;
}
#brx-footer .bwd-footer-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--bwd-layout-gap, 24px);
    padding-block: var(--bwd-section, 24px);
    border-block-end: 1px solid var(--bwd-line, #d6e2d9);
}
#brx-footer .bwd-footer .bc-footer-brand { min-width: 0; }
#brx-footer .bwd-footer .bc-footer-brand .bc-brand {
    min-block-size: 44px;
    color: var(--bwd-ink, #142e28);
}
#brx-footer .bwd-footer .bc-brand-description {
    max-inline-size: 45ch;
    margin: 12px 0 0;
    color: var(--bwd-muted, #4c6259);
    font: inherit;
}
#brx-footer .bwd-footer .bc-footer-contact {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "title note" "actions actions" "address page";
    align-items: center;
    gap: var(--bwd-panel-gap, 10px) var(--bwd-panel-pad, 14px);
    padding: var(--bwd-card-pad, 20px);
    border: 1px solid var(--bwd-line, #d6e2d9);
    border-radius: var(--bwd-radius, 16px);
    background: var(--bwd-white, #fff);
}
#brx-footer .bwd-footer .bc-footer-contact > .bc-footer-heading { grid-area: title; }
#brx-footer .bwd-footer .bc-footer-contact > .bc-contact-note { grid-area: note; text-align: end; }
#brx-footer .bwd-footer .bc-footer-contact > .bc-address { grid-area: address; }
#brx-footer .bwd-footer .bc-footer-contact > .bc-footer-contact-page { grid-area: page; }
#brx-footer .bwd-footer .bc-footer-heading {
    margin: 0;
    color: var(--bwd-ink, #142e28);
    font: var(--bwd-panel-title, 750 17px/1.25 Manrope, Inter, system-ui, sans-serif);
    letter-spacing: -.015em;
    text-transform: none;
}
#brx-footer .bwd-footer-contact-actions {
    grid-area: actions;
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 8px;
}
#brx-footer .bwd-footer-contact-actions :is(.bwd-support-phone, .bc-support-link) {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-block-size: 46px;
    max-inline-size: 100%;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid var(--bwd-line, #d6e2d9);
    border-radius: var(--bwd-control-radius, 8px);
    background: var(--bwd-white, #fff);
    color: var(--bwd-strong, #126252);
    font: 750 14px/1.35 var(--bwd-display, Manrope, Inter, system-ui, sans-serif);
    text-decoration: none;
}
#brx-footer .bwd-footer-contact-actions .bc-support-link {
    border-color: var(--bwd-strong, #126252);
    background: var(--bwd-strong, #126252);
    color: var(--bwd-white, #fff);
}
#brx-footer .bwd-footer-contact-actions .bc-support-link :is(.icon, .text, i) { color: inherit; }
#brx-footer .bwd-footer .bc-footer .bc-footer-contact > :is(.bc-address, .bc-contact-note, .bc-footer-contact-page) {
    margin: 0;
    color: var(--bwd-muted, #4c6259);
    font: 400 14px/1.5 var(--bwd-text, Inter, system-ui, sans-serif);
}
#brx-footer .bwd-footer .bc-address {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
}
#brx-footer .bwd-footer .bc-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: var(--bwd-layout-gap, 24px);
    margin: 0;
    padding-block: var(--bwd-section, 24px);
}
#brx-footer .bwd-footer .bc-footer-grid > nav { min-width: 0; }
#brx-footer .bwd-footer .bc-footer-grid .bc-footer-heading { padding-inline: 8px; }
#brx-footer .bwd-footer .bc-footer-list {
    display: grid;
    gap: 2px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}
#brx-footer .bwd-footer .bc-footer-list > li {
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
#brx-footer .bwd-footer .bc-footer .bc-footer-link {
    color: var(--bwd-ink, #142e28);
    font: 500 14px/1.4 var(--bwd-text, Inter, system-ui, sans-serif);
    overflow-wrap: anywhere;
}
#brx-footer .bwd-footer .bc-footer-list .bc-footer-link {
    display: grid;
    align-content: center;
    min-block-size: 34px;
    padding: 5px 8px;
    border-radius: var(--bwd-control-radius, 8px);
    text-decoration: none;
}
#brx-footer .bwd-footer .bc-footer-contact-page .bc-footer-link {
    display: inline-flex;
    align-items: center;
    min-block-size: 44px;
    color: var(--bwd-strong, #126252);
}
#brx-footer .bwd-footer .bwx-navigation {
    display: flex;
    align-items: start;
    flex-wrap: wrap;
    width: 100%;
    min-width: 0;
    max-width: none;
    gap: 8px;
    margin: 0;
    padding: var(--bwd-panel-pad, 14px) 0;
    border-block-start: 1px solid var(--bwd-line, #d6e2d9);
}
#brx-footer .bwd-footer .bwx-navigation[data-bwa-grouped-nav] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--bwd-layout-gap, 24px);
}
#brx-footer .bwd-footer .bwx-navigation[data-bwa-grouped-nav] > div {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
#brx-footer .bwd-footer .bwx-navigation strong {
    flex: 0 0 100%;
    color: var(--bwd-muted, #4c6259);
}
#brx-footer .bwd-footer :is(.bwx-navigation a, .bc-footer-privacy a, .bc-footer-privacy button, .bc-back-top) {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-block-size: 44px;
    max-inline-size: 100%;
    padding: 6px 9px;
    border: 1px solid transparent;
    border-radius: var(--bwd-control-radius, 8px);
    background: transparent;
    color: var(--bwd-strong, #126252);
    font: 650 13px/1.4 var(--bwd-text, Inter, system-ui, sans-serif);
    text-align: start;
    overflow-wrap: anywhere;
    white-space: normal;
}
#brx-footer .bwd-footer .bwx-navigation a {
    border-color: var(--bwd-line, #d6e2d9);
    background: var(--bwd-white, #fff);
}
#brx-footer .bwd-footer :is(.bc-footer-privacy, .bc-footer-meta) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin: 0;
    padding-block: 8px;
    border-block-start: 1px solid var(--bwd-line, #d6e2d9);
}
#brx-footer .bwd-footer .bc-footer-meta {
    justify-content: space-between;
    color: var(--bwd-muted, #4c6259);
    font: 650 12px/1.5 var(--bwd-text, Inter, system-ui, sans-serif);
}
#brx-footer .bwd-footer .bc-footer-meta p { margin: 0; }
#brx-footer .bwd-footer .bc-disclaimer {
    padding: var(--bwd-section, 24px) 0;
    border-block-start: 1px solid var(--bwd-line, #d6e2d9);
    background: var(--bwd-sand, #f3f0e9);
    color: var(--bwd-muted, #4c6259);
    font: 400 13px/1.6 var(--bwd-text, Inter, system-ui, sans-serif);
}
#brx-footer .bwd-footer .bc-disclaimer p { max-inline-size: 102ch; margin: 0; }
#brx-footer .bwd-footer .bc-disclaimer .bc-copyright { margin-block-start: 10px; color: inherit; }
#brx-footer .bwd-footer :is(a, button):focus-visible {
    outline: 2px solid var(--bwd-strong, #126252);
    outline-offset: 2px;
}
@media (min-width: 1100px) {
    #brx-footer .bwd-footer .bc-footer > .bc-container {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
    }
    #brx-footer .bwd-footer .bc-footer > .bc-container > :not(.bc-footer-privacy, .bc-footer-meta) {
        grid-column: 1 / -1;
    }
}
@media (hover: hover) {
    #brx-footer .bwd-footer :is(.bc-footer-list .bc-footer-link, .bwx-navigation a, .bc-footer-privacy a, .bc-footer-privacy button, .bc-back-top, .bwd-support-phone--footer):hover {
        background: var(--bwd-page, #f5f7f3);
        color: var(--bwd-deep, #12352d);
        text-decoration: underline;
        text-underline-offset: 3px;
    }
    #brx-footer .bwd-footer-contact-actions .bc-support-link:hover {
        border-color: #0a493d;
        background: #0a493d;
        color: var(--bwd-white, #fff);
        text-decoration: none;
    }
}
@media (max-width: 959px) {
    #brx-footer .bwd-footer-intro { grid-template-columns: minmax(0, 1fr); }
    #brx-footer .bwd-footer .bc-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    #brx-footer .bwd-footer .bc-footer-list .bc-footer-link { min-block-size: 44px; }
    #brx-footer .bwd-footer .bwx-navigation[data-bwa-grouped-nav] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    #brx-footer .bwd-footer .bc-footer-contact {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "title" "note" "actions" "address" "page";
    }
    #brx-footer .bwd-footer .bc-footer-contact > .bc-contact-note { text-align: start; }
}
@media (max-width: 440px) {
    #brx-footer .bwd-footer-contact-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
    #brx-footer .bwd-footer .bwx-navigation[data-bwa-grouped-nav] {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* N19 · optional editorial sections with the common catalogue alignment. */
.bwch-reference, .bwch-content { width: 100%; min-width: 0; }
.bwch-content { display: block; padding-block: 6px; }
#brx-content .bwch-content .bwch-inner {
    width: var(--bwd-shell, min(1320px, calc(100% - 32px)));
    max-width: none;
    min-width: 0;
    margin-inline: auto;
    padding: var(--bwd-card-pad, clamp(14px, 1.55vw, 21px));
    border: 1px solid var(--bwd-line, #d6e2d9);
    border-radius: var(--bwd-card-radius, 13px);
    background: var(--bwd-white, #fff);
}
#brx-content .bwch-content .brxe-shortcode { width: 100%; min-width: 0; }
#brx-content .bwch-rich {
    color: var(--bwd-ink, #142e28);
    font: 400 15px/1.65 var(--bwd-text, Inter, system-ui, sans-serif);
    overflow-wrap: anywhere;
}
#brx-content .bwch-rich > :where(h2, h3, p, ul, ol, figure, blockquote) { margin: 0 0 8px; }
#brx-content .bwch-rich > :last-child { margin-bottom: 0; }
#brx-content .bwch-rich > :where(p, ul, ol) { max-width: 90ch; }
#brx-content .bwch-rich :where(h2, h3) {
    color: var(--bwd-ink, #142e28);
    font: 760 clamp(20px, 1.8vw, 26px)/1.2 var(--bwd-display, Manrope, Inter, system-ui, sans-serif);
    letter-spacing: -.025em;
}
#brx-content .bwch-rich :where(ul, ol) { padding-inline-start: 1.35em; }
#brx-content .bwch-rich a {
    color: var(--bwd-strong, #126252);
    text-decoration: underline;
    text-underline-offset: .18em;
}
#brx-content .bwch-rich a:focus-visible { outline: 2px solid var(--bwd-strong, #126252); outline-offset: 2px; }
#brx-content .bwch-rich :where(img, video, audio) { max-width: 100%; }
#brx-content .bwch-rich :where(img, video) { height: auto; }
#brx-content .bwch-reference { scroll-margin-top: max(186px, var(--bwd-anchor-offset, 0px)); }
#brx-content .bwch-toc ol {
    columns: 2;
    column-gap: var(--bwd-layout-gap, 24px);
    max-width: 90ch;
    margin: 0;
    padding-inline-start: 1.6em;
    list-style: decimal;
}
#brx-content .bwch-toc li { break-inside: avoid; margin: 0; padding: 0; }
#brx-content .bwch-toc a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: 4px;
    border-radius: 4px;
}
@media (hover: hover) {
    #brx-content .bwch-toc a:hover { color: var(--bwd-deep, #12352d); background: var(--bwd-sage, #e9f1eb); }
}
@media (max-width: 767px) {
    #brx-content .bwch-toc ol { columns: 1; }
    #brx-content .bwch-reference { scroll-margin-top: max(128px, var(--bwd-anchor-offset, 0px)); }
}

/* BIOCIA · На связи. Сквозная секция Bricks, правило N14. */
#biocia-prefooter.bc-connect {
    display: block;
    padding: 0;
    color: var(--bwd-ink, #142e28);
    font: 400 16px/1.5 var(--bwd-text, Inter, system-ui, sans-serif);
}
#biocia-prefooter .bc-connect-shell {
    width: var(--bwd-shell, min(1320px, calc(100% - 2 * clamp(16px, 4vw, 48px))));
    max-width: none;
    min-width: 0;
    margin-inline: auto;
    padding: 0;
}
#biocia-prefooter :is(h2, p) { margin: 0; }
#biocia-prefooter .bc-connect-preview {
    display: block;
    padding-block: clamp(28px, 4vw, 56px);
    background: var(--bwd-deep, #12352d);
    color: var(--bwd-white, #fff);
}
#biocia-prefooter .bc-connect-news {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(20px, 4vw, 64px);
}
#biocia-prefooter .bc-connect-copy,
#biocia-prefooter .bc-connect-subscribe {
    display: grid;
    min-width: 0;
    gap: 10px;
}
#biocia-prefooter .bc-connect-kicker {
    color: var(--bwd-sage, #e9f1eb);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .11em;
    text-transform: uppercase;
}
#biocia-prefooter .bc-connect-title {
    color: var(--bwd-white, #fff);
    font: 770 clamp(32px, 4.1vw, 58px)/1.06 var(--bwd-display, Manrope, Inter, system-ui, sans-serif);
    letter-spacing: -.04em;
    text-wrap: balance;
}
#biocia-prefooter .bc-connect-lead {
    max-inline-size: 43ch;
    color: var(--bwd-sage, #e9f1eb);
    font-size: clamp(15px, 1.35vw, 18px);
}
#biocia-prefooter .bc-connect-preview-note {
    color: var(--bwd-sage, #e9f1eb);
    font-size: 13px;
}
#biocia-prefooter .bc-connect-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 10px;
    row-gap: 2px;
    width: 100%;
    color: inherit;
}
#biocia-prefooter .bc-connect-form .form-group {
    width: 100%;
    min-width: 0;
    padding: 0;
}
#biocia-prefooter .bc-connect-form .form-group:has(> input[type="email"]) {
    grid-column: 1;
    margin-block-end: 6px;
}
#biocia-prefooter .bc-connect-form .form-group > label {
    color: inherit;
    font-size: 14px;
    font-weight: 650;
    text-transform: none;
}
#biocia-prefooter .bc-connect-form input[type="email"] {
    min-block-size: 48px;
    padding: 10px 13px;
    border: 1px solid var(--bwd-line, #d6e2d9);
    border-radius: var(--bwd-control-radius, 8px);
    background: var(--bwd-white, #fff);
    color: var(--bwd-ink, #142e28);
    font: inherit;
}
#biocia-prefooter .bc-connect-form input[type="email"]::placeholder { color: var(--bwd-muted, #4c6259); }
#biocia-prefooter .bc-connect-form .form-group:has(.options-wrapper) { grid-column: 1 / -1; }
#biocia-prefooter .bc-connect-form .form-group:has(.options-wrapper) > .label {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
#biocia-prefooter .bc-connect-form .options-wrapper { margin: 0; padding: 0; list-style: none; }
#biocia-prefooter .bc-connect-form .options-wrapper li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
#biocia-prefooter .bc-connect-form .options-wrapper label {
    display: flex;
    flex: 1;
    align-items: center;
    min-block-size: 44px;
    margin: 0;
    color: inherit;
    font-size: 14px;
}
#biocia-prefooter .bc-connect-form input[type="checkbox"] {
    flex: none;
    inline-size: 20px;
    block-size: 20px;
    margin: 0;
    color-scheme: light;
    accent-color: var(--bwd-strong, #126252);
}
#biocia-prefooter .bc-connect-form .submit-button-wrapper {
    grid-area: 1 / 2;
    align-self: end;
    margin-block-end: 6px;
}
#biocia-prefooter .bc-connect-form button[type="submit"],
#biocia-prefooter .bc-connect-telegram {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-block-size: 48px;
    margin: 0;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: var(--bwd-control-radius, 8px);
    font: 750 15px/1.35 var(--bwd-display, Manrope, Inter, system-ui, sans-serif);
    text-align: center;
    text-decoration: none;
    transition: background-color var(--bwd-ease, 160ms ease);
}
#biocia-prefooter .bc-connect-form button[type="submit"] {
    background: var(--bwd-sage, #e9f1eb);
    color: var(--bwd-deep, #12352d);
}
#biocia-prefooter .bc-connect-form button[type="submit"]:hover { background: var(--bwd-white, #fff); }
#biocia-prefooter .bc-connect-form :is(button, input):focus-visible {
    outline: 2px solid var(--bwd-white, #fff);
    outline-offset: 3px;
}

#biocia-prefooter .bc-connect-support {
    display: block;
    padding-block: var(--bwd-section, clamp(16px, 2.1vw, 28px));
    border-block-start: 1px solid var(--bwd-line, #d6e2d9);
    background: var(--bwd-white, #fff);
}
#biocia-prefooter .bc-connect-contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px var(--bwd-layout-gap, 24px);
}
#biocia-prefooter .bc-connect-contact h2 {
    color: inherit;
    font: 760 clamp(19px, 2vw, 25px)/1.2 var(--bwd-display, Manrope, Inter, system-ui, sans-serif);
    letter-spacing: -.025em;
}
#biocia-prefooter .bc-connect-contact p {
    margin-block-start: 4px;
    color: var(--bwd-muted, #4c6259);
    font-size: 15px;
}
#biocia-prefooter .bc-connect-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
#biocia-prefooter .bc-connect-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-block-size: 48px;
    padding: 6px 4px;
    border-radius: var(--bwd-control-radius, 8px);
    color: var(--bwd-ink, #142e28);
    font: 760 clamp(17px, 1.8vw, 22px)/1.2 var(--bwd-display, Manrope, Inter, system-ui, sans-serif);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    text-decoration: none;
    text-underline-offset: 4px;
}
#biocia-prefooter .bc-connect-phone:hover { color: var(--bwd-strong, #126252); text-decoration: underline; }
#biocia-prefooter .bc-connect-telegram {
    background: var(--bwd-strong, #126252);
    color: var(--bwd-white, #fff);
}
#biocia-prefooter .bc-connect-telegram:hover { background: #0a493d; }
#biocia-prefooter .bc-connect-actions a:focus-visible {
    outline: 2px solid var(--bwd-strong, #126252);
    outline-offset: 3px;
}

/* Keep the footer's support information and use one set of direct links. */
:is(#biocia-prefooter, #brx-content:has(> #biocia-prefooter)) ~ #brx-footer .bwd-footer-contact-actions { display: none; }
:is(#biocia-prefooter, #brx-content:has(> #biocia-prefooter)) ~ #brx-footer .bc-footer-contact { grid-template-areas: "title note" "address page"; }

@media (max-width: 767px) {
    #biocia-prefooter :is(.bc-connect-news, .bc-connect-contact) { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
    :is(#biocia-prefooter, #brx-content:has(> #biocia-prefooter)) ~ #brx-footer .bc-footer-contact {
        grid-template-areas: "title" "note" "address" "page";
    }
}
@media (max-width: 479px) {
    #biocia-prefooter .bc-connect-actions { display: grid; gap: 6px; }
    #biocia-prefooter .bc-connect-phone { justify-content: flex-start; }
    #biocia-prefooter .bc-connect-form { grid-template-columns: minmax(0, 1fr); }
    #biocia-prefooter .bc-connect-form .submit-button-wrapper { grid-area: auto; margin: 6px 0 0; }
    #biocia-prefooter .bc-connect-form button[type="submit"] { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    #biocia-prefooter :is(.bc-connect-telegram, .bc-connect-form button) { transition: none; }
}

/* BIOCIA catalog search, shared header and Bricks results. */
[data-bwd-product-search] { position: relative; }
#brx-header .bwd-header-search[data-bwd-product-search] {
    padding: 2px;
    border-radius: var(--bwd-control-radius, 8px);
    background: var(--bwd-white, #fff);
}
#brx-header .bwd-header-search[data-bwd-product-search] input { padding: 0 10px 0 12px; }
#brx-header .bwd-header-search[data-bwd-product-search] button,
#brx-content .bwd-search-result-form button {
    order: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-width: 44px;
    min-height: 44px;
    border: 0;
    border-radius: var(--bwd-control-radius, 8px);
    background: var(--bwd-strong, #126252);
    color: var(--bwd-white, #fff);
    cursor: pointer;
}
#brx-header .bwd-header-search[data-bwd-product-search] button:hover,
#brx-content .bwd-search-result-form button:hover { background: #0a493d; }
#brx-header .bwd-header-search[data-bwd-product-search] button:focus-visible,
#brx-content .bwd-search-result-form button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
}

.bwd-search-popup {
    position: absolute;
    z-index: 8;
    inset: calc(100% + 6px) 0 auto;
    min-width: 0;
    border: 1px solid var(--bwd-line, #d6e2d9);
    border-radius: var(--bwd-panel-radius, 12px);
    background: var(--bwd-white, #fff);
    color: var(--bwd-ink, #142e28);
    box-shadow: 0 12px 28px rgb(18 53 45 / 16%);
    font: 400 14px/1.45 var(--bwd-text, Inter, system-ui, sans-serif);
}
.bwd-search-popup [hidden], .bwd-search-popup[hidden] { display: none; }
.bwd-search-popup .bwd-search-status { margin: 0; padding: 10px 12px 6px; color: var(--bwd-muted, #4c6259); font-size: 13px; }
.bwd-search-popup ul {
    max-height: min(300px, 38dvh);
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: 0;
    padding: 0;
    list-style: none;
}
.bwd-search-popup li { margin: 0; padding: 0; }
.bwd-search-popup li + li { border-top: 1px solid var(--bwd-line, #d6e2d9); }
.bwd-search-popup a[role="option"] {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 8px 12px;
    color: var(--bwd-ink, #142e28);
    text-decoration: none;
}
.bwd-search-popup a[role="option"]:is(:hover, :focus-visible, [aria-selected="true"]) { background: var(--bwd-sage, #e9f1eb); }
.bwd-search-popup .bwd-search-thumb {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: var(--bwd-page, #f5f7f3);
    overflow: hidden;
}
.bwd-search-popup .bwd-search-thumb::before {
    content: '';
    width: 16px;
    height: 24px;
    border: 1px solid #93b5a4;
    border-top: 5px solid var(--bwd-strong, #126252);
    border-radius: 3px 3px 5px 5px;
    background: linear-gradient(180deg, #fff 38%, #d6e2d9 38% 74%, #fff 74%);
}
.bwd-search-popup .bwd-search-thumb--pen::before {
    width: 29px;
    height: 9px;
    border: 1px solid #93b5a4;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--bwd-strong, #126252) 27%, #fff 27% 80%, #d6e2d9 80%);
    transform: rotate(-25deg);
}
.bwd-search-popup .bwd-search-thumb:has(img:not([hidden]))::before { display: none; }
.bwd-search-popup .bwd-search-thumb img { width: 100%; height: 100%; object-fit: contain; }
.bwd-search-popup strong { display: block; overflow-wrap: anywhere; }
.bwd-search-popup small {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-top: 2px;
    color: var(--bwd-muted, #4c6259);
    font-size: 12px;
}
.bwd-search-popup a.bwd-search-all {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    padding: 6px 12px;
    border-top: 1px solid var(--bwd-line, #d6e2d9);
    border-radius: 0 0 var(--bwd-panel-radius, 12px) var(--bwd-panel-radius, 12px);
    background: var(--bwd-page, #f5f7f3);
    color: var(--bwd-strong, #126252);
    font-weight: 750;
    text-decoration: none;
}
.bwd-search-popup a.bwd-search-all[hidden] { display: none; }
.bwd-search-popup a.bwd-search-all:hover { background: var(--bwd-sage, #e9f1eb); }
.bwd-search-popup a:focus-visible { outline: 2px solid var(--bwd-strong, #126252); outline-offset: -2px; }

#brx-content .bwx-section-product-search,
#brx-content .bwx-section-product-search > .bwc-bricks-container,
#brx-content .bwx-section-product-search .brxe-shortcode { width: 100%; max-width: none; padding: 0; }
.bwd-search-page { color: var(--bwd-ink, #142e28); }
.bwd-search-shell { width: var(--bwd-shell); margin-inline: auto; min-width: 0; }
.bwd-search-hero {
    padding-block: clamp(20px, 3.2vw, 42px) clamp(24px, 4vw, 52px);
    border-bottom: 1px solid var(--bwd-line, #d6e2d9);
    background: var(--bwd-hero-gradient, linear-gradient(115deg, #e9f1eb, #f5f7f3 70%));
}
#brx-content .bwd-search-hero .bwc-kicker { margin: 16px 0 8px; color: var(--bwd-strong, #126252); }
#brx-content .bwd-search-hero h1 {
    margin: 0;
    color: var(--bwd-ink, #142e28);
    font: 770 clamp(30px, 4vw, 54px)/1.1 var(--bwd-display, Manrope, Inter, system-ui, sans-serif);
    letter-spacing: -.04em;
}
#brx-content .bwd-search-hero h1 span {
    display: block;
    margin-top: 10px;
    color: var(--bwd-muted, #4c6259);
    font: 500 clamp(16px, 2vw, 21px)/1.4 var(--bwd-text, Inter, system-ui, sans-serif);
    letter-spacing: 0;
    overflow-wrap: anywhere;
}
#brx-content .bwd-search-result-form {
    display: flex;
    align-items: center;
    gap: 4px;
    width: min(100%, 650px);
    margin: 16px 0 0;
    padding: 3px;
    border: 1px solid var(--bwd-line, #d6e2d9);
    border-radius: var(--bwd-control-radius, 8px);
    background: var(--bwd-white, #fff);
}
#brx-content .bwd-search-result-form:focus-within { outline: 2px solid var(--bwd-strong, #126252); outline-offset: 2px; }
#brx-content .bwd-search-result-form input {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 0 10px;
    border: 0;
    background: transparent;
    color: var(--bwd-ink, #142e28);
    font: 500 16px/1.4 var(--bwd-text, Inter, system-ui, sans-serif);
    box-shadow: none;
}
#brx-content .bwd-search-result-form input:focus-visible { outline: 0; }
#brx-content .bwd-search-result-form button { padding-inline: 13px; font-weight: 750; }
.bwd-search-results { padding-block: var(--bwd-section, 24px); }
.bwd-search-summary, .bwd-search-pages {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 12px;
}
.bwd-search-summary p { margin: 0; }
.bwd-search-summary a, .bwd-search-pages a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    color: var(--bwd-strong, #126252);
    font-weight: 750;
}
.bwd-search-pages { justify-content: center; margin-top: var(--bwd-section, 24px); }
#brx-content .bwd-search-results .bwc-grid { margin-top: 8px; }
.bwd-search-empty {
    padding: var(--bwd-pad, clamp(18px, 2.5vw, 32px));
    border: 1px solid var(--bwd-line, #d6e2d9);
    border-radius: var(--bwd-radius, 16px);
    background: var(--bwd-white, #fff);
}
#brx-content .bwd-search-empty h2 { margin: 0; font-size: clamp(22px, 2.5vw, 32px); }
.bwd-search-empty p { margin: 8px 0 14px; color: var(--bwd-muted, #4c6259); }

@media (max-width: 375px) {
    #brx-content .bwd-search-result-form button { padding-inline: 9px; }
}
