/* DjimlyStore Digital v2.39.30 — PWA shell rebuild + progressive storefront */

/* Final iPhone Home Screen shell. This file loads after every older safe-area layer. */
@media (max-width:760px) and (display-mode:standalone){
  html,body{background:#fff!important;background-image:none!important;}
  html body #djs-portal{padding-top:0!important;background:#fff!important;}
  html body #djs-portal #djs-screen-store .djs-topbar.djs-preview-topbar,
  html body #djs-portal #djs-screen-home .djs-topbar.djs-acct-topbar{
    position:relative!important;
    top:auto!important;
    box-sizing:border-box!important;
    min-height:126px!important;
    height:auto!important;
    padding:54px 14px 10px!important;
    margin:0!important;
    background:#fff!important;
    background-image:none!important;
    align-items:center!important;
    overflow:visible!important;
    z-index:40!important;
  }
}

/* Backup for the manifest start URL before display-mode media query settles. */
@media (max-width:760px){
  html body.djs-pwa-entry #djs-portal #djs-screen-store .djs-topbar.djs-preview-topbar,
  html body.djs-pwa-entry #djs-portal #djs-screen-home .djs-topbar.djs-acct-topbar{
    position:relative!important;
    top:auto!important;
    box-sizing:border-box!important;
    min-height:126px!important;
    height:auto!important;
    padding:54px 14px 10px!important;
    margin:0!important;
    background:#fff!important;
    background-image:none!important;
    align-items:center!important;
    overflow:visible!important;
    z-index:40!important;
  }
}

/* Storefront first-paint/pagination polish. */
#djs-product-grid .djs-product-card:nth-child(n+13){
  content-visibility:auto;
  contain-intrinsic-size:290px 210px;
}
.djs-product-card__img,.djs-home-square-media{background:#f6f9fc!important;}
.djs-product-card__img img,.djs-home-square-media img{transition:opacity .18s ease;}
.djs-progressive-loadmore{
  display:flex;align-items:center;justify-content:center;gap:8px;
  width:min(360px,calc(100% - 32px));min-height:48px;margin:18px auto 112px;
  border:1px solid #b7ddf7;border-radius:18px;background:#edf8ff;color:#137cc2;
  font:800 14px/1.1 inherit;box-shadow:0 10px 26px rgba(40,152,219,.10);
}
.djs-progressive-loadmore:disabled{opacity:.72;}

@media(max-width:760px){
  #djs-product-grid{min-height:360px;}
  #djs-trending-row,#djs-popular-row,#djs-giftcards-home-row{min-height:154px;}
}
