/* V138: Restore the original seven-card layout: four plus three on desktop. */
html.p105-premium.p106-vibrant body #productDetail.p94-product-page .pdp-gallery .p80-five-gallery.p107-seven-gallery,
html.p105-premium.p106-vibrant body.p94-static #p94StaticProduct.hero .puraatva-product-thumbnails.p80-five-gallery.p107-seven-gallery{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:10px!important;align-items:stretch!important;width:100%!important;max-width:100%!important;
 overflow:visible!important;padding:0!important;scroll-snap-type:none!important;
}
html.p105-premium.p106-vibrant body #productDetail.p94-product-page .pdp-gallery .p80-five-gallery.p107-seven-gallery button,
html.p105-premium.p106-vibrant body.p94-static #p94StaticProduct.hero .puraatva-product-thumbnails.p80-five-gallery.p107-seven-gallery button{
 width:100%!important;min-width:0!important;max-width:100%!important;flex:none!important;
}
html.p105-premium.p106-vibrant body .p80-five-gallery.p107-seven-gallery button img{
 object-fit:contain!important;object-position:center!important;
}
@media(max-width:740px){
 html.p105-premium.p106-vibrant body #productDetail.p94-product-page .pdp-gallery .p80-five-gallery.p107-seven-gallery,
 html.p105-premium.p106-vibrant body.p94-static #p94StaticProduct.hero .puraatva-product-thumbnails.p80-five-gallery.p107-seven-gallery{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;
 }
}
@media(max-width:370px){
 html.p105-premium.p106-vibrant body #productDetail.p94-product-page .pdp-gallery .p80-five-gallery.p107-seven-gallery,
 html.p105-premium.p106-vibrant body.p94-static #p94StaticProduct.hero .puraatva-product-thumbnails.p80-five-gallery.p107-seven-gallery{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}
