/* ================================================================
   DjimlyStore Digital v2.39.9 — Account live-review rebuild
   - one light-blue visual language
   - full swipe quick access with real side breathing room
   - larger centered service rows
   - true square recommendation artwork + title underneath
   ================================================================ */

#djs-screen-home{
  --djs-account-blue:#287fc1;
  --djs-account-blue-strong:#1768a6;
  --djs-account-blue-soft:#eaf5fd;
  --djs-account-blue-softer:#f4f9fd;
  --djs-account-line:#e8edf2;
  --djs-account-text:#17191d;
  --djs-account-muted:#7f8791;
}

/* Use one consistent centered content column like the supplied reference. */
#djs-screen-home .djs-account-v2396{
  width:min(700px,calc(100% - 48px))!important;
  max-width:700px!important;
  margin:0 auto!important;
  padding:34px 0 38px!important;
  gap:27px!important;
}

/* Modern but restrained Wallet / Points / Coupon summary. */
#djs-screen-home .djs-account-reference-balances{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;
  width:100%!important;
  margin:0!important;
  padding:7px!important;
  border:1px solid #dfeaf3!important;
  border-radius:21px!important;
  background:linear-gradient(180deg,#fff 0%,#f8fbfe 100%)!important;
  box-shadow:0 10px 26px rgba(39,91,130,.055)!important;
  overflow:hidden!important;
}
#djs-screen-home .djs-account-reference-balances button{
  position:relative!important;
  min-width:0!important;
  min-height:104px!important;
  padding:10px 5px!important;
  border:0!important;
  border-radius:16px!important;
  background:transparent!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  color:var(--djs-account-text)!important;
}
#djs-screen-home .djs-account-reference-balances button+button:before{
  display:block!important;
  content:""!important;
  position:absolute!important;
  left:0!important;
  top:19px!important;
  bottom:19px!important;
  width:1px!important;
  background:#e5edf4!important;
}
#djs-screen-home .djs-account-balance-modern-icon,
#djs-screen-home .djs-account-balance-modern-icon.wallet,
#djs-screen-home .djs-account-balance-modern-icon.points,
#djs-screen-home .djs-account-balance-modern-icon.coupons{
  width:38px!important;
  height:38px!important;
  margin:0 0 2px!important;
  border:0!important;
  border-radius:12px!important;
  background:var(--djs-account-blue-soft)!important;
  color:var(--djs-account-blue-strong)!important;
  display:grid!important;
  place-items:center!important;
}
#djs-screen-home .djs-account-balance-modern-icon .ms{font-size:21px!important}
#djs-screen-home .djs-account-reference-balances strong{
  font-size:22px!important;
  line-height:1.05!important;
  color:var(--djs-account-text)!important;
  font-weight:800!important;
}
#djs-screen-home .djs-account-reference-balances>button>span:last-child{
  margin-top:3px!important;
  color:#5f6872!important;
  font-size:12px!important;
  font-weight:600!important;
}
#djs-screen-home .djs-account-reference-balances em{
  background:var(--djs-account-blue)!important;
  color:#fff!important;
  border-radius:999px!important;
  padding:3px 5px!important;
  font-size:7px!important;
}

/* Swipeable quick access: pale-blue strip, no multicolor cards. */
#djs-screen-home .djs-account-quick-access-modern{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:17px 15px 13px!important;
  border:1px solid #dfeaf3!important;
  border-radius:19px!important;
  background:var(--djs-account-blue-softer)!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
