/* Scoped to elements successfully detected by the adapter. !important resolves the
   existing theme's display:contents, named grid areas and global sidebar widths. */
.mgpe-layout-container.container{box-sizing:border-box!important;width:100%!important;max-width:var(--mgpe-layout-max,1440px)!important;margin-inline:auto!important;padding-inline:clamp(12px,2vw,28px)!important}
.mgpe-layout-main.main-area.no-sidebar{width:100%!important;max-width:100%!important;min-width:0!important;margin-inline:0!important}
#primary.mgpe-layout-primary.primary-content-area{width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;margin:0!important;flex:1 1 100%!important}
.mgpe-layout-root.mgpe-layout-root{display:grid!important;grid-template-areas:"gallery info delivery"!important;grid-template-columns:minmax(0,var(--mgpe-gallery-weight,38fr)) minmax(240px,var(--mgpe-info-weight,34fr)) minmax(260px,var(--mgpe-card-weight,28fr))!important;gap:var(--mgpe-layout-gap,24px)!important;align-items:start!important;position:relative;min-width:0;width:100%;max-width:100%;margin:0 0 24px!important;box-sizing:border-box}
.mgpe-layout-root::before,.mgpe-layout-root::after{display:none!important}
.mgpe-layout-root>.mgpe-layout-gallery{grid-area:gallery!important;float:none!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;align-self:start!important}
.mgpe-layout-root>.mgpe-layout-info{grid-area:info!important;display:flex!important;flex-direction:column!important;gap:18px!important;float:none!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;align-self:start!important}
.mgpe-layout-root>.mgpe-layout-info>*{min-width:0;max-width:100%;box-sizing:border-box}
.mgpe-layout-root>.mgpe-layout-info>.mg-product-info,.mgpe-layout-root>.mgpe-layout-info>.mg-purchase{margin:0!important}
.mgpe-layout-root .mgpe-empty-extras{display:none!important}
.mgpe-layout-root>.mgpe-layout-card{grid-area:delivery!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;align-self:start!important}
.mgpe-layout-root .mgpe-layout-card[data-mgpe-sticky="1"]{position:sticky;top:var(--mgpe-sticky-offset,100px)}
.mgpe-layout-root[data-mgpe-position="left"][data-mgpe-view="desktop"]{grid-template-areas:"delivery gallery info"!important;grid-template-columns:minmax(260px,var(--mgpe-card-weight,28fr)) minmax(0,var(--mgpe-gallery-weight,38fr)) minmax(240px,var(--mgpe-info-weight,34fr))!important}
.mgpe-layout-root[data-mgpe-position="below"][data-mgpe-view="desktop"],.mgpe-layout-root[data-mgpe-view="tablet"]{grid-template-areas:"gallery info" "delivery delivery"!important;grid-template-columns:minmax(0,var(--mgpe-gallery-weight,38fr)) minmax(0,var(--mgpe-info-weight,34fr))!important}
.mgpe-layout-root[data-mgpe-view="tablet"][data-mgpe-tablet="under_info"]{grid-template-areas:"gallery info" "gallery delivery"!important}
.mgpe-layout-root[data-mgpe-view="mobile"]{grid-template-areas:"gallery" "info" "delivery"!important;grid-template-columns:minmax(0,1fr)!important;gap:18px!important}
.mgpe-layout-root[data-mgpe-view="mobile"] .mgpe-layout-info .mgpe-layout-card{margin:0!important;max-width:none!important;width:100%!important}
.mgpe-layout-root .mgpe-native-purchase{padding:0 20px 20px;border-top:1px solid #e4ebf1}
.mgpe-layout-root .mgpe-native-purchase>.mg-purchase{padding:18px 0 0!important;border:0!important;border-radius:0!important;background:transparent!important;margin:0!important}
.mgpe-layout-root .mgpe-native-purchase form.cart{width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;margin:18px 0 0!important;box-sizing:border-box}
.mgpe-layout-root .mgpe-native-purchase form.cart .single_add_to_cart_button{width:100%;max-width:100%;white-space:normal;min-height:44px;margin-top:10px}
.mgpe-layout-root .mgpe-native-purchase form.cart select{width:100%;max-width:100%;min-height:44px}
.mgpe-layout-root .mgpe-native-purchase form.cart table{width:100%;max-width:100%}
.mgpe-layout-root .mgpe-layout-card .mgpe-card-footer{background:#fbfcfe!important;color:#53677a!important}
/* Preserve the gallery engine; only reset widths, never its slide transforms. */
.mgpe-layout-root .mgpe-layout-gallery img{max-width:100%;height:auto}
.mgpe-layout-root[data-mgpe-view="mobile"] .mgpe-layout-gallery .flex-viewport{width:100%!important;float:none!important}
.mgpe-layout-root[data-mgpe-view="mobile"] .mgpe-layout-gallery .flex-control-thumbs{width:100%!important;display:flex!important;flex-direction:row!important;gap:8px;overflow-x:auto}
.mgpe-layout-root[data-mgpe-view="mobile"] .mgpe-layout-gallery .flex-control-thumbs li{flex:0 0 52px!important;width:52px!important}
.mgpe-layout-root .mgpe-layout-info .product_title{overflow-wrap:anywhere}
@media(prefers-reduced-motion:reduce){.mgpe-layout-root{scroll-behavior:auto}}
