/* Device profiles share catalog data while retaining their own widget settings. */
:is(.home-device-mobile,.home-device-tablet) { min-width:0; width:100%; overflow-x:clip; }
:is(.home-device-mobile,.home-device-tablet) [data-home-section] { max-width:100%; min-width:0; box-sizing:border-box; }
:is(.home-device-mobile,.home-device-tablet) .container { max-width:calc(100% - 24px); }
:is(.home-device-mobile,.home-device-tablet)[data-home-layout] > [data-home-section]:not([data-home-section="hero"]) { width:calc(100% - 24px) !important; max-width:100% !important; }
:is(.home-device-mobile,.home-device-tablet)[data-home-layout] > [data-home-section] :is(.container,.product-rail-shell,.home-grid-shell,.home-single-banner-shell) { width:var(--device-widget-width,100%) !important; max-width:100% !important; margin-inline:auto; }
:is(.home-device-mobile,.home-device-tablet) .section-head { flex-wrap:wrap; gap:12px; }
:is(.home-device-mobile,.home-device-tablet) .shop-slider { max-width:100%; height:var(--banner-height,auto); aspect-ratio:var(--banner-ratio,100 / 85); }
:is(.home-device-mobile,.home-device-tablet) .shop-slides { position:absolute; inset:0; height:100%; }
:is(.home-device-mobile,.home-device-tablet) .shop-slide-copy { max-width:100%; }
:is(.home-device-mobile,.home-device-tablet) .shop-slide-copy :is(h1,h2) { font-size:clamp(20px,4.5vw,32px); overflow-wrap:anywhere; }
:is(.home-device-mobile,.home-device-tablet) .shop-slider-arrow,
:is(.home-device-mobile,.home-device-tablet) :is(.rail-arrow,.top-brands-arrow,.category-showcase-arrow) { min-width:44px; min-height:44px; }
:is(.home-device-mobile,.home-device-tablet) .shop-slider-dot { min-height:20px; min-width:20px; border:6px solid transparent; background-clip:padding-box; }
:is(.home-device-mobile,.home-device-tablet) .home-grid { grid-template-columns:repeat(var(--grid-cols,2),minmax(0,1fr)); }
:is(.home-device-mobile,.home-device-tablet) .recommendations-grid { grid-template-columns:repeat(var(--rec-cols,2),minmax(0,1fr)) !important; }
:is(.home-device-mobile,.home-device-tablet) .recommendation-image { height:var(--rec-image-h,145px); }
:is(.home-device-mobile,.home-device-tablet) .category-showcase-card { --category-card-w:inherit; --category-image-h:inherit; flex-basis:var(--category-card-w,125px); width:var(--category-card-w,125px); }
:is(.home-device-mobile,.home-device-tablet) .product-rail { overscroll-behavior-x:contain; touch-action:pan-x pan-y; }
.home-device-mobile .products-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.home-device-tablet .products-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.home-device-mobile .rail-card-wrap { flex-basis:min(160px,46vw); height:305px; }
.home-device-mobile .promo-banner { flex-wrap:wrap; }
.home-device-mobile .promo-art { display:none; }
.home-device-mobile .section-head h2 { font-size:18px; }
.mobile-home-intro .desktop-tabs { flex-wrap:wrap; }
.desktop-preview-shell { overflow:auto; max-width:100%; }
.desktop-preview-frame { display:block; margin-inline:auto; border:1px solid var(--line); }
@media (prefers-reduced-motion:reduce) {
  :is(.home-device-mobile,.home-device-tablet) * { scroll-behavior:auto !important; transition:none !important; }
}