#djs-screen-home .djs-account-quick-access-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  margin:0!important;
  padding:0 2px 13px!important;
}
#djs-screen-home .djs-account-quick-access-head h2{
  margin:0!important;
  font-size:17px!important;
  line-height:1.15!important;
  font-weight:800!important;
  color:var(--djs-account-text)!important;
  text-align:left!important;
}
#djs-screen-home .djs-account-swipe-hint{
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  color:#7f9bb0!important;
  font-size:10px!important;
  font-weight:700!important;
  white-space:nowrap!important;
}
#djs-screen-home .djs-account-swipe-hint .ms{font-size:17px!important}
#djs-screen-home .djs-account-quick-rail{
  display:flex!important;
  gap:17px!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:3px 3px 8px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-snap-type:x proximity!important;
  scroll-padding-left:3px!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior-inline:contain!important;
  scrollbar-width:none!important;
}
#djs-screen-home .djs-account-quick-rail::-webkit-scrollbar{display:none!important}
#djs-screen-home .djs-account-quick-item{
  flex:0 0 67px!important;
  width:67px!important;
  min-width:67px!important;
  min-height:76px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  scroll-snap-align:start!important;
  color:var(--djs-account-text)!important;
  text-align:center!important;
}
#djs-screen-home .djs-account-quick-icon{
  width:49px!important;
  height:49px!important;
  border:1px solid #d7e9f6!important;
  border-radius:15px!important;
  background:#fff!important;
  color:var(--djs-account-blue-strong)!important;
  display:grid!important;
  place-items:center!important;
  box-shadow:0 4px 12px rgba(41,106,153,.055)!important;
}
#djs-screen-home .djs-account-quick-icon .ms{font-size:24px!important}
#djs-screen-home .djs-account-quick-item b{
  display:block!important;
  max-width:72px!important;
  margin:0!important;
  color:#34393f!important;
  font-size:10px!important;
  line-height:1.14!important;
  font-weight:700!important;
  white-space:normal!important;
}
#djs-screen-home .djs-account-quick-item:active .djs-account-quick-icon{
  transform:scale(.94)!important;
  background:#e3f2fc!important;
}

/* Larger, centered service rows with deliberate left/right margins. */
#djs-screen-home .djs-account-link-list{
  width:calc(100% - 8px)!important;
  margin:0 auto!important;
  padding:0!important;
  background:#fff!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
#djs-screen-home .djs-account-link-row{
  width:100%!important;
  min-height:84px!important;
  margin:0!important;
  padding:14px 12px!important;
  grid-template-columns:50px minmax(0,1fr) 30px!important;
  gap:15px!important;
  align-items:center!important;
  border:0!important;
  border-bottom:1px solid #edf1f4!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  text-align:left!important;
}
#djs-screen-home .djs-account-link-row:last-child{border-bottom:0!important}
#djs-screen-home .djs-account-link-icon,
#djs-screen-home .djs-account-link-icon.is-usa,
#djs-screen-home .djs-account-link-icon.is-feedback,
#djs-screen-home .djs-account-link-icon.is-invite,
#djs-screen-home .djs-account-link-icon.is-giveaway,
#djs-screen-home .djs-account-link-icon.is-offers{
  width:46px!important;
  height:46px!important;
  border:0!important;
  border-radius:14px!important;
  background:var(--djs-account-blue-soft)!important;
  color:var(--djs-account-blue-strong)!important;
  display:grid!important;
  place-items:center!important;
}
#djs-screen-home .djs-account-link-icon .ms{font-size:25px!important}
#djs-screen-home .djs-account-link-copy{
  min-width:0!important;
  padding:0!important;
}
#djs-screen-home .djs-account-link-copy b{
  display:block!important;
  margin:0!important;
  color:#202328!important;
  font-size:16px!important;
  line-height:1.18!important;
  font-weight:700!important;
}
#djs-screen-home .djs-account-link-copy small,
#djs-screen-home .djs-account-link-row:nth-child(n) .djs-account-link-copy small{
  display:block!important;
  margin:4px 0 0!important;
  color:#818993!important;
  font-size:11px!important;
  line-height:1.25!important;
  font-weight:500!important;
}
#djs-screen-home .djs-account-link-chevron{
  justify-self:end!important;
  margin-right:2px!important;
  color:#9aa8b4!important;
  font-size:25px!important;
}
#djs-screen-home .djs-account-link-row:active{
  background:#f8fbfd!important;
}

