/* Miller Gadgets v371 visual media integration — SVG source stage */
body.page-home .hero-image img.mg-design-hero,
body.page-home .promo-image img.mg-design-promo{
  width:100% !important;height:auto !important;object-fit:contain !important;object-position:center bottom !important;padding:0 !important;
}
body.page-home .card img.mg-design-category{
  display:block !important;width:100% !important;height:auto !important;max-height:none !important;aspect-ratio:4/3 !important;
  object-fit:cover !important;object-position:center bottom !important;padding:0 !important;margin:0 0 12px !important;border-radius:calc(var(--radius-card) - 6px) !important;
}
body.page-home .service-card img.mg-design-service{
  display:block !important;width:100% !important;height:auto !important;max-height:none !important;aspect-ratio:5/3 !important;
  object-fit:cover !important;object-position:center bottom !important;padding:0 !important;margin:0 0 14px !important;border-radius:calc(var(--radius-card) - 6px) !important;
}
body.page-home .ad-banner.mg-design-featured{
  isolation:isolate;align-items:flex-start !important;justify-content:flex-start !important;
  background:#fff !important;padding:clamp(20px,2.4vw,32px) !important;min-height:360px !important;
  border:1px solid rgba(17,9,51,.08) !important;
}
body.page-home .ad-banner.mg-design-featured>.mg-featured-media{
  position:absolute !important;inset:0 !important;z-index:0 !important;width:100% !important;height:100% !important;
  object-fit:cover !important;object-position:center bottom !important;margin:0 !important;padding:0 !important;
  border-radius:inherit !important;pointer-events:none !important;display:block !important;
}
body.page-home .ad-banner.mg-design-featured::before{
  content:"";position:absolute;z-index:1;inset:0;pointer-events:none;
  background:linear-gradient(135deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.88) 29%,rgba(255,255,255,.48) 50%,rgba(255,255,255,.10) 70%,rgba(255,255,255,0) 83%);
}
body.page-home .ad-banner.mg-design-featured::after{display:none !important;}
body.page-home .ad-banner.mg-design-featured>div{position:relative;z-index:2;width:min(64%,440px);text-align:left !important;}
body.page-home .ad-banner.mg-design-featured .eyebrow{color:#fc6501 !important;-webkit-text-fill-color:#fc6501 !important;margin:0 0 8px !important;}
body.page-home .ad-banner.mg-design-featured h3{color:#110933 !important;-webkit-text-fill-color:#110933 !important;max-width:17ch !important;margin:0 0 18px !important;text-wrap:balance;}
body.page-home .ad-banner.mg-design-featured span{display:inline-flex !important;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border-radius:999px;background:#fc6501 !important;color:#fff !important;-webkit-text-fill-color:#fff !important;font-weight:800;line-height:1;box-shadow:0 8px 22px rgba(252,101,1,.18);}
body.page-home .ad-banner.mg-design-featured:hover span,body.page-home .ad-banner.mg-design-featured:focus-visible span{transform:translateY(-1px);}
.mg-campaign-slide img.mg-design-campaign,.mg-page-campaign img.mg-design-campaign{width:100% !important;height:auto !important;aspect-ratio:2048/910 !important;object-fit:cover !important;object-position:center !important;}
/* Store rail: use the supplied visual families cleanly at compact size. */
body.page-store .store-icon-image img.mg-design-store-icon{width:100% !important;height:100% !important;object-fit:contain !important;object-position:center !important;padding:0 !important;}
html[data-theme="dark"] body.page-home .ad-banner.mg-design-featured{background:#1e1d23 !important;}
html[data-theme="dark"] body.page-home .ad-banner.mg-design-featured::before{background:linear-gradient(135deg,rgba(30,29,35,.97) 0%,rgba(30,29,35,.88) 29%,rgba(30,29,35,.50) 50%,rgba(30,29,35,.12) 70%,rgba(30,29,35,0) 83%);}
html[data-theme="dark"] body.page-home .ad-banner.mg-design-featured h3{color:#f9f7ff !important;-webkit-text-fill-color:#f9f7ff !important;}
html[data-theme="dark"] body.page-home .ad-banner.mg-design-featured .eyebrow{color:#b9a7ff !important;-webkit-text-fill-color:#b9a7ff !important;}
html[data-theme="dark"] body.page-home .ad-banner.mg-design-featured span{background:#7c5cff !important;color:#fff !important;-webkit-text-fill-color:#fff !important;}
@media(max-width:1080px){body.page-home .ad-banner.mg-design-featured{min-height:320px !important;}}
@media(max-width:760px){
 body.page-home .ad-banner.mg-design-featured{min-height:300px !important;padding:20px !important;}
 body.page-home .ad-banner.mg-design-featured>.mg-featured-media{object-position:center bottom !important;}
 body.page-home .ad-banner.mg-design-featured::before{background:linear-gradient(180deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.86) 39%,rgba(255,255,255,.26) 65%,rgba(255,255,255,0) 82%);}
 html[data-theme="dark"] body.page-home .ad-banner.mg-design-featured::before{background:linear-gradient(180deg,rgba(30,29,35,.97) 0%,rgba(30,29,35,.86) 39%,rgba(30,29,35,.30) 65%,rgba(30,29,35,0) 82%);}
 body.page-home .ad-banner.mg-design-featured>div{width:min(86%,430px);}body.page-home .ad-banner.mg-design-featured h3{max-width:18ch !important;margin-bottom:14px !important;}
 body.page-home .ad-banner.mg-design-featured span{min-height:38px;padding:9px 14px;font-size:.9rem;}body.page-home .service-card img.mg-design-service{margin-bottom:10px !important;}
}
@media(max-width:480px){body.page-home .card img.mg-design-category,body.page-home .service-card img.mg-design-service{max-height:none !important;}}
