/* V11 native-page frames only; reuse Home/Traiteur outer geometry, never edit theme or saved content. */
body.rp-v11-preview:is(.rp-cart-preview,.rp-about-page,.rp-practical-page,.rp-contact-preview,.rp-account-v11,.rp-v11-checkout,.rp-order-received-preview) #page,
body.rp-v11-preview:is(.rp-cart-preview,.rp-about-page,.rp-practical-page,.rp-contact-preview,.rp-account-v11,.rp-v11-checkout,.rp-order-received-preview) #content > .ast-container{width:100%;max-width:none;margin:0;padding:0;background:#fff}
body.rp-v11-preview:is(.rp-cart-preview,.rp-about-page,.rp-practical-page,.rp-contact-preview,.rp-account-v11,.rp-v11-checkout,.rp-order-received-preview) #content > .ast-container{display:block}
body.rp-v11-preview:is(.rp-cart-preview,.rp-about-page,.rp-practical-page,.rp-contact-preview,.rp-account-v11,.rp-v11-checkout,.rp-order-received-preview) #primary{width:100%;max-width:none;margin:0;padding:0;border:0}
/* One readable wrap around the native article, so its title and blocks share a left edge. */
body.rp-v11-preview:is(.rp-about-page,.rp-practical-page):not(.woocommerce-checkout,.woocommerce-account) #primary article.ast-article-single{box-sizing:border-box;width:min(1280px,calc(100% - 32px));max-width:1280px;margin-inline:auto;padding-inline:0}
body.rp-v11-preview:is(.rp-about-page,.rp-practical-page):not(.woocommerce-checkout,.woocommerce-account) #primary article.ast-article-single .entry-content > :is(.rp-about-v11,.rp-practical-v11){box-sizing:border-box;width:100%;max-width:none;margin-inline:0;padding-inline:0}
/* Only the proven boxed ancestor of CartView, not other Elementor widgets or templates. */
body.rp-v11-preview.rp-cart-preview:not(.woocommerce-checkout,.woocommerce-account) #content .elementor-section-boxed > .elementor-container:has(.rp-cart-content){width:100%;max-width:1280px;margin-inline:auto}
body.rp-v11-preview.rp-cart-preview:not(.woocommerce-checkout,.woocommerce-account) #content .rp-cart-content{max-width:1280px;margin-inline:auto}

/* Contact and Account retain their own native 1280px wraps; only their outer frame is shared. */
/* Checkout/receipt may have no #primary/article: the Astra content container is the single wrap. */
body.rp-v11-preview:is(.rp-v11-checkout,.rp-order-received-preview) #content > .ast-container{box-sizing:border-box;width:min(1280px,calc(100% - 32px));max-width:1280px;margin-inline:auto}
body.rp-v11-preview:is(.rp-v11-checkout,.rp-order-received-preview) #content .elementor-section-boxed > .elementor-container:has(form.checkout,.woocommerce-order){width:100%;max-width:none}

/* Product and its native recommendations share one 1280px wrap; inner layouts stay native. */
body.rp-v11-preview.single-product #page{width:100%;max-width:none;margin-inline:0;padding-inline:0;background:#fff}
body.rp-v11-preview.single-product #content > .ast-container{box-sizing:border-box;width:min(1280px,calc(100% - 32px));max-width:1280px;margin-inline:auto;padding-inline:0}
body.rp-v11-preview.single-product #primary{width:100%;max-width:none;margin-inline:0;padding-inline:0}
body.rp-v11-preview.single-product #main{padding-inline:0}