/* Recommendation sections: only clean square artwork + title underneath. */
#djs-screen-home .djs-account-reference-recommendations{
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
#djs-screen-home .djs-account-reference-section-head{
  margin:0 0 13px!important;
  padding:0 2px!important;
}
#djs-screen-home .djs-account-reference-section-head h2{
  margin:0!important;
  color:#1b1e22!important;
  font-size:19px!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:-.015em!important;
}
#djs-screen-home .djs-account-ref-product-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:22px 13px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
#djs-screen-home .djs-account-ref-product{
  min-width:0!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  display:block!important;
  color:#17191d!important;
  text-align:left!important;
  overflow:visible!important;
}
#djs-screen-home .djs-account-ref-product-media{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  width:100%!important;
  aspect-ratio:1/1!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #edf0f3!important;
  border-radius:10px!important;
  background:#f4f6f8!important;
  box-shadow:none!important;
}
#djs-screen-home .djs-account-ref-product-media img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  object-fit:cover!important;
  border-radius:0!important;
}
#djs-screen-home .djs-account-ref-product-media>.ms{
  font-size:40px!important;
  color:#93a4b2!important;
}
#djs-screen-home .djs-account-ref-product-badge{
  position:absolute!important;
  top:0!important;
  right:0!important;
  z-index:2!important;
  padding:5px 7px!important;
  border-radius:0 9px 0 8px!important;
  background:#ff7a00!important;
  color:#fff!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:800!important;
  font-style:normal!important;
}
#djs-screen-home .djs-account-ref-product-name{
  display:-webkit-box!important;
  width:100%!important;
  margin:8px 0 0!important;
  padding:0 2px!important;
  overflow:hidden!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  color:#22262a!important;
  font-size:14px!important;
  line-height:1.18!important;
  font-weight:650!important;
  text-align:left!important;
  white-space:normal!important;
}
#djs-screen-home .djs-account-rec-empty{
  grid-column:1/-1!important;
  min-height:92px!important;
  border:1px dashed #dce8f1!important;
  border-radius:14px!important;
  background:#f8fbfd!important;
  color:#73818c!important;
  display:grid!important;
  place-items:center!important;
  text-align:center!important;
  font-size:12px!important;
}

@media(max-width:760px){
  #djs-screen-home .djs-account-v2396{
    width:calc(100% - 40px)!important;
    padding-top:38px!important;
    gap:25px!important;
  }
  #djs-screen-home .djs-account-reference-balances button{min-height:100px!important}
  #djs-screen-home .djs-account-reference-balances strong{font-size:20px!important}
  #djs-screen-home .djs-account-reference-balances>button>span:last-child{font-size:11px!important}
  #djs-screen-home .djs-account-quick-access-modern{padding:15px 13px 12px!important}
  #djs-screen-home .djs-account-quick-rail{gap:15px!important}
  #djs-screen-home .djs-account-quick-item{flex-basis:64px!important;width:64px!important;min-width:64px!important}
  #djs-screen-home .djs-account-quick-icon{width:47px!important;height:47px!important}
  #djs-screen-home .djs-account-link-list{width:calc(100% - 2px)!important}
  #djs-screen-home .djs-account-link-row{min-height:82px!important;padding:13px 9px!important;grid-template-columns:48px minmax(0,1fr) 28px!important;gap:14px!important}
  #djs-screen-home .djs-account-link-icon{width:44px!important;height:44px!important}
  #djs-screen-home .djs-account-link-copy b{font-size:15px!important}
  #djs-screen-home .djs-account-link-copy small{font-size:10px!important}
  #djs-screen-home .djs-account-reference-section-head h2{font-size:17px!important}
  #djs-screen-home .djs-account-ref-product-grid{gap:20px 10px!important}
  #djs-screen-home .djs-account-ref-product-media{border-radius:8px!important}
  #djs-screen-home .djs-account-ref-product-name{font-size:12px!important}
}

@media(max-width:390px){
  #djs-screen-home .djs-account-v2396{width:calc(100% - 34px)!important;gap:23px!important}
  #djs-screen-home .djs-account-reference-balances{padding:5px!important}
  #djs-screen-home .djs-account-reference-balances strong{font-size:18px!important}
  #djs-screen-home .djs-account-balance-modern-icon{width:35px!important;height:35px!important}
  #djs-screen-home .djs-account-quick-access-modern{padding-left:11px!important;padding-right:11px!important}
  #djs-screen-home .djs-account-quick-rail{gap:13px!important}
  #djs-screen-home .djs-account-ref-product-grid{gap:18px 8px!important}
  #djs-screen-home .djs-account-ref-product-name{font-size:11px!important}
}
