/* Remedius Rx: one subtle corner radius (12px) across the storefront.
   Loaded last in frontend/layouts/app.blade.php. The :not(#rx) parts only raise specificity
   so this wins over vendor rules that already use !important (and over inline styles). */
html:not(#rx) body:not(#rx) *:not(#rx),
html:not(#rx) body:not(#rx) *:not(#rx)::before,
html:not(#rx) body:not(#rx) *:not(#rx)::after {
    border-radius: 12px !important;
}

/* Full-width page structure stays square so bands meet the screen edges cleanly. */
html:not(#rx) body:not(#rx) :is(header, footer, section, nav, main, .rxa, .rxa-cta, .container, .container-fluid, .row,
    table, thead, tbody, tr, td, th, hr, iframe, .aiz-main-wrapper, .top-navbar, [class*="background-color-visibility"],
    .hero-banner-wrapper, .rxs li, .rxs-row, .rxs-rows, .rxs-sign, .rxh-main, .rxh-nav, .rxh-browse-wrap, .rxh-hello, .aiz-refresh, .aiz-mobile-bottom-nav, .position-fixed.w-100, .phpdebugbar, .phpdebugbar *):not(#rx) {
    border-radius: 0 !important;
}

/* Radio buttons and round header buttons/badges stay round. */
html:not(#rx) body:not(#rx) :is(input[type="radio"], .rxh-round, .rxa-cat-img, .rxa-cat-img img, .rxa-serv-ico, .rxs-seal):not(#rx) {
    border-radius: 50% !important;
}

/* Header search bar and its buttons are pill shaped (matches the header reference). */
html:not(#rx) body:not(#rx) .rxh-pill:not(#rx) {
    border-radius: 999px !important;
}
