/* V1.2.2: scroll-snap carousel and merchandise cards. Scope strictly to opt-in modular home. */
.mgv112-main .mgv112-home{gap:clamp(14px,2.25vw,30px)!important;padding-top:12px!important}
.mgv112-main .mgv112-block{margin:0!important;min-width:0!important}
.mgv112-main .mgv112-carousel-track{
 display:flex!important;align-items:flex-start!important;overflow-x:auto!important;
 scroll-snap-type:x mandatory!important;scrollbar-width:none!important;
 scroll-behavior:smooth;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;
 min-height:0!important;touch-action:pan-x pan-y;
}
.mgv112-main .mgv112-carousel-track::-webkit-scrollbar{display:none}
.mgv112-main .mgv112-carousel-track .mgv112-carousel-slide,
.mgv112-main .mgv112-carousel-track .mgv112-carousel-slide.is-active,
.mgv112-main .mgv112-home .mgv112-carousel-track .mgv112-carousel-slide{
 display:block!important;flex:0 0 100%!important;width:100%!important;min-width:0!important;
 scroll-snap-align:start!important;scroll-snap-stop:always!important;
 opacity:1!important;animation:none!important;position:relative!important;
}
.mgv112-main .mgv112-carousel-track .mgv112-carousel-slide[aria-hidden="true"]{visibility:visible!important}
.mgv112-main .mgv112-carousel-track picture,.mgv112-main .mgv112-carousel-track img{display:block!important;width:100%!important;height:auto!important;max-width:100%!important}
.mgv112-main .mgv112-carousel-controls{padding:9px 0 2px!important}
.mgv112-main .mgv112-carousel-controls .mgv112-prev,.mgv112-main .mgv112-carousel-controls .mgv112-next{height:40px!important;width:48px!important;border-radius:9px!important}
.mgv112-main .mgv112-module-caption{padding:9px 3px 0!important}
.mgv112-main .mgv112-product-grid{align-items:start!important;grid-auto-rows:auto!important;gap:clamp(10px,1.8vw,22px)!important}
.mgv112-main .mgv112-product{min-width:0!important;align-self:start!important;display:flex!important;flex-direction:column!important}
.mgv112-main .mgv112-product-image{position:relative!important;display:block!important;width:100%!important;height:auto!important;aspect-ratio:4/5!important;overflow:hidden!important;background:#eee9e1;line-height:0!important}
.mgv112-main .mgv112-product-image img,
.mgv112-main .mgv112-product-image img.attachment-woocommerce_thumbnail{
 position:absolute!important;inset:0!important;display:block!important;
 width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;
 max-width:none!important;object-fit:contain!important;object-position:center!important;
 aspect-ratio:auto!important;margin:0!important;transform:none!important;
}
.mgv112-main .mgv112-product-info{padding:9px 1px 0!important;gap:0!important}
.mgv112-main .mgv112-product-heading{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;gap:8px!important;min-height:0!important}
.mgv112-main .mgv112-product-heading h3{min-width:0!important;min-height:0!important;max-height:2.8em!important;margin:0!important;font-size:14px!important;line-height:1.4!important;overflow:hidden!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.mgv112-main .mgv112-product-price{font-size:14px!important;white-space:nowrap!important;flex:0 0 auto!important;line-height:1.5!important}
.mgv112-main .mgv112-product-button{margin-top:9px!important;min-height:40px!important;border-radius:7px!important;font-size:14px!important}
.mgv112-main .mgv112-section-heading{margin-bottom:12px!important}
.mgv112-main .mgv112-section-heading h2{overflow-wrap:normal!important;word-break:keep-all!important;font-size:clamp(24px,3vw,40px)!important;text-wrap:balance}
@media(max-width:767px){
 .mgv112-main .mgv112-home{gap:16px!important;padding:8px 11px 0!important}
 .mgv112-main .mgv112-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 10px!important}
 .mgv112-main .mgv112-product-heading{display:flex!important;flex-direction:column!important;gap:2px!important}
 .mgv112-main .mgv112-product-heading h3{font-size:13px!important;line-height:1.4!important;max-height:2.8em!important;min-height:2.8em!important}
 .mgv112-main .mgv112-product-price{font-size:14px!important;line-height:1.35!important}
 .mgv112-main .mgv112-product-button{margin-top:7px!important;min-height:37px!important;font-size:13px!important}
 .mgv112-main .mgv112-carousel-controls{gap:6px!important}
 .mgv112-main .mgv112-carousel-controls .mgv112-prev,.mgv112-main .mgv112-carousel-controls .mgv112-next{width:43px!important;height:38px!important}
 .mgv112-main .mgv112-section-heading h2{font-size:clamp(23px,6vw,30px)!important;line-height:1.2!important}
}
@media(prefers-reduced-motion:reduce){.mgv112-main .mgv112-carousel-track{scroll-behavior:auto!important}}
