/* Shared frontend geometry. Admin, galleries, charts and native payment controls retain their own layout. */
body.mg-frontend-156{--mg-space:var(--mg-s-6,24px);--mg-panel-space:var(--mg-s-6,24px);--mg-control-height:44px}
body.mg-frontend-156 :is(main,.mg-site-header,#footer) *,body.mg-frontend-156 .mobile-app-nav{box-sizing:border-box}body:where(:not(.mg-global-shell)).mg-frontend-156 .mg-site-header .header-row{padding-inline:0}
body.mg-frontend-156 #main.wrap{padding-inline:0}
body.mg-frontend-156 #main .mg-page-main{min-width:0}
body.mg-frontend-156 #main .mg-page-main>.wrap{width:100%;max-width:none;margin-inline:0;padding-inline:0}
body.mg-frontend-156 #footer :is(.footer-content,.footer-credentials,.mobile-footer-intro){padding-inline:0}
body.mg-frontend-156 :is(.section-heading,.mg-section-heading,.mg-heading-line){display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:var(--mg-s-3,12px) var(--mg-s-5,20px)}
body.mg-frontend-156 :is(.section-heading,.mg-section-heading,.mg-heading-line)>*{min-width:0}
body.mg-frontend-156 :is(.section-heading,.mg-section-heading) :is(h2,h3){margin-block:0;line-height:1.7}
body.mg-frontend-156 :is(.section-heading,.mg-section-heading) .text-button{display:inline-flex;align-items:center;gap:var(--mg-s-2,8px);line-height:1.8}
body.mg-frontend-156.home-page :is(.products-section,.news-section,.faq-section,.budget-section){padding-inline:var(--mg-panel-space)}
body.mg-frontend-156.home-page .about-section{width:100%;max-width:none;padding-inline:var(--mg-panel-space)}
body.mg-frontend-156.home-page .about-section p{max-width:76ch;margin-inline:auto}
body.mg-frontend-156 :is(.mg-catalog-layout,.shop-layout,.account-layout,.mg-magazine-layout,.mg-reader-layout)>*{min-width:0}
body.mg-frontend-156 :is(.mg-story-panel,.mg-info-grid,.mg-article-grid)>*{min-width:0}
body.mg-frontend-156 :is(.account-view,.mg-support,.mg-account-service,.mg-real-about,.mg-magazine-main,.mg-reader-content){min-width:0;max-width:100%}
body.mg-frontend-156 :is(.account-view,.mg-support,.mg-account-service,.ct-shell,.mg-info-landing) :is(input[type=text],input[type=email],input[type=tel],input[type=password],input[type=number],select,textarea){max-width:100%;min-width:0;font-family:inherit}
body.mg-frontend-156 :is(.account-view,.mg-support,.mg-account-service,.ct-shell) :is(input[type=text],input[type=email],input[type=tel],input[type=password],select){min-height:var(--mg-control-height)}
body.mg-frontend-156 :is(.mg-story-button,.mg-green-button,.ct-submit,.ct-green-button,.mg-woo-flow .checkout-button,.mg-woo-flow #place_order){display:inline-flex;align-items:center;justify-content:center;gap:var(--mg-s-2,8px);min-height:var(--mg-control-height);line-height:1.7;text-align:center;white-space:normal}
body.mg-frontend-156 :is(.mg-story-button,.mg-green-button,.ct-submit,.ct-green-button) svg{flex:none;vertical-align:middle}
body.mg-frontend-156 :is(.mg-article-card,.mg-side-panel,.account-card,.mg-account-service){height:auto}
body.mg-frontend-156 .mg-article-copy{display:flex;flex-direction:column;min-width:0;flex:1}
body.mg-frontend-156 .mg-article-copy h3{line-height:1.8;overflow-wrap:break-word}
/* Contact: replace desktop artwork dimensions with fluid columns; FAQ expands with answers. */
body.mg-frontend-156 .ct-shell{width:100%;max-width:none;box-shadow:none}
body.mg-frontend-156 .ct-top-grid{grid-template-columns:minmax(0,1.85fr) minmax(0,1fr);gap:var(--mg-space);margin-inline:var(--mg-panel-space)}
body.mg-frontend-156 :is(.ct-form-card,.ct-info-card){height:auto;min-height:390px}
body.mg-frontend-156 .ct-form-status{position:static;margin-top:var(--mg-compact-2,10px)!important;line-height:1.8}
body.mg-frontend-156 .ct-faq{height:auto;min-height:315px;padding-block:var(--mg-s-4,16px)}
body.mg-frontend-156 .ct-faq-body{height:auto;align-items:flex-start}
body.mg-frontend-156 :is(.ct-showroom,.ct-map-row,.ct-faq,.ct-services){margin-inline:var(--mg-panel-space)}
body.mg-frontend-156 .ct-map-row{height:auto;min-height:181px}
body.mg-frontend-156 .ct-map-copy{align-content:center}
body.mg-frontend-156 .ct-shortcuts{margin-inline:var(--mg-panel-space);height:auto;padding-bottom:var(--mg-s-2,8px)}
body.mg-frontend-156 .ct-shortcuts a{white-space:normal;line-height:1.6;padding:var(--mg-s-2,8px)}
body.mg-frontend-156 .ct-info-card li span{min-width:0;overflow-wrap:break-word}
body.mg-frontend-156 .account-view :is(.form-row,.mg-support-field){min-width:0}
body.mg-frontend-156 .account-nav a{align-items:center;gap:var(--mg-compact-2,10px);line-height:1.8}
body.mg-frontend-156 .account-nav a svg{flex:none}
body.mg-frontend-156 :is(.mg-cart-layout,.mg-checkout-layout,.woocommerce-checkout,.cart-collaterals)>*{min-width:0}
@media(max-width:900px){body.mg-frontend-156{--mg-space:var(--mg-compact-4,18px);--mg-panel-space:var(--mg-compact-4,18px)}}
@media(max-width:700px){
 body.mg-frontend-156{--mg-space:var(--mg-s-4,16px);--mg-panel-space:var(--mg-compact-3,14px)}
 body.mg-frontend-156 :is(.section-heading,.mg-section-heading){gap:var(--mg-s-2,8px) var(--mg-s-3,12px)}
 body.mg-frontend-156 .ct-top-grid{display:flex;flex-direction:column}
 body.mg-frontend-156 :is(.ct-form-card,.ct-info-card){min-height:0}
 body.mg-frontend-156 .ct-shortcuts{margin-inline:0;padding-inline:var(--mg-panel-space)}
 body.mg-frontend-156 .ct-map-row{min-height:0}
 body.mg-frontend-156 .ct-submit{max-width:100%}
 body.mg-frontend-156 .mg-reader-content :is(img,video,iframe){max-width:100%}
}html body:where(:not(.mg-global-shell)).mg-frontend-156 .mg-site-header,html body:where(:not(.mg-global-shell)).mg-frontend-156 .mg-site-header .header-row{height:auto!important;max-height:none!important;min-height:0!important}html body:where(:not(.mg-global-shell)).mg-frontend-156 .mg-site-header .header-row{padding-block:var(--mg-s-3,12px)!important;row-gap:var(--mg-s-3,12px)!important}html body.mg-frontend-156 .mg-site-header .brand .mg-brand-icon{filter:brightness(0) invert(1)!important;opacity:1!important;visibility:visible!important}
html body:where(:not(.mg-global-shell)).mg-frontend-156 .mg-site-header .brand .mg-brand-icon{display:block!important;position:static!important;transform:none!important}html body:where(:not(.mg-global-shell)).mg-frontend-156 .mg-site-header .mana-search{position:relative!important;inset:auto!important;transform:none!important;margin:0!important;align-self:center!important;width:min(620px,100%)!important;max-width:620px!important}html body:where(:not(.mg-global-shell)).mg-frontend-156 .mg-site-header .mana-search form{min-height:46px!important;padding:3px!important}html body:where(:not(.mg-global-shell)).mg-frontend-156 .mg-site-header .mana-search input[type=search]{height:38px!important}html body:where(:not(.mg-global-shell)).mg-frontend-156 .mg-site-header .mana-search button{inset:3px auto 3px 3px!important;width:38px!important;height:38px!important}
html body.mg-frontend-156:not(.home-page) #main{margin-top:var(--mg-s-6,24px)!important}
@media(min-width:701px){html body:where(:not(.mg-global-shell)).mg-frontend-156 .mg-site-header #navigation{margin-block:0!important;align-self:center!important;min-height:0!important}html body:where(:not(.mg-global-shell)).mg-frontend-156 .mg-site-header #navigation .mg-primary-menu{margin:0!important}}
@media(max-width:700px){html body:where(:not(.mg-global-shell)).mg-frontend-156 .mg-site-header .mana-search{width:100%!important;max-width:none!important;grid-row:2!important;grid-column:1/-1!important}html body.mg-frontend-156 .mg-site-header .head-actions .mg-header-notices{visibility:visible!important}
html body:where(:not(.mg-global-shell)).mg-frontend-156 .mg-site-header .head-actions .mg-header-notices{display:inline-flex!important}html body:where(:not(.mg-global-shell)).mg-frontend-156 .mg-site-header .head-actions{gap:0!important}html body:where(:not(.mg-global-shell)).mg-frontend-156 .mg-site-header .head-actions :is(.icon-button,.menu-button){width:25px!important;min-width:25px!important;padding:2px!important}html body:where(:not(.mg-global-shell)).mg-frontend-156 .mg-site-header .brand strong{font-size:17px!important}html body:where(:not(.mg-global-shell)).mg-frontend-156 .mg-site-header .brand small{font-size:10px!important;white-space:normal!important}html body:where(:not(.mg-global-shell)).mg-frontend-156 .mg-site-header .brand{gap:var(--mg-compact-1,6px)!important}html body:where(:not(.mg-global-shell)).mg-frontend-156 .mg-site-header .brand .mg-brand-icon{width:25px!important;height:38px!important}
 html body.mg-frontend-156:not(.home-page) #main{margin-top:var(--mg-s-5,20px)!important}
}
