/* Customer document only; keep the existing mobile UI and staff portals. */
@media (min-width:701px) {
  #root > .phone-shell {
    width:100%; max-width:1120px; margin-inline:auto;
    min-height:100dvh; border-radius:0; overflow:visible;
  }
  #root > .phone-shell > .app-content {
    width:100%; max-width:1120px; margin-inline:auto;
    padding:20px 24px 110px; min-width:0;
  }
  #root > .phone-shell > .app-header {width:100%; padding-inline:24px;}
  #root > .phone-shell nav.sahla-bottom-nav {
    left:50%; right:auto; transform:translateX(-50%);
    width:100%; max-width:1120px; padding-inline:20px;
    grid-template-columns:none; grid-auto-columns:minmax(0,1fr);
    bottom:0; border-radius:0;
  }
  #root > .phone-shell .app-content > *,
  #root > .phone-shell .product-copy {min-width:0; max-width:100%;}
  #root > .phone-shell .store-list,
  #root > .phone-shell .comparison-groups {grid-template-columns:repeat(2,minmax(0,1fr));}
  #root > .phone-shell .comparison-group .search-product-list {grid-template-columns:1fr;}
  #root > .phone-shell .search-cart-bar {width:calc(100% - 48px); max-width:1072px;}
  #root > .customer-home .service-filter .categories {
    grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px;
  }
  #root > .customer-home #free-services-carousel,
  #root > .customer-home #home-ad-carousel {width:100%; max-width:900px; margin-inline:auto;}
  #root > .customer-home #free-services-carousel .service-banner {max-height:260px;}
  #root > .phone-shell:not(.customer-home):not(.customer-store):not(.search-page) > .app-content {max-width:800px;}
}
@media (min-width:701px) and (max-width:899px) {
  #root > .phone-shell .store-list,
  #root > .phone-shell .comparison-groups {grid-template-columns:1fr;}
  #root > .customer-home .service-filter .categories {grid-template-columns:repeat(2,minmax(0,1fr));}
}

/* Retail departments scroll horizontally; products always use two columns. */
#root .retail-section-tabs {display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;max-width:100%;padding:10px 0;}
#root .retail-section-tabs button {flex:0 0 auto;border:1px solid #cce3da;border-radius:16px;padding:10px 16px;background:#fff;color:#155b47;}
#root .retail-section-tabs button[aria-pressed="true"] {background:#07664e;color:white;}
#root .product-list.retail-product-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
#root .retail-product-grid .product-card {display:flex;flex-direction:column;min-width:0;}
#root .retail-product-grid .product-media {width:100%;height:160px;flex:none;}
#root .retail-product-grid .product-media img {width:100%;height:100%;object-fit:cover;}
#root .retail-product-grid .product-copy {width:100%;min-width:0;flex:1;}
