/* Preserve functional audit safeguards without changing the pre-audit design. */
.public-behavior .field-error { display:block; margin-top:5px; color:#a52320; font-size:13px; line-height:1.4; }
.public-behavior [aria-invalid=true] { border-color:#a52320!important; }
.public-behavior:has(.modal.open) .analytics-consent,.public-behavior:has(.modal.open) .mobile-actions,.public-behavior:has([data-mobile-menu].open) .mobile-actions { display:none; }
.public-behavior:has([data-gallery-lightbox].open) :is(.mobile-actions,.analytics-consent) { display:none; }
.public-behavior [data-mobile-menu] { max-height:calc(100dvh - 80px); overflow-y:auto; overscroll-behavior:contain; }
.public-behavior [data-calc-state-note] { padding:10px 14px; margin-bottom:12px; border-radius:8px; background:#edf2f5; color:#243746; font-size:14px; }
.public-behavior [data-calculation-state]:not([data-calculation-state="ready"]) :is([data-calc-total-uah],[data-calc-total-currency],[data-calc-grand-total],[data-usa-total],.usa-ledger-v15 b) { visibility:hidden; }
.public-behavior .btn:disabled { opacity:.55; cursor:not-allowed; }
.public-behavior .reveal { opacity:1; transform:none; }
@media(max-width:720px) {
 .public-behavior:has([data-analytics-consent-banner]:not([hidden])) .mobile-actions { display:none; }
}
@media(prefers-reduced-motion:reduce) { .public-behavior .reveal { opacity:1; transform:none; } }

/* Small readability fixes within the restored design's existing components. */
.public-behavior .hero-real-bottom-v10 strong {
    white-space: normal;
    overflow-wrap: anywhere;
    text-overflow: clip;
    line-height: 1.2;
}
.public-behavior .hero-real-bottom-v10 small { font-size: 10px; }
.public-behavior .hero-real-bottom-v10 span { font-size: 12px; }
.public-behavior .hero-real-proof-v10 b { font-size: 11px; }
.public-behavior .hero-real-proof-v10 small { font-size: 10px; line-height: 1.4; }
.public-behavior .catalog-results-head-v13 small { color: #aeb8c6; font-size: 12px; }

.public-behavior :is(a, button, input, select, textarea, summary):focus-visible {
    outline: 2px solid #ff8a32;
    outline-offset: 3px;
    box-shadow: 0 0 0 4px #0a0e14;
}

@media (max-width: 720px) {
    .public-behavior .mobile-actions {
        padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    }
    .public-behavior .mobile-actions :is(a, button) {
        min-height: 44px;
        font-size: 12px;
    }
    .public-behavior .footer {
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    }
}
