/* EzMedQ PayHub 2.1.1 — performance-first Smart Revision storefront polish.
 * Purposefully avoids backdrop-filter/blur because dozens of blurred cards can
 * cause visible scroll jank on desktop/mobile WebViews. The "glass" look is
 * created with layered translucent gradients, highlights and light borders.
 */
:root{
  --ezph-glass-ink:#0b2f57;
  --ezph-glass-muted:#687e96;
  --ezph-glass-blue:#1769e8;
  --ezph-glass-blue-dark:#0f5bc9;
  --ezph-glass-line:rgba(126,153,184,.28);
  --ezph-glass-soft:rgba(248,251,255,.94);
  --ezph-glass-card:rgba(255,255,255,.92);
  --ezph-glass-shadow:0 10px 28px rgba(31,62,96,.075), inset 0 1px 0 rgba(255,255,255,.95);
}

/* Keep the surface bright and consistent without GPU-heavy live blur. */
body .ezsr-storefront-v27{
  background:linear-gradient(180deg,#f8fbff 0%,#f4f8fd 100%)!important;
}
body .ezsr-storefront-v27 .ezsr-storefront-track{
  background:rgba(255,255,255,.72)!important;
  border:1px solid rgba(151,174,201,.25)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

/* FULL / MID / FINAL: one visual system, no tier-colored cards. */
body .ezsr-storefront-v27 .ezsr-storefront-bundle-grid .ezsr-store-package-card,
body .ezsr-storefront-v27 .ezsr-storefront-bundle-grid .ezsr-store-package-card.is-featured,
body .ezsr-storefront-v27 .ezsr-storefront-bundle-grid .ezsr-store-package-card.is-full,
body .ezsr-storefront-v27 .ezsr-storefront-bundle-grid .ezsr-store-package-card.is-mid,
body .ezsr-storefront-v27 .ezsr-storefront-bundle-grid .ezsr-store-package-card.is-final{
  position:relative!important;
  overflow:hidden!important;
  min-height:285px!important;
  padding:18px!important;
  border:1px solid var(--ezph-glass-line)!important;
  border-top:1px solid var(--ezph-glass-line)!important;
  border-radius:22px!important;
  background:
    linear-gradient(145deg,rgba(255,255,255,.98) 0%,rgba(248,251,255,.94) 54%,rgba(239,246,255,.90) 100%)!important;
  box-shadow:var(--ezph-glass-shadow)!important;
  transform:none!important;
  transition:border-color .14s ease,box-shadow .14s ease!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body .ezsr-storefront-v27 .ezsr-storefront-bundle-grid .ezsr-store-package-card:hover,
body .ezsr-storefront-v27 .ezsr-storefront-bundle-grid .ezsr-store-package-card.is-full:hover,
body .ezsr-storefront-v27 .ezsr-storefront-bundle-grid .ezsr-store-package-card.is-mid:hover,
body .ezsr-storefront-v27 .ezsr-storefront-bundle-grid .ezsr-store-package-card.is-final:hover{
  transform:none!important;
  border-color:rgba(72,119,178,.34)!important;
  box-shadow:0 12px 30px rgba(31,62,96,.095), inset 0 1px 0 rgba(255,255,255,.98)!important;
}
body .ezsr-storefront-v27 .ezsr-storefront-bundle-grid .ezsr-store-package-card.is-full:before,
body .ezsr-storefront-v27 .ezsr-storefront-bundle-grid .ezsr-store-package-card.is-mid:before,
body .ezsr-storefront-v27 .ezsr-storefront-bundle-grid .ezsr-store-package-card.is-final:before{
  content:none!important;
}

body .ezsr-storefront-v27 .ezsr-store-package-icon,
body .ezsr-storefront-v27 .ezsr-store-discipline-icon{
  background:linear-gradient(145deg,#f8fbff,#edf4ff)!important;
  border:1px solid rgba(136,164,197,.20)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.96)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

/* Neutral chips. Only recommendation/ownership gets a small semantic accent. */
body .ezsr-storefront-v27 .ezsr-store-package-badges>span,
body .ezsr-storefront-v27 .ezsr-store-package-badges>b,
body .ezsr-storefront-v27 .ezsr-store-package-badges .is-marketing.is-full,
body .ezsr-storefront-v27 .ezsr-store-package-badges .is-marketing.is-mid,
body .ezsr-storefront-v27 .ezsr-store-package-badges .is-marketing.is-final{
  background:rgba(243,247,252,.96)!important;
  color:#536b84!important;
  border:1px solid rgba(132,158,188,.20)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92)!important;
}
body .ezsr-storefront-v27 .ezsr-store-package-card.is-full .ezsr-store-package-badges .is-marketing{
  background:#edf4ff!important;
  color:#165fc5!important;
  border-color:#cfe0fa!important;
}
body .ezsr-storefront-v27 .ezsr-store-package-badges b.is-owned,
body .ezsr-storefront-v27 .ezsr-store-package-card.is-included .ezsr-store-package-badges b.is-owned{
  background:#ecf8f1!important;
  color:#13744d!important;
  border-color:#ccebd9!important;
}

body .ezsr-storefront-v27 .ezsr-store-package-copy h3,
body .ezsr-storefront-v27 .ezsr-store-discipline-copy h4{
  color:var(--ezph-glass-ink)!important;
  letter-spacing:-.25px!important;
}
body .ezsr-storefront-v27 .ezsr-store-package-copy>p:not(.ezsr-store-package-meta-line),
body .ezsr-storefront-v27 .ezsr-store-discipline-copy p{
  color:var(--ezph-glass-muted)!important;
}

body .ezsr-storefront-v27 .ezsr-store-package-stats>span{
  background:rgba(250,252,255,.96)!important;
  border:1px solid rgba(145,170,198,.18)!important;
  border-radius:14px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.98)!important;
}
body .ezsr-storefront-v27 .ezsr-store-package-stats>span b{
  color:var(--ezph-glass-ink)!important;
}
body .ezsr-storefront-v27 .ezsr-store-price strong,
body .ezsr-storefront-v27 .ezsr-store-discipline-buy>strong{
  color:var(--ezph-glass-ink)!important;
  font-weight:850!important;
  letter-spacing:-.2px!important;
}

/* High-clarity action: glass-like, but readable and cheap to render. */
body .ezsr-storefront-v27 .ezsr-store-package-cta,
body .ezsr-storefront-v27 .ezsr-store-package-card.is-featured .ezsr-store-package-cta,
body .ezsr-storefront-v27 .ezsr-store-discipline-cta{
  min-height:42px!important;
  border-radius:13px!important;
  border:1px solid rgba(23,105,232,.24)!important;
  background:linear-gradient(180deg,rgba(255,255,255,.99),rgba(232,241,254,.97))!important;
  color:#0f5cc8!important;
  box-shadow:0 5px 14px rgba(29,84,153,.09),inset 0 1px 0 #fff!important;
  font-weight:850!important;
  font-size:10px!important;
  padding:0 15px!important;
  opacity:1!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  transition:background .12s ease,border-color .12s ease,color .12s ease!important;
}
body .ezsr-storefront-v27 .ezsr-store-package-cta:hover,
body .ezsr-storefront-v27 .ezsr-store-discipline-cta:hover{
  background:#e9f3ff!important;
  border-color:rgba(23,105,232,.38)!important;
  color:#0b51b6!important;
  transform:none!important;
}
body .ezsr-storefront-v27 .ezsr-store-package-cta.is-owned,
body .ezsr-storefront-v27 .ezsr-store-discipline-cta.is-owned{
  background:linear-gradient(180deg,#f5fcf8,#e8f7ef)!important;
  border-color:#c7e8d5!important;
  color:#126b48!important;
  box-shadow:0 5px 14px rgba(31,137,92,.07),inset 0 1px 0 #fff!important;
}

/* Individual rows use the exact same material language. */
body .ezsr-storefront-v27 .ezsr-store-discipline-row{
  border:1px solid var(--ezph-glass-line)!important;
  border-radius:16px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(246,250,255,.94))!important;
  box-shadow:0 6px 18px rgba(31,62,96,.045),inset 0 1px 0 rgba(255,255,255,.98)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  transition:border-color .12s ease,background .12s ease!important;
}
body .ezsr-storefront-v27 .ezsr-store-discipline-row:hover{
  box-shadow:0 6px 18px rgba(31,62,96,.055)!important;
  transform:none!important;
}
body .ezsr-storefront-v27 .ezsr-store-discipline-row.is-owned,
body .ezsr-storefront-v27 .ezsr-store-package-card.is-owned,
body .ezsr-storefront-v27 .ezsr-store-package-card.is-included,
body .ezsr-storefront-v27 .ezsr-store-discipline-row.is-included{
  border-color:#c9e7d7!important;
  background:linear-gradient(145deg,#fbfffd,#f4fbf7)!important;
}

body .ezsr-storefront-v27 .ezsr-storefront-section-label>div>span,
body .ezsr-storefront-v27 .ezsr-individual-packages>summary>div>span{
  color:#70849a!important;
  letter-spacing:.105em!important;
}
body .ezsr-storefront-v27 .ezsr-storefront-section-label h3,
body .ezsr-storefront-v27 .ezsr-individual-packages>summary h3{
  color:var(--ezph-glass-ink)!important;
}

/* Reduced-motion users get no animated decoration at all. */
@media (prefers-reduced-motion:reduce){
  body .ezsr-storefront-v27 .ezsr-store-package-card,
  body .ezsr-storefront-v27 .ezsr-store-package-cta,
  body .ezsr-storefront-v27 .ezsr-store-discipline-row,
  body .ezsr-storefront-v27 .ezsr-store-discipline-cta{transition:none!important}
}

@media(max-width:720px){
  body .ezsr-storefront-v27 .ezsr-storefront-bundle-grid .ezsr-store-package-card,
  body .ezsr-storefront-v27 .ezsr-storefront-bundle-grid .ezsr-store-package-card.is-featured,
  body .ezsr-storefront-v27 .ezsr-storefront-bundle-grid .ezsr-store-package-card.is-full,
  body .ezsr-storefront-v27 .ezsr-storefront-bundle-grid .ezsr-store-package-card.is-mid,
  body .ezsr-storefront-v27 .ezsr-storefront-bundle-grid .ezsr-store-package-card.is-final{
    border-radius:18px!important;
  }
  body .ezsr-storefront-v27 .ezsr-store-package-footer{gap:12px!important}
  body .ezsr-storefront-v27 .ezsr-store-package-cta{width:auto!important;min-width:116px!important}
  body .ezsr-storefront-v27 .ezsr-store-discipline-row{border-radius:15px!important}
}

/* PayHub free-access states */
body .ezsr-storefront-v27 .ezph-free-badge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:24px!important;
  padding:0 9px!important;
  border-radius:999px!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:850!important;
  letter-spacing:.04em!important;
  white-space:nowrap!important;
  border:1px solid rgba(84,142,214,.22)!important;
  background:#eef6ff!important;
  color:#175fae!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95)!important;
}
body .ezsr-storefront-v27 .ezph-free-badge-active{
  background:#ecf8f1!important;
  border-color:#ccebd9!important;
  color:#13744d!important;
}
body .ezsr-storefront-v27 .ezph-free-badge-used{
  background:#f3f5f8!important;
  border-color:#dce3eb!important;
  color:#6d7f92!important;
}
body .ezsr-storefront-v27 .ezsr-store-package-card.is-free-preview,
body .ezsr-storefront-v27 .ezsr-store-discipline-row.is-free-preview{
  border-color:rgba(73,132,205,.30)!important;
}
body .ezsr-storefront-v27 .ezsr-store-package-card.is-free-active,
body .ezsr-storefront-v27 .ezsr-store-discipline-row.is-free-active{
  border-color:#c9e7d7!important;
  background:linear-gradient(145deg,#fbfffd,#f5fbf8)!important;
}
