/* One section-heading standard, taken from Page 81312's group headings.
   Colors, heading semantics, backgrounds and vertical spacing remain with each owner. */
body.rk-section-layout{--rk-section-heading-family:"Open Sans",Arial,sans-serif;--rk-section-heading-size:28px;--rk-section-heading-weight:700;--rk-section-heading-line:1.25;--rk-section-heading-tracking:0;}
body.rk-section-layout #main :is(.rk-section-heading,#rk-cart-recommendations>h2,#rk-cart-recommendations>.rk-cart-recs-shell>h2,.rk-checkout-stage1 .woocommerce-billing-fields>h3,.rk-checkout-delivery #speedy-title-text,.rk-checkout-left>.woocommerce-additional-fields>h3,.rk-checkout-review>#order_review_heading,#payment .rk-checkout-payment-title>h3,#customer_login>.u-column1>h2,#customer_login>.u-column2>h2){font-family:var(--rk-section-heading-family)!important;font-size:var(--rk-section-heading-size)!important;font-style:normal!important;font-weight:var(--rk-section-heading-weight)!important;line-height:var(--rk-section-heading-line)!important;letter-spacing:var(--rk-section-heading-tracking)!important;text-transform:none!important;}

/* The search field's gutter is applied ONCE, at the main content boundary.
   Named Builder frames lose only external lateral spacing, not their inner padding. */
@media(max-width:640px){
 body.rk-section-layout{--rk-section-heading-size:25px;}
 body.rk-section-layout #main{padding-left:var(--rk-mobile-content-gutter)!important;padding-right:var(--rk-mobile-content-gutter)!important;}
 body.rk-section-layout #main>.fusion-row{width:100%;max-width:100%;}
 body.rk-section-layout #main .rk-section-frame{width:100%;max-width:100%;box-sizing:border-box;padding-left:0!important;padding-right:0!important;}
 body.rk-section-layout #main .rk-section-frame>.fusion-builder-row{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;}
 body.rk-section-layout #main .rk-section-frame>.fusion-builder-row>.fusion_builder_column_1_1{width:100%!important;min-width:0;margin-left:0!important;margin-right:0!important;}
 body.rk-section-layout #main .rk-section-frame>.fusion-builder-row>.fusion_builder_column_1_1>.fusion-column-wrapper{margin-left:0!important;margin-right:0!important;min-width:0;}
 /* Keep the pre-existing hero image boundary (the previous 30px main inset). */
 body.rk-section-layout #main .rk-section-preserved-hero{width:calc(100vw - 60px)!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important;}
 body.rk-section-layout #main .rk-category-products-heading .rk-section-heading{white-space:normal;}
 body.rk-section-layout #main :is(.rk-offers-page,.rk-offers-bottom,.rk-cart-grid,.rk-checkout-stage1,.rk-checkout-left,.rk-checkout-review,.woocommerce-MyAccount-content,.rk-account-panel){min-width:0;max-width:100%;box-sizing:border-box;}
}

/* Page rail: native Avada fullwidth negative margins must not offset structural frames. */
body.rk-archive-rail #main .post-content>.rk-section-frame{box-sizing:border-box;width:100%!important;max-width:var(--site_width,1170px)!important;margin-left:auto!important;margin-right:auto!important;}
body.rk-archive-rail #main .rk-section-frame>.fusion-builder-row{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;}
@media(max-width:640px){body.page-id-8 #main .post-content>.rk-bottom-navigation{margin-left:0!important;margin-right:0!important;}}
