/* Tablet / desktop layout shared by every page. Each page's own styles end with a rule that keeps the whole
   site in a 480px phone column; this file (loaded after them) widens that column and adds product columns.
   Phones (< 768px) are untouched. */
/* Long product lists (the home page loads every product): cards that are off-screen are not laid out or
   painted until they scroll near the viewport. Big win for scroll smoothness on phones. */
.pcard{content-visibility:auto;contain-intrinsic-size:auto 170px 280px}

@media(min-width:768px){
  body{max-width:760px}
  .bnav,.dd-panel{max-width:760px}
  .wa-float,.help-fab{right:calc(50% - 380px + 16px)}
  .lang-sw{right:calc(50% - 380px + 12px)}
  .pgrid{grid-template-columns:repeat(4,1fr)}
  .pdt-grid{grid-template-columns:repeat(4,1fr)}
}
@media(min-width:1024px){
  body{max-width:920px}
  .bnav,.dd-panel{max-width:920px}
  .wa-float,.help-fab{right:calc(50% - 460px + 16px)}
  .lang-sw{right:calc(50% - 460px + 12px)}
  .pgrid{grid-template-columns:repeat(5,1fr)}
}
